Skip to content

Commit 8006f7c

Browse files
author
AWS
committed
AWS IoT Update: This release adds a batchMode parameter to the IotEvents, IotAnalytics, and Firehose actions which allows customers to send an array of messages to the corresponding services
1 parent b586679 commit 8006f7c

File tree

2 files changed

+22
-3
lines changed

2 files changed

+22
-3
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 a batchMode parameter to the IotEvents, IotAnalytics, and Firehose actions which allows customers to send an array of messages to the corresponding services"
6+
}

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

Lines changed: 16 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4933,6 +4933,7 @@
49334933
"documentation":"<p>Specifies the amount of time each device has to finish its execution of the job. A timer is started when the job execution status is set to <code>IN_PROGRESS</code>. If the job execution status is not set to another terminal state before the timer expires, it will be automatically set to <code>TIMED_OUT</code>.</p>"
49344934
},
49354935
"AwsJobTimeoutInProgressTimeoutInMinutes":{"type":"long"},
4936+
"BatchMode":{"type":"boolean"},
49364937
"Behavior":{
49374938
"type":"structure",
49384939
"required":["name"],
@@ -9082,6 +9083,10 @@
90829083
"separator":{
90839084
"shape":"FirehoseSeparator",
90849085
"documentation":"<p>A character separator that will be used to separate records written to the Firehose stream. Valid values are: '\\n' (newline), '\\t' (tab), '\\r\\n' (Windows newline), ',' (comma).</p>"
9086+
},
9087+
"batchMode":{
9088+
"shape":"BatchMode",
9089+
"documentation":"<p>Whether to deliver the Kinesis Data Firehose stream as a batch by using <a href=\"https://docs.aws.amazon.com/firehose/latest/APIReference/API_PutRecordBatch.html\"> <code>PutRecordBatch</code> </a>. The default value is <code>false</code>.</p> <p>When <code>batchMode</code> is <code>true</code> and the rule's SQL statement evaluates to an Array, each Array element forms one record in the <a href=\"https://docs.aws.amazon.com/firehose/latest/APIReference/API_PutRecordBatch.html\"> <code>PutRecordBatch</code> </a> request. The resulting array can't have more than 500 records.</p>"
90859090
}
90869091
},
90879092
"documentation":"<p>Describes an action that writes data to an Amazon Kinesis Firehose stream.</p>"
@@ -9789,6 +9794,10 @@
97899794
"shape":"ChannelName",
97909795
"documentation":"<p>The name of the IoT Analytics channel to which message data will be sent.</p>"
97919796
},
9797+
"batchMode":{
9798+
"shape":"BatchMode",
9799+
"documentation":"<p>Whether to process the action as a batch. The default value is <code>false</code>.</p> <p>When <code>batchMode</code> is <code>true</code> and the rule SQL statement evaluates to an Array, each Array element is delivered as a separate message when passed by <a href=\"https://docs.aws.amazon.com/iotanalytics/latest/APIReference/API_BatchPutMessage.html\"> <code>BatchPutMessage</code> </a> to the AWS IoT Analytics channel. The resulting array can't have more than 100 messages.</p>"
9800+
},
97929801
"roleArn":{
97939802
"shape":"AwsArn",
97949803
"documentation":"<p>The ARN of the role which has a policy that grants IoT Analytics permission to send message data via IoT Analytics (iotanalytics:BatchPutMessage).</p>"
@@ -9809,7 +9818,11 @@
98099818
},
98109819
"messageId":{
98119820
"shape":"MessageId",
9812-
"documentation":"<p>[Optional] Use this to ensure that only one input (message) with a given messageId will be processed by an AWS IoT Events detector.</p>"
9821+
"documentation":"<p>The ID of the message. The default <code>messageId</code> is a new UUID value.</p> <p>When <code>batchMode</code> is <code>true</code>, you can't specify a <code>messageId</code>--a new UUID value will be assigned.</p> <p>Assign a value to this property to ensure that only one input (message) with a given <code>messageId</code> will be processed by an AWS IoT Events detector.</p>"
9822+
},
9823+
"batchMode":{
9824+
"shape":"BatchMode",
9825+
"documentation":"<p>Whether to process the event actions as a batch. The default value is <code>false</code>.</p> <p>When <code>batchMode</code> is <code>true</code>, you can't specify a <code>messageId</code>. </p> <p>When <code>batchMode</code> is <code>true</code> and the rule SQL statement evaluates to an Array, each Array element is treated as a separate message when it's sent to AWS IoT Events by calling <a href=\"https://docs.aws.amazon.com/iotevents/latest/apireference/API_iotevents-data_BatchPutMessage.html\"> <code>BatchPutMessage</code> </a>. The resulting array can't have more than 10 messages.</p>"
98139826
},
98149827
"roleArn":{
98159828
"shape":"AwsArn",
@@ -13724,7 +13737,7 @@
1372413737
},
1372513738
"key":{
1372613739
"shape":"Key",
13727-
"documentation":"<p>The object key.</p>"
13740+
"documentation":"<p>The object key. For more information, see <a href=\"https://docs.aws.amazon.com/AmazonS3/latest/dev/list_amazons3.html\">Actions, resources, and condition keys for Amazon S3</a>.</p>"
1372813741
},
1372913742
"cannedAcl":{
1373013743
"shape":"CannedAccessControlList",
@@ -14141,7 +14154,7 @@
1414114154
"documentation":"<p>The ARN of the signing role.</p>"
1414214155
}
1414314156
},
14144-
"documentation":"<p>Use Sig V4 authorization.</p>"
14157+
"documentation":"<p>For more information, see <a href=\"https://docs.aws.amazon.com/general/latest/gr/signature-version-4.html\">Signature Version 4 signing process</a>.</p>"
1414514158
},
1414614159
"Signature":{"type":"blob"},
1414714160
"SignatureAlgorithm":{"type":"string"},

0 commit comments

Comments
 (0)