@aws-sdk/client-controltower 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 (104) hide show
  1. package/dist-cjs/index.js +39 -285
  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-es/runtimeConfig.browser.js +0 -2
  33. package/dist-es/runtimeConfig.js +1 -2
  34. package/dist-es/runtimeConfig.native.js +0 -2
  35. package/dist-es/runtimeConfig.shared.js +2 -0
  36. package/dist-types/commandBuilder.d.ts +18 -0
  37. package/dist-types/commands/CreateLandingZoneCommand.d.ts +3 -8
  38. package/dist-types/commands/DeleteLandingZoneCommand.d.ts +3 -8
  39. package/dist-types/commands/DisableBaselineCommand.d.ts +3 -8
  40. package/dist-types/commands/DisableControlCommand.d.ts +3 -8
  41. package/dist-types/commands/EnableBaselineCommand.d.ts +3 -8
  42. package/dist-types/commands/EnableControlCommand.d.ts +3 -8
  43. package/dist-types/commands/GetBaselineCommand.d.ts +3 -8
  44. package/dist-types/commands/GetBaselineOperationCommand.d.ts +3 -8
  45. package/dist-types/commands/GetControlOperationCommand.d.ts +3 -8
  46. package/dist-types/commands/GetEnabledBaselineCommand.d.ts +3 -8
  47. package/dist-types/commands/GetEnabledControlCommand.d.ts +3 -8
  48. package/dist-types/commands/GetLandingZoneCommand.d.ts +3 -8
  49. package/dist-types/commands/GetLandingZoneOperationCommand.d.ts +3 -8
  50. package/dist-types/commands/ListBaselinesCommand.d.ts +3 -8
  51. package/dist-types/commands/ListControlOperationsCommand.d.ts +3 -8
  52. package/dist-types/commands/ListEnabledBaselinesCommand.d.ts +3 -8
  53. package/dist-types/commands/ListEnabledControlsCommand.d.ts +3 -8
  54. package/dist-types/commands/ListLandingZoneOperationsCommand.d.ts +3 -8
  55. package/dist-types/commands/ListLandingZonesCommand.d.ts +3 -8
  56. package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -8
  57. package/dist-types/commands/ResetEnabledBaselineCommand.d.ts +3 -8
  58. package/dist-types/commands/ResetEnabledControlCommand.d.ts +3 -8
  59. package/dist-types/commands/ResetLandingZoneCommand.d.ts +3 -8
  60. package/dist-types/commands/TagResourceCommand.d.ts +3 -8
  61. package/dist-types/commands/UntagResourceCommand.d.ts +3 -8
  62. package/dist-types/commands/UpdateEnabledBaselineCommand.d.ts +3 -8
  63. package/dist-types/commands/UpdateEnabledControlCommand.d.ts +3 -8
  64. package/dist-types/commands/UpdateLandingZoneCommand.d.ts +3 -8
  65. package/dist-types/index.d.ts +1 -0
  66. package/dist-types/runtimeConfig.browser.d.ts +1 -1
  67. package/dist-types/runtimeConfig.d.ts +1 -1
  68. package/dist-types/runtimeConfig.native.d.ts +1 -1
  69. package/dist-types/runtimeConfig.shared.d.ts +1 -0
  70. package/dist-types/ts3.4/commandBuilder.d.ts +46 -0
  71. package/dist-types/ts3.4/commands/CreateLandingZoneCommand.d.ts +7 -16
  72. package/dist-types/ts3.4/commands/DeleteLandingZoneCommand.d.ts +7 -16
  73. package/dist-types/ts3.4/commands/DisableBaselineCommand.d.ts +7 -16
  74. package/dist-types/ts3.4/commands/DisableControlCommand.d.ts +7 -16
  75. package/dist-types/ts3.4/commands/EnableBaselineCommand.d.ts +7 -16
  76. package/dist-types/ts3.4/commands/EnableControlCommand.d.ts +7 -16
  77. package/dist-types/ts3.4/commands/GetBaselineCommand.d.ts +7 -16
  78. package/dist-types/ts3.4/commands/GetBaselineOperationCommand.d.ts +7 -16
  79. package/dist-types/ts3.4/commands/GetControlOperationCommand.d.ts +7 -16
  80. package/dist-types/ts3.4/commands/GetEnabledBaselineCommand.d.ts +7 -16
  81. package/dist-types/ts3.4/commands/GetEnabledControlCommand.d.ts +7 -16
  82. package/dist-types/ts3.4/commands/GetLandingZoneCommand.d.ts +7 -16
  83. package/dist-types/ts3.4/commands/GetLandingZoneOperationCommand.d.ts +7 -16
  84. package/dist-types/ts3.4/commands/ListBaselinesCommand.d.ts +7 -16
  85. package/dist-types/ts3.4/commands/ListControlOperationsCommand.d.ts +7 -16
  86. package/dist-types/ts3.4/commands/ListEnabledBaselinesCommand.d.ts +7 -16
  87. package/dist-types/ts3.4/commands/ListEnabledControlsCommand.d.ts +7 -16
  88. package/dist-types/ts3.4/commands/ListLandingZoneOperationsCommand.d.ts +7 -16
  89. package/dist-types/ts3.4/commands/ListLandingZonesCommand.d.ts +7 -16
  90. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +7 -16
  91. package/dist-types/ts3.4/commands/ResetEnabledBaselineCommand.d.ts +7 -16
  92. package/dist-types/ts3.4/commands/ResetEnabledControlCommand.d.ts +7 -16
  93. package/dist-types/ts3.4/commands/ResetLandingZoneCommand.d.ts +7 -16
  94. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +7 -16
  95. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +7 -16
  96. package/dist-types/ts3.4/commands/UpdateEnabledBaselineCommand.d.ts +7 -16
  97. package/dist-types/ts3.4/commands/UpdateEnabledControlCommand.d.ts +7 -16
  98. package/dist-types/ts3.4/commands/UpdateLandingZoneCommand.d.ts +7 -16
  99. package/dist-types/ts3.4/index.d.ts +1 -0
  100. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
  101. package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
  102. package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -1
  103. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -0
  104. package/package.json +8 -10
