Skip to content

Commit efe30b3

Browse files
author
AWS
committed
AWS IoT Events Update: Add support for new serial evaluation method for events in a detector model.
1 parent 92bc987 commit efe30b3

File tree

2 files changed

+40
-12
lines changed

2 files changed

+40
-12
lines changed
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"type": "feature",
3+
"category": "AWS IoT Events",
4+
"description": "Add support for new serial evaluation method for events in a detector model."
5+
}

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

Lines changed: 35 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -322,19 +322,19 @@
322322
},
323323
"lambda":{
324324
"shape":"LambdaAction",
325-
"documentation":"<p>Calls a Lambda function, passing in information about the detector model instance and the event which triggered the action.</p>"
325+
"documentation":"<p>Calls an AWS Lambda function, passing in information about the detector model instance and the event which triggered the action.</p>"
326326
},
327327
"iotEvents":{
328328
"shape":"IotEventsAction",
329329
"documentation":"<p>Sends an IoT Events input, passing in information about the detector model instance and the event which triggered the action.</p>"
330330
},
331331
"sqs":{
332332
"shape":"SqsAction",
333-
"documentation":"<p>Sends information about the detector model instance and the event which triggered the action to an AWS SQS queue.</p>"
333+
"documentation":"<p>Sends information about the detector model instance and the event which triggered the action to an Amazon SQS queue.</p>"
334334
},
335335
"firehose":{
336336
"shape":"FirehoseAction",
337-
"documentation":"<p>Sends information about the detector model instance and the event which triggered the action to a Kinesis Data Firehose stream.</p>"
337+
"documentation":"<p>Sends information about the detector model instance and the event which triggered the action to a Kinesis Data Firehose delivery stream.</p>"
338338
}
339339
},
340340
"documentation":"<p>An action to be performed when the <code>\"condition\"</code> is TRUE.</p>"
@@ -408,7 +408,7 @@
408408
},
409409
"key":{
410410
"shape":"AttributeJsonPath",
411-
"documentation":"<p>The input attribute key used to identify a device or system in order to create a detector (an instance of the detector model) and then to route each input received to the appropriate detector (instance). This parameter uses a JSON-path expression to specify the attribute-value pair in the message payload of each input that is used to identify the device associated with the input.</p>"
411+
"documentation":"<p>The input attribute key used to identify a device or system to create a detector (an instance of the detector model) and then to route each input received to the appropriate detector (instance). This parameter uses a JSON-path expression to specify the attribute-value pair in the message payload of each input that is used to identify the device associated with the input.</p>"
412412
},
413413
"roleArn":{
414414
"shape":"AmazonResourceName",
@@ -417,6 +417,10 @@
417417
"tags":{
418418
"shape":"Tags",
419419
"documentation":"<p>Metadata that can be used to manage the detector model.</p>"
420+
},
421+
"evaluationMethod":{
422+
"shape":"EvaluationMethod",
423+
"documentation":"<p>When set to <code>SERIAL</code>, variables are updated and event conditions evaluated in the order that the events are defined. When set to <code>BATCH</code>, variables are updated and events performed only after all event conditions are evaluated.</p>"
420424
}
421425
}
422426
},
@@ -632,7 +636,11 @@
632636
},
633637
"key":{
634638
"shape":"AttributeJsonPath",
635-
"documentation":"<p>The input attribute key used to identify a device or system in order to create a detector (an instance of the detector model) and then to route each input received to the appropriate detector (instance). This parameter uses a JSON-path expression to specify the attribute-value pair in the message payload of each input that is used to identify the device associated with the input.</p>"
639+
"documentation":"<p>The input attribute key used to identify a device or system to create a detector (an instance of the detector model) and then to route each input received to the appropriate detector (instance). This parameter uses a JSON-path expression to specify the attribute-value pair in the message payload of each input that is used to identify the device associated with the input.</p>"
640+
},
641+
"evaluationMethod":{
642+
"shape":"EvaluationMethod",
643+
"documentation":"<p>When set to <code>SERIAL</code>, variables are updated and event conditions evaluated in the order that the events are defined. When set to <code>BATCH</code>, variables are updated and events performed only after all event conditions are evaluated.</p>"
636644
}
637645
},
638646
"documentation":"<p>Information about how the detector model is configured.</p>"
@@ -738,10 +746,21 @@
738746
"status":{
739747
"shape":"DetectorModelVersionStatus",
740748
"documentation":"<p>The status of the detector model version.</p>"
749+
},
750+
"evaluationMethod":{
751+
"shape":"EvaluationMethod",
752+
"documentation":"<p>When set to <code>SERIAL</code>, variables are updated and event conditions evaluated in the order that the events are defined. When set to <code>BATCH</code>, variables are updated and events performed only after all event conditions are evaluated.</p>"
741753
}
742754
},
743755
"documentation":"<p>Information about the detector model version.</p>"
744756
},
757+
"EvaluationMethod":{
758+
"type":"string",
759+
"enum":[
760+
"BATCH",
761+
"SERIAL"
762+
]
763+
},
745764
"Event":{
746765
"type":"structure",
747766
"required":["eventName"],
@@ -775,14 +794,14 @@
775794
"members":{
776795
"deliveryStreamName":{
777796
"shape":"DeliveryStreamName",
778-
"documentation":"<p>The name of the Kinesis Data Firehose stream where the data is written.</p>"
797+
"documentation":"<p>The name of the Kinesis Data Firehose delivery stream where the data is written.</p>"
779798
},
780799
"separator":{
781800
"shape":"FirehoseSeparator",
782-
"documentation":"<p>A character separator that is used to separate records written to the Kinesis Data Firehose stream. Valid values are: '\\n' (newline), '\\t' (tab), '\\r\\n' (Windows newline), ',' (comma).</p>"
801+
"documentation":"<p>A character separator that is used to separate records written to the Kinesis Data Firehose delivery stream. Valid values are: '\\n' (newline), '\\t' (tab), '\\r\\n' (Windows newline), ',' (comma).</p>"
783802
}
784803
},
785-
"documentation":"<p>Sends information about the detector model instance and the event which triggered the action to a Kinesis Data Firehose stream.</p>"
804+
"documentation":"<p>Sends information about the detector model instance and the event which triggered the action to a Kinesis Data Firehose delivery stream.</p>"
786805
},
787806
"FirehoseSeparator":{
788807
"type":"string",
@@ -963,10 +982,10 @@
963982
"members":{
964983
"functionArn":{
965984
"shape":"AmazonResourceName",
966-
"documentation":"<p>The ARN of the Lambda function which is executed.</p>"
985+
"documentation":"<p>The ARN of the AWS Lambda function which is executed.</p>"
967986
}
968987
},
969-
"documentation":"<p>Calls a Lambda function, passing in information about the detector model instance and the event which triggered the action.</p>"
988+
"documentation":"<p>Calls an AWS Lambda function, passing in information about the detector model instance and the event which triggered the action.</p>"
970989
},
971990
"LimitExceededException":{
972991
"type":"structure",
@@ -1312,14 +1331,14 @@
13121331
"members":{
13131332
"queueUrl":{
13141333
"shape":"QueueUrl",
1315-
"documentation":"<p>The URL of the SQS queue where the data is written.</p>"
1334+
"documentation":"<p>The URL of the Amazon SQS queue where the data is written.</p>"
13161335
},
13171336
"useBase64":{
13181337
"shape":"UseBase64",
13191338
"documentation":"<p>Set this to TRUE if you want the data to be Base-64 encoded before it is written to the queue. Otherwise, set this to FALSE.</p>"
13201339
}
13211340
},
1322-
"documentation":"<p>Sends information about the detector model instance and the event which triggered the action to an AWS SQS queue.</p>"
1341+
"documentation":"<p>Sends information about the detector model instance and the event which triggered the action to an Amazon SQS queue.</p>"
13231342
},
13241343
"State":{
13251344
"type":"structure",
@@ -1527,6 +1546,10 @@
15271546
"roleArn":{
15281547
"shape":"AmazonResourceName",
15291548
"documentation":"<p>The ARN of the role that grants permission to AWS IoT Events to perform its operations.</p>"
1549+
},
1550+
"evaluationMethod":{
1551+
"shape":"EvaluationMethod",
1552+
"documentation":"<p>When set to <code>SERIAL</code>, variables are updated and event conditions evaluated in the order that the events are defined. When set to <code>BATCH</code>, variables are updated and events performed only after all event conditions are evaluated.</p>"
15301553
}
15311554
}
15321555
},

0 commit comments

Comments
 (0)