@aws-sdk/client-controltower 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 (92) hide show
  1. package/dist-cjs/index.js +36 -283
  2. package/dist-es/commandBuilder.js +6 -0
  3. package/dist-es/commands/CreateLandingZoneCommand.js +2 -14
  4. package/dist-es/commands/DeleteLandingZoneCommand.js +2 -14
  5. package/dist-es/commands/DisableBaselineCommand.js +2 -14
  6. package/dist-es/commands/DisableControlCommand.js +2 -14
  7. package/dist-es/commands/EnableBaselineCommand.js +2 -14
  8. package/dist-es/commands/EnableControlCommand.js +2 -14
  9. package/dist-es/commands/GetBaselineCommand.js +2 -14
  10. package/dist-es/commands/GetBaselineOperationCommand.js +2 -14
  11. package/dist-es/commands/GetControlOperationCommand.js +2 -14
  12. package/dist-es/commands/GetEnabledBaselineCommand.js +2 -14
  13. package/dist-es/commands/GetEnabledControlCommand.js +2 -14
  14. package/dist-es/commands/GetLandingZoneCommand.js +2 -14
  15. package/dist-es/commands/GetLandingZoneOperationCommand.js +2 -14
  16. package/dist-es/commands/ListBaselinesCommand.js +2 -14
  17. package/dist-es/commands/ListControlOperationsCommand.js +2 -14
  18. package/dist-es/commands/ListEnabledBaselinesCommand.js +2 -14
  19. package/dist-es/commands/ListEnabledControlsCommand.js +2 -14
  20. package/dist-es/commands/ListLandingZoneOperationsCommand.js +2 -14
  21. package/dist-es/commands/ListLandingZonesCommand.js +2 -14
  22. package/dist-es/commands/ListTagsForResourceCommand.js +2 -14
  23. package/dist-es/commands/ResetEnabledBaselineCommand.js +2 -14
  24. package/dist-es/commands/ResetEnabledControlCommand.js +2 -14
  25. package/dist-es/commands/ResetLandingZoneCommand.js +2 -14
  26. package/dist-es/commands/TagResourceCommand.js +2 -14
  27. package/dist-es/commands/UntagResourceCommand.js +2 -14
  28. package/dist-es/commands/UpdateEnabledBaselineCommand.js +2 -14
  29. package/dist-es/commands/UpdateEnabledControlCommand.js +2 -14
  30. package/dist-es/commands/UpdateLandingZoneCommand.js +2 -14
  31. package/dist-es/index.js +1 -0
  32. package/dist-types/commandBuilder.d.ts +18 -0
  33. package/dist-types/commands/CreateLandingZoneCommand.d.ts +3 -8
  34. package/dist-types/commands/DeleteLandingZoneCommand.d.ts +3 -8
  35. package/dist-types/commands/DisableBaselineCommand.d.ts +3 -8
  36. package/dist-types/commands/DisableControlCommand.d.ts +3 -8
  37. package/dist-types/commands/EnableBaselineCommand.d.ts +3 -8
  38. package/dist-types/commands/EnableControlCommand.d.ts +3 -8
  39. package/dist-types/commands/GetBaselineCommand.d.ts +3 -8
  40. package/dist-types/commands/GetBaselineOperationCommand.d.ts +3 -8
  41. package/dist-types/commands/GetControlOperationCommand.d.ts +3 -8
  42. package/dist-types/commands/GetEnabledBaselineCommand.d.ts +3 -8
  43. package/dist-types/commands/GetEnabledControlCommand.d.ts +3 -8
  44. package/dist-types/commands/GetLandingZoneCommand.d.ts +3 -8
  45. package/dist-types/commands/GetLandingZoneOperationCommand.d.ts +3 -8
  46. package/dist-types/commands/ListBaselinesCommand.d.ts +3 -8
  47. package/dist-types/commands/ListControlOperationsCommand.d.ts +3 -8
  48. package/dist-types/commands/ListEnabledBaselinesCommand.d.ts +3 -8
  49. package/dist-types/commands/ListEnabledControlsCommand.d.ts +3 -8
  50. package/dist-types/commands/ListLandingZoneOperationsCommand.d.ts +3 -8
  51. package/dist-types/commands/ListLandingZonesCommand.d.ts +3 -8
  52. package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -8
  53. package/dist-types/commands/ResetEnabledBaselineCommand.d.ts +3 -8
  54. package/dist-types/commands/ResetEnabledControlCommand.d.ts +3 -8
  55. package/dist-types/commands/ResetLandingZoneCommand.d.ts +3 -8
  56. package/dist-types/commands/TagResourceCommand.d.ts +3 -8
  57. package/dist-types/commands/UntagResourceCommand.d.ts +3 -8
  58. package/dist-types/commands/UpdateEnabledBaselineCommand.d.ts +3 -8
  59. package/dist-types/commands/UpdateEnabledControlCommand.d.ts +3 -8
  60. package/dist-types/commands/UpdateLandingZoneCommand.d.ts +3 -8
  61. package/dist-types/index.d.ts +1 -0
  62. package/dist-types/ts3.4/commandBuilder.d.ts +46 -0
  63. package/dist-types/ts3.4/commands/CreateLandingZoneCommand.d.ts +7 -16
  64. package/dist-types/ts3.4/commands/DeleteLandingZoneCommand.d.ts +7 -16
  65. package/dist-types/ts3.4/commands/DisableBaselineCommand.d.ts +7 -16
  66. package/dist-types/ts3.4/commands/DisableControlCommand.d.ts +7 -16
  67. package/dist-types/ts3.4/commands/EnableBaselineCommand.d.ts +7 -16
  68. package/dist-types/ts3.4/commands/EnableControlCommand.d.ts +7 -16
  69. package/dist-types/ts3.4/commands/GetBaselineCommand.d.ts +7 -16
  70. package/dist-types/ts3.4/commands/GetBaselineOperationCommand.d.ts +7 -16
  71. package/dist-types/ts3.4/commands/GetControlOperationCommand.d.ts +7 -16
  72. package/dist-types/ts3.4/commands/GetEnabledBaselineCommand.d.ts +7 -16
  73. package/dist-types/ts3.4/commands/GetEnabledControlCommand.d.ts +7 -16
  74. package/dist-types/ts3.4/commands/GetLandingZoneCommand.d.ts +7 -16
  75. package/dist-types/ts3.4/commands/GetLandingZoneOperationCommand.d.ts +7 -16
  76. package/dist-types/ts3.4/commands/ListBaselinesCommand.d.ts +7 -16
  77. package/dist-types/ts3.4/commands/ListControlOperationsCommand.d.ts +7 -16
  78. package/dist-types/ts3.4/commands/ListEnabledBaselinesCommand.d.ts +7 -16
  79. package/dist-types/ts3.4/commands/ListEnabledControlsCommand.d.ts +7 -16
  80. package/dist-types/ts3.4/commands/ListLandingZoneOperationsCommand.d.ts +7 -16
  81. package/dist-types/ts3.4/commands/ListLandingZonesCommand.d.ts +7 -16
  82. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +7 -16
  83. package/dist-types/ts3.4/commands/ResetEnabledBaselineCommand.d.ts +7 -16
  84. package/dist-types/ts3.4/commands/ResetEnabledControlCommand.d.ts +7 -16
  85. package/dist-types/ts3.4/commands/ResetLandingZoneCommand.d.ts +7 -16
  86. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +7 -16
  87. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +7 -16
  88. package/dist-types/ts3.4/commands/UpdateEnabledBaselineCommand.d.ts +7 -16
  89. package/dist-types/ts3.4/commands/UpdateEnabledControlCommand.d.ts +7 -16
  90. package/dist-types/ts3.4/commands/UpdateLandingZoneCommand.d.ts +7 -16
  91. package/dist-types/ts3.4/index.d.ts +1 -0
  92. 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
 
