@aws-sdk/client-compute-optimizer-automation 3.1077.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 (77) hide show
  1. package/dist-cjs/index.js +31 -233
  2. package/dist-es/commandBuilder.js +6 -0
  3. package/dist-es/commands/AssociateAccountsCommand.js +2 -14
  4. package/dist-es/commands/CreateAutomationRuleCommand.js +2 -14
  5. package/dist-es/commands/DeleteAutomationRuleCommand.js +2 -14
  6. package/dist-es/commands/DisassociateAccountsCommand.js +2 -14
  7. package/dist-es/commands/GetAutomationEventCommand.js +2 -14
  8. package/dist-es/commands/GetAutomationRuleCommand.js +2 -14
  9. package/dist-es/commands/GetEnrollmentConfigurationCommand.js +2 -14
  10. package/dist-es/commands/ListAccountsCommand.js +2 -14
  11. package/dist-es/commands/ListAutomationEventStepsCommand.js +2 -14
  12. package/dist-es/commands/ListAutomationEventSummariesCommand.js +2 -14
  13. package/dist-es/commands/ListAutomationEventsCommand.js +2 -14
  14. package/dist-es/commands/ListAutomationRulePreviewCommand.js +2 -14
  15. package/dist-es/commands/ListAutomationRulePreviewSummariesCommand.js +2 -14
  16. package/dist-es/commands/ListAutomationRulesCommand.js +2 -14
  17. package/dist-es/commands/ListRecommendedActionSummariesCommand.js +2 -14
  18. package/dist-es/commands/ListRecommendedActionsCommand.js +2 -14
  19. package/dist-es/commands/ListTagsForResourceCommand.js +2 -14
  20. package/dist-es/commands/RollbackAutomationEventCommand.js +2 -14
  21. package/dist-es/commands/StartAutomationEventCommand.js +2 -14
  22. package/dist-es/commands/TagResourceCommand.js +2 -14
  23. package/dist-es/commands/UntagResourceCommand.js +2 -14
  24. package/dist-es/commands/UpdateAutomationRuleCommand.js +2 -14
  25. package/dist-es/commands/UpdateEnrollmentConfigurationCommand.js +2 -14
  26. package/dist-es/index.js +1 -0
  27. package/dist-types/commandBuilder.d.ts +18 -0
  28. package/dist-types/commands/AssociateAccountsCommand.d.ts +3 -8
  29. package/dist-types/commands/CreateAutomationRuleCommand.d.ts +3 -8
  30. package/dist-types/commands/DeleteAutomationRuleCommand.d.ts +3 -8
  31. package/dist-types/commands/DisassociateAccountsCommand.d.ts +3 -8
  32. package/dist-types/commands/GetAutomationEventCommand.d.ts +3 -8
  33. package/dist-types/commands/GetAutomationRuleCommand.d.ts +3 -8
  34. package/dist-types/commands/GetEnrollmentConfigurationCommand.d.ts +3 -8
  35. package/dist-types/commands/ListAccountsCommand.d.ts +3 -8
  36. package/dist-types/commands/ListAutomationEventStepsCommand.d.ts +3 -8
  37. package/dist-types/commands/ListAutomationEventSummariesCommand.d.ts +3 -8
  38. package/dist-types/commands/ListAutomationEventsCommand.d.ts +3 -8
  39. package/dist-types/commands/ListAutomationRulePreviewCommand.d.ts +3 -8
  40. package/dist-types/commands/ListAutomationRulePreviewSummariesCommand.d.ts +3 -8
  41. package/dist-types/commands/ListAutomationRulesCommand.d.ts +3 -8
  42. package/dist-types/commands/ListRecommendedActionSummariesCommand.d.ts +3 -8
  43. package/dist-types/commands/ListRecommendedActionsCommand.d.ts +3 -8
  44. package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -8
  45. package/dist-types/commands/RollbackAutomationEventCommand.d.ts +3 -8
  46. package/dist-types/commands/StartAutomationEventCommand.d.ts +3 -8
  47. package/dist-types/commands/TagResourceCommand.d.ts +3 -8
  48. package/dist-types/commands/UntagResourceCommand.d.ts +3 -8
  49. package/dist-types/commands/UpdateAutomationRuleCommand.d.ts +3 -8
  50. package/dist-types/commands/UpdateEnrollmentConfigurationCommand.d.ts +3 -8
  51. package/dist-types/index.d.ts +1 -0
  52. package/dist-types/ts3.4/commandBuilder.d.ts +46 -0
  53. package/dist-types/ts3.4/commands/AssociateAccountsCommand.d.ts +7 -16
  54. package/dist-types/ts3.4/commands/CreateAutomationRuleCommand.d.ts +7 -16
  55. package/dist-types/ts3.4/commands/DeleteAutomationRuleCommand.d.ts +7 -16
  56. package/dist-types/ts3.4/commands/DisassociateAccountsCommand.d.ts +7 -16
  57. package/dist-types/ts3.4/commands/GetAutomationEventCommand.d.ts +7 -16
  58. package/dist-types/ts3.4/commands/GetAutomationRuleCommand.d.ts +7 -16
  59. package/dist-types/ts3.4/commands/GetEnrollmentConfigurationCommand.d.ts +7 -16
  60. package/dist-types/ts3.4/commands/ListAccountsCommand.d.ts +7 -16
  61. package/dist-types/ts3.4/commands/ListAutomationEventStepsCommand.d.ts +7 -16
  62. package/dist-types/ts3.4/commands/ListAutomationEventSummariesCommand.d.ts +7 -16
  63. package/dist-types/ts3.4/commands/ListAutomationEventsCommand.d.ts +7 -16
  64. package/dist-types/ts3.4/commands/ListAutomationRulePreviewCommand.d.ts +7 -16
  65. package/dist-types/ts3.4/commands/ListAutomationRulePreviewSummariesCommand.d.ts +7 -16
  66. package/dist-types/ts3.4/commands/ListAutomationRulesCommand.d.ts +7 -16
  67. package/dist-types/ts3.4/commands/ListRecommendedActionSummariesCommand.d.ts +7 -16
  68. package/dist-types/ts3.4/commands/ListRecommendedActionsCommand.d.ts +7 -16
  69. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +7 -16
  70. package/dist-types/ts3.4/commands/RollbackAutomationEventCommand.d.ts +7 -16
  71. package/dist-types/ts3.4/commands/StartAutomationEventCommand.d.ts +7 -16
  72. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +7 -16
  73. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +7 -16
  74. package/dist-types/ts3.4/commands/UpdateAutomationRuleCommand.d.ts +7 -16
  75. package/dist-types/ts3.4/commands/UpdateEnrollmentConfigurationCommand.d.ts +7 -16
  76. package/dist-types/ts3.4/index.d.ts +1 -0
  77. package/package.json +8 -8
