@aws-sdk/client-kafkaconnect 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 (62) hide show
  1. package/dist-cjs/index.js +26 -183
  2. package/dist-es/commandBuilder.js +6 -0
  3. package/dist-es/commands/CreateConnectorCommand.js +2 -14
  4. package/dist-es/commands/CreateCustomPluginCommand.js +2 -14
  5. package/dist-es/commands/CreateWorkerConfigurationCommand.js +2 -14
  6. package/dist-es/commands/DeleteConnectorCommand.js +2 -14
  7. package/dist-es/commands/DeleteCustomPluginCommand.js +2 -14
  8. package/dist-es/commands/DeleteWorkerConfigurationCommand.js +2 -14
  9. package/dist-es/commands/DescribeConnectorCommand.js +2 -14
  10. package/dist-es/commands/DescribeConnectorOperationCommand.js +2 -14
  11. package/dist-es/commands/DescribeCustomPluginCommand.js +2 -14
  12. package/dist-es/commands/DescribeWorkerConfigurationCommand.js +2 -14
  13. package/dist-es/commands/ListConnectorOperationsCommand.js +2 -14
  14. package/dist-es/commands/ListConnectorsCommand.js +2 -14
  15. package/dist-es/commands/ListCustomPluginsCommand.js +2 -14
  16. package/dist-es/commands/ListTagsForResourceCommand.js +2 -14
  17. package/dist-es/commands/ListWorkerConfigurationsCommand.js +2 -14
  18. package/dist-es/commands/TagResourceCommand.js +2 -14
  19. package/dist-es/commands/UntagResourceCommand.js +2 -14
  20. package/dist-es/commands/UpdateConnectorCommand.js +2 -14
  21. package/dist-es/index.js +1 -0
  22. package/dist-types/commandBuilder.d.ts +18 -0
  23. package/dist-types/commands/CreateConnectorCommand.d.ts +3 -8
  24. package/dist-types/commands/CreateCustomPluginCommand.d.ts +3 -8
  25. package/dist-types/commands/CreateWorkerConfigurationCommand.d.ts +3 -8
  26. package/dist-types/commands/DeleteConnectorCommand.d.ts +3 -8
  27. package/dist-types/commands/DeleteCustomPluginCommand.d.ts +3 -8
  28. package/dist-types/commands/DeleteWorkerConfigurationCommand.d.ts +3 -8
  29. package/dist-types/commands/DescribeConnectorCommand.d.ts +3 -8
  30. package/dist-types/commands/DescribeConnectorOperationCommand.d.ts +3 -8
  31. package/dist-types/commands/DescribeCustomPluginCommand.d.ts +3 -8
  32. package/dist-types/commands/DescribeWorkerConfigurationCommand.d.ts +3 -8
  33. package/dist-types/commands/ListConnectorOperationsCommand.d.ts +3 -8
  34. package/dist-types/commands/ListConnectorsCommand.d.ts +3 -8
  35. package/dist-types/commands/ListCustomPluginsCommand.d.ts +3 -8
  36. package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -8
  37. package/dist-types/commands/ListWorkerConfigurationsCommand.d.ts +3 -8
  38. package/dist-types/commands/TagResourceCommand.d.ts +3 -8
  39. package/dist-types/commands/UntagResourceCommand.d.ts +3 -8
  40. package/dist-types/commands/UpdateConnectorCommand.d.ts +3 -8
  41. package/dist-types/index.d.ts +1 -0
  42. package/dist-types/ts3.4/commandBuilder.d.ts +46 -0
  43. package/dist-types/ts3.4/commands/CreateConnectorCommand.d.ts +7 -16
  44. package/dist-types/ts3.4/commands/CreateCustomPluginCommand.d.ts +7 -16
  45. package/dist-types/ts3.4/commands/CreateWorkerConfigurationCommand.d.ts +7 -16
  46. package/dist-types/ts3.4/commands/DeleteConnectorCommand.d.ts +7 -16
  47. package/dist-types/ts3.4/commands/DeleteCustomPluginCommand.d.ts +7 -16
  48. package/dist-types/ts3.4/commands/DeleteWorkerConfigurationCommand.d.ts +7 -16
  49. package/dist-types/ts3.4/commands/DescribeConnectorCommand.d.ts +7 -16
  50. package/dist-types/ts3.4/commands/DescribeConnectorOperationCommand.d.ts +7 -16
  51. package/dist-types/ts3.4/commands/DescribeCustomPluginCommand.d.ts +7 -16
  52. package/dist-types/ts3.4/commands/DescribeWorkerConfigurationCommand.d.ts +7 -16
  53. package/dist-types/ts3.4/commands/ListConnectorOperationsCommand.d.ts +7 -16
  54. package/dist-types/ts3.4/commands/ListConnectorsCommand.d.ts +7 -16
  55. package/dist-types/ts3.4/commands/ListCustomPluginsCommand.d.ts +7 -16
  56. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +7 -16
  57. package/dist-types/ts3.4/commands/ListWorkerConfigurationsCommand.d.ts +7 -16
  58. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +7 -16
  59. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +7 -16
  60. package/dist-types/ts3.4/commands/UpdateConnectorCommand.d.ts +7 -16
  61. package/dist-types/ts3.4/index.d.ts +1 -0
  62. 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
 
