Skip to content

Commit a150b3c

Browse files
author
AWS
committed
AWS IoT Update: This release adds message batching for the IoT Rules Engine HTTP action.
1 parent e3b2cad commit a150b3c

File tree

2 files changed

+48
-0
lines changed

2 files changed

+48
-0
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"type": "feature",
3+
"category": "AWS IoT",
4+
"contributor": "",
5+
"description": "This release adds message batching for the IoT Rules Engine HTTP action."
6+
}

services/iot/src/main/resources/codegen-resources/service-2.json

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6107,6 +6107,24 @@
61076107
},
61086108
"documentation":"<p>Configures the command to treat the <code>payloadTemplate</code> as a JSON document for preprocessing. This preprocessor substitutes placeholders with parameter values to generate the command execution request payload. </p>"
61096109
},
6110+
"BatchConfig":{
6111+
"type":"structure",
6112+
"members":{
6113+
"maxBatchOpenMs":{
6114+
"shape":"MaxBatchOpenMs",
6115+
"documentation":"<p>The maximum amount of time (in milliseconds) that an outgoing call waits for other calls with which it batches messages of the same type. The higher the setting, the longer the latency of the batched HTTP Action will be.</p>"
6116+
},
6117+
"maxBatchSize":{
6118+
"shape":"MaxBatchSize",
6119+
"documentation":"<p>The maximum number of messages that are batched together in a single action execution.</p>"
6120+
},
6121+
"maxBatchSizeBytes":{
6122+
"shape":"MaxBatchSizeBytes",
6123+
"documentation":"<p>Maximum size of a message batch, in bytes.</p>"
6124+
}
6125+
},
6126+
"documentation":"<p>Configuration settings for batching.</p>"
6127+
},
61106128
"BatchMode":{"type":"boolean"},
61116129
"BeforeSubstitutionFlag":{"type":"boolean"},
61126130
"Behavior":{
@@ -11922,6 +11940,7 @@
1192211940
"ElasticsearchId":{"type":"string"},
1192311941
"ElasticsearchIndex":{"type":"string"},
1192411942
"ElasticsearchType":{"type":"string"},
11943+
"EnableBatching":{"type":"boolean"},
1192511944
"EnableCachingForHttp":{"type":"boolean"},
1192611945
"EnableIoTLoggingParams":{
1192711946
"type":"structure",
@@ -13111,6 +13130,14 @@
1311113130
"auth":{
1311213131
"shape":"HttpAuthorization",
1311313132
"documentation":"<p>The authentication method to use when sending data to an HTTPS endpoint.</p>"
13133+
},
13134+
"enableBatching":{
13135+
"shape":"EnableBatching",
13136+
"documentation":"<p>Whether to process the HTTP action messages into a single request. Value can be true or false.</p>"
13137+
},
13138+
"batchConfig":{
13139+
"shape":"BatchConfig",
13140+
"documentation":"<p>The configuration settings for batching. For more information, see <a href=\"/iot/latest/developerguide/http_batching.html\">Batching HTTP action messages</a>.</p>"
1311413141
}
1311513142
},
1311613143
"documentation":"<p>Send data to an HTTPS endpoint.</p>"
@@ -17031,6 +17058,21 @@
1703117058
"max":1024,
1703217059
"pattern":"[A-Za-z0-9+/]+={0,2}"
1703317060
},
17061+
"MaxBatchOpenMs":{
17062+
"type":"integer",
17063+
"max":200,
17064+
"min":5
17065+
},
17066+
"MaxBatchSize":{
17067+
"type":"integer",
17068+
"max":10,
17069+
"min":2
17070+
},
17071+
"MaxBatchSizeBytes":{
17072+
"type":"integer",
17073+
"max":131072,
17074+
"min":100
17075+
},
1703417076
"MaxBuckets":{
1703517077
"type":"integer",
1703617078
"max":10000,

0 commit comments

Comments
 (0)