@@ -1183,340 +1184,92 @@ class ControlTowerClient extends Client {
1183
1184
  }
1184
1185
  }
1185
1186
 
1186
- class CreateLandingZoneCommand extends Command
1187
- .classBuilder()
1188
- .ep(commonParams)
1189
- .m(function (Command, cs, config, o) {
1190
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1191
- })
1192
- .s("AWSControlTowerApis", "CreateLandingZone", {})
1193
- .n("ControlTowerClient", "CreateLandingZoneCommand")
1194
- .sc(CreateLandingZone$)
1195
- .build() {
1187
+ const command = makeBuilder(commonParams, "AWSControlTowerApis", "ControlTowerClient", getEndpointPlugin);
1188
+ const _ep0 = {};
1189
+ const _mw0 = (Command, cs, config, o) => [];
1190
+
1191
+ class CreateLandingZoneCommand extends command(_ep0, _mw0, "CreateLandingZone", CreateLandingZone$) {
1196
1192
  }
1197
1193
 
1198
- class DeleteLandingZoneCommand extends Command
1199
- .classBuilder()
1200
- .ep(commonParams)
1201
- .m(function (Command, cs, config, o) {
1202
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1203
- })
1204
- .s("AWSControlTowerApis", "DeleteLandingZone", {})
1205
- .n("ControlTowerClient", "DeleteLandingZoneCommand")
1206
- .sc(DeleteLandingZone$)
1207
- .build() {
1194
+ class DeleteLandingZoneCommand extends command(_ep0, _mw0, "DeleteLandingZone", DeleteLandingZone$) {
1208
1195
  }
1209
1196
 
1210
- class DisableBaselineCommand extends Command
1211
- .classBuilder()
1212
- .ep(commonParams)
1213
- .m(function (Command, cs, config, o) {
1214
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1215
- })
1216
- .s("AWSControlTowerApis", "DisableBaseline", {})
1217
- .n("ControlTowerClient", "DisableBaselineCommand")
1218
- .sc(DisableBaseline$)
1219
- .build() {
1197
+ class DisableBaselineCommand extends command(_ep0, _mw0, "DisableBaseline", DisableBaseline$) {
1220
1198
  }
1221
1199
 
1222
- class DisableControlCommand extends Command
1223
- .classBuilder()
1224
- .ep(commonParams)
1225
- .m(function (Command, cs, config, o) {
1226
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1227
- })
1228
- .s("AWSControlTowerApis", "DisableControl", {})
1229
- .n("ControlTowerClient", "DisableControlCommand")
1230
- .sc(DisableControl$)
1231
- .build() {
1200
+ class DisableControlCommand extends command(_ep0, _mw0, "DisableControl", DisableControl$) {
1232
1201
  }
1233
1202
 
1234
- class EnableBaselineCommand extends Command
1235
- .classBuilder()
1236
- .ep(commonParams)
1237
- .m(function (Command, cs, config, o) {
1238
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1239
- })
1240
- .s("AWSControlTowerApis", "EnableBaseline", {})
1241
- .n("ControlTowerClient", "EnableBaselineCommand")
1242
- .sc(EnableBaseline$)
1243
- .build() {
1203
+ class EnableBaselineCommand extends command(_ep0, _mw0, "EnableBaseline", EnableBaseline$) {
1244
1204
  }
1245
1205
 
1246
- class EnableControlCommand extends Command
1247
- .classBuilder()
1248
- .ep(commonParams)
1249
- .m(function (Command, cs, config, o) {
1250
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1251
- })
1252
- .s("AWSControlTowerApis", "EnableControl", {})
1253
- .n("ControlTowerClient", "EnableControlCommand")
1254
- .sc(EnableControl$)
1255
- .build() {
1206
+ class EnableControlCommand extends command(_ep0, _mw0, "EnableControl", EnableControl$) {
1256
1207
  }
1257
1208
 
1258
- class GetBaselineCommand extends Command
1259
- .classBuilder()
1260
- .ep(commonParams)
1261
- .m(function (Command, cs, config, o) {
1262
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1263
- })
1264
- .s("AWSControlTowerApis", "GetBaseline", {})
1265
- .n("ControlTowerClient", "GetBaselineCommand")
1266
- .sc(GetBaseline$)
1267
- .build() {
1209
+ class GetBaselineCommand extends command(_ep0, _mw0, "GetBaseline", GetBaseline$) {
1268
1210
  }
1269
1211
 
1270
- class GetBaselineOperationCommand extends Command
1271
- .classBuilder()
1272
- .ep(commonParams)
1273
- .m(function (Command, cs, config, o) {
1274
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1275
- })
1276
- .s("AWSControlTowerApis", "GetBaselineOperation", {})
1277
- .n("ControlTowerClient", "GetBaselineOperationCommand")
1278
- .sc(GetBaselineOperation$)
1279
- .build() {
1212
+ class GetBaselineOperationCommand extends command(_ep0, _mw0, "GetBaselineOperation", GetBaselineOperation$) {
1280
1213
  }
1281
1214
 
1282
- class GetControlOperationCommand extends Command
1283
- .classBuilder()
1284
- .ep(commonParams)
1285
- .m(function (Command, cs, config, o) {
1286
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1287
- })
1288
- .s("AWSControlTowerApis", "GetControlOperation", {})
1289
- .n("ControlTowerClient", "GetControlOperationCommand")
1290
- .sc(GetControlOperation$)
1291
- .build() {
1215
+ class GetControlOperationCommand extends command(_ep0, _mw0, "GetControlOperation", GetControlOperation$) {
1292
1216
  }
1293
1217
 
1294
- class GetEnabledBaselineCommand extends Command
1295
- .classBuilder()
1296
- .ep(commonParams)
1297
- .m(function (Command, cs, config, o) {
1298
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1299
- })
1300
- .s("AWSControlTowerApis", "GetEnabledBaseline", {})
1301
- .n("ControlTowerClient", "GetEnabledBaselineCommand")
1302
- .sc(GetEnabledBaseline$)
1303
- .build() {
1218
+ class GetEnabledBaselineCommand extends command(_ep0, _mw0, "GetEnabledBaseline", GetEnabledBaseline$) {
1304
1219
  }
1305
1220
 
1306
- class GetEnabledControlCommand extends Command
1307
- .classBuilder()
1308
- .ep(commonParams)
1309
- .m(function (Command, cs, config, o) {
1310
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1311
- })
1312
- .s("AWSControlTowerApis", "GetEnabledControl", {})
1313
- .n("ControlTowerClient", "GetEnabledControlCommand")
1314
- .sc(GetEnabledControl$)
1315
- .build() {
1221
+ class GetEnabledControlCommand extends command(_ep0, _mw0, "GetEnabledControl", GetEnabledControl$) {
1316
1222
  }
1317
1223
 
1318
- class GetLandingZoneCommand extends Command
1319
- .classBuilder()
1320
- .ep(commonParams)
1321
- .m(function (Command, cs, config, o) {
1322
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1323
- })
1324
- .s("AWSControlTowerApis", "GetLandingZone", {})
1325
- .n("ControlTowerClient", "GetLandingZoneCommand")
1326
- .sc(GetLandingZone$)
1327
- .build() {
1224
+ class GetLandingZoneCommand extends command(_ep0, _mw0, "GetLandingZone", GetLandingZone$) {
1328
1225
  }
1329
1226
 
1330
- class GetLandingZoneOperationCommand extends Command
1331
- .classBuilder()
1332
- .ep(commonParams)
1333
- .m(function (Command, cs, config, o) {
1334
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1335
- })
1336
- .s("AWSControlTowerApis", "GetLandingZoneOperation", {})
1337
- .n("ControlTowerClient", "GetLandingZoneOperationCommand")
1338
- .sc(GetLandingZoneOperation$)
1339
- .build() {
1227
+ class GetLandingZoneOperationCommand extends command(_ep0, _mw0, "GetLandingZoneOperation", GetLandingZoneOperation$) {
1340
1228
  }
1341
1229
 
1342
- class ListBaselinesCommand extends Command
1343
- .classBuilder()
1344
- .ep(commonParams)
1345
- .m(function (Command, cs, config, o) {
1346
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1347
- })
1348
- .s("AWSControlTowerApis", "ListBaselines", {})
1349
- .n("ControlTowerClient", "ListBaselinesCommand")
1350
- .sc(ListBaselines$)
1351
- .build() {
1230
+ class ListBaselinesCommand extends command(_ep0, _mw0, "ListBaselines", ListBaselines$) {
1352
1231
  }
1353
1232
 
1354
- class ListControlOperationsCommand extends Command
1355
- .classBuilder()
1356
- .ep(commonParams)
1357
- .m(function (Command, cs, config, o) {
1358
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1359
- })
1360
- .s("AWSControlTowerApis", "ListControlOperations", {})
1361
- .n("ControlTowerClient", "ListControlOperationsCommand")
1362
- .sc(ListControlOperations$)
1363
- .build() {
1233
+ class ListControlOperationsCommand extends command(_ep0, _mw0, "ListControlOperations", ListControlOperations$) {
1364
1234
  }
1365
1235
 
1366
- class ListEnabledBaselinesCommand extends Command
1367
- .classBuilder()
1368
- .ep(commonParams)
1369
- .m(function (Command, cs, config, o) {
1370
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1371
- })
1372
- .s("AWSControlTowerApis", "ListEnabledBaselines", {})
1373
- .n("ControlTowerClient", "ListEnabledBaselinesCommand")
1374
- .sc(ListEnabledBaselines$)
1375
- .build() {
1236
+ class ListEnabledBaselinesCommand extends command(_ep0, _mw0, "ListEnabledBaselines", ListEnabledBaselines$) {
1376
1237
  }
1377
1238
 
1378
- class ListEnabledControlsCommand extends Command
1379
- .classBuilder()
1380
- .ep(commonParams)
1381
- .m(function (Command, cs, config, o) {
1382
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1383
- })
1384
- .s("AWSControlTowerApis", "ListEnabledControls", {})
1385
- .n("ControlTowerClient", "ListEnabledControlsCommand")
1386
- .sc(ListEnabledControls$)
1387
- .build() {
1239
+ class ListEnabledControlsCommand extends command(_ep0, _mw0, "ListEnabledControls", ListEnabledControls$) {
1388
1240
  }
1389
1241
 
1390
- class ListLandingZoneOperationsCommand extends Command
1391
- .classBuilder()
1392
- .ep(commonParams)
1393
- .m(function (Command, cs, config, o) {
1394
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1395
- })
1396
- .s("AWSControlTowerApis", "ListLandingZoneOperations", {})
1397
- .n("ControlTowerClient", "ListLandingZoneOperationsCommand")
1398
- .sc(ListLandingZoneOperations$)
1399
- .build() {
1242
+ class ListLandingZoneOperationsCommand extends command(_ep0, _mw0, "ListLandingZoneOperations", ListLandingZoneOperations$) {
1400
1243
  }
1401
1244
 
1402
- class ListLandingZonesCommand extends Command
1403
- .classBuilder()
1404
- .ep(commonParams)
1405
- .m(function (Command, cs, config, o) {
1406
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1407
- })
1408
- .s("AWSControlTowerApis", "ListLandingZones", {})
1409
- .n("ControlTowerClient", "ListLandingZonesCommand")
1410
- .sc(ListLandingZones$)
1411
- .build() {
1245
+ class ListLandingZonesCommand extends command(_ep0, _mw0, "ListLandingZones", ListLandingZones$) {
1412
1246
  }
1413
1247
 
1414
- class ListTagsForResourceCommand extends Command
1415
- .classBuilder()
1416
- .ep(commonParams)
1417
- .m(function (Command, cs, config, o) {
1418
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1419
- })
1420
- .s("AWSControlTowerApis", "ListTagsForResource", {})
1421
- .n("ControlTowerClient", "ListTagsForResourceCommand")
1422
- .sc(ListTagsForResource$)
1423
- .build() {
1248
+ class ListTagsForResourceCommand extends command(_ep0, _mw0, "ListTagsForResource", ListTagsForResource$) {
1424
1249
  }
1425
1250
 
1426
- class ResetEnabledBaselineCommand extends Command
1427
- .classBuilder()
1428
- .ep(commonParams)
1429
- .m(function (Command, cs, config, o) {
1430
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1431
- })
1432
- .s("AWSControlTowerApis", "ResetEnabledBaseline", {})
1433
- .n("ControlTowerClient", "ResetEnabledBaselineCommand")
1434
- .sc(ResetEnabledBaseline$)
1435
- .build() {
1251
+ class ResetEnabledBaselineCommand extends command(_ep0, _mw0, "ResetEnabledBaseline", ResetEnabledBaseline$) {
1436
1252
  }
1437
1253
 
1438
- class ResetEnabledControlCommand extends Command
1439
- .classBuilder()
1440
- .ep(commonParams)
1441
- .m(function (Command, cs, config, o) {
1442
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1443
- })
1444
- .s("AWSControlTowerApis", "ResetEnabledControl", {})
1445
- .n("ControlTowerClient", "ResetEnabledControlCommand")
1446
- .sc(ResetEnabledControl$)
1447
- .build() {
1254
+ class ResetEnabledControlCommand extends command(_ep0, _mw0, "ResetEnabledControl", ResetEnabledControl$) {
1448
1255
  }
1449
1256
 
1450
- class ResetLandingZoneCommand extends Command
1451
- .classBuilder()
1452
- .ep(commonParams)
1453
- .m(function (Command, cs, config, o) {
1454
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1455
- })
1456
- .s("AWSControlTowerApis", "ResetLandingZone", {})
1457
- .n("ControlTowerClient", "ResetLandingZoneCommand")
1458
- .sc(ResetLandingZone$)
1459
- .build() {
1257
+ class ResetLandingZoneCommand extends command(_ep0, _mw0, "ResetLandingZone", ResetLandingZone$) {
1460
1258
  }
1461
1259
 
1462
- class TagResourceCommand extends Command
1463
- .classBuilder()
1464
- .ep(commonParams)
1465
- .m(function (Command, cs, config, o) {
1466
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1467
- })
1468
- .s("AWSControlTowerApis", "TagResource", {})
1469
- .n("ControlTowerClient", "TagResourceCommand")
1470
- .sc(TagResource$)
1471
- .build() {
1260
+ class TagResourceCommand extends command(_ep0, _mw0, "TagResource", TagResource$) {
1472
1261
  }
1473
1262
 
1474
- class UntagResourceCommand extends Command
1475
- .classBuilder()
1476
- .ep(commonParams)
1477
- .m(function (Command, cs, config, o) {
1478
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1479
- })
1480
- .s("AWSControlTowerApis", "UntagResource", {})
1481
- .n("ControlTowerClient", "UntagResourceCommand")
1482
- .sc(UntagResource$)
1483
- .build() {
1263
+ class UntagResourceCommand extends command(_ep0, _mw0, "UntagResource", UntagResource$) {
1484
1264
  }
1485
1265
 
1486
- class UpdateEnabledBaselineCommand extends Command
1487
- .classBuilder()
1488
- .ep(commonParams)
1489
- .m(function (Command, cs, config, o) {
1490
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1491
- })
1492
- .s("AWSControlTowerApis", "UpdateEnabledBaseline", {})
1493
- .n("ControlTowerClient", "UpdateEnabledBaselineCommand")
1494
- .sc(UpdateEnabledBaseline$)
1495
- .build() {
1266
+ class UpdateEnabledBaselineCommand extends command(_ep0, _mw0, "UpdateEnabledBaseline", UpdateEnabledBaseline$) {
1496
1267
  }
1497
1268
 
1498
- class UpdateEnabledControlCommand extends Command
1499
- .classBuilder()
1500
- .ep(commonParams)
1501
- .m(function (Command, cs, config, o) {
1502
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1503
- })
1504
- .s("AWSControlTowerApis", "UpdateEnabledControl", {})
1505
- .n("ControlTowerClient", "UpdateEnabledControlCommand")
1506
- .sc(UpdateEnabledControl$)
1507
- .build() {
1269
+ class UpdateEnabledControlCommand extends command(_ep0, _mw0, "UpdateEnabledControl", UpdateEnabledControl$) {
1508
1270
  }
1509
1271
 
1510
- class UpdateLandingZoneCommand extends Command
1511
- .classBuilder()
1512
- .ep(commonParams)
1513
- .m(function (Command, cs, config, o) {
1514
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1515
- })
1516
- .s("AWSControlTowerApis", "UpdateLandingZone", {})
1517
- .n("ControlTowerClient", "UpdateLandingZoneCommand")
1518
- .sc(UpdateLandingZone$)
1519
- .build() {
1272
+ class UpdateLandingZoneCommand extends command(_ep0, _mw0, "UpdateLandingZone", UpdateLandingZone$) {
1520
1273
  }
1521
1274
 
1522
1275
  const paginateListBaselines = createPaginator(ControlTowerClient, ListBaselinesCommand, "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, "AWSControlTowerApis", "ControlTowerClient", 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 { CreateLandingZone$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class CreateLandingZoneCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSControlTowerApis", "CreateLandingZone", {})
13
- .n("ControlTowerClient", "CreateLandingZoneCommand")
14
- .sc(CreateLandingZone$)
15
- .build() {
3
+ export class CreateLandingZoneCommand extends command(_ep0, _mw0, "CreateLandingZone", CreateLandingZone$) {
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 { DeleteLandingZone$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DeleteLandingZoneCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSControlTowerApis", "DeleteLandingZone", {})
13
- .n("ControlTowerClient", "DeleteLandingZoneCommand")
14
- .sc(DeleteLandingZone$)
15
- .build() {
3
+ export class DeleteLandingZoneCommand extends command(_ep0, _mw0, "DeleteLandingZone", DeleteLandingZone$) {
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 { DisableBaseline$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DisableBaselineCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSControlTowerApis", "DisableBaseline", {})
13
- .n("ControlTowerClient", "DisableBaselineCommand")
14
- .sc(DisableBaseline$)
15
- .build() {
3
+ export class DisableBaselineCommand extends command(_ep0, _mw0, "DisableBaseline", DisableBaseline$) {
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 { DisableControl$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DisableControlCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSControlTowerApis", "DisableControl", {})
13
- .n("ControlTowerClient", "DisableControlCommand")
14
- .sc(DisableControl$)
15
- .build() {
3
+ export class DisableControlCommand extends command(_ep0, _mw0, "DisableControl", DisableControl$) {
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 { EnableBaseline$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class EnableBaselineCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSControlTowerApis", "EnableBaseline", {})
13
- .n("ControlTowerClient", "EnableBaselineCommand")
14
- .sc(EnableBaseline$)
15
- .build() {
3
+ export class EnableBaselineCommand extends command(_ep0, _mw0, "EnableBaseline", EnableBaseline$) {
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 { EnableControl$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class EnableControlCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSControlTowerApis", "EnableControl", {})
13
- .n("ControlTowerClient", "EnableControlCommand")
14
- .sc(EnableControl$)
15
- .build() {
3
+ export class EnableControlCommand extends command(_ep0, _mw0, "EnableControl", EnableControl$) {
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 { GetBaseline$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class GetBaselineCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSControlTowerApis", "GetBaseline", {})
13
- .n("ControlTowerClient", "GetBaselineCommand")
14
- .sc(GetBaseline$)
15
- .build() {
3
+ export class GetBaselineCommand extends command(_ep0, _mw0, "GetBaseline", GetBaseline$) {
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 { GetBaselineOperation$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class GetBaselineOperationCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSControlTowerApis", "GetBaselineOperation", {})
13
- .n("ControlTowerClient", "GetBaselineOperationCommand")
14
- .sc(GetBaselineOperation$)
15
- .build() {
3
+ export class GetBaselineOperationCommand extends command(_ep0, _mw0, "GetBaselineOperation", GetBaselineOperation$) {
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 { GetControlOperation$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class GetControlOperationCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSControlTowerApis", "GetControlOperation", {})
13
- .n("ControlTowerClient", "GetControlOperationCommand")
14
- .sc(GetControlOperation$)
15
- .build() {
3
+ export class GetControlOperationCommand extends command(_ep0, _mw0, "GetControlOperation", GetControlOperation$) {
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 { GetEnabledBaseline$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class GetEnabledBaselineCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSControlTowerApis", "GetEnabledBaseline", {})
13
- .n("ControlTowerClient", "GetEnabledBaselineCommand")
14
- .sc(GetEnabledBaseline$)
15
- .build() {
3
+ export class GetEnabledBaselineCommand extends command(_ep0, _mw0, "GetEnabledBaseline", GetEnabledBaseline$) {
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 { GetEnabledControl$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class GetEnabledControlCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSControlTowerApis", "GetEnabledControl", {})
13
- .n("ControlTowerClient", "GetEnabledControlCommand")
14
- .sc(GetEnabledControl$)
15
- .build() {
3
+ export class GetEnabledControlCommand extends command(_ep0, _mw0, "GetEnabledControl", GetEnabledControl$) {
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 { GetLandingZone$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class GetLandingZoneCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSControlTowerApis", "GetLandingZone", {})
13
- .n("ControlTowerClient", "GetLandingZoneCommand")
14
- .sc(GetLandingZone$)
15
- .build() {
3
+ export class GetLandingZoneCommand extends command(_ep0, _mw0, "GetLandingZone", GetLandingZone$) {
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 { GetLandingZoneOperation$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class GetLandingZoneOperationCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSControlTowerApis", "GetLandingZoneOperation", {})
13
- .n("ControlTowerClient", "GetLandingZoneOperationCommand")
14
- .sc(GetLandingZoneOperation$)
15
- .build() {
3
+ export class GetLandingZoneOperationCommand extends command(_ep0, _mw0, "GetLandingZoneOperation", GetLandingZoneOperation$) {
16
4
  }