package/dist-cjs/index.js CHANGED
@@ -1,7 +1,8 @@
1
1
  const { awsEndpointFunctions, emitWarningIfUnsupportedVersion: emitWarningIfUnsupportedVersion$1, createDefaultUserAgentProvider, NODE_APP_ID_CONFIG_OPTIONS, getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration, resolveUserAgentConfig, resolveHostHeaderConfig, getUserAgentPlugin, getHostHeaderPlugin, getLoggerPlugin, getRecursionDetectionPlugin } = require("@aws-sdk/core/client");
2
2
  const { getHttpAuthSchemeEndpointRuleSetPlugin, DefaultIdentityProviderConfig, getHttpSigningPlugin, createPaginator } = require("@smithy/core");
3
- const { normalizeProvider, getSmithyContext, ServiceException, NoOpLogger, emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode, getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, Command, createAggregatedClient } = require("@smithy/core/client");
4
- exports.$Command = Command;
3
+ const { normalizeProvider, getSmithyContext, ServiceException, NoOpLogger, emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode, getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, makeBuilder, createAggregatedClient } = require("@smithy/core/client");
4
+ const { Command: $Command } = require("@smithy/core/client");
5
+ exports.$Command = $Command;
5
6
  exports.__Client = Client;
6
7
  const { resolveDefaultsModeConfig, loadConfig, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS, resolveRegionConfig } = require("@smithy/core/config");
7
8
  const { BinaryDecisionDiagram, EndpointCache, decideEndpoint, customEndpointFunctions, resolveEndpointConfig, getEndpointPlugin } = require("@smithy/core/endpoints");
