@aws-sdk/client-mq 3.721.0 → 3.726.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist-cjs/index.js CHANGED
@@ -164,7 +164,14 @@ var resolveRuntimeExtensions = /* @__PURE__ */ __name((runtimeConfig, extensions
164
164
  }, "resolveRuntimeExtensions");
165
165
 
166
166
  // src/MqClient.ts
167
- var _MqClient = class _MqClient extends import_smithy_client.Client {
167
+ var MqClient = class extends import_smithy_client.Client {
168
+ static {
169
+ __name(this, "MqClient");
170
+ }
171
+ /**
172
+ * The resolved configuration of MqClient class. This is resolved and normalized from the {@link MqClientConfig | constructor configuration interface}.
173
+ */
174
+ config;
168
175
  constructor(...[configuration]) {
169
176
  const _config_0 = (0, import_runtimeConfig.getRuntimeConfig)(configuration || {});
170
177
  const _config_1 = resolveClientEndpointParameters(_config_0);
@@ -174,7 +181,7 @@ var _MqClient = class _MqClient extends import_smithy_client.Client {
174
181
  const _config_5 = (0, import_middleware_host_header.resolveHostHeaderConfig)(_config_4);
175
182
  const _config_6 = (0, import_middleware_endpoint.resolveEndpointConfig)(_config_5);
176
183
  const _config_7 = (0, import_httpAuthSchemeProvider.resolveHttpAuthSchemeConfig)(_config_6);
177
- const _config_8 = resolveRuntimeExtensions(_config_7, (configuration == null ? void 0 : configuration.extensions) || []);
184
+ const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
178
185
  super(_config_8);
179
186
  this.config = _config_8;
180
187
  this.middlewareStack.use((0, import_middleware_user_agent.getUserAgentPlugin)(this.config));
@@ -202,8 +209,6 @@ var _MqClient = class _MqClient extends import_smithy_client.Client {
202
209
  super.destroy();
203
210
  }
204
211
  };
205
- __name(_MqClient, "MqClient");
206
- var MqClient = _MqClient;
207
212
 
208
213
  // src/Mq.ts
209
214
 
@@ -221,7 +226,10 @@ var import_uuid = require("uuid");
221
226
 
222
227
  // src/models/MqServiceException.ts
223
228
 
224
- var _MqServiceException = class _MqServiceException extends import_smithy_client.ServiceException {
229
+ var MqServiceException = class _MqServiceException extends import_smithy_client.ServiceException {
230
+ static {
231
+ __name(this, "MqServiceException");
232
+ }
225
233
  /**
226
234
  * @internal
227
235
  */
@@ -230,8 +238,6 @@ var _MqServiceException = class _MqServiceException extends import_smithy_client
230
238
  Object.setPrototypeOf(this, _MqServiceException.prototype);
231
239
  }
232
240
  };
233
- __name(_MqServiceException, "MqServiceException");
234
- var MqServiceException = _MqServiceException;
235
241
 
236
242
  // src/models/models_0.ts
237
243
  var EngineType = {
@@ -270,7 +276,22 @@ var ChangeType = {
270
276
  DELETE: "DELETE",
271
277
  UPDATE: "UPDATE"
272
278
  };
273
- var _BadRequestException = class _BadRequestException extends MqServiceException {
279
+ var BadRequestException = class _BadRequestException extends MqServiceException {
280
+ static {
281
+ __name(this, "BadRequestException");
282
+ }
283
+ name = "BadRequestException";
284
+ $fault = "client";
285
+ /**
286
+ * <p>The attribute which caused the error.</p>
287
+ * @public
288
+ */
289
+ ErrorAttribute;
290
+ /**
291
+ * <p>The explanation of the error.</p>
292
+ * @public
293
+ */
294
+ Message;
274
295
  /**
275
296
  * @internal
276
297
  */
@@ -280,16 +301,27 @@ var _BadRequestException = class _BadRequestException extends MqServiceException
280
301
  $fault: "client",
281
302
  ...opts
282
303
  });
283
- this.name = "BadRequestException";
284
- this.$fault = "client";
285
304
  Object.setPrototypeOf(this, _BadRequestException.prototype);
286
305
  this.ErrorAttribute = opts.ErrorAttribute;
287
306
  this.Message = opts.Message;
288
307
  }
289
308
  };
290
- __name(_BadRequestException, "BadRequestException");
291
- var BadRequestException = _BadRequestException;
292
- var _ConflictException = class _ConflictException extends MqServiceException {
309
+ var ConflictException = class _ConflictException extends MqServiceException {
310
+ static {
311
+ __name(this, "ConflictException");
312
+ }
313
+ name = "ConflictException";
314
+ $fault = "client";
315
+ /**
316
+ * <p>The attribute which caused the error.</p>
317
+ * @public
318
+ */
319
+ ErrorAttribute;
320
+ /**
321
+ * <p>The explanation of the error.</p>
322
+ * @public
323
+ */
324
+ Message;
293
325
  /**
294
326
  * @internal
295
327
  */
@@ -299,15 +331,11 @@ var _ConflictException = class _ConflictException extends MqServiceException {
299
331
  $fault: "client",
300
332
  ...opts
301
333
  });
302
- this.name = "ConflictException";
303
- this.$fault = "client";
304
334
  Object.setPrototypeOf(this, _ConflictException.prototype);
305
335
  this.ErrorAttribute = opts.ErrorAttribute;
306
336
  this.Message = opts.Message;
307
337
  }
308
338
  };
309
- __name(_ConflictException, "ConflictException");
310
- var ConflictException = _ConflictException;
311
339
  var DataReplicationMode = {
312
340
  CRDR: "CRDR",
313
341
  NONE: "NONE"
@@ -321,7 +349,22 @@ var DayOfWeek = {
321
349
  TUESDAY: "TUESDAY",
322
350
  WEDNESDAY: "WEDNESDAY"
323
351
  };
324
- var _ForbiddenException = class _ForbiddenException extends MqServiceException {
352
+ var ForbiddenException = class _ForbiddenException extends MqServiceException {
353
+ static {
354
+ __name(this, "ForbiddenException");
355
+ }
356
+ name = "ForbiddenException";
357
+ $fault = "client";
358
+ /**
359
+ * <p>The attribute which caused the error.</p>
360
+ * @public
361
+ */
362
+ ErrorAttribute;
363
+ /**
364
+ * <p>The explanation of the error.</p>
365
+ * @public
366
+ */
367
+ Message;
325
368
  /**
326
369
  * @internal
327
370
  */
@@ -331,16 +374,27 @@ var _ForbiddenException = class _ForbiddenException extends MqServiceException {
331
374
  $fault: "client",
332
375
  ...opts
333
376
  });
334
- this.name = "ForbiddenException";
335
- this.$fault = "client";
336
377
  Object.setPrototypeOf(this, _ForbiddenException.prototype);
337
378
  this.ErrorAttribute = opts.ErrorAttribute;
338
379
  this.Message = opts.Message;
339
380
  }
340
381
  };
341
- __name(_ForbiddenException, "ForbiddenException");
342
- var ForbiddenException = _ForbiddenException;
343
- var _InternalServerErrorException = class _InternalServerErrorException extends MqServiceException {
382
+ var InternalServerErrorException = class _InternalServerErrorException extends MqServiceException {
383
+ static {
384
+ __name(this, "InternalServerErrorException");
385
+ }
386
+ name = "InternalServerErrorException";
387
+ $fault = "server";
388
+ /**
389
+ * <p>The attribute which caused the error.</p>
390
+ * @public
391
+ */
392
+ ErrorAttribute;
393
+ /**
394
+ * <p>The explanation of the error.</p>
395
+ * @public
396
+ */
397
+ Message;
344
398
  /**
345
399
  * @internal
346
400
  */
@@ -350,16 +404,27 @@ var _InternalServerErrorException = class _InternalServerErrorException extends
350
404
  $fault: "server",
351
405
  ...opts
352
406
  });
353
- this.name = "InternalServerErrorException";
354
- this.$fault = "server";
355
407
  Object.setPrototypeOf(this, _InternalServerErrorException.prototype);
356
408
  this.ErrorAttribute = opts.ErrorAttribute;
357
409
  this.Message = opts.Message;
358
410
  }
