@aws-sdk/client-compute-optimizer-automation 3.1076.0 → 3.1078.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (89) hide show
  1. package/dist-cjs/index.js +34 -235
  2. package/dist-es/commandBuilder.js +6 -0
  3. package/dist-es/commands/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-es/runtimeConfig.browser.js +0 -2
  28. package/dist-es/runtimeConfig.js +1 -2
  29. package/dist-es/runtimeConfig.native.js +0 -2
  30. package/dist-es/runtimeConfig.shared.js +2 -0
  31. package/dist-types/commandBuilder.d.ts +18 -0
  32. package/dist-types/commands/AssociateAccountsCommand.d.ts +3 -8
  33. package/dist-types/commands/CreateAutomationRuleCommand.d.ts +3 -8
  34. package/dist-types/commands/DeleteAutomationRuleCommand.d.ts +3 -8
  35. package/dist-types/commands/DisassociateAccountsCommand.d.ts +3 -8
  36. package/dist-types/commands/GetAutomationEventCommand.d.ts +3 -8
  37. package/dist-types/commands/GetAutomationRuleCommand.d.ts +3 -8
  38. package/dist-types/commands/GetEnrollmentConfigurationCommand.d.ts +3 -8
  39. package/dist-types/commands/ListAccountsCommand.d.ts +3 -8
  40. package/dist-types/commands/ListAutomationEventStepsCommand.d.ts +3 -8
  41. package/dist-types/commands/ListAutomationEventSummariesCommand.d.ts +3 -8
  42. package/dist-types/commands/ListAutomationEventsCommand.d.ts +3 -8
  43. package/dist-types/commands/ListAutomationRulePreviewCommand.d.ts +3 -8
  44. package/dist-types/commands/ListAutomationRulePreviewSummariesCommand.d.ts +3 -8
  45. package/dist-types/commands/ListAutomationRulesCommand.d.ts +3 -8
  46. package/dist-types/commands/ListRecommendedActionSummariesCommand.d.ts +3 -8
  47. package/dist-types/commands/ListRecommendedActionsCommand.d.ts +3 -8
  48. package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -8
  49. package/dist-types/commands/RollbackAutomationEventCommand.d.ts +3 -8
  50. package/dist-types/commands/StartAutomationEventCommand.d.ts +3 -8
  51. package/dist-types/commands/TagResourceCommand.d.ts +3 -8
  52. package/dist-types/commands/UntagResourceCommand.d.ts +3 -8
  53. package/dist-types/commands/UpdateAutomationRuleCommand.d.ts +3 -8
  54. package/dist-types/commands/UpdateEnrollmentConfigurationCommand.d.ts +3 -8
  55. package/dist-types/index.d.ts +1 -0
  56. package/dist-types/runtimeConfig.browser.d.ts +1 -1
  57. package/dist-types/runtimeConfig.d.ts +1 -1
  58. package/dist-types/runtimeConfig.native.d.ts +1 -1
  59. package/dist-types/runtimeConfig.shared.d.ts +1 -0
  60. package/dist-types/ts3.4/commandBuilder.d.ts +46 -0
  61. package/dist-types/ts3.4/commands/AssociateAccountsCommand.d.ts +7 -16
  62. package/dist-types/ts3.4/commands/CreateAutomationRuleCommand.d.ts +7 -16
  63. package/dist-types/ts3.4/commands/DeleteAutomationRuleCommand.d.ts +7 -16
  64. package/dist-types/ts3.4/commands/DisassociateAccountsCommand.d.ts +7 -16
  65. package/dist-types/ts3.4/commands/GetAutomationEventCommand.d.ts +7 -16
  66. package/dist-types/ts3.4/commands/GetAutomationRuleCommand.d.ts +7 -16
  67. package/dist-types/ts3.4/commands/GetEnrollmentConfigurationCommand.d.ts +7 -16
  68. package/dist-types/ts3.4/commands/ListAccountsCommand.d.ts +7 -16
  69. package/dist-types/ts3.4/commands/ListAutomationEventStepsCommand.d.ts +7 -16
  70. package/dist-types/ts3.4/commands/ListAutomationEventSummariesCommand.d.ts +7 -16
  71. package/dist-types/ts3.4/commands/ListAutomationEventsCommand.d.ts +7 -16
  72. package/dist-types/ts3.4/commands/ListAutomationRulePreviewCommand.d.ts +7 -16
  73. package/dist-types/ts3.4/commands/ListAutomationRulePreviewSummariesCommand.d.ts +7 -16
  74. package/dist-types/ts3.4/commands/ListAutomationRulesCommand.d.ts +7 -16
  75. package/dist-types/ts3.4/commands/ListRecommendedActionSummariesCommand.d.ts +7 -16
  76. package/dist-types/ts3.4/commands/ListRecommendedActionsCommand.d.ts +7 -16
  77. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +7 -16
  78. package/dist-types/ts3.4/commands/RollbackAutomationEventCommand.d.ts +7 -16
  79. package/dist-types/ts3.4/commands/StartAutomationEventCommand.d.ts +7 -16
  80. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +7 -16
  81. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +7 -16
  82. package/dist-types/ts3.4/commands/UpdateAutomationRuleCommand.d.ts +7 -16
  83. package/dist-types/ts3.4/commands/UpdateEnrollmentConfigurationCommand.d.ts +7 -16
  84. package/dist-types/ts3.4/index.d.ts +1 -0
  85. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
  86. package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
  87. package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -1
  88. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -0
  89. package/package.json +8 -10