@@ -10,9 +11,10 @@ const { DEFAULT_RETRY_MODE, NODE_RETRY_MODE_CONFIG_OPTIONS, NODE_MAX_ATTEMPT_CON
10
11
  const { TypeRegistry, getSchemaSerdePlugin } = require("@smithy/core/schema");
11
12
  const { resolveAwsSdkSigV4Config, AwsSdkSigV4Signer, NODE_AUTH_SCHEME_PREFERENCE_OPTIONS } = require("@aws-sdk/core/httpAuthSchemes");
12
13
  const { defaultProvider } = require("@aws-sdk/credential-provider-node");
13
- const { toUtf8, fromUtf8, toBase64, fromBase64, Hash, calculateBodyLength } = require("@smithy/core/serde");
14
+ const { toUtf8, fromUtf8, toBase64, fromBase64, calculateBodyLength } = require("@smithy/core/serde");
14
15
  const { streamCollector, NodeHttpHandler } = require("@smithy/node-http-handler");
15
16
  const { AwsRestJsonProtocol } = require("@aws-sdk/core/protocols");
17
+ const { Sha256 } = require("@smithy/core/checksum");
16
18
 
17
19
  const defaultControlTowerHttpAuthSchemeParametersProvider = 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
 
@@ -1061,6 +1063,7 @@ const getRuntimeConfig$1 = (config) => {
1061
1063
  serviceTarget: "AWSControlTowerApis",
1062
1064
  },
1063
1065
  serviceId: config?.serviceId ?? "ControlTower",
1066
+ sha256: config?.sha256 ?? Sha256,
1064
1067
  urlParser: config?.urlParser ?? parseUrl,
1065
1068
  utf8Decoder: config?.utf8Decoder ?? fromUtf8,
1066
1069
  utf8Encoder: config?.utf8Encoder ?? toUtf8,
@@ -1094,7 +1097,6 @@ const getRuntimeConfig = (config) => {
1094
1097
  ...NODE_RETRY_MODE_CONFIG_OPTIONS,
1095
1098
  default: async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE,
1096
1099
  }, config),
1097
- sha256: config?.sha256 ?? Hash.bind(null, "sha256"),
1098
1100
  streamCollector: config?.streamCollector ?? streamCollector,
1099
1101
  useDualstackEndpoint: config?.useDualstackEndpoint ?? loadConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
1100
1102
  useFipsEndpoint: config?.useFipsEndpoint ?? loadConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
@@ -1182,340 +1184,92 @@ class ControlTowerClient extends Client {
1182
1184
  }
1183
1185
  }
1184
1186
 
1185
- class CreateLandingZoneCommand extends Command
1186
- .classBuilder()
1187
- .ep(commonParams)
1188
- .m(function (Command, cs, config, o) {
1189
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1190
- })
1191
- .s("AWSControlTowerApis", "CreateLandingZone", {})
1192
- .n("ControlTowerClient", "CreateLandingZoneCommand")
1193
- .sc(CreateLandingZone$)
1194
- .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$) {
1195
1192
  }
1196
1193
 