359
411
  };
360
- __name(_InternalServerErrorException, "InternalServerErrorException");
361
- var InternalServerErrorException = _InternalServerErrorException;
362
- var _UnauthorizedException = class _UnauthorizedException extends MqServiceException {
412
+ var UnauthorizedException = class _UnauthorizedException extends MqServiceException {
413
+ static {
414
+ __name(this, "UnauthorizedException");
415
+ }
416
+ name = "UnauthorizedException";
417
+ $fault = "client";
418
+ /**
419
+ * <p>The attribute which caused the error.</p>
420
+ * @public
421
+ */
422
+ ErrorAttribute;
423
+ /**
424
+ * <p>The explanation of the error.</p>
425
+ * @public
426
+ */
427
+ Message;
363
428
  /**
364
429
  * @internal
365
430
  */
@@ -369,16 +434,27 @@ var _UnauthorizedException = class _UnauthorizedException extends MqServiceExcep
369
434
  $fault: "client",
370
435
  ...opts
371
436
  });
372
- this.name = "UnauthorizedException";
373
- this.$fault = "client";
374
437
  Object.setPrototypeOf(this, _UnauthorizedException.prototype);
375
438
  this.ErrorAttribute = opts.ErrorAttribute;
376
439
  this.Message = opts.Message;
377
440
  }
378
441
  };
379
- __name(_UnauthorizedException, "UnauthorizedException");
380
- var UnauthorizedException = _UnauthorizedException;
381
- var _NotFoundException = class _NotFoundException extends MqServiceException {
442
+ var NotFoundException = class _NotFoundException extends MqServiceException {
443
+ static {
444
+ __name(this, "NotFoundException");
445
+ }
446
+ name = "NotFoundException";
447
+ $fault = "client";
448
+ /**
449
+ * <p>The attribute which caused the error.</p>
450
+ * @public
451
+ */
452
+ ErrorAttribute;
453
+ /**
454
+ * <p>The explanation of the error.</p>
455
+ * @public
456
+ */
457
+ Message;
382
458
  /**
383
459
  * @internal
384
460
  */
@@ -388,15 +464,11 @@ var _NotFoundException = class _NotFoundException extends MqServiceException {
388
464
  $fault: "client",
389
465
  ...opts
390
466
  });
391
- this.name = "NotFoundException";
392
- this.$fault = "client";
393
467
  Object.setPrototypeOf(this, _NotFoundException.prototype);
394
468
  this.ErrorAttribute = opts.ErrorAttribute;
395
469
  this.Message = opts.Message;
396
470
  }
397
471
  };
398
- __name(_NotFoundException, "NotFoundException");
399
- var NotFoundException = _NotFoundException;
400
472
  var PromoteMode = {
401
473
  FAILOVER: "FAILOVER",
402
474
  SWITCHOVER: "SWITCHOVER"
@@ -1558,323 +1630,346 @@ var _sT = "storageType";
1558
1630
  var _tK = "tagKeys";
1559
1631
 
1560
1632
  // src/commands/CreateBrokerCommand.ts
1561
- var _CreateBrokerCommand = class _CreateBrokerCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1633
+ var CreateBrokerCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1562
1634
  return [
1563
1635
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1564
1636
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1565
1637
  ];
1566
1638
  }).s("mq", "CreateBroker", {}).n("MqClient", "CreateBrokerCommand").f(void 0, void 0).ser(se_CreateBrokerCommand).de(de_CreateBrokerCommand).build() {
1639
+ static {
1640
+ __name(this, "CreateBrokerCommand");
1641
+ }
1567
1642
  };
1568
- __name(_CreateBrokerCommand, "CreateBrokerCommand");
1569
- var CreateBrokerCommand = _CreateBrokerCommand;
1570
1643
 
1571
1644
  // src/commands/CreateConfigurationCommand.ts
1572
1645
 
1573
1646
 
1574
1647
 
