@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.
- package/dist-cjs/index.js +34 -235
- package/dist-es/commandBuilder.js +6 -0
- package/dist-es/commands/AssociateAccountsCommand.js +2 -14
- package/dist-es/commands/CreateAutomationRuleCommand.js +2 -14
- package/dist-es/commands/DeleteAutomationRuleCommand.js +2 -14
- package/dist-es/commands/DisassociateAccountsCommand.js +2 -14
- package/dist-es/commands/GetAutomationEventCommand.js +2 -14
- package/dist-es/commands/GetAutomationRuleCommand.js +2 -14
- package/dist-es/commands/GetEnrollmentConfigurationCommand.js +2 -14
- package/dist-es/commands/ListAccountsCommand.js +2 -14
- package/dist-es/commands/ListAutomationEventStepsCommand.js +2 -14
- package/dist-es/commands/ListAutomationEventSummariesCommand.js +2 -14
- package/dist-es/commands/ListAutomationEventsCommand.js +2 -14
- package/dist-es/commands/ListAutomationRulePreviewCommand.js +2 -14
- package/dist-es/commands/ListAutomationRulePreviewSummariesCommand.js +2 -14
- package/dist-es/commands/ListAutomationRulesCommand.js +2 -14
- package/dist-es/commands/ListRecommendedActionSummariesCommand.js +2 -14
- package/dist-es/commands/ListRecommendedActionsCommand.js +2 -14
- package/dist-es/commands/ListTagsForResourceCommand.js +2 -14
- package/dist-es/commands/RollbackAutomationEventCommand.js +2 -14
- package/dist-es/commands/StartAutomationEventCommand.js +2 -14
- package/dist-es/commands/TagResourceCommand.js +2 -14
- package/dist-es/commands/UntagResourceCommand.js +2 -14
- package/dist-es/commands/UpdateAutomationRuleCommand.js +2 -14
- package/dist-es/commands/UpdateEnrollmentConfigurationCommand.js +2 -14
- package/dist-es/index.js +1 -0
- package/dist-es/runtimeConfig.browser.js +0 -2
- package/dist-es/runtimeConfig.js +1 -2
- package/dist-es/runtimeConfig.native.js +0 -2
- package/dist-es/runtimeConfig.shared.js +2 -0
- package/dist-types/commandBuilder.d.ts +18 -0
- package/dist-types/commands/AssociateAccountsCommand.d.ts +3 -8
- package/dist-types/commands/CreateAutomationRuleCommand.d.ts +3 -8
- package/dist-types/commands/DeleteAutomationRuleCommand.d.ts +3 -8
- package/dist-types/commands/DisassociateAccountsCommand.d.ts +3 -8
- package/dist-types/commands/GetAutomationEventCommand.d.ts +3 -8
- package/dist-types/commands/GetAutomationRuleCommand.d.ts +3 -8
- package/dist-types/commands/GetEnrollmentConfigurationCommand.d.ts +3 -8
- package/dist-types/commands/ListAccountsCommand.d.ts +3 -8
- package/dist-types/commands/ListAutomationEventStepsCommand.d.ts +3 -8
- package/dist-types/commands/ListAutomationEventSummariesCommand.d.ts +3 -8
- package/dist-types/commands/ListAutomationEventsCommand.d.ts +3 -8
- package/dist-types/commands/ListAutomationRulePreviewCommand.d.ts +3 -8
- package/dist-types/commands/ListAutomationRulePreviewSummariesCommand.d.ts +3 -8
- package/dist-types/commands/ListAutomationRulesCommand.d.ts +3 -8
- package/dist-types/commands/ListRecommendedActionSummariesCommand.d.ts +3 -8
- package/dist-types/commands/ListRecommendedActionsCommand.d.ts +3 -8
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -8
- package/dist-types/commands/RollbackAutomationEventCommand.d.ts +3 -8
- package/dist-types/commands/StartAutomationEventCommand.d.ts +3 -8
- package/dist-types/commands/TagResourceCommand.d.ts +3 -8
- package/dist-types/commands/UntagResourceCommand.d.ts +3 -8
- package/dist-types/commands/UpdateAutomationRuleCommand.d.ts +3 -8
- package/dist-types/commands/UpdateEnrollmentConfigurationCommand.d.ts +3 -8
- package/dist-types/index.d.ts +1 -0
- package/dist-types/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/runtimeConfig.d.ts +1 -1
- package/dist-types/runtimeConfig.native.d.ts +1 -1
- package/dist-types/runtimeConfig.shared.d.ts +1 -0
- package/dist-types/ts3.4/commandBuilder.d.ts +46 -0
- package/dist-types/ts3.4/commands/AssociateAccountsCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/CreateAutomationRuleCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/DeleteAutomationRuleCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/DisassociateAccountsCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/GetAutomationEventCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/GetAutomationRuleCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/GetEnrollmentConfigurationCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/ListAccountsCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/ListAutomationEventStepsCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/ListAutomationEventSummariesCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/ListAutomationEventsCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/ListAutomationRulePreviewCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/ListAutomationRulePreviewSummariesCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/ListAutomationRulesCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/ListRecommendedActionSummariesCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/ListRecommendedActionsCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/RollbackAutomationEventCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/StartAutomationEventCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/UpdateAutomationRuleCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/UpdateEnrollmentConfigurationCommand.d.ts +7 -16
- package/dist-types/ts3.4/index.d.ts +1 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -0
- 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,
|
|
4
|
-
|
|
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,
|
|
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.
|
|
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
|
-
|
|
1240
|
-
|
|
1241
|
-
|
|
1242
|
-
|
|
1243
|
-
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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 {
|
|
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
|
|
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 {
|
|
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
|
|
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 {
|
|
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
|
|
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 {
|
|
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
|
|
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 {
|
|
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
|
|
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 {
|
|
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
|
|
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 {
|
|
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
|
|
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 {
|
|
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
|
|
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 {
|
|
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
|
|
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 {
|
|
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
|
|
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 {
|
|
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
|
|
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 {
|
|
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
|
|
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 {
|
|
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
|
|
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 {
|
|
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
|
|
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
|
}
|