@aws-sdk/client-mq 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 (95) hide show
  1. package/dist-cjs/index.js +36 -255
  2. package/dist-es/commandBuilder.js +6 -0
  3. package/dist-es/commands/CreateBrokerCommand.js +2 -14
  4. package/dist-es/commands/CreateConfigurationCommand.js +2 -14
  5. package/dist-es/commands/CreateTagsCommand.js +2 -14
  6. package/dist-es/commands/CreateUserCommand.js +2 -14
  7. package/dist-es/commands/DeleteBrokerCommand.js +2 -14
  8. package/dist-es/commands/DeleteConfigurationCommand.js +2 -14
  9. package/dist-es/commands/DeleteTagsCommand.js +2 -14
  10. package/dist-es/commands/DeleteUserCommand.js +2 -14
  11. package/dist-es/commands/DescribeBrokerCommand.js +2 -14
  12. package/dist-es/commands/DescribeBrokerEngineTypesCommand.js +2 -14
  13. package/dist-es/commands/DescribeBrokerInstanceOptionsCommand.js +2 -14
  14. package/dist-es/commands/DescribeConfigurationCommand.js +2 -14
  15. package/dist-es/commands/DescribeConfigurationRevisionCommand.js +2 -14
  16. package/dist-es/commands/DescribeSharedResourcesCommand.js +2 -14
  17. package/dist-es/commands/DescribeUserCommand.js +2 -14
  18. package/dist-es/commands/ListBrokersCommand.js +2 -14
  19. package/dist-es/commands/ListConfigurationRevisionsCommand.js +2 -14
  20. package/dist-es/commands/ListConfigurationsCommand.js +2 -14
  21. package/dist-es/commands/ListTagsCommand.js +2 -14
  22. package/dist-es/commands/ListUsersCommand.js +2 -14
  23. package/dist-es/commands/PromoteCommand.js +2 -14
  24. package/dist-es/commands/RebootBrokerCommand.js +2 -14
  25. package/dist-es/commands/UpdateBrokerCommand.js +2 -14
  26. package/dist-es/commands/UpdateConfigurationCommand.js +2 -14
  27. package/dist-es/commands/UpdateUserCommand.js +2 -14
  28. package/dist-es/index.js +1 -0
  29. package/dist-es/runtimeConfig.browser.js +0 -2
  30. package/dist-es/runtimeConfig.js +1 -2
  31. package/dist-es/runtimeConfig.native.js +0 -2
  32. package/dist-es/runtimeConfig.shared.js +2 -0
  33. package/dist-types/commandBuilder.d.ts +18 -0
  34. package/dist-types/commands/CreateBrokerCommand.d.ts +3 -8
  35. package/dist-types/commands/CreateConfigurationCommand.d.ts +3 -8
  36. package/dist-types/commands/CreateTagsCommand.d.ts +3 -8
  37. package/dist-types/commands/CreateUserCommand.d.ts +3 -8
  38. package/dist-types/commands/DeleteBrokerCommand.d.ts +3 -8
  39. package/dist-types/commands/DeleteConfigurationCommand.d.ts +3 -8
  40. package/dist-types/commands/DeleteTagsCommand.d.ts +3 -8
  41. package/dist-types/commands/DeleteUserCommand.d.ts +3 -8
  42. package/dist-types/commands/DescribeBrokerCommand.d.ts +3 -8
  43. package/dist-types/commands/DescribeBrokerEngineTypesCommand.d.ts +3 -8
  44. package/dist-types/commands/DescribeBrokerInstanceOptionsCommand.d.ts +3 -8
  45. package/dist-types/commands/DescribeConfigurationCommand.d.ts +3 -8
  46. package/dist-types/commands/DescribeConfigurationRevisionCommand.d.ts +3 -8
  47. package/dist-types/commands/DescribeSharedResourcesCommand.d.ts +3 -8
  48. package/dist-types/commands/DescribeUserCommand.d.ts +3 -8
  49. package/dist-types/commands/ListBrokersCommand.d.ts +3 -8
  50. package/dist-types/commands/ListConfigurationRevisionsCommand.d.ts +3 -8
  51. package/dist-types/commands/ListConfigurationsCommand.d.ts +3 -8
  52. package/dist-types/commands/ListTagsCommand.d.ts +3 -8
  53. package/dist-types/commands/ListUsersCommand.d.ts +3 -8
  54. package/dist-types/commands/PromoteCommand.d.ts +3 -8
  55. package/dist-types/commands/RebootBrokerCommand.d.ts +3 -8
  56. package/dist-types/commands/UpdateBrokerCommand.d.ts +3 -8
  57. package/dist-types/commands/UpdateConfigurationCommand.d.ts +3 -8
  58. package/dist-types/commands/UpdateUserCommand.d.ts +3 -8
  59. package/dist-types/index.d.ts +1 -0
  60. package/dist-types/runtimeConfig.browser.d.ts +1 -1
  61. package/dist-types/runtimeConfig.d.ts +1 -1
  62. package/dist-types/runtimeConfig.native.d.ts +1 -1
  63. package/dist-types/runtimeConfig.shared.d.ts +1 -0
  64. package/dist-types/ts3.4/commandBuilder.d.ts +46 -0
  65. package/dist-types/ts3.4/commands/CreateBrokerCommand.d.ts +7 -16
  66. package/dist-types/ts3.4/commands/CreateConfigurationCommand.d.ts +7 -16
  67. package/dist-types/ts3.4/commands/CreateTagsCommand.d.ts +7 -16
  68. package/dist-types/ts3.4/commands/CreateUserCommand.d.ts +7 -16
  69. package/dist-types/ts3.4/commands/DeleteBrokerCommand.d.ts +7 -16
  70. package/dist-types/ts3.4/commands/DeleteConfigurationCommand.d.ts +7 -16
  71. package/dist-types/ts3.4/commands/DeleteTagsCommand.d.ts +7 -16
  72. package/dist-types/ts3.4/commands/DeleteUserCommand.d.ts +7 -16
  73. package/dist-types/ts3.4/commands/DescribeBrokerCommand.d.ts +7 -16
  74. package/dist-types/ts3.4/commands/DescribeBrokerEngineTypesCommand.d.ts +7 -16
  75. package/dist-types/ts3.4/commands/DescribeBrokerInstanceOptionsCommand.d.ts +7 -16
  76. package/dist-types/ts3.4/commands/DescribeConfigurationCommand.d.ts +7 -16
  77. package/dist-types/ts3.4/commands/DescribeConfigurationRevisionCommand.d.ts +7 -16
  78. package/dist-types/ts3.4/commands/DescribeSharedResourcesCommand.d.ts +7 -16
  79. package/dist-types/ts3.4/commands/DescribeUserCommand.d.ts +7 -16
  80. package/dist-types/ts3.4/commands/ListBrokersCommand.d.ts +7 -16
  81. package/dist-types/ts3.4/commands/ListConfigurationRevisionsCommand.d.ts +7 -16
  82. package/dist-types/ts3.4/commands/ListConfigurationsCommand.d.ts +7 -16
  83. package/dist-types/ts3.4/commands/ListTagsCommand.d.ts +7 -16
  84. package/dist-types/ts3.4/commands/ListUsersCommand.d.ts +7 -16
  85. package/dist-types/ts3.4/commands/PromoteCommand.d.ts +7 -16
  86. package/dist-types/ts3.4/commands/RebootBrokerCommand.d.ts +7 -16
  87. package/dist-types/ts3.4/commands/UpdateBrokerCommand.d.ts +7 -16
  88. package/dist-types/ts3.4/commands/UpdateConfigurationCommand.d.ts +7 -16
  89. package/dist-types/ts3.4/commands/UpdateUserCommand.d.ts +7 -16
  90. package/dist-types/ts3.4/index.d.ts +1 -0
  91. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
  92. package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
  93. package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -1
  94. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -0
  95. 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 defaultMqHttpAuthSchemeParametersProvider = 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
 