package/dist-cjs/index.js CHANGED
@@ -1,7 +1,8 @@
1
1
  const { awsEndpointFunctions, emitWarningIfUnsupportedVersion: emitWarningIfUnsupportedVersion$1, createDefaultUserAgentProvider, NODE_APP_ID_CONFIG_OPTIONS, getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration, resolveUserAgentConfig, resolveHostHeaderConfig, getUserAgentPlugin, getHostHeaderPlugin, getLoggerPlugin, getRecursionDetectionPlugin } = require("@aws-sdk/core/client");
2
2
  const { getHttpAuthSchemeEndpointRuleSetPlugin, DefaultIdentityProviderConfig, getHttpSigningPlugin, createPaginator } = require("@smithy/core");
3
- const { normalizeProvider, getSmithyContext, ServiceException, NoOpLogger, emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode, getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, Command, createAggregatedClient } = require("@smithy/core/client");
4
- exports.$Command = Command;
3
+ const { normalizeProvider, getSmithyContext, ServiceException, NoOpLogger, emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode, getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, makeBuilder, createAggregatedClient } = require("@smithy/core/client");
4
+ const { Command: $Command } = require("@smithy/core/client");
5
+ exports.$Command = $Command;
5
6
  exports.__Client = Client;
6
7
  const { resolveDefaultsModeConfig, loadConfig, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS, resolveRegionConfig } = require("@smithy/core/config");