package/dist-cjs/index.js CHANGED
@@ -1,7 +1,8 @@
1
1
  const { awsEndpointFunctions, emitWarningIfUnsupportedVersion: emitWarningIfUnsupportedVersion$1, createDefaultUserAgentProvider, NODE_APP_ID_CONFIG_OPTIONS, getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration, resolveUserAgentConfig, resolveHostHeaderConfig, getUserAgentPlugin, getHostHeaderPlugin, getLoggerPlugin, getRecursionDetectionPlugin } = require("@aws-sdk/core/client");
2
2
  const { getHttpAuthSchemeEndpointRuleSetPlugin, DefaultIdentityProviderConfig, getHttpSigningPlugin, createPaginator } = require("@smithy/core");
3
- const { normalizeProvider, getSmithyContext, ServiceException, NoOpLogger, emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode, getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, Command, createAggregatedClient } = require("@smithy/core/client");
4
- exports.$Command = Command;
3
+ const { normalizeProvider, getSmithyContext, ServiceException, NoOpLogger, emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode, getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, makeBuilder, createAggregatedClient } = require("@smithy/core/client");
4
+ const { Command: $Command } = require("@smithy/core/client");
5
+ exports.$Command = $Command;
5
6
  exports.__Client = Client;
6
7
  const { resolveDefaultsModeConfig, loadConfig, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS, resolveRegionConfig } = require("@smithy/core/config");
7
8
  const { BinaryDecisionDiagram, EndpointCache, decideEndpoint, customEndpointFunctions, resolveEndpointConfig, getEndpointPlugin } = require("@smithy/core/endpoints");
@@ -10,9 +11,10 @@ const { DEFAULT_RETRY_MODE, NODE_RETRY_MODE_CONFIG_OPTIONS, NODE_MAX_ATTEMPT_CON
10
11
  const { TypeRegistry, getSchemaSerdePlugin } = require("@smithy/core/schema");
11
12
  const { resolveAwsSdkSigV4Config, AwsSdkSigV4Signer, NODE_AUTH_SCHEME_PREFERENCE_OPTIONS } = require("@aws-sdk/core/httpAuthSchemes");
12
13
  const { defaultProvider } = require("@aws-sdk/credential-provider-node");
13
- const { toUtf8, fromUtf8, toBase64, fromBase64, Hash, calculateBodyLength } = require("@smithy/core/serde");
14
+ const { toUtf8, fromUtf8, toBase64, fromBase64, calculateBodyLength } = require("@smithy/core/serde");
14
15
  const { streamCollector, NodeHttpHandler } = require("@smithy/node-http-handler");
15
16
  const { AwsJson1_0Protocol } = require("@aws-sdk/core/protocols");
17
+ const { Sha256 } = require("@smithy/core/checksum");
16
18
 
17
19
  const defaultComputeOptimizerAutomationHttpAuthSchemeParametersProvider = 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
 
@@ -1115,6 +1117,7 @@ const getRuntimeConfig$1 = (config) => {
1115
1117
  serviceTarget: "ComputeOptimizerAutomationService",
1116
1118
  },
1117
1119
  serviceId: config?.serviceId ?? "Compute Optimizer Automation",
1120
+ sha256: config?.sha256 ?? Sha256,
1118
1121
  urlParser: config?.urlParser ?? parseUrl,
1119
1122
  utf8Decoder: config?.utf8Decoder ?? fromUtf8,
1120
1123
  utf8Encoder: config?.utf8Encoder ?? toUtf8,
@@ -1148,7 +1151,6 @@ const getRuntimeConfig = (config) => {
1148
1151
  ...NODE_RETRY_MODE_CONFIG_OPTIONS,
1149
1152
  default: async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE,
1150
1153
  }, config),