@@ -1169,6 +1171,7 @@ const getRuntimeConfig$1 = (config) => {
1169
1171
  serviceTarget: "mq",
1170
1172
  },
1171
1173
  serviceId: config?.serviceId ?? "mq",
1174
+ sha256: config?.sha256 ?? Sha256,
1172
1175
  urlParser: config?.urlParser ?? parseUrl,
1173
1176
  utf8Decoder: config?.utf8Decoder ?? fromUtf8,
1174
1177
  utf8Encoder: config?.utf8Encoder ?? toUtf8,
@@ -1202,7 +1205,6 @@ const getRuntimeConfig = (config) => {
1202
1205
  ...NODE_RETRY_MODE_CONFIG_OPTIONS,
1203
1206
  default: async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE,
1204
1207
  }, config),
1205
- sha256: config?.sha256 ?? Hash.bind(null, "sha256"),
1206
1208
  streamCollector: config?.streamCollector ?? streamCollector,
1207
1209
  useDualstackEndpoint: config?.useDualstackEndpoint ?? loadConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
1208
1210
  useFipsEndpoint: config?.useFipsEndpoint ?? loadConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
@@ -1290,304 +1292,83 @@ class MqClient extends Client {
1290
1292
  }
1291
1293
  }
1292
1294
 
