@aws-sdk/client-iot 3.1040.0 → 3.1041.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.
@@ -1262,7 +1262,8 @@ const _au = "auth";
1262
1262
  const _aut = "authorizers";
1263
1263
  const _av = "average";
1264
1264
  const _b = "behavior";
1265
- const _bAT = "bucketsAggregationType";
1265
+ const _bAT = "batchAcrossTopics";
1266
+ const _bATu = "bucketsAggregationType";
1266
1267
  const _bC = "batchConfig";
1267
1268
  const _bCT = "behaviorCriteriaType";
1268
1269
  const _bG = "billingGroups";
@@ -2429,8 +2430,8 @@ exports.AwsJsonSubstitutionCommandPreprocessorConfig$ = [3, n0, _AJSCPC,
2429
2430
  ];
2430
2431
  exports.BatchConfig$ = [3, n0, _BC,
2431
2432
  0,
2432
- [_mBOM, _mBS, _mBSB],
2433
- [1, 1, 1]
2433
+ [_mBOM, _mBS, _mBSB, _bAT],
2434
+ [1, 1, 1, 2]
2434
2435
  ];
2435
2436
  exports.Behavior$ = [3, n0, _B,
2436
2437
  0,
@@ -3824,7 +3825,7 @@ exports.GetBehaviorModelTrainingSummariesResponse$ = [3, n0, _GBMTSRe,
3824
3825
  ];
3825
3826
  exports.GetBucketsAggregationRequest$ = [3, n0, _GBAR,
3826
3827
  0,
3827
- [_qS, _aF, _bAT, _iN, _qV],
3828
+ [_qS, _aF, _bATu, _iN, _qV],
3828
3829
  [0, 0, () => exports.BucketsAggregationType$, 0, 0], 3
3829
3830
  ];
3830
3831
  exports.GetBucketsAggregationResponse$ = [3, n0, _GBARe,
@@ -1238,7 +1238,8 @@ const _au = "auth";
1238
1238
  const _aut = "authorizers";
1239
1239
  const _av = "average";
1240
1240
  const _b = "behavior";
1241
- const _bAT = "bucketsAggregationType";
1241
+ const _bAT = "batchAcrossTopics";
1242
+ const _bATu = "bucketsAggregationType";
1242
1243
  const _bC = "batchConfig";
1243
1244
  const _bCT = "behaviorCriteriaType";
1244
1245
  const _bG = "billingGroups";
@@ -2405,8 +2406,8 @@ export var AwsJsonSubstitutionCommandPreprocessorConfig$ = [3, n0, _AJSCPC,
2405
2406
  ];
2406
2407
  export var BatchConfig$ = [3, n0, _BC,
2407
2408
  0,
2408
- [_mBOM, _mBS, _mBSB],
2409
- [1, 1, 1]
2409
+ [_mBOM, _mBS, _mBSB, _bAT],
2410
+ [1, 1, 1, 2]
2410
2411
  ];
2411
2412
  export var Behavior$ = [3, n0, _B,
2412
2413
  0,
@@ -3800,7 +3801,7 @@ export var GetBehaviorModelTrainingSummariesResponse$ = [3, n0, _GBMTSRe,
3800
3801
  ];
3801
3802
  export var GetBucketsAggregationRequest$ = [3, n0, _GBAR,
3802
3803
  0,
3803
- [_qS, _aF, _bAT, _iN, _qV],
3804
+ [_qS, _aF, _bATu, _iN, _qV],
3804
3805
  [0, 0, () => BucketsAggregationType$, 0, 0], 3
3805
3806
  ];
3806
3807
  export var GetBucketsAggregationResponse$ = [3, n0, _GBARe,
@@ -220,6 +220,7 @@ declare const CreateTopicRuleCommand_base: {
220
220
  * maxBatchOpenMs: Number("int"),
221
221
  * maxBatchSize: Number("int"),
222
222
  * maxBatchSizeBytes: Number("int"),
223
+ * batchAcrossTopics: true || false,
223
224
  * },
224
225
  * },
225
226
  * kafka: { // KafkaAction
@@ -435,6 +436,7 @@ declare const CreateTopicRuleCommand_base: {
435
436
  * maxBatchOpenMs: Number("int"),
436
437
  * maxBatchSize: Number("int"),
437
438
  * maxBatchSizeBytes: Number("int"),
439
+ * batchAcrossTopics: true || false,
438
440
  * },
439
441
  * },
440
442
  * kafka: {
@@ -226,6 +226,7 @@ declare const GetTopicRuleCommand_base: {
226
226
  * // maxBatchOpenMs: Number("int"),
227
227
  * // maxBatchSize: Number("int"),
228
228
  * // maxBatchSizeBytes: Number("int"),
229
+ * // batchAcrossTopics: true || false,
229
230
  * // },
230
231
  * // },
231
232
  * // kafka: { // KafkaAction
@@ -441,6 +442,7 @@ declare const GetTopicRuleCommand_base: {
441
442
  * // maxBatchOpenMs: Number("int"),
442
443
  * // maxBatchSize: Number("int"),
443
444
  * // maxBatchSizeBytes: Number("int"),
445
+ * // batchAcrossTopics: true || false,
444
446
  * // },
445
447
  * // },
446
448
  * // kafka: {
@@ -221,6 +221,7 @@ declare const ReplaceTopicRuleCommand_base: {
221
221
  * maxBatchOpenMs: Number("int"),
222
222
  * maxBatchSize: Number("int"),
223
223
  * maxBatchSizeBytes: Number("int"),
224
+ * batchAcrossTopics: true || false,
224
225
  * },
225
226
  * },
226
227
  * kafka: { // KafkaAction
@@ -436,6 +437,7 @@ declare const ReplaceTopicRuleCommand_base: {
436
437
  * maxBatchOpenMs: Number("int"),
437
438
  * maxBatchSize: Number("int"),
438
439
  * maxBatchSizeBytes: Number("int"),
440
+ * batchAcrossTopics: true || false,
439
441
  * },
440
442
  * },
441
443
  * kafka: {
@@ -382,6 +382,12 @@ export interface BatchConfig {
382
382
  * @public
383
383
  */
384
384
  maxBatchSizeBytes?: number | undefined;
385
+ /**
386
+ * <p>Whether to allow batching messages from different MQTT topics into a single HTTP request.
387
+ * By default, only messages from the same topic are batched together. The default value is <code>false</code>.</p>
388
+ * @public
389
+ */
390
+ batchAcrossTopics?: boolean | undefined;
385
391
  }
386
392
  /**
387
393
  * <p>The HTTP action header.</p>
@@ -128,6 +128,7 @@ export interface BatchConfig {
128
128
  maxBatchOpenMs?: number | undefined;
129
129
  maxBatchSize?: number | undefined;
130
130
  maxBatchSizeBytes?: number | undefined;
131
+ batchAcrossTopics?: boolean | undefined;
131
132
  }
132
133
  export interface HttpActionHeader {
133
134
  key: string | undefined;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-iot",
3
3
  "description": "AWS SDK for JavaScript Iot Client for Node.js, Browser and React Native",
4
- "version": "3.1040.0",
4
+ "version": "3.1041.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-iot",
@@ -23,17 +23,17 @@
23
23
  "dependencies": {
24
24
  "@aws-crypto/sha256-browser": "5.2.0",
25
25
  "@aws-crypto/sha256-js": "5.2.0",
26
- "@aws-sdk/core": "^3.974.7",
27
- "@aws-sdk/credential-provider-node": "^3.972.38",
26
+ "@aws-sdk/core": "^3.974.8",
27
+ "@aws-sdk/credential-provider-node": "^3.972.39",
28
28
  "@aws-sdk/middleware-host-header": "^3.972.10",
29
29
  "@aws-sdk/middleware-logger": "^3.972.10",
30
30
  "@aws-sdk/middleware-recursion-detection": "^3.972.11",
31
- "@aws-sdk/middleware-user-agent": "^3.972.37",
31
+ "@aws-sdk/middleware-user-agent": "^3.972.38",
32
32
  "@aws-sdk/region-config-resolver": "^3.972.13",
33
33
  "@aws-sdk/types": "^3.973.8",
34
34
  "@aws-sdk/util-endpoints": "^3.996.8",
35
35
  "@aws-sdk/util-user-agent-browser": "^3.972.10",
36
- "@aws-sdk/util-user-agent-node": "^3.973.23",
36
+ "@aws-sdk/util-user-agent-node": "^3.973.24",
37
37
  "@smithy/config-resolver": "^4.4.17",
38
38
  "@smithy/core": "^3.23.17",
39
39
  "@smithy/fetch-http-handler": "^5.3.17",