1151
- sha256: config?.sha256 ?? Hash.bind(null, "sha256"),
1152
1154
  streamCollector: config?.streamCollector ?? streamCollector,
1153
1155
  useDualstackEndpoint: config?.useDualstackEndpoint ?? loadConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
1154
1156
  useFipsEndpoint: config?.useFipsEndpoint ?? loadConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
@@ -1236,280 +1238,77 @@ class ComputeOptimizerAutomationClient extends Client {
1236
1238
  }
1237
1239
  }
1238
1240
 
1239
- class AssociateAccountsCommand extends Command
1240
- .classBuilder()
1241
- .ep(commonParams)
1242
- .m(function (Command, cs, config, o) {
1243
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1244
- })
1245
- .s("ComputeOptimizerAutomationService", "AssociateAccounts", {})
1246
- .n("ComputeOptimizerAutomationClient", "AssociateAccountsCommand")
1247
- .sc(AssociateAccounts$)
1248
- .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$) {
1249
1246
  }
1250
1247
 
1251
- class CreateAutomationRuleCommand extends Command
1252
- .classBuilder()
1253
- .ep(commonParams)
1254
- .m(function (Command, cs, config, o) {
1255
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1256
- })
1257
- .s("ComputeOptimizerAutomationService", "CreateAutomationRule", {})
1258
- .n("ComputeOptimizerAutomationClient", "CreateAutomationRuleCommand")
1259
- .sc(CreateAutomationRule$)
1260
- .build() {
1248
+ class CreateAutomationRuleCommand extends command(_ep0, _mw0, "CreateAutomationRule", CreateAutomationRule$) {
1261
1249
  }
1262
1250
 
1263
- class DeleteAutomationRuleCommand extends Command
1264
- .classBuilder()
1265
- .ep(commonParams)
1266
- .m(function (Command, cs, config, o) {
1267
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1268
- })
1269
- .s("ComputeOptimizerAutomationService", "DeleteAutomationRule", {})
1270
- .n("ComputeOptimizerAutomationClient", "DeleteAutomationRuleCommand")
1271
- .sc(DeleteAutomationRule$)
1272
- .build() {
1251
+ class DeleteAutomationRuleCommand extends command(_ep0, _mw0, "DeleteAutomationRule", DeleteAutomationRule$) {
1273
1252
  }
1274
1253
 
1275
- class DisassociateAccountsCommand extends Command
1276
- .classBuilder()
1277
- .ep(commonParams)
1278
- .m(function (Command, cs, config, o) {
1279
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1280
- })
1281
- .s("ComputeOptimizerAutomationService", "DisassociateAccounts", {})
1282
- .n("ComputeOptimizerAutomationClient", "DisassociateAccountsCommand")
1283
- .sc(DisassociateAccounts$)
1284
- .build() {
1254
+ class DisassociateAccountsCommand extends command(_ep0, _mw0, "DisassociateAccounts", DisassociateAccounts$) {
1285
1255
  }
1286
1256
 
1287
- class GetAutomationEventCommand extends Command
1288
- .classBuilder()
1289
- .ep(commonParams)
1290
- .m(function (Command, cs, config, o) {
1291
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1292
- })
1293
- .s("ComputeOptimizerAutomationService", "GetAutomationEvent", {})
1294
- .n("ComputeOptimizerAutomationClient", "GetAutomationEventCommand")
1295
- .sc(GetAutomationEvent$)
1296
- .build() {
1257
+ class GetAutomationEventCommand extends command(_ep0, _mw0, "GetAutomationEvent", GetAutomationEvent$) {
1297
1258
  }
1298
1259
 
1299
- class GetAutomationRuleCommand extends Command
1300
- .classBuilder()
1301
- .ep(commonParams)
1302
- .m(function (Command, cs, config, o) {
1303
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1304
- })
1305
- .s("ComputeOptimizerAutomationService", "GetAutomationRule", {})
1306
- .n("ComputeOptimizerAutomationClient", "GetAutomationRuleCommand")
1307
- .sc(GetAutomationRule$)
1308
- .build() {
1260
+ class GetAutomationRuleCommand extends command(_ep0, _mw0, "GetAutomationRule", GetAutomationRule$) {
1309
1261
  }
1310
1262
 
1311
- class GetEnrollmentConfigurationCommand extends Command
1312
- .classBuilder()
1313
- .ep(commonParams)
1314
- .m(function (Command, cs, config, o) {
1315
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1316
- })
1317
- .s("ComputeOptimizerAutomationService", "GetEnrollmentConfiguration", {})
1318
- .n("ComputeOptimizerAutomationClient", "GetEnrollmentConfigurationCommand")
1319
- .sc(GetEnrollmentConfiguration$)
1320
- .build() {
1263
+ class GetEnrollmentConfigurationCommand extends command(_ep0, _mw0, "GetEnrollmentConfiguration", GetEnrollmentConfiguration$) {
1321
1264
  }
1322
1265
 
1323
- class ListAccountsCommand extends Command
1324
- .classBuilder()
1325
- .ep(commonParams)
1326
- .m(function (Command, cs, config, o) {
1327
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1328
- })
1329
- .s("ComputeOptimizerAutomationService", "ListAccounts", {})
1330
- .n("ComputeOptimizerAutomationClient", "ListAccountsCommand")
1331
- .sc(ListAccounts$)
1332
- .build() {
1266
+ class ListAccountsCommand extends command(_ep0, _mw0, "ListAccounts", ListAccounts$) {
1333
1267
  }
1334
1268
 
1335
- class ListAutomationEventsCommand extends Command
1336
- .classBuilder()
1337
- .ep(commonParams)
1338
- .m(function (Command, cs, config, o) {
1339
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1340
- })
1341
- .s("ComputeOptimizerAutomationService", "ListAutomationEvents", {})
1342
- .n("ComputeOptimizerAutomationClient", "ListAutomationEventsCommand")
1343
- .sc(ListAutomationEvents$)
1344
- .build() {
1269
+ class ListAutomationEventsCommand extends command(_ep0, _mw0, "ListAutomationEvents", ListAutomationEvents$) {
1345
1270
  }
1346
1271
 
1347
- class ListAutomationEventStepsCommand extends Command
1348
- .classBuilder()
1349
- .ep(commonParams)
1350
- .m(function (Command, cs, config, o) {
1351
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1352
- })
1353
- .s("ComputeOptimizerAutomationService", "ListAutomationEventSteps", {})
1354
- .n("ComputeOptimizerAutomationClient", "ListAutomationEventStepsCommand")
1355
- .sc(ListAutomationEventSteps$)
1356
- .build() {
1272
+ class ListAutomationEventStepsCommand extends command(_ep0, _mw0, "ListAutomationEventSteps", ListAutomationEventSteps$) {
1357
1273
  }
1358
1274
 
1359
- class ListAutomationEventSummariesCommand extends Command
1360
- .classBuilder()
1361
- .ep(commonParams)
1362
- .m(function (Command, cs, config, o) {
1363
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1364
- })
1365
- .s("ComputeOptimizerAutomationService", "ListAutomationEventSummaries", {})
1366
- .n("ComputeOptimizerAutomationClient", "ListAutomationEventSummariesCommand")
1367
- .sc(ListAutomationEventSummaries$)
1368
- .build() {
1275
+ class ListAutomationEventSummariesCommand extends command(_ep0, _mw0, "ListAutomationEventSummaries", ListAutomationEventSummaries$) {
1369
1276
  }
1370
1277
 
1371
- class ListAutomationRulePreviewCommand extends Command
1372
- .classBuilder()
1373
- .ep(commonParams)
1374
- .m(function (Command, cs, config, o) {
1375
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1376
- })
1377
- .s("ComputeOptimizerAutomationService", "ListAutomationRulePreview", {})
1378
- .n("ComputeOptimizerAutomationClient", "ListAutomationRulePreviewCommand")
1379
- .sc(ListAutomationRulePreview$)
1380
- .build() {
1278
+ class ListAutomationRulePreviewCommand extends command(_ep0, _mw0, "ListAutomationRulePreview", ListAutomationRulePreview$) {
1381
1279
  }
1382
1280
 
1383
- class ListAutomationRulePreviewSummariesCommand extends Command
1384
- .classBuilder()
1385
- .ep(commonParams)
1386
- .m(function (Command, cs, config, o) {
1387
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1388
- })
1389
- .s("ComputeOptimizerAutomationService", "ListAutomationRulePreviewSummaries", {})
1390
- .n("ComputeOptimizerAutomationClient", "ListAutomationRulePreviewSummariesCommand")
1391
- .sc(ListAutomationRulePreviewSummaries$)
1392
- .build() {
1281
+ class ListAutomationRulePreviewSummariesCommand extends command(_ep0, _mw0, "ListAutomationRulePreviewSummaries", ListAutomationRulePreviewSummaries$) {
1393
1282
  }
1394
1283
 
1395
- class ListAutomationRulesCommand extends Command
1396
- .classBuilder()
1397
- .ep(commonParams)
1398
- .m(function (Command, cs, config, o) {
1399
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1400
- })
1401
- .s("ComputeOptimizerAutomationService", "ListAutomationRules", {})
1402
- .n("ComputeOptimizerAutomationClient", "ListAutomationRulesCommand")
1403
- .sc(ListAutomationRules$)
1404
- .build() {
1284
+ class ListAutomationRulesCommand extends command(_ep0, _mw0, "ListAutomationRules", ListAutomationRules$) {
1405
1285
  }
1406
1286
 
1407
- class ListRecommendedActionsCommand extends Command
1408
- .classBuilder()
1409
- .ep(commonParams)
1410
- .m(function (Command, cs, config, o) {
1411
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1412
- })
1413
- .s("ComputeOptimizerAutomationService", "ListRecommendedActions", {})
1414
- .n("ComputeOptimizerAutomationClient", "ListRecommendedActionsCommand")
1415
- .sc(ListRecommendedActions$)
1416
- .build() {
1287
+ class ListRecommendedActionsCommand extends command(_ep0, _mw0, "ListRecommendedActions", ListRecommendedActions$) {
1417
1288
  }
1418
1289
 
1419
- class ListRecommendedActionSummariesCommand extends Command
1420
- .classBuilder()
1421
- .ep(commonParams)
1422
- .m(function (Command, cs, config, o) {
1423
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1424
- })
1425
- .s("ComputeOptimizerAutomationService", "ListRecommendedActionSummaries", {})
1426
- .n("ComputeOptimizerAutomationClient", "ListRecommendedActionSummariesCommand")
1427
- .sc(ListRecommendedActionSummaries$)
1428
- .build() {
1290
+ class ListRecommendedActionSummariesCommand extends command(_ep0, _mw0, "ListRecommendedActionSummaries", ListRecommendedActionSummaries$) {
1429
1291
  }
1430
1292
 
1431
- class ListTagsForResourceCommand extends Command
1432
- .classBuilder()
1433
- .ep(commonParams)
1434
- .m(function (Command, cs, config, o) {
1435
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1436
- })
1437
- .s("ComputeOptimizerAutomationService", "ListTagsForResource", {})
1438
- .n("ComputeOptimizerAutomationClient", "ListTagsForResourceCommand")
1439
- .sc(ListTagsForResource$)
1440
- .build() {
1293
+ class ListTagsForResourceCommand extends command(_ep0, _mw0, "ListTagsForResource", ListTagsForResource$) {
1441
1294
  }
1442
1295
 
1443
- class RollbackAutomationEventCommand extends Command
1444
- .classBuilder()
1445
- .ep(commonParams)
1446
- .m(function (Command, cs, config, o) {
1447
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1448
- })
1449
- .s("ComputeOptimizerAutomationService", "RollbackAutomationEvent", {})
1450
- .n("ComputeOptimizerAutomationClient", "RollbackAutomationEventCommand")
1451
- .sc(RollbackAutomationEvent$)
1452
- .build() {
1296
+ class RollbackAutomationEventCommand extends command(_ep0, _mw0, "RollbackAutomationEvent", RollbackAutomationEvent$) {
1453
1297
  }
1454
1298
 
1455
- class StartAutomationEventCommand extends Command
1456
- .classBuilder()
1457
- .ep(commonParams)
1458
- .m(function (Command, cs, config, o) {
1459
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1460
- })
1461
- .s("ComputeOptimizerAutomationService", "StartAutomationEvent", {})
1462
- .n("ComputeOptimizerAutomationClient", "StartAutomationEventCommand")
1463
- .sc(StartAutomationEvent$)
1464
- .build() {
1299
+ class StartAutomationEventCommand extends command(_ep0, _mw0, "StartAutomationEvent", StartAutomationEvent$) {
1465
1300
  }
1466
1301
 
1467
- class TagResourceCommand extends Command
1468
- .classBuilder()
1469
- .ep(commonParams)
1470
- .m(function (Command, cs, config, o) {
1471
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1472
- })
1473
- .s("ComputeOptimizerAutomationService", "TagResource", {})
1474
- .n("ComputeOptimizerAutomationClient", "TagResourceCommand")
1475
- .sc(TagResource$)
1476
- .build() {
1302
+ class TagResourceCommand extends command(_ep0, _mw0, "TagResource", TagResource$) {
1477
1303
  }
1478
1304
 
1479
- class UntagResourceCommand extends Command
1480
- .classBuilder()
1481
- .ep(commonParams)
1482
- .m(function (Command, cs, config, o) {
1483
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1484
- })
1485
- .s("ComputeOptimizerAutomationService", "UntagResource", {})
1486
- .n("ComputeOptimizerAutomationClient", "UntagResourceCommand")
1487
- .sc(UntagResource$)
1488
- .build() {
1305
+ class UntagResourceCommand extends command(_ep0, _mw0, "UntagResource", UntagResource$) {
1489
1306
  }
1490
1307
 
1491
- class UpdateAutomationRuleCommand extends Command
1492
- .classBuilder()
1493
- .ep(commonParams)
1494
- .m(function (Command, cs, config, o) {
1495
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1496
- })
1497
- .s("ComputeOptimizerAutomationService", "UpdateAutomationRule", {})
1498
- .n("ComputeOptimizerAutomationClient", "UpdateAutomationRuleCommand")
1499
- .sc(UpdateAutomationRule$)
1500
- .build() {
1308
+ class UpdateAutomationRuleCommand extends command(_ep0, _mw0, "UpdateAutomationRule", UpdateAutomationRule$) {
1501
1309
  }
1502
1310
 
1503
- class UpdateEnrollmentConfigurationCommand extends Command
1504
- .classBuilder()
1505
- .ep(commonParams)
1506
- .m(function (Command, cs, config, o) {
1507
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1508
- })
1509
- .s("ComputeOptimizerAutomationService", "UpdateEnrollmentConfiguration", {})
1510
- .n("ComputeOptimizerAutomationClient", "UpdateEnrollmentConfigurationCommand")
1511
- .sc(UpdateEnrollmentConfiguration$)
1512
- .build() {
1311
+ class UpdateEnrollmentConfigurationCommand extends command(_ep0, _mw0, "UpdateEnrollmentConfiguration", UpdateEnrollmentConfiguration$) {
1513
1312
  }
1514
1313
 
1515
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
  }