@aws-sdk/client-mq 3.95.0 → 3.105.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/CHANGELOG.md CHANGED
@@ -3,6 +3,33 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [3.105.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.104.0...v3.105.0) (2022-06-06)
7
+
8
+
9
+ ### Features
10
+
11
+ * **clients:** support recursion detection in Lambda ([#3654](https://github.com/aws/aws-sdk-js-v3/issues/3654)) ([ecfe46e](https://github.com/aws/aws-sdk-js-v3/commit/ecfe46ea1fd8b6e3812b75b3dc6c03554fb4b3fa))
12
+
13
+
14
+
15
+
16
+
17
+ # [3.100.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.99.0...v3.100.0) (2022-05-26)
18
+
19
+ **Note:** Version bump only for package @aws-sdk/client-mq
20
+
21
+
22
+
23
+
24
+
25
+ # [3.99.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.98.0...v3.99.0) (2022-05-25)
26
+
27
+ **Note:** Version bump only for package @aws-sdk/client-mq
28
+
29
+
30
+
31
+
32
+
6
33
  # [3.95.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.94.0...v3.95.0) (2022-05-19)
7
34
 
8
35
  **Note:** Version bump only for package @aws-sdk/client-mq
@@ -5,6 +5,7 @@ const config_resolver_1 = require("@aws-sdk/config-resolver");
5
5
  const middleware_content_length_1 = require("@aws-sdk/middleware-content-length");
6
6
  const middleware_host_header_1 = require("@aws-sdk/middleware-host-header");
7
7
  const middleware_logger_1 = require("@aws-sdk/middleware-logger");
8
+ const middleware_recursion_detection_1 = require("@aws-sdk/middleware-recursion-detection");
8
9
  const middleware_retry_1 = require("@aws-sdk/middleware-retry");
9
10
  const middleware_signing_1 = require("@aws-sdk/middleware-signing");
10
11
  const middleware_user_agent_1 = require("@aws-sdk/middleware-user-agent");
@@ -25,6 +26,7 @@ class MqClient extends smithy_client_1.Client {
25
26
  this.middlewareStack.use((0, middleware_content_length_1.getContentLengthPlugin)(this.config));
26
27
  this.middlewareStack.use((0, middleware_host_header_1.getHostHeaderPlugin)(this.config));
27
28
  this.middlewareStack.use((0, middleware_logger_1.getLoggerPlugin)(this.config));
29
+ this.middlewareStack.use((0, middleware_recursion_detection_1.getRecursionDetectionPlugin)(this.config));
28
30
  this.middlewareStack.use((0, middleware_signing_1.getAwsAuthPlugin)(this.config));
29
31
  this.middlewareStack.use((0, middleware_user_agent_1.getUserAgentPlugin)(this.config));
30
32
  }
@@ -17,8 +17,10 @@ const util_utf8_node_1 = require("@aws-sdk/util-utf8-node");
17
17
  const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
18
18
  const smithy_client_1 = require("@aws-sdk/smithy-client");
19
19
  const util_defaults_mode_node_1 = require("@aws-sdk/util-defaults-mode-node");
20
+ const smithy_client_2 = require("@aws-sdk/smithy-client");
20
21
  const getRuntimeConfig = (config) => {
21
22
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
23
+ (0, smithy_client_2.emitWarningIfUnsupportedVersion)(process.version);
22
24
  const defaultsMode = (0, util_defaults_mode_node_1.resolveDefaultsModeConfig)(config);
23
25
  const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
24
26
  const clientSharedValues = (0, runtimeConfig_shared_1.getRuntimeConfig)(config);
@@ -3,6 +3,7 @@ import { resolveEndpointsConfig, resolveRegionConfig, } from "@aws-sdk/config-re
3
3
  import { getContentLengthPlugin } from "@aws-sdk/middleware-content-length";
4
4
  import { getHostHeaderPlugin, resolveHostHeaderConfig, } from "@aws-sdk/middleware-host-header";
5
5
  import { getLoggerPlugin } from "@aws-sdk/middleware-logger";
6
+ import { getRecursionDetectionPlugin } from "@aws-sdk/middleware-recursion-detection";
6
7
  import { getRetryPlugin, resolveRetryConfig } from "@aws-sdk/middleware-retry";
7
8
  import { getAwsAuthPlugin, resolveAwsAuthConfig, } from "@aws-sdk/middleware-signing";
8
9
  import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware-user-agent";
@@ -25,6 +26,7 @@ var MqClient = (function (_super) {
25
26
  _this.middlewareStack.use(getContentLengthPlugin(_this.config));
26
27
  _this.middlewareStack.use(getHostHeaderPlugin(_this.config));
27
28
  _this.middlewareStack.use(getLoggerPlugin(_this.config));
29
+ _this.middlewareStack.use(getRecursionDetectionPlugin(_this.config));
28
30
  _this.middlewareStack.use(getAwsAuthPlugin(_this.config));
29
31
  _this.middlewareStack.use(getUserAgentPlugin(_this.config));
30
32
  return _this;
@@ -14,8 +14,10 @@ import { fromUtf8, toUtf8 } from "@aws-sdk/util-utf8-node";
14
14
  import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
15
15
  import { loadConfigsForDefaultMode } from "@aws-sdk/smithy-client";
16
16
  import { resolveDefaultsModeConfig } from "@aws-sdk/util-defaults-mode-node";
17
+ import { emitWarningIfUnsupportedVersion } from "@aws-sdk/smithy-client";
17
18
  export var getRuntimeConfig = function (config) {
18
19
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
20
+ emitWarningIfUnsupportedVersion(process.version);
19
21
  var defaultsMode = resolveDefaultsModeConfig(config);
20
22
  var defaultConfigProvider = function () { return defaultsMode().then(loadConfigsForDefaultMode); };
21
23
  var clientSharedValues = getSharedRuntimeConfig(config);
@@ -260,9 +260,7 @@ export interface Configuration {
260
260
  /**
261
261
  * <p>The list of all tags associated with this configuration.</p>
262
262
  */
263
- Tags?: {
264
- [key: string]: string;
265
- };
263
+ Tags?: Record<string, string>;
266
264
  }
267
265
  export declare namespace Configuration {
268
266
  /**
@@ -634,9 +632,7 @@ export interface CreateBrokerRequest {
634
632
  /**
635
633
  * <p>Create tags when creating the broker.</p>
636
634
  */
637
- Tags?: {
638
- [key: string]: string;
639
- };
635
+ Tags?: Record<string, string>;
640
636
  /**
641
637
  * <p>Required. The list of broker users (persons or applications) who can access queues and topics. This value can contain only alphanumeric characters, dashes, periods, underscores, and tildes (- . _ ~). This value must be 2-100 characters long.</p> <important><title>Amazon MQ for RabbitMQ</title> <p>When you create an Amazon MQ for RabbitMQ broker, one and only one administrative user is accepted and created when a broker is first provisioned. All subsequent broker users are created by making RabbitMQ API calls directly to brokers or via the RabbitMQ web console.</p></important>
642
638
  */
@@ -744,9 +740,7 @@ export interface CreateConfigurationRequest {
744
740
  /**
745
741
  * <p>Create tags when creating the configuration.</p>
746
742
  */
747
- Tags?: {
748
- [key: string]: string;
749
- };
743
+ Tags?: Record<string, string>;
750
744
  }
751
745
  export declare namespace CreateConfigurationRequest {
752
746
  /**
@@ -797,9 +791,7 @@ export interface CreateTagsRequest {
797
791
  /**
798
792
  * <p>The key-value pair for the resource tag.</p>
799
793
  */
800
- Tags?: {
801
- [key: string]: string;
802
- };
794
+ Tags?: Record<string, string>;
803
795
  }
804
796
  export declare namespace CreateTagsRequest {
805
797
  /**
@@ -1158,9 +1150,7 @@ export interface DescribeBrokerResponse {
1158
1150
  /**
1159
1151
  * <p>The list of all tags associated with this broker.</p>
1160
1152
  */
1161
- Tags?: {
1162
- [key: string]: string;
1163
- };
1153
+ Tags?: Record<string, string>;
1164
1154
  /**
1165
1155
  * <p>The list of all broker usernames for the specified broker.</p>
1166
1156
  */
@@ -1312,9 +1302,7 @@ export interface DescribeConfigurationResponse {
1312
1302
  /**
1313
1303
  * <p>The list of all tags associated with this configuration.</p>
1314
1304
  */
1315
- Tags?: {
1316
- [key: string]: string;
1317
- };
1305
+ Tags?: Record<string, string>;
1318
1306
  }
1319
1307
  export declare namespace DescribeConfigurationResponse {
1320
1308
  /**
@@ -1557,9 +1545,7 @@ export interface ListTagsResponse {
1557
1545
  /**
1558
1546
  * <p>The key-value pair for the resource tag.</p>
1559
1547
  */
1560
- Tags?: {
1561
- [key: string]: string;
1562
- };
1548
+ Tags?: Record<string, string>;
1563
1549
  }
1564
1550
  export declare namespace ListTagsResponse {
1565
1551
  /**
@@ -154,9 +154,7 @@ export interface Configuration {
154
154
 
155
155
  Name: string | undefined;
156
156
 
157
- Tags?: {
158
- [key: string]: string;
159
- };
157
+ Tags?: Record<string, string>;
160
158
  }
161
159
  export declare namespace Configuration {
162
160
 
@@ -367,9 +365,7 @@ export interface CreateBrokerRequest {
367
365
 
368
366
  SubnetIds?: string[];
369
367
 
370
- Tags?: {
371
- [key: string]: string;
372
- };
368
+ Tags?: Record<string, string>;
373
369
 
374
370
  Users: User[] | undefined;
375
371
  }
@@ -431,9 +427,7 @@ export interface CreateConfigurationRequest {
431
427
 
432
428
  Name: string | undefined;
433
429
 
434
- Tags?: {
435
- [key: string]: string;
436
- };
430
+ Tags?: Record<string, string>;
437
431
  }
438
432
  export declare namespace CreateConfigurationRequest {
439
433
 
@@ -462,9 +456,7 @@ export interface CreateTagsRequest {
462
456
 
463
457
  ResourceArn: string | undefined;
464
458
 
465
- Tags?: {
466
- [key: string]: string;
467
- };
459
+ Tags?: Record<string, string>;
468
460
  }
469
461
  export declare namespace CreateTagsRequest {
470
462
 
@@ -665,9 +657,7 @@ export interface DescribeBrokerResponse {
665
657
 
666
658
  SubnetIds?: string[];
667
659
 
668
- Tags?: {
669
- [key: string]: string;
670
- };
660
+ Tags?: Record<string, string>;
671
661
 
672
662
  Users?: UserSummary[];
673
663
  }
@@ -755,9 +745,7 @@ export interface DescribeConfigurationResponse {
755
745
 
756
746
  Name?: string;
757
747
 
758
- Tags?: {
759
- [key: string]: string;
760
- };
748
+ Tags?: Record<string, string>;
761
749
  }
762
750
  export declare namespace DescribeConfigurationResponse {
763
751
 
@@ -904,9 +892,7 @@ export declare namespace ListTagsRequest {
904
892
  }
905
893
  export interface ListTagsResponse {
906
894
 
907
- Tags?: {
908
- [key: string]: string;
909
- };
895
+ Tags?: Record<string, string>;
910
896
  }
911
897
  export declare namespace ListTagsResponse {
912
898
 
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.95.0",
4
+ "version": "3.105.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -18,15 +18,16 @@
18
18
  "dependencies": {
19
19
  "@aws-crypto/sha256-browser": "2.0.0",
20
20
  "@aws-crypto/sha256-js": "2.0.0",
21
- "@aws-sdk/client-sts": "3.95.0",
21
+ "@aws-sdk/client-sts": "3.105.0",
22
22
  "@aws-sdk/config-resolver": "3.80.0",
23
- "@aws-sdk/credential-provider-node": "3.95.0",
23
+ "@aws-sdk/credential-provider-node": "3.105.0",
24
24
  "@aws-sdk/fetch-http-handler": "3.78.0",
25
25
  "@aws-sdk/hash-node": "3.78.0",
26
26
  "@aws-sdk/invalid-dependency": "3.78.0",
27
27
  "@aws-sdk/middleware-content-length": "3.78.0",
28
28
  "@aws-sdk/middleware-host-header": "3.78.0",
29
29
  "@aws-sdk/middleware-logger": "3.78.0",
30
+ "@aws-sdk/middleware-recursion-detection": "3.105.0",
30
31
  "@aws-sdk/middleware-retry": "3.80.0",
31
32
  "@aws-sdk/middleware-serde": "3.78.0",
32
33
  "@aws-sdk/middleware-signing": "3.78.0",
@@ -35,15 +36,15 @@
35
36
  "@aws-sdk/node-config-provider": "3.80.0",
36
37
  "@aws-sdk/node-http-handler": "3.94.0",
37
38
  "@aws-sdk/protocol-http": "3.78.0",
38
- "@aws-sdk/smithy-client": "3.85.0",
39
+ "@aws-sdk/smithy-client": "3.99.0",
39
40
  "@aws-sdk/types": "3.78.0",
40
41
  "@aws-sdk/url-parser": "3.78.0",
41
42
  "@aws-sdk/util-base64-browser": "3.58.0",
42
43
  "@aws-sdk/util-base64-node": "3.55.0",
43
44
  "@aws-sdk/util-body-length-browser": "3.55.0",
44
45
  "@aws-sdk/util-body-length-node": "3.55.0",
45
- "@aws-sdk/util-defaults-mode-browser": "3.85.0",
46
- "@aws-sdk/util-defaults-mode-node": "3.85.0",
46
+ "@aws-sdk/util-defaults-mode-browser": "3.99.0",
47
+ "@aws-sdk/util-defaults-mode-node": "3.99.0",
47
48
  "@aws-sdk/util-user-agent-browser": "3.78.0",
48
49
  "@aws-sdk/util-user-agent-node": "3.80.0",
49
50
  "@aws-sdk/util-utf8-browser": "3.55.0",