7
8
  const { BinaryDecisionDiagram, EndpointCache, decideEndpoint, customEndpointFunctions, resolveEndpointConfig, getEndpointPlugin } = require("@smithy/core/endpoints");
@@ -68,7 +69,7 @@ const commonParams = {
68
69
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
69
70
  };
70
71
 
71
- var version = "3.1076.0";
72
+ var version = "3.1077.0";
72
73
  var packageInfo = {
73
74
  version: version};
74
75
 
@@ -1237,280 +1238,77 @@ class ComputeOptimizerAutomationClient extends Client {
1237
1238
  }
1238
1239
  }
1239
1240
 
1240
- class AssociateAccountsCommand extends Command
1241
- .classBuilder()
1242
- .ep(commonParams)
1243
- .m(function (Command, cs, config, o) {
1244
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1245
- })
1246
- .s("ComputeOptimizerAutomationService", "AssociateAccounts", {})
1247
- .n("ComputeOptimizerAutomationClient", "AssociateAccountsCommand")
1248
- .sc(AssociateAccounts$)
1249
- .build() {
1241
+ const command = makeBuilder(commonParams, "ComputeOptimizerAutomationService", "ComputeOptimizerAutomationClient", getEndpointPlugin);
1242
+ const _ep0 = {};
1243
+ const _mw0 = (Command, cs, config, o) => [];
1244
+
1245
+ class AssociateAccountsCommand extends command(_ep0, _mw0, "AssociateAccounts", AssociateAccounts$) {
1250
1246
  }
1251
1247
 
1252
- class CreateAutomationRuleCommand extends Command
1253
- .classBuilder()
1254
- .ep(commonParams)
1255
- .m(function (Command, cs, config, o) {
1256
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1257
- })
1258
- .s("ComputeOptimizerAutomationService", "CreateAutomationRule", {})
1259
- .n("ComputeOptimizerAutomationClient", "CreateAutomationRuleCommand")
1260
- .sc(CreateAutomationRule$)
1261
- .build() {
1248
+ class CreateAutomationRuleCommand extends command(_ep0, _mw0, "CreateAutomationRule", CreateAutomationRule$) {
1262
1249
  }
1263
1250
 
1264
- class DeleteAutomationRuleCommand extends Command
1265
- .classBuilder()
1266
- .ep(commonParams)
1267
- .m(function (Command, cs, config, o) {
1268
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1269
- })
1270
- .s("ComputeOptimizerAutomationService", "DeleteAutomationRule", {})
1271
- .n("ComputeOptimizerAutomationClient", "DeleteAutomationRuleCommand")
1272
- .sc(DeleteAutomationRule$)
1273
- .build() {
1251
+ class DeleteAutomationRuleCommand extends command(_ep0, _mw0, "DeleteAutomationRule", DeleteAutomationRule$) {
1274
1252
  }
1275
1253
 
1276
- class DisassociateAccountsCommand extends Command
1277
- .classBuilder()
1278
- .ep(commonParams)
1279
- .m(function (Command, cs, config, o) {
1280
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1281
- })
1282
- .s("ComputeOptimizerAutomationService", "DisassociateAccounts", {})
1283
- .n("ComputeOptimizerAutomationClient", "DisassociateAccountsCommand")
1284
- .sc(DisassociateAccounts$)
1285
- .build() {
1254
+ class DisassociateAccountsCommand extends command(_ep0, _mw0, "DisassociateAccounts", DisassociateAccounts$) {
1286
1255
  }
1287
1256
 
1288
- class GetAutomationEventCommand extends Command
1289
- .classBuilder()
1290
- .ep(commonParams)
1291
- .m(function (Command, cs, config, o) {
1292
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1293
- })
1294
- .s("ComputeOptimizerAutomationService", "GetAutomationEvent", {})
1295
- .n("ComputeOptimizerAutomationClient", "GetAutomationEventCommand")
1296
- .sc(GetAutomationEvent$)
1297
- .build() {
1257
+ class GetAutomationEventCommand extends command(_ep0, _mw0, "GetAutomationEvent", GetAutomationEvent$) {
1298
1258
  }
1299
1259
 
1300
- class GetAutomationRuleCommand extends Command
1301
- .classBuilder()
1302
- .ep(commonParams)
1303
- .m(function (Command, cs, config, o) {
1304
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1305
- })
1306
- .s("ComputeOptimizerAutomationService", "GetAutomationRule", {})
1307
- .n("ComputeOptimizerAutomationClient", "GetAutomationRuleCommand")
1308
- .sc(GetAutomationRule$)
1309
- .build() {
1260
+ class GetAutomationRuleCommand extends command(_ep0, _mw0, "GetAutomationRule", GetAutomationRule$) {
1310
1261
  }
1311
1262
 
1312
- class GetEnrollmentConfigurationCommand extends Command
1313
- .classBuilder()
1314
- .ep(commonParams)
1315
- .m(function (Command, cs, config, o) {
1316
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1317
- })
1318
- .s("ComputeOptimizerAutomationService", "GetEnrollmentConfiguration", {})
1319
- .n("ComputeOptimizerAutomationClient", "GetEnrollmentConfigurationCommand")
1320
- .sc(GetEnrollmentConfiguration$)
1321
- .build() {
1263
+ class GetEnrollmentConfigurationCommand extends command(_ep0, _mw0, "GetEnrollmentConfiguration", GetEnrollmentConfiguration$) {
1322
1264
  }
1323
1265
 
1324
- class ListAccountsCommand extends Command
1325
- .classBuilder()
1326
- .ep(commonParams)
1327
- .m(function (Command, cs, config, o) {
1328
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1329
- })
1330
- .s("ComputeOptimizerAutomationService", "ListAccounts", {})
1331
- .n("ComputeOptimizerAutomationClient", "ListAccountsCommand")
1332
- .sc(ListAccounts$)
1333
- .build() {
1266
+ class ListAccountsCommand extends command(_ep0, _mw0, "ListAccounts", ListAccounts$) {
1334
1267
  }
1335
1268
 
1336
- class ListAutomationEventsCommand extends Command
1337
- .classBuilder()
1338
- .ep(commonParams)
1339
- .m(function (Command, cs, config, o) {
1340
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1341
- })
1342
- .s("ComputeOptimizerAutomationService", "ListAutomationEvents", {})
1343
- .n("ComputeOptimizerAutomationClient", "ListAutomationEventsCommand")
1344
- .sc(ListAutomationEvents$)
1345
- .build() {
1269
+ class ListAutomationEventsCommand extends command(_ep0, _mw0, "ListAutomationEvents", ListAutomationEvents$) {
1346
1270
  }
1347
1271
 
1348
- class ListAutomationEventStepsCommand extends Command
1349
- .classBuilder()
1350
- .ep(commonParams)
1351
- .m(function (Command, cs, config, o) {
1352
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1353
- })
1354
- .s("ComputeOptimizerAutomationService", "ListAutomationEventSteps", {})
1355
- .n("ComputeOptimizerAutomationClient", "ListAutomationEventStepsCommand")
1356
- .sc(ListAutomationEventSteps$)
1357
- .build() {
1272
+ class ListAutomationEventStepsCommand extends command(_ep0, _mw0, "ListAutomationEventSteps", ListAutomationEventSteps$) {
1358
1273
  }
1359
1274
 
1360
- class ListAutomationEventSummariesCommand extends Command
1361
- .classBuilder()
1362
- .ep(commonParams)
1363
- .m(function (Command, cs, config, o) {
1364
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1365
- })
1366
- .s("ComputeOptimizerAutomationService", "ListAutomationEventSummaries", {})
1367
- .n("ComputeOptimizerAutomationClient", "ListAutomationEventSummariesCommand")
1368
- .sc(ListAutomationEventSummaries$)
1369
- .build() {
1275
+ class ListAutomationEventSummariesCommand extends command(_ep0, _mw0, "ListAutomationEventSummaries", ListAutomationEventSummaries$) {
1370
1276
  }
1371
1277
 
1372
- class ListAutomationRulePreviewCommand extends Command
1373
- .classBuilder()
1374
- .ep(commonParams)
1375
- .m(function (Command, cs, config, o) {
1376
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1377
- })
1378
- .s("ComputeOptimizerAutomationService", "ListAutomationRulePreview", {})
1379
- .n("ComputeOptimizerAutomationClient", "ListAutomationRulePreviewCommand")
1380
- .sc(ListAutomationRulePreview$)
1381
- .build() {
1278
+ class ListAutomationRulePreviewCommand extends command(_ep0, _mw0, "ListAutomationRulePreview", ListAutomationRulePreview$) {
1382
1279
  }
1383
1280
 
1384
- class ListAutomationRulePreviewSummariesCommand extends Command
1385
- .classBuilder()
1386
- .ep(commonParams)
1387
- .m(function (Command, cs, config, o) {
1388
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1389
- })
1390
- .s("ComputeOptimizerAutomationService", "ListAutomationRulePreviewSummaries", {})
1391
- .n("ComputeOptimizerAutomationClient", "ListAutomationRulePreviewSummariesCommand")
1392
- .sc(ListAutomationRulePreviewSummaries$)
1393
- .build() {
1281
+ class ListAutomationRulePreviewSummariesCommand extends command(_ep0, _mw0, "ListAutomationRulePreviewSummaries", ListAutomationRulePreviewSummaries$) {
1394
1282
  }
1395
1283
 
1396
- class ListAutomationRulesCommand extends Command
1397
- .classBuilder()
1398
- .ep(commonParams)
1399
- .m(function (Command, cs, config, o) {
1400
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1401
- })
1402
- .s("ComputeOptimizerAutomationService", "ListAutomationRules", {})
1403
- .n("ComputeOptimizerAutomationClient", "ListAutomationRulesCommand")
1404
- .sc(ListAutomationRules$)
1405
- .build() {
1284
+ class ListAutomationRulesCommand extends command(_ep0, _mw0, "ListAutomationRules", ListAutomationRules$) {
1406
1285
  }
1407
1286
 
1408
- class ListRecommendedActionsCommand extends Command
1409
- .classBuilder()
1410
- .ep(commonParams)
1411
- .m(function (Command, cs, config, o) {
1412
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1413
- })
1414
- .s("ComputeOptimizerAutomationService", "ListRecommendedActions", {})
1415
- .n("ComputeOptimizerAutomationClient", "ListRecommendedActionsCommand")
1416
- .sc(ListRecommendedActions$)
1417
- .build() {
1287
+ class ListRecommendedActionsCommand extends command(_ep0, _mw0, "ListRecommendedActions", ListRecommendedActions$) {
1418
1288
  }
1419
1289
 
1420
- class ListRecommendedActionSummariesCommand extends Command
1421
- .classBuilder()
1422
- .ep(commonParams)
1423
- .m(function (Command, cs, config, o) {
1424
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1425
- })
1426
- .s("ComputeOptimizerAutomationService", "ListRecommendedActionSummaries", {})
1427
- .n("ComputeOptimizerAutomationClient", "ListRecommendedActionSummariesCommand")
1428
- .sc(ListRecommendedActionSummaries$)
1429
- .build() {
1290
+ class ListRecommendedActionSummariesCommand extends command(_ep0, _mw0, "ListRecommendedActionSummaries", ListRecommendedActionSummaries$) {
1430
1291
  }
1431
1292
 
1432
- class ListTagsForResourceCommand extends Command
1433
- .classBuilder()
1434
- .ep(commonParams)
1435
- .m(function (Command, cs, config, o) {
1436
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1437
- })
1438
- .s("ComputeOptimizerAutomationService", "ListTagsForResource", {})
1439
- .n("ComputeOptimizerAutomationClient", "ListTagsForResourceCommand")
1440
- .sc(ListTagsForResource$)
1441
- .build() {
1293
+ class ListTagsForResourceCommand extends command(_ep0, _mw0, "ListTagsForResource", ListTagsForResource$) {
1442
1294
  }
1443
1295
 
1444
- class RollbackAutomationEventCommand extends Command
1445
- .classBuilder()
1446
- .ep(commonParams)
1447
- .m(function (Command, cs, config, o) {
1448
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1449
- })
1450
- .s("ComputeOptimizerAutomationService", "RollbackAutomationEvent", {})
1451
- .n("ComputeOptimizerAutomationClient", "RollbackAutomationEventCommand")
1452
- .sc(RollbackAutomationEvent$)
1453
- .build() {
1296
+ class RollbackAutomationEventCommand extends command(_ep0, _mw0, "RollbackAutomationEvent", RollbackAutomationEvent$) {
1454
1297
  }
1455
1298
 
1456
- class StartAutomationEventCommand extends Command
1457
- .classBuilder()
1458
- .ep(commonParams)
1459
- .m(function (Command, cs, config, o) {
1460
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1461
- })
1462
- .s("ComputeOptimizerAutomationService", "StartAutomationEvent", {})
1463
- .n("ComputeOptimizerAutomationClient", "StartAutomationEventCommand")
1464
- .sc(StartAutomationEvent$)
1465
- .build() {
1299
+ class StartAutomationEventCommand extends command(_ep0, _mw0, "StartAutomationEvent", StartAutomationEvent$) {
1466
1300
  }
1467
1301
 
1468
- class TagResourceCommand extends Command
1469
- .classBuilder()
1470
- .ep(commonParams)
1471
- .m(function (Command, cs, config, o) {
1472
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1473
- })
1474
- .s("ComputeOptimizerAutomationService", "TagResource", {})
1475
- .n("ComputeOptimizerAutomationClient", "TagResourceCommand")
1476
- .sc(TagResource$)
1477
- .build() {
1302
+ class TagResourceCommand extends command(_ep0, _mw0, "TagResource", TagResource$) {
1478
1303
  }
1479
1304
 
1480
- class UntagResourceCommand extends Command
1481
- .classBuilder()
1482
- .ep(commonParams)
1483
- .m(function (Command, cs, config, o) {
1484
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1485
- })
1486
- .s("ComputeOptimizerAutomationService", "UntagResource", {})
1487
- .n("ComputeOptimizerAutomationClient", "UntagResourceCommand")
1488
- .sc(UntagResource$)
1489
- .build() {
1305
+ class UntagResourceCommand extends command(_ep0, _mw0, "UntagResource", UntagResource$) {
1490
1306
  }
1491
1307
 
1492
- class UpdateAutomationRuleCommand extends Command
1493
- .classBuilder()
1494
- .ep(commonParams)
1495
- .m(function (Command, cs, config, o) {
1496
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1497
- })
1498
- .s("ComputeOptimizerAutomationService", "UpdateAutomationRule", {})
1499
- .n("ComputeOptimizerAutomationClient", "UpdateAutomationRuleCommand")
1500
- .sc(UpdateAutomationRule$)
1501
- .build() {
1308
+ class UpdateAutomationRuleCommand extends command(_ep0, _mw0, "UpdateAutomationRule", UpdateAutomationRule$) {
1502
1309
  }
1503
1310
 
1504
- class UpdateEnrollmentConfigurationCommand extends Command
1505
- .classBuilder()
1506
- .ep(commonParams)
1507
- .m(function (Command, cs, config, o) {
1508
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1509
- })
1510
- .s("ComputeOptimizerAutomationService", "UpdateEnrollmentConfiguration", {})
1511
- .n("ComputeOptimizerAutomationClient", "UpdateEnrollmentConfigurationCommand")
1512
- .sc(UpdateEnrollmentConfiguration$)
1513
- .build() {
1311
+ class UpdateEnrollmentConfigurationCommand extends command(_ep0, _mw0, "UpdateEnrollmentConfiguration", UpdateEnrollmentConfiguration$) {
1514
1312
  }
1515
1313
 
1516
1314
  const paginateListAccounts = createPaginator(ComputeOptimizerAutomationClient, ListAccountsCommand, "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, "ComputeOptimizerAutomationService", "ComputeOptimizerAutomationClient", 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 { AssociateAccounts$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class AssociateAccountsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("ComputeOptimizerAutomationService", "AssociateAccounts", {})
13
- .n("ComputeOptimizerAutomationClient", "AssociateAccountsCommand")
14
- .sc(AssociateAccounts$)
15
- .build() {
3
+ export class AssociateAccountsCommand extends command(_ep0, _mw0, "AssociateAccounts", AssociateAccounts$) {
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 { CreateAutomationRule$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class CreateAutomationRuleCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("ComputeOptimizerAutomationService", "CreateAutomationRule", {})
13
- .n("ComputeOptimizerAutomationClient", "CreateAutomationRuleCommand")
14
- .sc(CreateAutomationRule$)
15
- .build() {
3
+ export class CreateAutomationRuleCommand extends command(_ep0, _mw0, "CreateAutomationRule", CreateAutomationRule$) {
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 { DeleteAutomationRule$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DeleteAutomationRuleCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("ComputeOptimizerAutomationService", "DeleteAutomationRule", {})
13
- .n("ComputeOptimizerAutomationClient", "DeleteAutomationRuleCommand")
14
- .sc(DeleteAutomationRule$)
15
- .build() {
3
+ export class DeleteAutomationRuleCommand extends command(_ep0, _mw0, "DeleteAutomationRule", DeleteAutomationRule$) {
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 { DisassociateAccounts$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DisassociateAccountsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("ComputeOptimizerAutomationService", "DisassociateAccounts", {})
13
- .n("ComputeOptimizerAutomationClient", "DisassociateAccountsCommand")
14
- .sc(DisassociateAccounts$)
15
- .build() {
3
+ export class DisassociateAccountsCommand extends command(_ep0, _mw0, "DisassociateAccounts", DisassociateAccounts$) {
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 { GetAutomationEvent$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class GetAutomationEventCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("ComputeOptimizerAutomationService", "GetAutomationEvent", {})
13
- .n("ComputeOptimizerAutomationClient", "GetAutomationEventCommand")
14
- .sc(GetAutomationEvent$)
15
- .build() {
3
+ export class GetAutomationEventCommand extends command(_ep0, _mw0, "GetAutomationEvent", GetAutomationEvent$) {
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 { GetAutomationRule$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class GetAutomationRuleCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("ComputeOptimizerAutomationService", "GetAutomationRule", {})
13
- .n("ComputeOptimizerAutomationClient", "GetAutomationRuleCommand")
14
- .sc(GetAutomationRule$)
15
- .build() {
3
+ export class GetAutomationRuleCommand extends command(_ep0, _mw0, "GetAutomationRule", GetAutomationRule$) {
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 { GetEnrollmentConfiguration$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class GetEnrollmentConfigurationCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("ComputeOptimizerAutomationService", "GetEnrollmentConfiguration", {})
13
- .n("ComputeOptimizerAutomationClient", "GetEnrollmentConfigurationCommand")
14
- .sc(GetEnrollmentConfiguration$)
15
- .build() {
3
+ export class GetEnrollmentConfigurationCommand extends command(_ep0, _mw0, "GetEnrollmentConfiguration", GetEnrollmentConfiguration$) {
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 { ListAccounts$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListAccountsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("ComputeOptimizerAutomationService", "ListAccounts", {})
13
- .n("ComputeOptimizerAutomationClient", "ListAccountsCommand")
14
- .sc(ListAccounts$)
15
- .build() {
3
+ export class ListAccountsCommand extends command(_ep0, _mw0, "ListAccounts", ListAccounts$) {
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 { ListAutomationEventSteps$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListAutomationEventStepsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("ComputeOptimizerAutomationService", "ListAutomationEventSteps", {})
13
- .n("ComputeOptimizerAutomationClient", "ListAutomationEventStepsCommand")
14
- .sc(ListAutomationEventSteps$)
15
- .build() {
3
+ export class ListAutomationEventStepsCommand extends command(_ep0, _mw0, "ListAutomationEventSteps", ListAutomationEventSteps$) {
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 { ListAutomationEventSummaries$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListAutomationEventSummariesCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("ComputeOptimizerAutomationService", "ListAutomationEventSummaries", {})
13
- .n("ComputeOptimizerAutomationClient", "ListAutomationEventSummariesCommand")
14
- .sc(ListAutomationEventSummaries$)
15
- .build() {
3
+ export class ListAutomationEventSummariesCommand extends command(_ep0, _mw0, "ListAutomationEventSummaries", ListAutomationEventSummaries$) {
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 { ListAutomationEvents$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListAutomationEventsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("ComputeOptimizerAutomationService", "ListAutomationEvents", {})
13
- .n("ComputeOptimizerAutomationClient", "ListAutomationEventsCommand")
14
- .sc(ListAutomationEvents$)
15
- .build() {
3
+ export class ListAutomationEventsCommand extends command(_ep0, _mw0, "ListAutomationEvents", ListAutomationEvents$) {
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 { ListAutomationRulePreview$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListAutomationRulePreviewCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("ComputeOptimizerAutomationService", "ListAutomationRulePreview", {})
13
- .n("ComputeOptimizerAutomationClient", "ListAutomationRulePreviewCommand")
14
- .sc(ListAutomationRulePreview$)
15
- .build() {
3
+ export class ListAutomationRulePreviewCommand extends command(_ep0, _mw0, "ListAutomationRulePreview", ListAutomationRulePreview$) {
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 { ListAutomationRulePreviewSummaries$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListAutomationRulePreviewSummariesCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("ComputeOptimizerAutomationService", "ListAutomationRulePreviewSummaries", {})
13
- .n("ComputeOptimizerAutomationClient", "ListAutomationRulePreviewSummariesCommand")
14
- .sc(ListAutomationRulePreviewSummaries$)
15
- .build() {
3
+ export class ListAutomationRulePreviewSummariesCommand extends command(_ep0, _mw0, "ListAutomationRulePreviewSummaries", ListAutomationRulePreviewSummaries$) {
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 { ListAutomationRules$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListAutomationRulesCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("ComputeOptimizerAutomationService", "ListAutomationRules", {})
13
- .n("ComputeOptimizerAutomationClient", "ListAutomationRulesCommand")
14
- .sc(ListAutomationRules$)
15
- .build() {
3
+ export class ListAutomationRulesCommand extends command(_ep0, _mw0, "ListAutomationRules", ListAutomationRules$) {
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 { ListRecommendedActionSummaries$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListRecommendedActionSummariesCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("ComputeOptimizerAutomationService", "ListRecommendedActionSummaries", {})
13
- .n("ComputeOptimizerAutomationClient", "ListRecommendedActionSummariesCommand")
14
- .sc(ListRecommendedActionSummaries$)
15
- .build() {
3
+ export class ListRecommendedActionSummariesCommand extends command(_ep0, _mw0, "ListRecommendedActionSummaries", ListRecommendedActionSummaries$) {
16
4
  }