1575
- var _CreateConfigurationCommand = class _CreateConfigurationCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1648
+ var CreateConfigurationCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1576
1649
  return [
1577
1650
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1578
1651
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1579
1652
  ];
1580
1653
  }).s("mq", "CreateConfiguration", {}).n("MqClient", "CreateConfigurationCommand").f(void 0, void 0).ser(se_CreateConfigurationCommand).de(de_CreateConfigurationCommand).build() {
1654
+ static {
1655
+ __name(this, "CreateConfigurationCommand");
1656
+ }
1581
1657
  };
1582
- __name(_CreateConfigurationCommand, "CreateConfigurationCommand");
1583
- var CreateConfigurationCommand = _CreateConfigurationCommand;
1584
1658
 
1585
1659
  // src/commands/CreateTagsCommand.ts
1586
1660
 
1587
1661
 
1588
1662
 
1589
- var _CreateTagsCommand = class _CreateTagsCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1663
+ var CreateTagsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1590
1664
  return [
1591
1665
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1592
1666
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1593
1667
  ];
1594
1668
  }).s("mq", "CreateTags", {}).n("MqClient", "CreateTagsCommand").f(void 0, void 0).ser(se_CreateTagsCommand).de(de_CreateTagsCommand).build() {
1669
+ static {
1670
+ __name(this, "CreateTagsCommand");
1671
+ }
1595
1672
  };
1596
- __name(_CreateTagsCommand, "CreateTagsCommand");
1597
- var CreateTagsCommand = _CreateTagsCommand;
1598
1673
 
1599
1674
  // src/commands/CreateUserCommand.ts
1600
1675
 
1601
1676
 
1602
1677
 
1603
- var _CreateUserCommand = class _CreateUserCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1678
+ var CreateUserCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1604
1679
  return [
1605
1680
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1606
1681
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1607
1682
  ];
1608
1683
  }).s("mq", "CreateUser", {}).n("MqClient", "CreateUserCommand").f(void 0, void 0).ser(se_CreateUserCommand).de(de_CreateUserCommand).build() {
1684
+ static {
1685
+ __name(this, "CreateUserCommand");
1686
+ }
1609
1687
  };
1610
- __name(_CreateUserCommand, "CreateUserCommand");
1611
- var CreateUserCommand = _CreateUserCommand;
1612
1688
 
1613
1689
  // src/commands/DeleteBrokerCommand.ts
1614
1690
 
1615
1691
 
1616
1692
 
1617
- var _DeleteBrokerCommand = class _DeleteBrokerCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1693
+ var DeleteBrokerCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1618
1694
  return [
1619
1695
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1620
1696
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1621
1697
  ];
1622
1698
  }).s("mq", "DeleteBroker", {}).n("MqClient", "DeleteBrokerCommand").f(void 0, void 0).ser(se_DeleteBrokerCommand).de(de_DeleteBrokerCommand).build() {
1699
+ static {
1700
+ __name(this, "DeleteBrokerCommand");
1701
+ }
1623
1702
  };
1624
- __name(_DeleteBrokerCommand, "DeleteBrokerCommand");
1625
- var DeleteBrokerCommand = _DeleteBrokerCommand;
1626
1703
 
1627
1704
  // src/commands/DeleteTagsCommand.ts
1628
1705
 
1629
1706
 
1630
1707
 
1631
- var _DeleteTagsCommand = class _DeleteTagsCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1708
+ var DeleteTagsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1632
1709
  return [
1633
1710
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1634
1711
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1635
1712
  ];
1636
1713
  }).s("mq", "DeleteTags", {}).n("MqClient", "DeleteTagsCommand").f(void 0, void 0).ser(se_DeleteTagsCommand).de(de_DeleteTagsCommand).build() {
1714
+ static {
1715
+ __name(this, "DeleteTagsCommand");
1716
+ }
1637
1717
  };
1638
- __name(_DeleteTagsCommand, "DeleteTagsCommand");
1639
- var DeleteTagsCommand = _DeleteTagsCommand;
1640
1718
 
1641
1719
  // src/commands/DeleteUserCommand.ts
1642
1720
 
1643
1721
 
1644
1722
 
1645
- var _DeleteUserCommand = class _DeleteUserCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1723
+ var DeleteUserCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1646
1724
  return [
1647
1725
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1648
1726
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1649
1727
  ];
1650
1728
  }).s("mq", "DeleteUser", {}).n("MqClient", "DeleteUserCommand").f(void 0, void 0).ser(se_DeleteUserCommand).de(de_DeleteUserCommand).build() {
1729
+ static {
1730
+ __name(this, "DeleteUserCommand");
1731
+ }
1651
1732
  };
1652
- __name(_DeleteUserCommand, "DeleteUserCommand");
1653
- var DeleteUserCommand = _DeleteUserCommand;
1654
1733
 
1655
1734
  // src/commands/DescribeBrokerCommand.ts
1656
1735
 
1657
1736
 
1658
1737
 
1659
- var _DescribeBrokerCommand = class _DescribeBrokerCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1738
+ var DescribeBrokerCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1660
1739
  return [
1661
1740
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1662
1741
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1663
1742
  ];
1664
1743
  }).s("mq", "DescribeBroker", {}).n("MqClient", "DescribeBrokerCommand").f(void 0, void 0).ser(se_DescribeBrokerCommand).de(de_DescribeBrokerCommand).build() {
1744
+ static {
1745
+ __name(this, "DescribeBrokerCommand");
1746
+ }
1665
1747
  };
1666
- __name(_DescribeBrokerCommand, "DescribeBrokerCommand");
1667
- var DescribeBrokerCommand = _DescribeBrokerCommand;
1668
1748
 
1669
1749
  // src/commands/DescribeBrokerEngineTypesCommand.ts
1670
1750
 
1671
1751
 
1672
1752
 
1673
- var _DescribeBrokerEngineTypesCommand = class _DescribeBrokerEngineTypesCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1753
+ var DescribeBrokerEngineTypesCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1674
1754
  return [
1675
1755
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1676
1756
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1677
1757
  ];