1293
- class CreateBrokerCommand extends Command
1294
- .classBuilder()
1295
- .ep(commonParams)
1296
- .m(function (Command, cs, config, o) {
1297
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1298
- })
1299
- .s("mq", "CreateBroker", {})
1300
- .n("MqClient", "CreateBrokerCommand")
1301
- .sc(CreateBroker$)
1302
- .build() {
1295
+ const command = makeBuilder(commonParams, "mq", "MqClient", getEndpointPlugin);
1296
+ const _ep0 = {};
1297
+ const _mw0 = (Command, cs, config, o) => [];
1298
+
1299
+ class CreateBrokerCommand extends command(_ep0, _mw0, "CreateBroker", CreateBroker$) {
1303
1300
  }
1304
1301
 
1305
- class CreateConfigurationCommand extends Command
1306
- .classBuilder()
1307
- .ep(commonParams)
1308
- .m(function (Command, cs, config, o) {
1309
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1310
- })
1311
- .s("mq", "CreateConfiguration", {})
1312
- .n("MqClient", "CreateConfigurationCommand")
1313
- .sc(CreateConfiguration$)
1314
- .build() {
1302
+ class CreateConfigurationCommand extends command(_ep0, _mw0, "CreateConfiguration", CreateConfiguration$) {
1315
1303
  }
1316
1304
 
1317
- class CreateTagsCommand extends Command
1318
- .classBuilder()
1319
- .ep(commonParams)
1320
- .m(function (Command, cs, config, o) {
1321
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1322
- })
1323
- .s("mq", "CreateTags", {})
1324
- .n("MqClient", "CreateTagsCommand")
1325
- .sc(CreateTags$)
1326
- .build() {
1305
+ class CreateTagsCommand extends command(_ep0, _mw0, "CreateTags", CreateTags$) {
1327
1306
  }
1328
1307
 
1329
- class CreateUserCommand extends Command
1330
- .classBuilder()
1331
- .ep(commonParams)
1332
- .m(function (Command, cs, config, o) {
1333
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1334
- })
1335
- .s("mq", "CreateUser", {})
1336
- .n("MqClient", "CreateUserCommand")
1337
- .sc(CreateUser$)
1338
- .build() {
1308
+ class CreateUserCommand extends command(_ep0, _mw0, "CreateUser", CreateUser$) {
1339
1309
  }
1340
1310
 
1341
- class DeleteBrokerCommand extends Command
1342
- .classBuilder()
1343
- .ep(commonParams)
1344
- .m(function (Command, cs, config, o) {
1345
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1346
- })
1347
- .s("mq", "DeleteBroker", {})
1348
- .n("MqClient", "DeleteBrokerCommand")
1349
- .sc(DeleteBroker$)
1350
- .build() {
1311
+ class DeleteBrokerCommand extends command(_ep0, _mw0, "DeleteBroker", DeleteBroker$) {
1351
1312
  }
1352
1313
 
1353
- class DeleteConfigurationCommand extends Command
1354
- .classBuilder()
1355
- .ep(commonParams)
1356
- .m(function (Command, cs, config, o) {
1357
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1358
- })
1359
- .s("mq", "DeleteConfiguration", {})
1360
- .n("MqClient", "DeleteConfigurationCommand")
1361
- .sc(DeleteConfiguration$)
1362
- .build() {
1314
+ class DeleteConfigurationCommand extends command(_ep0, _mw0, "DeleteConfiguration", DeleteConfiguration$) {
1363
1315
  }
1364
1316
 
1365
- class DeleteTagsCommand extends Command
1366
- .classBuilder()
1367
- .ep(commonParams)
1368
- .m(function (Command, cs, config, o) {
1369
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1370
- })
1371
- .s("mq", "DeleteTags", {})
1372
- .n("MqClient", "DeleteTagsCommand")
1373
- .sc(DeleteTags$)
1374
- .build() {
1317
+ class DeleteTagsCommand extends command(_ep0, _mw0, "DeleteTags", DeleteTags$) {
1375
1318
  }
1376
1319
 
1377
- class DeleteUserCommand extends Command
1378
- .classBuilder()
1379
- .ep(commonParams)
1380
- .m(function (Command, cs, config, o) {
1381
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1382
- })
1383
- .s("mq", "DeleteUser", {})
1384
- .n("MqClient", "DeleteUserCommand")
1385
- .sc(DeleteUser$)
1386
- .build() {
1320
+ class DeleteUserCommand extends command(_ep0, _mw0, "DeleteUser", DeleteUser$) {
1387
1321
  }
1388
1322
 
1389
- class DescribeBrokerCommand extends Command
1390
- .classBuilder()
1391
- .ep(commonParams)
1392
- .m(function (Command, cs, config, o) {
1393
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1394
- })
1395
- .s("mq", "DescribeBroker", {})
1396
- .n("MqClient", "DescribeBrokerCommand")
1397
- .sc(DescribeBroker$)
1398
- .build() {
1323
+ class DescribeBrokerCommand extends command(_ep0, _mw0, "DescribeBroker", DescribeBroker$) {
1399
1324
  }
1400
1325
 
1401
- class DescribeBrokerEngineTypesCommand extends Command
1402
- .classBuilder()
1403
- .ep(commonParams)
1404
- .m(function (Command, cs, config, o) {
1405
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1406
- })
1407
- .s("mq", "DescribeBrokerEngineTypes", {})
1408
- .n("MqClient", "DescribeBrokerEngineTypesCommand")
1409
- .sc(DescribeBrokerEngineTypes$)
1410
- .build() {
1326
+ class DescribeBrokerEngineTypesCommand extends command(_ep0, _mw0, "DescribeBrokerEngineTypes", DescribeBrokerEngineTypes$) {
1411
1327
  }
1412
1328
 
1413
- class DescribeBrokerInstanceOptionsCommand extends Command
1414
- .classBuilder()
1415
- .ep(commonParams)
1416
- .m(function (Command, cs, config, o) {
1417
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1418
- })
1419
- .s("mq", "DescribeBrokerInstanceOptions", {})
1420
- .n("MqClient", "DescribeBrokerInstanceOptionsCommand")
1421
- .sc(DescribeBrokerInstanceOptions$)
1422
- .build() {
1329
+ class DescribeBrokerInstanceOptionsCommand extends command(_ep0, _mw0, "DescribeBrokerInstanceOptions", DescribeBrokerInstanceOptions$) {
1423
1330
  }
1424
1331
 
1425
- class DescribeConfigurationCommand extends Command
1426
- .classBuilder()
1427
- .ep(commonParams)
1428
- .m(function (Command, cs, config, o) {
1429
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1430
- })
1431
- .s("mq", "DescribeConfiguration", {})
1432
- .n("MqClient", "DescribeConfigurationCommand")
1433
- .sc(DescribeConfiguration$)
1434
- .build() {
1332
+ class DescribeConfigurationCommand extends command(_ep0, _mw0, "DescribeConfiguration", DescribeConfiguration$) {
1435
1333
  }
1436
1334
 
1437
- class DescribeConfigurationRevisionCommand extends Command
1438
- .classBuilder()
1439
- .ep(commonParams)
1440
- .m(function (Command, cs, config, o) {
1441
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1442
- })
1443
- .s("mq", "DescribeConfigurationRevision", {})
1444
- .n("MqClient", "DescribeConfigurationRevisionCommand")
1445
- .sc(DescribeConfigurationRevision$)
1446
- .build() {
1335
+ class DescribeConfigurationRevisionCommand extends command(_ep0, _mw0, "DescribeConfigurationRevision", DescribeConfigurationRevision$) {
1447
1336
  }
1448
1337
 
1449
- class DescribeSharedResourcesCommand extends Command
1450
- .classBuilder()
1451
- .ep(commonParams)
1452
- .m(function (Command, cs, config, o) {
1453
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1454
- })
1455
- .s("mq", "DescribeSharedResources", {})
1456
- .n("MqClient", "DescribeSharedResourcesCommand")
1457
- .sc(DescribeSharedResources$)
1458
- .build() {
1338
+ class DescribeSharedResourcesCommand extends command(_ep0, _mw0, "DescribeSharedResources", DescribeSharedResources$) {
1459
1339
  }
1460
1340
 
1461
- class DescribeUserCommand extends Command
1462
- .classBuilder()
1463
- .ep(commonParams)
1464
- .m(function (Command, cs, config, o) {
1465
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1466
- })
1467
- .s("mq", "DescribeUser", {})
1468
- .n("MqClient", "DescribeUserCommand")
1469
- .sc(DescribeUser$)
1470
- .build() {
1341
+ class DescribeUserCommand extends command(_ep0, _mw0, "DescribeUser", DescribeUser$) {
1471
1342
  }
1472
1343
 
1473
- class ListBrokersCommand extends Command
1474
- .classBuilder()
1475
- .ep(commonParams)
1476
- .m(function (Command, cs, config, o) {
1477
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1478
- })
1479
- .s("mq", "ListBrokers", {})
1480
- .n("MqClient", "ListBrokersCommand")
1481
- .sc(ListBrokers$)
1482
- .build() {
1344
+ class ListBrokersCommand extends command(_ep0, _mw0, "ListBrokers", ListBrokers$) {
1483
1345
  }
1484
1346
 
1485
- class ListConfigurationRevisionsCommand extends Command
1486
- .classBuilder()
1487
- .ep(commonParams)
1488
- .m(function (Command, cs, config, o) {
1489
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1490
- })
1491
- .s("mq", "ListConfigurationRevisions", {})
1492
- .n("MqClient", "ListConfigurationRevisionsCommand")
1493
- .sc(ListConfigurationRevisions$)
1494
- .build() {
1347
+ class ListConfigurationRevisionsCommand extends command(_ep0, _mw0, "ListConfigurationRevisions", ListConfigurationRevisions$) {
1495
1348
  }
1496
1349
 
1497
- class ListConfigurationsCommand extends Command
1498
- .classBuilder()
1499
- .ep(commonParams)
1500
- .m(function (Command, cs, config, o) {
1501
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1502
- })
1503
- .s("mq", "ListConfigurations", {})
1504
- .n("MqClient", "ListConfigurationsCommand")
1505
- .sc(ListConfigurations$)
1506
- .build() {
1350
+ class ListConfigurationsCommand extends command(_ep0, _mw0, "ListConfigurations", ListConfigurations$) {
1507
1351
  }
1508
1352
 
1509
- class ListTagsCommand extends Command
1510
- .classBuilder()
1511
- .ep(commonParams)
1512
- .m(function (Command, cs, config, o) {
1513
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1514
- })
1515
- .s("mq", "ListTags", {})
1516
- .n("MqClient", "ListTagsCommand")
1517
- .sc(ListTags$)
1518
- .build() {
1353
+ class ListTagsCommand extends command(_ep0, _mw0, "ListTags", ListTags$) {
1519
1354
  }
1520
1355
 
1521
- class ListUsersCommand extends Command
1522
- .classBuilder()
1523
- .ep(commonParams)
1524
- .m(function (Command, cs, config, o) {
1525
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1526
- })
1527
- .s("mq", "ListUsers", {})
1528
- .n("MqClient", "ListUsersCommand")
1529
- .sc(ListUsers$)
1530
- .build() {
1356
+ class ListUsersCommand extends command(_ep0, _mw0, "ListUsers", ListUsers$) {
1531
1357
  }
1532
1358
 
1533
- class PromoteCommand extends Command
1534
- .classBuilder()
1535
- .ep(commonParams)
1536
- .m(function (Command, cs, config, o) {
1537
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1538
- })
1539
- .s("mq", "Promote", {})
1540
- .n("MqClient", "PromoteCommand")
1541
- .sc(Promote$)
1542
- .build() {
1359
+ class PromoteCommand extends command(_ep0, _mw0, "Promote", Promote$) {
1543
1360
  }
1544
1361
 
1545
- class RebootBrokerCommand extends Command
1546
- .classBuilder()
1547
- .ep(commonParams)
1548
- .m(function (Command, cs, config, o) {
1549
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1550
- })
1551
- .s("mq", "RebootBroker", {})
1552
- .n("MqClient", "RebootBrokerCommand")
1553
- .sc(RebootBroker$)
1554
- .build() {
1362
+ class RebootBrokerCommand extends command(_ep0, _mw0, "RebootBroker", RebootBroker$) {
1555
1363
  }
1556
1364
 
1557
- class UpdateBrokerCommand extends Command
1558
- .classBuilder()
1559
- .ep(commonParams)
1560
- .m(function (Command, cs, config, o) {
1561
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1562
- })
1563
- .s("mq", "UpdateBroker", {})
1564
- .n("MqClient", "UpdateBrokerCommand")
1565
- .sc(UpdateBroker$)
1566
- .build() {
1365
+ class UpdateBrokerCommand extends command(_ep0, _mw0, "UpdateBroker", UpdateBroker$) {
1567
1366
  }
1568
1367
 
1569
- class UpdateConfigurationCommand extends Command
1570
- .classBuilder()
1571
- .ep(commonParams)
1572
- .m(function (Command, cs, config, o) {
1573
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1574
- })
1575
- .s("mq", "UpdateConfiguration", {})
1576
- .n("MqClient", "UpdateConfigurationCommand")
1577
- .sc(UpdateConfiguration$)
1578
- .build() {
1368
+ class UpdateConfigurationCommand extends command(_ep0, _mw0, "UpdateConfiguration", UpdateConfiguration$) {
1579
1369
  }
1580
1370
 
1581
- class UpdateUserCommand extends Command
1582
- .classBuilder()
1583
- .ep(commonParams)
1584
- .m(function (Command, cs, config, o) {
1585
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1586
- })
1587
- .s("mq", "UpdateUser", {})
1588
- .n("MqClient", "UpdateUserCommand")
1589
- .sc(UpdateUser$)
1590
- .build() {
1371
+ class UpdateUserCommand extends command(_ep0, _mw0, "UpdateUser", UpdateUser$) {
1591
1372
  }
1592
1373
 
1593
1374
  const paginateDescribeSharedResources = createPaginator(MqClient, DescribeSharedResourcesCommand, "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, "mq", "MqClient", 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 { CreateBroker$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class CreateBrokerCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("mq", "CreateBroker", {})
13
- .n("MqClient", "CreateBrokerCommand")
14
- .sc(CreateBroker$)
15
- .build() {
3
+ export class CreateBrokerCommand extends command(_ep0, _mw0, "CreateBroker", CreateBroker$) {
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 { CreateConfiguration$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class CreateConfigurationCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("mq", "CreateConfiguration", {})
13
- .n("MqClient", "CreateConfigurationCommand")
14
- .sc(CreateConfiguration$)
15
- .build() {
3
+ export class CreateConfigurationCommand extends command(_ep0, _mw0, "CreateConfiguration", CreateConfiguration$) {
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 { CreateTags$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class CreateTagsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("mq", "CreateTags", {})
13
- .n("MqClient", "CreateTagsCommand")
14
- .sc(CreateTags$)
15
- .build() {
3
+ export class CreateTagsCommand extends command(_ep0, _mw0, "CreateTags", CreateTags$) {
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 { CreateUser$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class CreateUserCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("mq", "CreateUser", {})
13
- .n("MqClient", "CreateUserCommand")
14
- .sc(CreateUser$)
15
- .build() {
3
+ export class CreateUserCommand extends command(_ep0, _mw0, "CreateUser", CreateUser$) {
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 { DeleteBroker$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DeleteBrokerCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("mq", "DeleteBroker", {})
13
- .n("MqClient", "DeleteBrokerCommand")
14
- .sc(DeleteBroker$)
15
- .build() {
3
+ export class DeleteBrokerCommand extends command(_ep0, _mw0, "DeleteBroker", DeleteBroker$) {
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 { DeleteConfiguration$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DeleteConfigurationCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("mq", "DeleteConfiguration", {})
13
- .n("MqClient", "DeleteConfigurationCommand")
14
- .sc(DeleteConfiguration$)
15
- .build() {
3
+ export class DeleteConfigurationCommand extends command(_ep0, _mw0, "DeleteConfiguration", DeleteConfiguration$) {
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 { DeleteTags$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DeleteTagsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("mq", "DeleteTags", {})
13
- .n("MqClient", "DeleteTagsCommand")
14
- .sc(DeleteTags$)
15
- .build() {
3
+ export class DeleteTagsCommand extends command(_ep0, _mw0, "DeleteTags", DeleteTags$) {
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 { DeleteUser$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DeleteUserCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("mq", "DeleteUser", {})
13
- .n("MqClient", "DeleteUserCommand")
14
- .sc(DeleteUser$)
15
- .build() {
3
+ export class DeleteUserCommand extends command(_ep0, _mw0, "DeleteUser", DeleteUser$) {
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 { DescribeBroker$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DescribeBrokerCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("mq", "DescribeBroker", {})
13
- .n("MqClient", "DescribeBrokerCommand")
14
- .sc(DescribeBroker$)
15
- .build() {
3
+ export class DescribeBrokerCommand extends command(_ep0, _mw0, "DescribeBroker", DescribeBroker$) {
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 { DescribeBrokerEngineTypes$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DescribeBrokerEngineTypesCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("mq", "DescribeBrokerEngineTypes", {})
13
- .n("MqClient", "DescribeBrokerEngineTypesCommand")
14
- .sc(DescribeBrokerEngineTypes$)
15
- .build() {
3
+ export class DescribeBrokerEngineTypesCommand extends command(_ep0, _mw0, "DescribeBrokerEngineTypes", DescribeBrokerEngineTypes$) {
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 { DescribeBrokerInstanceOptions$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DescribeBrokerInstanceOptionsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("mq", "DescribeBrokerInstanceOptions", {})
13
- .n("MqClient", "DescribeBrokerInstanceOptionsCommand")
14
- .sc(DescribeBrokerInstanceOptions$)
15
- .build() {
3
+ export class DescribeBrokerInstanceOptionsCommand extends command(_ep0, _mw0, "DescribeBrokerInstanceOptions", DescribeBrokerInstanceOptions$) {
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 { DescribeConfiguration$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DescribeConfigurationCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("mq", "DescribeConfiguration", {})
13
- .n("MqClient", "DescribeConfigurationCommand")
14
- .sc(DescribeConfiguration$)
15
- .build() {
3
+ export class DescribeConfigurationCommand extends command(_ep0, _mw0, "DescribeConfiguration", DescribeConfiguration$) {
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 { DescribeConfigurationRevision$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DescribeConfigurationRevisionCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("mq", "DescribeConfigurationRevision", {})
13
- .n("MqClient", "DescribeConfigurationRevisionCommand")
14
- .sc(DescribeConfigurationRevision$)
15
- .build() {
3
+ export class DescribeConfigurationRevisionCommand extends command(_ep0, _mw0, "DescribeConfigurationRevision", DescribeConfigurationRevision$) {
16
4
  }