1197
- class DeleteLandingZoneCommand extends Command
1198
- .classBuilder()
1199
- .ep(commonParams)
1200
- .m(function (Command, cs, config, o) {
1201
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1202
- })
1203
- .s("AWSControlTowerApis", "DeleteLandingZone", {})
1204
- .n("ControlTowerClient", "DeleteLandingZoneCommand")
1205
- .sc(DeleteLandingZone$)
1206
- .build() {
1194
+ class DeleteLandingZoneCommand extends command(_ep0, _mw0, "DeleteLandingZone", DeleteLandingZone$) {
1207
1195
  }
1208
1196
 
1209
- class DisableBaselineCommand extends Command
1210
- .classBuilder()
1211
- .ep(commonParams)
1212
- .m(function (Command, cs, config, o) {
1213
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1214
- })
1215
- .s("AWSControlTowerApis", "DisableBaseline", {})
1216
- .n("ControlTowerClient", "DisableBaselineCommand")
1217
- .sc(DisableBaseline$)
1218
- .build() {
1197
+ class DisableBaselineCommand extends command(_ep0, _mw0, "DisableBaseline", DisableBaseline$) {
1219
1198
  }
1220
1199
 
1221
- class DisableControlCommand extends Command
1222
- .classBuilder()
1223
- .ep(commonParams)
1224
- .m(function (Command, cs, config, o) {
1225
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1226
- })
1227
- .s("AWSControlTowerApis", "DisableControl", {})
1228
- .n("ControlTowerClient", "DisableControlCommand")
1229
- .sc(DisableControl$)
1230
- .build() {
1200
+ class DisableControlCommand extends command(_ep0, _mw0, "DisableControl", DisableControl$) {
1231
1201
  }
1232
1202
 
1233
- class EnableBaselineCommand extends Command
1234
- .classBuilder()
1235
- .ep(commonParams)
1236
- .m(function (Command, cs, config, o) {
1237
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1238
- })
1239
- .s("AWSControlTowerApis", "EnableBaseline", {})
1240
- .n("ControlTowerClient", "EnableBaselineCommand")
1241
- .sc(EnableBaseline$)
1242
- .build() {
1203
+ class EnableBaselineCommand extends command(_ep0, _mw0, "EnableBaseline", EnableBaseline$) {
1243
1204
  }
1244
1205
 
1245
- class EnableControlCommand extends Command
1246
- .classBuilder()
1247
- .ep(commonParams)
1248
- .m(function (Command, cs, config, o) {
1249
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1250
- })
1251
- .s("AWSControlTowerApis", "EnableControl", {})
1252
- .n("ControlTowerClient", "EnableControlCommand")
1253
- .sc(EnableControl$)
1254
- .build() {
1206
+ class EnableControlCommand extends command(_ep0, _mw0, "EnableControl", EnableControl$) {
1255
1207
  }
1256
1208
 
1257
- class GetBaselineCommand extends Command
1258
- .classBuilder()
1259
- .ep(commonParams)
1260
- .m(function (Command, cs, config, o) {
1261
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1262
- })
1263
- .s("AWSControlTowerApis", "GetBaseline", {})
1264
- .n("ControlTowerClient", "GetBaselineCommand")
1265
- .sc(GetBaseline$)
1266
- .build() {
1209
+ class GetBaselineCommand extends command(_ep0, _mw0, "GetBaseline", GetBaseline$) {
1267
1210
  }
1268
1211
 
1269
- class GetBaselineOperationCommand extends Command
1270
- .classBuilder()
1271
- .ep(commonParams)
1272
- .m(function (Command, cs, config, o) {
1273
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1274
- })
1275
- .s("AWSControlTowerApis", "GetBaselineOperation", {})
1276
- .n("ControlTowerClient", "GetBaselineOperationCommand")
1277
- .sc(GetBaselineOperation$)
1278
- .build() {
1212
+ class GetBaselineOperationCommand extends command(_ep0, _mw0, "GetBaselineOperation", GetBaselineOperation$) {
1279
1213
  }
1280
1214
 
1281
- class GetControlOperationCommand extends Command
1282
- .classBuilder()
1283
- .ep(commonParams)
1284
- .m(function (Command, cs, config, o) {
1285
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1286
- })
1287
- .s("AWSControlTowerApis", "GetControlOperation", {})
1288
- .n("ControlTowerClient", "GetControlOperationCommand")
1289
- .sc(GetControlOperation$)
1290
- .build() {
1215
+ class GetControlOperationCommand extends command(_ep0, _mw0, "GetControlOperation", GetControlOperation$) {
1291
1216
  }
1292
1217
 
1293
- class GetEnabledBaselineCommand extends Command
1294
- .classBuilder()
1295
- .ep(commonParams)
1296
- .m(function (Command, cs, config, o) {
1297
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1298
- })
1299
- .s("AWSControlTowerApis", "GetEnabledBaseline", {})
1300
- .n("ControlTowerClient", "GetEnabledBaselineCommand")
1301
- .sc(GetEnabledBaseline$)
1302
- .build() {
1218
+ class GetEnabledBaselineCommand extends command(_ep0, _mw0, "GetEnabledBaseline", GetEnabledBaseline$) {
1303
1219
  }
1304
1220
 
1305
- class GetEnabledControlCommand extends Command
1306
- .classBuilder()
1307
- .ep(commonParams)
1308
- .m(function (Command, cs, config, o) {
1309
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1310
- })
1311
- .s("AWSControlTowerApis", "GetEnabledControl", {})
1312
- .n("ControlTowerClient", "GetEnabledControlCommand")
1313
- .sc(GetEnabledControl$)
1314
- .build() {
1221
+ class GetEnabledControlCommand extends command(_ep0, _mw0, "GetEnabledControl", GetEnabledControl$) {
1315
1222
  }
1316
1223
 
1317
- class GetLandingZoneCommand extends Command
1318
- .classBuilder()
1319
- .ep(commonParams)
1320
- .m(function (Command, cs, config, o) {
1321
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1322
- })
1323
- .s("AWSControlTowerApis", "GetLandingZone", {})
1324
- .n("ControlTowerClient", "GetLandingZoneCommand")
1325
- .sc(GetLandingZone$)
1326
- .build() {
1224
+ class GetLandingZoneCommand extends command(_ep0, _mw0, "GetLandingZone", GetLandingZone$) {
1327
1225
  }
1328
1226
 
1329
- class GetLandingZoneOperationCommand extends Command
1330
- .classBuilder()
1331
- .ep(commonParams)
1332
- .m(function (Command, cs, config, o) {
1333
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1334
- })
1335
- .s("AWSControlTowerApis", "GetLandingZoneOperation", {})
1336
- .n("ControlTowerClient", "GetLandingZoneOperationCommand")
1337
- .sc(GetLandingZoneOperation$)
1338
- .build() {
1227
+ class GetLandingZoneOperationCommand extends command(_ep0, _mw0, "GetLandingZoneOperation", GetLandingZoneOperation$) {
1339
1228
  }
1340
1229
 
1341
- class ListBaselinesCommand extends Command
1342
- .classBuilder()
1343
- .ep(commonParams)
1344
- .m(function (Command, cs, config, o) {
1345
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1346
- })
1347
- .s("AWSControlTowerApis", "ListBaselines", {})
1348
- .n("ControlTowerClient", "ListBaselinesCommand")
1349
- .sc(ListBaselines$)
1350
- .build() {
1230
+ class ListBaselinesCommand extends command(_ep0, _mw0, "ListBaselines", ListBaselines$) {
1351
1231
  }
1352
1232
 
1353
- class ListControlOperationsCommand extends Command
1354
- .classBuilder()
1355
- .ep(commonParams)
1356
- .m(function (Command, cs, config, o) {
1357
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1358
- })
1359
- .s("AWSControlTowerApis", "ListControlOperations", {})
1360
- .n("ControlTowerClient", "ListControlOperationsCommand")
1361
- .sc(ListControlOperations$)
1362
- .build() {
1233
+ class ListControlOperationsCommand extends command(_ep0, _mw0, "ListControlOperations", ListControlOperations$) {
1363
1234
  }
1364
1235
 
1365
- class ListEnabledBaselinesCommand extends Command
1366
- .classBuilder()
1367
- .ep(commonParams)
1368
- .m(function (Command, cs, config, o) {
1369
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1370
- })
1371
- .s("AWSControlTowerApis", "ListEnabledBaselines", {})
1372
- .n("ControlTowerClient", "ListEnabledBaselinesCommand")
1373
- .sc(ListEnabledBaselines$)
1374
- .build() {
1236
+ class ListEnabledBaselinesCommand extends command(_ep0, _mw0, "ListEnabledBaselines", ListEnabledBaselines$) {
1375
1237
  }
1376
1238
 
1377
- class ListEnabledControlsCommand extends Command
1378
- .classBuilder()
1379
- .ep(commonParams)
1380
- .m(function (Command, cs, config, o) {
1381
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1382
- })
1383
- .s("AWSControlTowerApis", "ListEnabledControls", {})
1384
- .n("ControlTowerClient", "ListEnabledControlsCommand")
1385
- .sc(ListEnabledControls$)
1386
- .build() {
1239
+ class ListEnabledControlsCommand extends command(_ep0, _mw0, "ListEnabledControls", ListEnabledControls$) {
1387
1240
  }
1388
1241
 
1389
- class ListLandingZoneOperationsCommand extends Command
1390
- .classBuilder()
1391
- .ep(commonParams)
1392
- .m(function (Command, cs, config, o) {
1393
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1394
- })
1395
- .s("AWSControlTowerApis", "ListLandingZoneOperations", {})
1396
- .n("ControlTowerClient", "ListLandingZoneOperationsCommand")
1397
- .sc(ListLandingZoneOperations$)
1398
- .build() {
1242
+ class ListLandingZoneOperationsCommand extends command(_ep0, _mw0, "ListLandingZoneOperations", ListLandingZoneOperations$) {
1399
1243
  }
1400
1244
 
1401
- class ListLandingZonesCommand extends Command
1402
- .classBuilder()
1403
- .ep(commonParams)
1404
- .m(function (Command, cs, config, o) {
1405
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1406
- })
1407
- .s("AWSControlTowerApis", "ListLandingZones", {})
1408
- .n("ControlTowerClient", "ListLandingZonesCommand")
1409
- .sc(ListLandingZones$)
1410
- .build() {
1245
+ class ListLandingZonesCommand extends command(_ep0, _mw0, "ListLandingZones", ListLandingZones$) {
1411
1246
  }
1412
1247
 
1413
- class ListTagsForResourceCommand extends Command
1414
- .classBuilder()
1415
- .ep(commonParams)
1416
- .m(function (Command, cs, config, o) {
1417
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1418
- })
1419
- .s("AWSControlTowerApis", "ListTagsForResource", {})
1420
- .n("ControlTowerClient", "ListTagsForResourceCommand")
1421
- .sc(ListTagsForResource$)
1422
- .build() {
1248
+ class ListTagsForResourceCommand extends command(_ep0, _mw0, "ListTagsForResource", ListTagsForResource$) {
1423
1249
  }
1424
1250
 
1425
- class ResetEnabledBaselineCommand extends Command
1426
- .classBuilder()
1427
- .ep(commonParams)
1428
- .m(function (Command, cs, config, o) {
1429
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1430
- })
1431
- .s("AWSControlTowerApis", "ResetEnabledBaseline", {})
1432
- .n("ControlTowerClient", "ResetEnabledBaselineCommand")
1433
- .sc(ResetEnabledBaseline$)
1434
- .build() {
1251
+ class ResetEnabledBaselineCommand extends command(_ep0, _mw0, "ResetEnabledBaseline", ResetEnabledBaseline$) {
1435
1252
  }
1436
1253
 
1437
- class ResetEnabledControlCommand extends Command
1438
- .classBuilder()
1439
- .ep(commonParams)
1440
- .m(function (Command, cs, config, o) {
1441
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1442
- })
1443
- .s("AWSControlTowerApis", "ResetEnabledControl", {})
1444
- .n("ControlTowerClient", "ResetEnabledControlCommand")
1445
- .sc(ResetEnabledControl$)
1446
- .build() {
1254
+ class ResetEnabledControlCommand extends command(_ep0, _mw0, "ResetEnabledControl", ResetEnabledControl$) {
1447
1255
  }
1448
1256
 
1449
- class ResetLandingZoneCommand extends Command
1450
- .classBuilder()
1451
- .ep(commonParams)
1452
- .m(function (Command, cs, config, o) {
1453
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1454
- })
1455
- .s("AWSControlTowerApis", "ResetLandingZone", {})
1456
- .n("ControlTowerClient", "ResetLandingZoneCommand")
1457
- .sc(ResetLandingZone$)
1458
- .build() {
1257
+ class ResetLandingZoneCommand extends command(_ep0, _mw0, "ResetLandingZone", ResetLandingZone$) {
1459
1258
  }
1460
1259
 
1461
- class TagResourceCommand extends Command
1462
- .classBuilder()
1463
- .ep(commonParams)
1464
- .m(function (Command, cs, config, o) {
1465
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1466
- })
1467
- .s("AWSControlTowerApis", "TagResource", {})
1468
- .n("ControlTowerClient", "TagResourceCommand")
1469
- .sc(TagResource$)
1470
- .build() {
1260
+ class TagResourceCommand extends command(_ep0, _mw0, "TagResource", TagResource$) {
1471
1261
  }
1472
1262
 
1473
- class UntagResourceCommand extends Command
1474
- .classBuilder()
1475
- .ep(commonParams)
1476
- .m(function (Command, cs, config, o) {
1477
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1478
- })
1479
- .s("AWSControlTowerApis", "UntagResource", {})
1480
- .n("ControlTowerClient", "UntagResourceCommand")
1481
- .sc(UntagResource$)
1482
- .build() {
1263
+ class UntagResourceCommand extends command(_ep0, _mw0, "UntagResource", UntagResource$) {
1483
1264
  }
1484
1265
 
1485
- class UpdateEnabledBaselineCommand extends Command
1486
- .classBuilder()
1487
- .ep(commonParams)
1488
- .m(function (Command, cs, config, o) {
1489
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1490
- })
1491
- .s("AWSControlTowerApis", "UpdateEnabledBaseline", {})
1492
- .n("ControlTowerClient", "UpdateEnabledBaselineCommand")
1493
- .sc(UpdateEnabledBaseline$)
1494
- .build() {
1266
+ class UpdateEnabledBaselineCommand extends command(_ep0, _mw0, "UpdateEnabledBaseline", UpdateEnabledBaseline$) {
1495
1267
  }
1496
1268
 
1497
- class UpdateEnabledControlCommand extends Command
1498
- .classBuilder()
1499
- .ep(commonParams)
1500
- .m(function (Command, cs, config, o) {
1501
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1502
- })
1503
- .s("AWSControlTowerApis", "UpdateEnabledControl", {})
1504
- .n("ControlTowerClient", "UpdateEnabledControlCommand")
1505
- .sc(UpdateEnabledControl$)
1506
- .build() {
1269
+ class UpdateEnabledControlCommand extends command(_ep0, _mw0, "UpdateEnabledControl", UpdateEnabledControl$) {
1507
1270
  }
1508
1271
 
1509
- class UpdateLandingZoneCommand extends Command
1510
- .classBuilder()
1511
- .ep(commonParams)
1512
- .m(function (Command, cs, config, o) {
1513
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1514
- })
1515
- .s("AWSControlTowerApis", "UpdateLandingZone", {})
1516
- .n("ControlTowerClient", "UpdateLandingZoneCommand")
1517
- .sc(UpdateLandingZone$)
1518
- .build() {
1272
+ class UpdateLandingZoneCommand extends command(_ep0, _mw0, "UpdateLandingZone", UpdateLandingZone$) {
1519
1273
  }
1520
1274
 
1521
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
  }