1678
1758
  }).s("mq", "DescribeBrokerEngineTypes", {}).n("MqClient", "DescribeBrokerEngineTypesCommand").f(void 0, void 0).ser(se_DescribeBrokerEngineTypesCommand).de(de_DescribeBrokerEngineTypesCommand).build() {
1759
+ static {
1760
+ __name(this, "DescribeBrokerEngineTypesCommand");
1761
+ }
1679
1762
  };
1680
- __name(_DescribeBrokerEngineTypesCommand, "DescribeBrokerEngineTypesCommand");
1681
- var DescribeBrokerEngineTypesCommand = _DescribeBrokerEngineTypesCommand;
1682
1763
 
1683
1764
  // src/commands/DescribeBrokerInstanceOptionsCommand.ts
1684
1765
 
1685
1766
 
1686
1767
 
1687
- var _DescribeBrokerInstanceOptionsCommand = class _DescribeBrokerInstanceOptionsCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1768
+ var DescribeBrokerInstanceOptionsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1688
1769
  return [
1689
1770
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1690
1771
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1691
1772
  ];
1692
1773
  }).s("mq", "DescribeBrokerInstanceOptions", {}).n("MqClient", "DescribeBrokerInstanceOptionsCommand").f(void 0, void 0).ser(se_DescribeBrokerInstanceOptionsCommand).de(de_DescribeBrokerInstanceOptionsCommand).build() {
1774
+ static {
1775
+ __name(this, "DescribeBrokerInstanceOptionsCommand");
1776
+ }
1693
1777
  };
1694
- __name(_DescribeBrokerInstanceOptionsCommand, "DescribeBrokerInstanceOptionsCommand");
1695
- var DescribeBrokerInstanceOptionsCommand = _DescribeBrokerInstanceOptionsCommand;
1696
1778
 
1697
1779
  // src/commands/DescribeConfigurationCommand.ts
1698
1780
 
1699
1781
 
1700
1782
 
1701
- var _DescribeConfigurationCommand = class _DescribeConfigurationCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1783
+ var DescribeConfigurationCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1702
1784
  return [
1703
1785
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1704
1786
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1705
1787
  ];
1706
1788
  }).s("mq", "DescribeConfiguration", {}).n("MqClient", "DescribeConfigurationCommand").f(void 0, void 0).ser(se_DescribeConfigurationCommand).de(de_DescribeConfigurationCommand).build() {
1789
+ static {
1790
+ __name(this, "DescribeConfigurationCommand");
1791
+ }
1707
1792
  };
1708
- __name(_DescribeConfigurationCommand, "DescribeConfigurationCommand");
1709
- var DescribeConfigurationCommand = _DescribeConfigurationCommand;
1710
1793
 
1711
1794
  // src/commands/DescribeConfigurationRevisionCommand.ts
1712
1795
 
1713
1796
 
1714
1797
 
1715
- var _DescribeConfigurationRevisionCommand = class _DescribeConfigurationRevisionCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1798
+ var DescribeConfigurationRevisionCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1716
1799
  return [
1717
1800
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1718
1801
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1719
1802
  ];
1720
1803
  }).s("mq", "DescribeConfigurationRevision", {}).n("MqClient", "DescribeConfigurationRevisionCommand").f(void 0, void 0).ser(se_DescribeConfigurationRevisionCommand).de(de_DescribeConfigurationRevisionCommand).build() {
1804
+ static {
1805
+ __name(this, "DescribeConfigurationRevisionCommand");
1806
+ }
1721
1807
  };
1722
- __name(_DescribeConfigurationRevisionCommand, "DescribeConfigurationRevisionCommand");
1723
- var DescribeConfigurationRevisionCommand = _DescribeConfigurationRevisionCommand;
1724
1808
 
1725
1809
  // src/commands/DescribeUserCommand.ts
1726
1810
 
1727
1811
 
1728
1812
 
1729
- var _DescribeUserCommand = class _DescribeUserCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1813
+ var DescribeUserCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1730
1814
  return [
1731
1815
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1732
1816
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1733
1817
  ];
1734
1818
  }).s("mq", "DescribeUser", {}).n("MqClient", "DescribeUserCommand").f(void 0, void 0).ser(se_DescribeUserCommand).de(de_DescribeUserCommand).build() {
1819
+ static {
1820
+ __name(this, "DescribeUserCommand");
1821
+ }
1735
1822
  };
1736
- __name(_DescribeUserCommand, "DescribeUserCommand");
1737
- var DescribeUserCommand = _DescribeUserCommand;
1738
1823
 
1739
1824
  // src/commands/ListBrokersCommand.ts
1740
1825
 
1741
1826
 
1742
1827
 
1743
- var _ListBrokersCommand = class _ListBrokersCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1828
+ var ListBrokersCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1744
1829
  return [
1745
1830
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1746
1831
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1747
1832
  ];
1748
1833
  }).s("mq", "ListBrokers", {}).n("MqClient", "ListBrokersCommand").f(void 0, void 0).ser(se_ListBrokersCommand).de(de_ListBrokersCommand).build() {
1834
+ static {
1835
+ __name(this, "ListBrokersCommand");
1836
+ }
1749
1837
  };
1750
- __name(_ListBrokersCommand, "ListBrokersCommand");
1751
- var ListBrokersCommand = _ListBrokersCommand;
1752
1838
 
1753
1839
  // src/commands/ListConfigurationRevisionsCommand.ts
1754
1840
 
1755
1841
 
1756
1842
 
1757
- var _ListConfigurationRevisionsCommand = class _ListConfigurationRevisionsCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1843
+ var ListConfigurationRevisionsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1758
1844
  return [
1759
1845
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1760
1846
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1761
1847
  ];
1762
1848
  }).s("mq", "ListConfigurationRevisions", {}).n("MqClient", "ListConfigurationRevisionsCommand").f(void 0, void 0).ser(se_ListConfigurationRevisionsCommand).de(de_ListConfigurationRevisionsCommand).build() {
1849
+ static {
1850
+ __name(this, "ListConfigurationRevisionsCommand");
1851
+ }
1763
1852
  };