@@ -1206,220 +1207,62 @@ class KafkaConnectClient extends Client {
1206
1207
  }
1207
1208
  }
1208
1209
 
1209
- class CreateConnectorCommand extends Command
1210
- .classBuilder()
1211
- .ep(commonParams)
1212
- .m(function (Command, cs, config, o) {
1213
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1214
- })
1215
- .s("KafkaConnect", "CreateConnector", {})
1216
- .n("KafkaConnectClient", "CreateConnectorCommand")
1217
- .sc(CreateConnector$)
1218
- .build() {
1210
+ const command = makeBuilder(commonParams, "KafkaConnect", "KafkaConnectClient", getEndpointPlugin);
1211
+ const _ep0 = {};
1212
+ const _mw0 = (Command, cs, config, o) => [];
1213
+
1214
+ class CreateConnectorCommand extends command(_ep0, _mw0, "CreateConnector", CreateConnector$) {
1219
1215
  }
1220
1216
 
1221
- class CreateCustomPluginCommand extends Command
1222
- .classBuilder()
1223
- .ep(commonParams)
1224
- .m(function (Command, cs, config, o) {
1225
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1226
- })
1227
- .s("KafkaConnect", "CreateCustomPlugin", {})
1228
- .n("KafkaConnectClient", "CreateCustomPluginCommand")
1229
- .sc(CreateCustomPlugin$)
1230
- .build() {
1217
+ class CreateCustomPluginCommand extends command(_ep0, _mw0, "CreateCustomPlugin", CreateCustomPlugin$) {
1231
1218
  }
1232
1219
 
1233
- class CreateWorkerConfigurationCommand extends Command
1234
- .classBuilder()
1235
- .ep(commonParams)
1236
- .m(function (Command, cs, config, o) {
1237
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1238
- })
1239
- .s("KafkaConnect", "CreateWorkerConfiguration", {})
1240
- .n("KafkaConnectClient", "CreateWorkerConfigurationCommand")
1241
- .sc(CreateWorkerConfiguration$)
1242
- .build() {
1220
+ class CreateWorkerConfigurationCommand extends command(_ep0, _mw0, "CreateWorkerConfiguration", CreateWorkerConfiguration$) {
1243
1221
  }
1244
1222
 
1245
- class DeleteConnectorCommand extends Command
1246
- .classBuilder()
1247
- .ep(commonParams)
1248
- .m(function (Command, cs, config, o) {
1249
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1250
- })
1251
- .s("KafkaConnect", "DeleteConnector", {})
1252
- .n("KafkaConnectClient", "DeleteConnectorCommand")
1253
- .sc(DeleteConnector$)
1254
- .build() {
1223
+ class DeleteConnectorCommand extends command(_ep0, _mw0, "DeleteConnector", DeleteConnector$) {
1255
1224
  }
1256
1225
 
1257
- class DeleteCustomPluginCommand extends Command
1258
- .classBuilder()
1259
- .ep(commonParams)
1260
- .m(function (Command, cs, config, o) {
1261
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1262
- })
1263
- .s("KafkaConnect", "DeleteCustomPlugin", {})
1264
- .n("KafkaConnectClient", "DeleteCustomPluginCommand")
1265
- .sc(DeleteCustomPlugin$)
1266
- .build() {
1226
+ class DeleteCustomPluginCommand extends command(_ep0, _mw0, "DeleteCustomPlugin", DeleteCustomPlugin$) {
1267
1227
  }
1268
1228
 
1269
- class DeleteWorkerConfigurationCommand extends Command
1270
- .classBuilder()
1271
- .ep(commonParams)
1272
- .m(function (Command, cs, config, o) {
1273
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1274
- })
1275
- .s("KafkaConnect", "DeleteWorkerConfiguration", {})
1276
- .n("KafkaConnectClient", "DeleteWorkerConfigurationCommand")
1277
- .sc(DeleteWorkerConfiguration$)
1278
- .build() {
1229
+ class DeleteWorkerConfigurationCommand extends command(_ep0, _mw0, "DeleteWorkerConfiguration", DeleteWorkerConfiguration$) {
1279
1230
  }
1280
1231
 
1281
- class DescribeConnectorCommand extends Command
1282
- .classBuilder()
1283
- .ep(commonParams)
1284
- .m(function (Command, cs, config, o) {
1285
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1286
- })
1287
- .s("KafkaConnect", "DescribeConnector", {})
1288
- .n("KafkaConnectClient", "DescribeConnectorCommand")
1289
- .sc(DescribeConnector$)
1290
- .build() {
1232
+ class DescribeConnectorCommand extends command(_ep0, _mw0, "DescribeConnector", DescribeConnector$) {
1291
1233
  }
1292
1234
 
1293
- class DescribeConnectorOperationCommand extends Command
1294
- .classBuilder()
1295
- .ep(commonParams)
1296
- .m(function (Command, cs, config, o) {
1297
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1298
- })
1299
- .s("KafkaConnect", "DescribeConnectorOperation", {})
1300
- .n("KafkaConnectClient", "DescribeConnectorOperationCommand")
1301
- .sc(DescribeConnectorOperation$)
1302
- .build() {
1235
+ class DescribeConnectorOperationCommand extends command(_ep0, _mw0, "DescribeConnectorOperation", DescribeConnectorOperation$) {
1303
1236
  }
1304
1237
 
1305
- class DescribeCustomPluginCommand extends Command
1306
- .classBuilder()
1307
- .ep(commonParams)
1308
- .m(function (Command, cs, config, o) {
1309
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1310
- })
1311
- .s("KafkaConnect", "DescribeCustomPlugin", {})
1312
- .n("KafkaConnectClient", "DescribeCustomPluginCommand")
1313
- .sc(DescribeCustomPlugin$)
1314
- .build() {
1238
+ class DescribeCustomPluginCommand extends command(_ep0, _mw0, "DescribeCustomPlugin", DescribeCustomPlugin$) {
1315
1239
  }
1316
1240
 
1317
- class DescribeWorkerConfigurationCommand extends Command
1318
- .classBuilder()
1319
- .ep(commonParams)
1320
- .m(function (Command, cs, config, o) {
1321
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1322
- })
1323
- .s("KafkaConnect", "DescribeWorkerConfiguration", {})
1324
- .n("KafkaConnectClient", "DescribeWorkerConfigurationCommand")
1325
- .sc(DescribeWorkerConfiguration$)
1326
- .build() {
1241
+ class DescribeWorkerConfigurationCommand extends command(_ep0, _mw0, "DescribeWorkerConfiguration", DescribeWorkerConfiguration$) {
1327
1242
  }
1328
1243
 
1329
- class ListConnectorOperationsCommand extends Command
1330
- .classBuilder()
1331
- .ep(commonParams)
1332
- .m(function (Command, cs, config, o) {
1333
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1334
- })
1335
- .s("KafkaConnect", "ListConnectorOperations", {})
1336
- .n("KafkaConnectClient", "ListConnectorOperationsCommand")
1337
- .sc(ListConnectorOperations$)
1338
- .build() {
1244
+ class ListConnectorOperationsCommand extends command(_ep0, _mw0, "ListConnectorOperations", ListConnectorOperations$) {
1339
1245
  }
1340
1246
 
1341
- class ListConnectorsCommand extends Command
1342
- .classBuilder()
1343
- .ep(commonParams)
1344
- .m(function (Command, cs, config, o) {
1345
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1346
- })
1347
- .s("KafkaConnect", "ListConnectors", {})
1348
- .n("KafkaConnectClient", "ListConnectorsCommand")
1349
- .sc(ListConnectors$)
1350
- .build() {
1247
+ class ListConnectorsCommand extends command(_ep0, _mw0, "ListConnectors", ListConnectors$) {
1351
1248
  }
1352
1249
 
1353
- class ListCustomPluginsCommand extends Command
1354
- .classBuilder()
1355
- .ep(commonParams)
1356
- .m(function (Command, cs, config, o) {
1357
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1358
- })
1359
- .s("KafkaConnect", "ListCustomPlugins", {})
1360
- .n("KafkaConnectClient", "ListCustomPluginsCommand")
1361
- .sc(ListCustomPlugins$)
1362
- .build() {
1250
+ class ListCustomPluginsCommand extends command(_ep0, _mw0, "ListCustomPlugins", ListCustomPlugins$) {
1363
1251
  }
1364
1252
 
1365
- class ListTagsForResourceCommand extends Command
1366
- .classBuilder()
1367
- .ep(commonParams)
1368
- .m(function (Command, cs, config, o) {
1369
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1370
- })
1371
- .s("KafkaConnect", "ListTagsForResource", {})
1372
- .n("KafkaConnectClient", "ListTagsForResourceCommand")
1373
- .sc(ListTagsForResource$)
1374
- .build() {
1253
+ class ListTagsForResourceCommand extends command(_ep0, _mw0, "ListTagsForResource", ListTagsForResource$) {
1375
1254
  }
1376
1255
 
1377
- class ListWorkerConfigurationsCommand extends Command
1378
- .classBuilder()
1379
- .ep(commonParams)
1380
- .m(function (Command, cs, config, o) {
1381
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1382
- })
1383
- .s("KafkaConnect", "ListWorkerConfigurations", {})
1384
- .n("KafkaConnectClient", "ListWorkerConfigurationsCommand")
1385
- .sc(ListWorkerConfigurations$)
1386
- .build() {
1256
+ class ListWorkerConfigurationsCommand extends command(_ep0, _mw0, "ListWorkerConfigurations", ListWorkerConfigurations$) {
1387
1257
  }
1388
1258
 
1389
- class TagResourceCommand extends Command
1390
- .classBuilder()
1391
- .ep(commonParams)
1392
- .m(function (Command, cs, config, o) {
1393
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1394
- })
1395
- .s("KafkaConnect", "TagResource", {})
1396
- .n("KafkaConnectClient", "TagResourceCommand")
1397
- .sc(TagResource$)
1398
- .build() {
1259
+ class TagResourceCommand extends command(_ep0, _mw0, "TagResource", TagResource$) {
1399
1260
  }
1400
1261
 
1401
- class UntagResourceCommand extends Command
1402
- .classBuilder()
1403
- .ep(commonParams)
1404
- .m(function (Command, cs, config, o) {
1405
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1406
- })
1407
- .s("KafkaConnect", "UntagResource", {})
1408
- .n("KafkaConnectClient", "UntagResourceCommand")
1409
- .sc(UntagResource$)
1410
- .build() {
1262
+ class UntagResourceCommand extends command(_ep0, _mw0, "UntagResource", UntagResource$) {
1411
1263
  }
1412
1264
 
1413
- class UpdateConnectorCommand extends Command
1414
- .classBuilder()
1415
- .ep(commonParams)
1416
- .m(function (Command, cs, config, o) {
1417
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1418
- })
1419
- .s("KafkaConnect", "UpdateConnector", {})
1420
- .n("KafkaConnectClient", "UpdateConnectorCommand")
1421
- .sc(UpdateConnector$)
1422
- .build() {
1265
+ class UpdateConnectorCommand extends command(_ep0, _mw0, "UpdateConnector", UpdateConnector$) {
1423
1266
  }
1424
1267
 
1425
1268
  const paginateListConnectorOperations = createPaginator(KafkaConnectClient, ListConnectorOperationsCommand, "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, "KafkaConnect", "KafkaConnectClient", 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 { CreateConnector$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class CreateConnectorCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("KafkaConnect", "CreateConnector", {})
13
- .n("KafkaConnectClient", "CreateConnectorCommand")
14
- .sc(CreateConnector$)
15
- .build() {
3
+ export class CreateConnectorCommand extends command(_ep0, _mw0, "CreateConnector", CreateConnector$) {
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 { CreateCustomPlugin$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class CreateCustomPluginCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("KafkaConnect", "CreateCustomPlugin", {})
13
- .n("KafkaConnectClient", "CreateCustomPluginCommand")
14
- .sc(CreateCustomPlugin$)
15
- .build() {
3
+ export class CreateCustomPluginCommand extends command(_ep0, _mw0, "CreateCustomPlugin", CreateCustomPlugin$) {
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 { CreateWorkerConfiguration$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class CreateWorkerConfigurationCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("KafkaConnect", "CreateWorkerConfiguration", {})
13
- .n("KafkaConnectClient", "CreateWorkerConfigurationCommand")
14
- .sc(CreateWorkerConfiguration$)
15
- .build() {
3
+ export class CreateWorkerConfigurationCommand extends command(_ep0, _mw0, "CreateWorkerConfiguration", CreateWorkerConfiguration$) {
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 { DeleteConnector$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DeleteConnectorCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("KafkaConnect", "DeleteConnector", {})
13
- .n("KafkaConnectClient", "DeleteConnectorCommand")
14
- .sc(DeleteConnector$)
15
- .build() {
3
+ export class DeleteConnectorCommand extends command(_ep0, _mw0, "DeleteConnector", DeleteConnector$) {
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 { DeleteCustomPlugin$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DeleteCustomPluginCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("KafkaConnect", "DeleteCustomPlugin", {})
13
- .n("KafkaConnectClient", "DeleteCustomPluginCommand")
14
- .sc(DeleteCustomPlugin$)
15
- .build() {
3
+ export class DeleteCustomPluginCommand extends command(_ep0, _mw0, "DeleteCustomPlugin", DeleteCustomPlugin$) {
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 { DeleteWorkerConfiguration$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DeleteWorkerConfigurationCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("KafkaConnect", "DeleteWorkerConfiguration", {})
13
- .n("KafkaConnectClient", "DeleteWorkerConfigurationCommand")
14
- .sc(DeleteWorkerConfiguration$)
15
- .build() {
3
+ export class DeleteWorkerConfigurationCommand extends command(_ep0, _mw0, "DeleteWorkerConfiguration", DeleteWorkerConfiguration$) {
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 { DescribeConnector$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DescribeConnectorCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("KafkaConnect", "DescribeConnector", {})
13
- .n("KafkaConnectClient", "DescribeConnectorCommand")
14
- .sc(DescribeConnector$)
15
- .build() {
3
+ export class DescribeConnectorCommand extends command(_ep0, _mw0, "DescribeConnector", DescribeConnector$) {
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 { DescribeConnectorOperation$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DescribeConnectorOperationCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("KafkaConnect", "DescribeConnectorOperation", {})
13
- .n("KafkaConnectClient", "DescribeConnectorOperationCommand")
14
- .sc(DescribeConnectorOperation$)
15
- .build() {
3
+ export class DescribeConnectorOperationCommand extends command(_ep0, _mw0, "DescribeConnectorOperation", DescribeConnectorOperation$) {
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 { DescribeCustomPlugin$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DescribeCustomPluginCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("KafkaConnect", "DescribeCustomPlugin", {})
13
- .n("KafkaConnectClient", "DescribeCustomPluginCommand")
14
- .sc(DescribeCustomPlugin$)
15
- .build() {
3
+ export class DescribeCustomPluginCommand extends command(_ep0, _mw0, "DescribeCustomPlugin", DescribeCustomPlugin$) {
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 { DescribeWorkerConfiguration$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DescribeWorkerConfigurationCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("KafkaConnect", "DescribeWorkerConfiguration", {})
13
- .n("KafkaConnectClient", "DescribeWorkerConfigurationCommand")
14
- .sc(DescribeWorkerConfiguration$)
15
- .build() {
3
+ export class DescribeWorkerConfigurationCommand extends command(_ep0, _mw0, "DescribeWorkerConfiguration", DescribeWorkerConfiguration$) {
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 { ListConnectorOperations$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListConnectorOperationsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("KafkaConnect", "ListConnectorOperations", {})
13
- .n("KafkaConnectClient", "ListConnectorOperationsCommand")
14
- .sc(ListConnectorOperations$)
15
- .build() {
3
+ export class ListConnectorOperationsCommand extends command(_ep0, _mw0, "ListConnectorOperations", ListConnectorOperations$) {
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 { ListConnectors$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListConnectorsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("KafkaConnect", "ListConnectors", {})
13
- .n("KafkaConnectClient", "ListConnectorsCommand")
14
- .sc(ListConnectors$)
15
- .build() {
3
+ export class ListConnectorsCommand extends command(_ep0, _mw0, "ListConnectors", ListConnectors$) {
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 { ListCustomPlugins$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListCustomPluginsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("KafkaConnect", "ListCustomPlugins", {})
13
- .n("KafkaConnectClient", "ListCustomPluginsCommand")
14
- .sc(ListCustomPlugins$)
15
- .build() {
3
+ export class ListCustomPluginsCommand extends command(_ep0, _mw0, "ListCustomPlugins", ListCustomPlugins$) {
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 { ListTagsForResource$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListTagsForResourceCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("KafkaConnect", "ListTagsForResource", {})
13
- .n("KafkaConnectClient", "ListTagsForResourceCommand")
14
- .sc(ListTagsForResource$)
15
- .build() {
3
+ export class ListTagsForResourceCommand extends command(_ep0, _mw0, "ListTagsForResource", ListTagsForResource$) {
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 { ListWorkerConfigurations$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListWorkerConfigurationsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("KafkaConnect", "ListWorkerConfigurations", {})
13
- .n("KafkaConnectClient", "ListWorkerConfigurationsCommand")
14
- .sc(ListWorkerConfigurations$)
15
- .build() {
3
+ export class ListWorkerConfigurationsCommand extends command(_ep0, _mw0, "ListWorkerConfigurations", ListWorkerConfigurations$) {
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 { TagResource$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class TagResourceCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("KafkaConnect", "TagResource", {})
13
- .n("KafkaConnectClient", "TagResourceCommand")
14
- .sc(TagResource$)
15
- .build() {
3
+ export class TagResourceCommand extends command(_ep0, _mw0, "TagResource", TagResource$) {
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 { UntagResource$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class UntagResourceCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("KafkaConnect", "UntagResource", {})
13
- .n("KafkaConnectClient", "UntagResourceCommand")
14
- .sc(UntagResource$)
15
- .build() {
3
+ export class UntagResourceCommand extends command(_ep0, _mw0, "UntagResource", UntagResource$) {
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 { UpdateConnector$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class UpdateConnectorCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("KafkaConnect", "UpdateConnector", {})
13
- .n("KafkaConnectClient", "UpdateConnectorCommand")
14
- .sc(UpdateConnector$)
15
- .build() {
3
+ export class UpdateConnectorCommand extends command(_ep0, _mw0, "UpdateConnector", UpdateConnector$) {
16
4
  }
package/dist-es/index.js CHANGED
@@ -1,6 +1,7 @@
1
1
  export * from "./KafkaConnectClient";
2
2
  export * from "./KafkaConnect";
3
3
  export * from "./commands";
4
+ export { Command as $Command } from "@smithy/core/client";
4
5
  export * from "./schemas/schemas_0";
5
6
  export * from "./pagination";
6
7
  export * from "./models/enums";