1764
- __name(_ListConfigurationRevisionsCommand, "ListConfigurationRevisionsCommand");
1765
- var ListConfigurationRevisionsCommand = _ListConfigurationRevisionsCommand;
1766
1853
 
1767
1854
  // src/commands/ListConfigurationsCommand.ts
1768
1855
 
1769
1856
 
1770
1857
 
1771
- var _ListConfigurationsCommand = class _ListConfigurationsCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1858
+ var ListConfigurationsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1772
1859
  return [
1773
1860
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1774
1861
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1775
1862
  ];
1776
1863
  }).s("mq", "ListConfigurations", {}).n("MqClient", "ListConfigurationsCommand").f(void 0, void 0).ser(se_ListConfigurationsCommand).de(de_ListConfigurationsCommand).build() {
1864
+ static {
1865
+ __name(this, "ListConfigurationsCommand");
1866
+ }
1777
1867
  };
1778
- __name(_ListConfigurationsCommand, "ListConfigurationsCommand");
1779
- var ListConfigurationsCommand = _ListConfigurationsCommand;
1780
1868
 
1781
1869
  // src/commands/ListTagsCommand.ts
1782
1870
 
1783
1871
 
1784
1872
 
1785
- var _ListTagsCommand = class _ListTagsCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1873
+ var ListTagsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1786
1874
  return [
1787
1875
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1788
1876
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1789
1877
  ];
1790
1878
  }).s("mq", "ListTags", {}).n("MqClient", "ListTagsCommand").f(void 0, void 0).ser(se_ListTagsCommand).de(de_ListTagsCommand).build() {
1879
+ static {
1880
+ __name(this, "ListTagsCommand");
1881
+ }
1791
1882
  };
1792
- __name(_ListTagsCommand, "ListTagsCommand");
1793
- var ListTagsCommand = _ListTagsCommand;
1794
1883
 
1795
1884
  // src/commands/ListUsersCommand.ts
1796
1885
 
1797
1886
 
1798
1887
 
1799
- var _ListUsersCommand = class _ListUsersCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1888
+ var ListUsersCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1800
1889
  return [
1801
1890
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1802
1891
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1803
1892
  ];
1804
1893
  }).s("mq", "ListUsers", {}).n("MqClient", "ListUsersCommand").f(void 0, void 0).ser(se_ListUsersCommand).de(de_ListUsersCommand).build() {
1894
+ static {
1895
+ __name(this, "ListUsersCommand");
1896
+ }
1805
1897
  };
1806
- __name(_ListUsersCommand, "ListUsersCommand");
1807
- var ListUsersCommand = _ListUsersCommand;
1808
1898
 
1809
1899
  // src/commands/PromoteCommand.ts
1810
1900
 
1811
1901
 
1812
1902
 
1813
- var _PromoteCommand = class _PromoteCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1903
+ var PromoteCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1814
1904
  return [
1815
1905
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1816
1906
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1817
1907
  ];
1818
1908
  }).s("mq", "Promote", {}).n("MqClient", "PromoteCommand").f(void 0, void 0).ser(se_PromoteCommand).de(de_PromoteCommand).build() {
1909
+ static {
1910
+ __name(this, "PromoteCommand");
1911
+ }
1819
1912
  };
1820
- __name(_PromoteCommand, "PromoteCommand");
1821
- var PromoteCommand = _PromoteCommand;
1822
1913
 
1823
1914
  // src/commands/RebootBrokerCommand.ts
1824
1915
 
1825
1916
 
1826
1917
 
1827
- var _RebootBrokerCommand = class _RebootBrokerCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1918
+ var RebootBrokerCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1828
1919
  return [
1829
1920
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1830
1921
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1831
1922
  ];
1832
1923
  }).s("mq", "RebootBroker", {}).n("MqClient", "RebootBrokerCommand").f(void 0, void 0).ser(se_RebootBrokerCommand).de(de_RebootBrokerCommand).build() {
1924
+ static {
1925
+ __name(this, "RebootBrokerCommand");
1926
+ }
1833
1927
  };
1834
- __name(_RebootBrokerCommand, "RebootBrokerCommand");
1835
- var RebootBrokerCommand = _RebootBrokerCommand;
1836
1928
 
1837
1929
  // src/commands/UpdateBrokerCommand.ts
1838
1930
 
1839
1931
 
1840
1932
 
1841
- var _UpdateBrokerCommand = class _UpdateBrokerCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1933
+ var UpdateBrokerCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1842
1934
  return [
1843
1935
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1844
1936
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1845
1937
  ];
1846
1938
  }).s("mq", "UpdateBroker", {}).n("MqClient", "UpdateBrokerCommand").f(void 0, void 0).ser(se_UpdateBrokerCommand).de(de_UpdateBrokerCommand).build() {
1939
+ static {
1940
+ __name(this, "UpdateBrokerCommand");
1941
+ }
1847
1942
  };
1848
- __name(_UpdateBrokerCommand, "UpdateBrokerCommand");
1849
- var UpdateBrokerCommand = _UpdateBrokerCommand;
1850
1943
 
1851
1944
  // src/commands/UpdateConfigurationCommand.ts
1852
1945
 
1853
1946
 
1854
1947
 
1855
- var _UpdateConfigurationCommand = class _UpdateConfigurationCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1948
+ var UpdateConfigurationCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1856
1949
  return [
1857
1950
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1858
1951
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1859
1952
  ];
1860
1953
  }).s("mq", "UpdateConfiguration", {}).n("MqClient", "UpdateConfigurationCommand").f(void 0, void 0).ser(se_UpdateConfigurationCommand).de(de_UpdateConfigurationCommand).build() {
1954
+ static {
1955
+ __name(this, "UpdateConfigurationCommand");
1956
+ }
1861
1957
  };
1862
- __name(_UpdateConfigurationCommand, "UpdateConfigurationCommand");
1863
- var UpdateConfigurationCommand = _UpdateConfigurationCommand;
1864
1958
 
1865
1959
  // src/commands/UpdateUserCommand.ts
1866
1960
 
1867
1961
 
1868
1962
 
1869
- var _UpdateUserCommand = class _UpdateUserCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1963
+ var UpdateUserCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1870
1964
  return [
1871
1965
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1872
1966
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1873
1967
  ];
1874
1968
  }).s("mq", "UpdateUser", {}).n("MqClient", "UpdateUserCommand").f(void 0, void 0).ser(se_UpdateUserCommand).de(de_UpdateUserCommand).build() {
1969
+ static {
1970
+ __name(this, "UpdateUserCommand");
1971
+ }
1875
1972
  };
1876
- __name(_UpdateUserCommand, "UpdateUserCommand");
1877
- var UpdateUserCommand = _UpdateUserCommand;
1878
1973
 
1879
1974
  // src/Mq.ts
1880
1975
  var commands = {
@@ -1902,10 +1997,11 @@ var commands = {
1902
1997
  UpdateConfigurationCommand,
1903
1998
  UpdateUserCommand
1904
1999
  };
1905
- var _Mq = class _Mq extends MqClient {
2000
+ var Mq = class extends MqClient {
2001
+ static {
2002
+ __name(this, "Mq");
2003
+ }
1906
2004
  };
1907
- __name(_Mq, "Mq");
1908
- var Mq = _Mq;
1909
2005
  (0, import_smithy_client.createAggregatedClient)(commands, Mq);
1910
2006
 
1911
2007
  // src/pagination/ListBrokersPaginator.ts
@@ -14,6 +14,7 @@ import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
14
14
  import { resolveRuntimeExtensions } from "./runtimeExtensions";
15
15
  export { __Client };
16
16
  export class MqClient extends __Client {
17
+ config;
17
18
  constructor(...[configuration]) {
18
19
  const _config_0 = __getRuntimeConfig(configuration || {});
19
20
  const _config_1 = resolveClientEndpointParameters(_config_0);
@@ -36,28 +36,32 @@ export const ChangeType = {
36
36
  UPDATE: "UPDATE",
37
37
  };
38
38
  export class BadRequestException extends __BaseException {
39
+ name = "BadRequestException";
40
+ $fault = "client";
41
+ ErrorAttribute;
42
+ Message;
39
43
  constructor(opts) {
40
44
  super({
41
45
  name: "BadRequestException",
42
46
  $fault: "client",
43
47
  ...opts,
44
48
  });
45
- this.name = "BadRequestException";
46
- this.$fault = "client";
47
49
  Object.setPrototypeOf(this, BadRequestException.prototype);
48
50
  this.ErrorAttribute = opts.ErrorAttribute;
49
51
  this.Message = opts.Message;
50
52
  }
51
53
  }
52
54
  export class ConflictException extends __BaseException {
55
+ name = "ConflictException";
56
+ $fault = "client";
57
+ ErrorAttribute;
58
+ Message;
53
59
  constructor(opts) {
54
60
  super({
55
61
  name: "ConflictException",
56
62
  $fault: "client",
57
63
  ...opts,
58
64
  });
59
- this.name = "ConflictException";
60
- this.$fault = "client";
61
65
  Object.setPrototypeOf(this, ConflictException.prototype);
62
66
  this.ErrorAttribute = opts.ErrorAttribute;
63
67
  this.Message = opts.Message;
@@ -77,56 +81,64 @@ export const DayOfWeek = {
77
81
  WEDNESDAY: "WEDNESDAY",
78
82
  };
79
83
  export class ForbiddenException extends __BaseException {
84
+ name = "ForbiddenException";
85
+ $fault = "client";
86
+ ErrorAttribute;
87
+ Message;
80
88
  constructor(opts) {
81
89
  super({
82
90
  name: "ForbiddenException",
83
91
  $fault: "client",
84
92
  ...opts,
85
93
  });
86
- this.name = "ForbiddenException";
87
- this.$fault = "client";
88
94
  Object.setPrototypeOf(this, ForbiddenException.prototype);
89
95
  this.ErrorAttribute = opts.ErrorAttribute;
90
96
  this.Message = opts.Message;
91
97
  }
92
98
  }
93
99
  export class InternalServerErrorException extends __BaseException {
100
+ name = "InternalServerErrorException";
101
+ $fault = "server";
102
+ ErrorAttribute;
103
+ Message;
94
104
  constructor(opts) {
95
105
  super({
96
106
  name: "InternalServerErrorException",
97
107
  $fault: "server",
98
108
  ...opts,
99
109
  });
100
- this.name = "InternalServerErrorException";
101
- this.$fault = "server";
102
110
  Object.setPrototypeOf(this, InternalServerErrorException.prototype);
103
111
  this.ErrorAttribute = opts.ErrorAttribute;
104
112
  this.Message = opts.Message;
105
113
  }
106
114
  }
107
115
  export class UnauthorizedException extends __BaseException {
116
+ name = "UnauthorizedException";
117
+ $fault = "client";
118
+ ErrorAttribute;
119
+ Message;
108
120
  constructor(opts) {
109
121
  super({
110
122
  name: "UnauthorizedException",
111
123
  $fault: "client",
112
124
  ...opts,
113
125
  });
114
- this.name = "UnauthorizedException";
115
- this.$fault = "client";
116
126
  Object.setPrototypeOf(this, UnauthorizedException.prototype);
117
127
  this.ErrorAttribute = opts.ErrorAttribute;
118
128
  this.Message = opts.Message;
119
129
  }
120
130
  }
121
131
  export class NotFoundException extends __BaseException {
132
+ name = "NotFoundException";
133
+ $fault = "client";
134
+ ErrorAttribute;
135
+ Message;
122
136
  constructor(opts) {
123
137
  super({
124
138
  name: "NotFoundException",
125
139
  $fault: "client",
126
140
  ...opts,
127
141
  });
128
- this.name = "NotFoundException";
129
- this.$fault = "client";
130
142
  Object.setPrototypeOf(this, NotFoundException.prototype);
131
143
  this.ErrorAttribute = opts.ErrorAttribute;
132
144
  this.Message = opts.Message;
@@ -7,7 +7,7 @@ export declare const getRuntimeConfig: (config: MqClientConfig) => {
7
7
  runtime: string;
8
8
  defaultsMode: import("@smithy/types").Provider<import("@smithy/smithy-client").ResolvedDefaultsMode>;
9
9
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
10
- credentialDefaultProvider: (input: any) => import("@smithy/types").AwsCredentialIdentityProvider;
10
+ credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
11
11
  defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved | undefined) => Promise<import("@smithy/types").UserAgent>;
12
12
  maxAttempts: number | import("@smithy/types").Provider<number>;
13
13
  region: string | import("@smithy/types").Provider<any>;
@@ -7,7 +7,7 @@ export declare const getRuntimeConfig: (config: MqClientConfig) => {
7
7
  runtime: string;
8
8
  defaultsMode: import("@smithy/types").Provider<import("@smithy/smithy-client").ResolvedDefaultsMode>;
9
9
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
10
- credentialDefaultProvider: (init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit | undefined) => import("@smithy/types").MemoizedProvider<import("@smithy/types").AwsCredentialIdentity>;
10
+ credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit | undefined) => import("@smithy/types").MemoizedProvider<import("@smithy/types").AwsCredentialIdentity>);
11
11
  defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-node").PreviouslyResolved | undefined) => Promise<import("@smithy/types").UserAgent>;
12
12
  maxAttempts: number | import("@smithy/types").Provider<number>;
13
13
  region: string | import("@smithy/types").Provider<string>;
@@ -22,7 +22,7 @@ export declare const getRuntimeConfig: (config: MqClientConfig) => {
22
22
  region: string | import("@smithy/types").Provider<any>;
23
23
  profile?: string | undefined;
24
24
  defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved | undefined) => Promise<import("@smithy/types").UserAgent>;
25
- credentialDefaultProvider: (input: any) => import("@smithy/types").AwsCredentialIdentityProvider;
25
+ credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
26
26
  maxAttempts: number | import("@smithy/types").Provider<number>;
27
27
  retryMode: string | import("@smithy/types").Provider<string>;
28
28
  logger: import("@smithy/types").Logger;
@@ -31,7 +31,7 @@ export declare const getRuntimeConfig: (config: MqClientConfig) => {
31
31
  customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
32
32
  userAgentAppId?: string | import("@smithy/types").Provider<string | undefined> | undefined;
33
33
  retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
34
- endpoint?: string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2> | undefined;
34
+ endpoint?: ((string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>) & (string | import("@smithy/types").Provider<string> | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>)) | undefined;
35
35
  endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
36
36
  logger?: import("@smithy/types").Logger | undefined;
37
37
  }) => import("@smithy/types").EndpointV2;
@@ -6,9 +6,11 @@ export declare const getRuntimeConfig: (config: MqClientConfig) => {
6
6
  import("@smithy/smithy-client").ResolvedDefaultsMode
7
7
  >;
8
8
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
9
- credentialDefaultProvider: (
10
- input: any
11
- ) => import("@smithy/types").AwsCredentialIdentityProvider;
9
+ credentialDefaultProvider:
10
+ | ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
11
+ | ((
12
+ _: unknown
13
+ ) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
12
14
  defaultUserAgentProvider: (
13
15
  config?:
14
16
  | import("@aws-sdk/util-user-agent-browser").PreviouslyResolved
@@ -6,13 +6,15 @@ export declare const getRuntimeConfig: (config: MqClientConfig) => {
6
6
  import("@smithy/smithy-client").ResolvedDefaultsMode
7
7
  >;
8
8
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
9
- credentialDefaultProvider: (
10
- init?:
11
- | import("@aws-sdk/credential-provider-node").DefaultProviderInit
12
- | undefined
13
- ) => import("@smithy/types").MemoizedProvider<
14
- import("@smithy/types").AwsCredentialIdentity
15
- >;
9
+ credentialDefaultProvider:
10
+ | ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
11
+ | ((
12
+ init?:
13
+ | import("@aws-sdk/credential-provider-node").DefaultProviderInit
14
+ | undefined
15
+ ) => import("@smithy/types").MemoizedProvider<
16
+ import("@smithy/types").AwsCredentialIdentity
17
+ >);
16
18
  defaultUserAgentProvider: (
17
19
  config?:
18
20
  | import("@aws-sdk/util-user-agent-node").PreviouslyResolved
@@ -28,9 +28,11 @@ export declare const getRuntimeConfig: (config: MqClientConfig) => {
28
28
  | import("@aws-sdk/util-user-agent-browser").PreviouslyResolved
29
29
  | undefined
30
30
  ) => Promise<import("@smithy/types").UserAgent>;
31
- credentialDefaultProvider: (
32
- input: any
33
- ) => import("@smithy/types").AwsCredentialIdentityProvider;
31
+ credentialDefaultProvider:
32
+ | ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
33
+ | ((
34
+ _: unknown
35
+ ) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
34
36
  maxAttempts: number | import("@smithy/types").Provider<number>;
35
37
  retryMode: string | import("@smithy/types").Provider<string>;
36
38
  logger: import("@smithy/types").Logger;
@@ -50,11 +52,21 @@ export declare const getRuntimeConfig: (config: MqClientConfig) => {
50
52
  | import("@smithy/types").RetryStrategyV2
51
53
  | undefined;
52
54
  endpoint?:
53
- | string
54
- | import("@smithy/types").Endpoint
55
- | import("@smithy/types").Provider<import("@smithy/types").Endpoint>
56
- | import("@smithy/types").EndpointV2
57
- | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
55
+ | ((
56
+ | string
57
+ | import("@smithy/types").Endpoint
58
+ | import("@smithy/types").Provider<import("@smithy/types").Endpoint>
59
+ | import("@smithy/types").EndpointV2
60
+ | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
61
+ ) &
62
+ (
63
+ | string
64
+ | import("@smithy/types").Provider<string>
65
+ | import("@smithy/types").Endpoint
66
+ | import("@smithy/types").Provider<import("@smithy/types").Endpoint>
67
+ | import("@smithy/types").EndpointV2
68
+ | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
69
+ ))
58
70
  | undefined;
59
71
  endpointProvider: (
60
72
  endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-mq",
3
3
  "description": "AWS SDK for JavaScript Mq Client for Node.js, Browser and React Native",
4
- "version": "3.721.0",
4
+ "version": "3.726.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-mq",
@@ -20,58 +20,58 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/client-sso-oidc": "3.721.0",
24
- "@aws-sdk/client-sts": "3.721.0",
25
- "@aws-sdk/core": "3.716.0",
26
- "@aws-sdk/credential-provider-node": "3.721.0",
27
- "@aws-sdk/middleware-host-header": "3.714.0",
28
- "@aws-sdk/middleware-logger": "3.714.0",
29
- "@aws-sdk/middleware-recursion-detection": "3.714.0",
30
- "@aws-sdk/middleware-user-agent": "3.721.0",
31
- "@aws-sdk/region-config-resolver": "3.714.0",
32
- "@aws-sdk/types": "3.714.0",
33
- "@aws-sdk/util-endpoints": "3.714.0",
34
- "@aws-sdk/util-user-agent-browser": "3.714.0",
35
- "@aws-sdk/util-user-agent-node": "3.721.0",
36
- "@smithy/config-resolver": "^3.0.13",
37
- "@smithy/core": "^2.5.5",
38
- "@smithy/fetch-http-handler": "^4.1.2",
39
- "@smithy/hash-node": "^3.0.11",
40
- "@smithy/invalid-dependency": "^3.0.11",
41
- "@smithy/middleware-content-length": "^3.0.13",
42
- "@smithy/middleware-endpoint": "^3.2.6",
43
- "@smithy/middleware-retry": "^3.0.31",
44
- "@smithy/middleware-serde": "^3.0.11",
45
- "@smithy/middleware-stack": "^3.0.11",
46
- "@smithy/node-config-provider": "^3.1.12",
47
- "@smithy/node-http-handler": "^3.3.2",
48
- "@smithy/protocol-http": "^4.1.8",
49
- "@smithy/smithy-client": "^3.5.1",
50
- "@smithy/types": "^3.7.2",
51
- "@smithy/url-parser": "^3.0.11",
52
- "@smithy/util-base64": "^3.0.0",
53
- "@smithy/util-body-length-browser": "^3.0.0",
54
- "@smithy/util-body-length-node": "^3.0.0",
55
- "@smithy/util-defaults-mode-browser": "^3.0.31",
56
- "@smithy/util-defaults-mode-node": "^3.0.31",
57
- "@smithy/util-endpoints": "^2.1.7",
58
- "@smithy/util-middleware": "^3.0.11",
59
- "@smithy/util-retry": "^3.0.11",
60
- "@smithy/util-utf8": "^3.0.0",
23
+ "@aws-sdk/client-sso-oidc": "3.726.0",
24
+ "@aws-sdk/client-sts": "3.726.0",
25
+ "@aws-sdk/core": "3.723.0",
26
+ "@aws-sdk/credential-provider-node": "3.726.0",
27
+ "@aws-sdk/middleware-host-header": "3.723.0",
28
+ "@aws-sdk/middleware-logger": "3.723.0",
29
+ "@aws-sdk/middleware-recursion-detection": "3.723.0",
30
+ "@aws-sdk/middleware-user-agent": "3.726.0",
31
+ "@aws-sdk/region-config-resolver": "3.723.0",
32
+ "@aws-sdk/types": "3.723.0",
33
+ "@aws-sdk/util-endpoints": "3.726.0",
34
+ "@aws-sdk/util-user-agent-browser": "3.723.0",
35
+ "@aws-sdk/util-user-agent-node": "3.726.0",
36
+ "@smithy/config-resolver": "^4.0.0",
37
+ "@smithy/core": "^3.0.0",
38
+ "@smithy/fetch-http-handler": "^5.0.0",
39
+ "@smithy/hash-node": "^4.0.0",
40
+ "@smithy/invalid-dependency": "^4.0.0",
41
+ "@smithy/middleware-content-length": "^4.0.0",
42
+ "@smithy/middleware-endpoint": "^4.0.0",
43
+ "@smithy/middleware-retry": "^4.0.0",
44
+ "@smithy/middleware-serde": "^4.0.0",
45
+ "@smithy/middleware-stack": "^4.0.0",
46
+ "@smithy/node-config-provider": "^4.0.0",
47
+ "@smithy/node-http-handler": "^4.0.0",
48
+ "@smithy/protocol-http": "^5.0.0",
49
+ "@smithy/smithy-client": "^4.0.0",
50
+ "@smithy/types": "^4.0.0",
51
+ "@smithy/url-parser": "^4.0.0",
52
+ "@smithy/util-base64": "^4.0.0",
53
+ "@smithy/util-body-length-browser": "^4.0.0",
54
+ "@smithy/util-body-length-node": "^4.0.0",
55
+ "@smithy/util-defaults-mode-browser": "^4.0.0",
56
+ "@smithy/util-defaults-mode-node": "^4.0.0",
57
+ "@smithy/util-endpoints": "^3.0.0",
58
+ "@smithy/util-middleware": "^4.0.0",
59
+ "@smithy/util-retry": "^4.0.0",
60
+ "@smithy/util-utf8": "^4.0.0",
61
61
  "@types/uuid": "^9.0.1",
62
62
  "tslib": "^2.6.2",
63
63
  "uuid": "^9.0.1"
64
64
  },
65
65
  "devDependencies": {
66
- "@tsconfig/node16": "16.1.3",
67
- "@types/node": "^16.18.96",
66
+ "@tsconfig/node18": "18.2.4",
67
+ "@types/node": "^18.19.69",
68
68
  "concurrently": "7.0.0",
69
69
  "downlevel-dts": "0.10.1",
70
70
  "rimraf": "3.0.2",
71
- "typescript": "~4.9.5"
71
+ "typescript": "~5.2.2"
72
72
  },
73
73
  "engines": {
74
- "node": ">=16.0.0"
74
+ "node": ">=18.0.0"
75
75
  },
76
76
  "typesVersions": {
77
77
  "<4.0": {