aws-sdk-iotevents 1.18.0 → 1.23.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 51fa45c331d4e9767135a2045642c98a4882fcaf519f90c70c02bf9bcb371154
4
- data.tar.gz: dd2e85b3622dc089180494a31ff9ac25fffd37c93950f5e3708561a8ae81c057
3
+ metadata.gz: bc824f1333c9417c135f0cfe4e0a6cac8da29b46411f68fa7af86b9175594656
4
+ data.tar.gz: d029f666309240d3430d05020ce8430ae72f7251652b9759ac2c1c9e8586c419
5
5
  SHA512:
6
- metadata.gz: d45791cb10377b7580d64857bd18622695628cf69e92221e71309771c80b093049312c522682d601078b7f5435d198ee4e5df93518e8d72e2222dae86ef88954
7
- data.tar.gz: 787b37a9543d318d1565cdff89307f7efc7c31e2674712d750c67c6d865a11bd5c743df798a97ad8b2b54620e1f45d170350d7acc5b279fed92e945aad36ba6c
6
+ metadata.gz: e624a1ba2a1956f0560822b822747d22df3f6575cebaf7f67ec665b635224c97ba2721242394de7f205643cdeedf8388c62e3b3370e4166d6bbcec762e88553b
7
+ data.tar.gz: 364f7a10753a9e2f89224afa34315d4c8e10ae3ba6b5329b450f153539613be012bb704bf508b0ce8f6e5905e525a34b119392bbea39ff2ad68b194265316359
data/CHANGELOG.md ADDED
@@ -0,0 +1,128 @@
1
+ Unreleased Changes
2
+ ------------------
3
+
4
+ 1.23.0 (2021-03-10)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
9
+ 1.22.0 (2021-02-23)
10
+ ------------------
11
+
12
+ * Feature - This release adds an Analyze feature to AWS IoT Events that lets customers analyze their detector models for runtime issues.
13
+
14
+ 1.21.0 (2021-02-02)
15
+ ------------------
16
+
17
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
18
+
19
+ 1.20.0 (2020-09-30)
20
+ ------------------
21
+
22
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
23
+
24
+ 1.19.0 (2020-09-15)
25
+ ------------------
26
+
27
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
28
+
29
+ 1.18.0 (2020-08-25)
30
+ ------------------
31
+
32
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
33
+
34
+ 1.17.0 (2020-06-23)
35
+ ------------------
36
+
37
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
38
+
39
+ 1.16.1 (2020-06-11)
40
+ ------------------
41
+
42
+ * Issue - Republish previous version with correct dependency on `aws-sdk-core`.
43
+
44
+ 1.16.0 (2020-06-10)
45
+ ------------------
46
+
47
+ * Issue - This version has been yanked. (#2327).
48
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
49
+
50
+ 1.15.0 (2020-05-28)
51
+ ------------------
52
+
53
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
54
+
55
+ 1.14.0 (2020-05-07)
56
+ ------------------
57
+
58
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
59
+
60
+ 1.13.0 (2020-04-30)
61
+ ------------------
62
+
63
+ * Feature - Doc only update to correct APIs and related descriptions
64
+
65
+ 1.12.0 (2020-04-20)
66
+ ------------------
67
+
68
+ * Feature - API update that allows users to add AWS Iot SiteWise actions while creating Detector Model in AWS Iot Events
69
+
70
+ 1.11.0 (2020-04-16)
71
+ ------------------
72
+
73
+ * Feature - API update that allows users to customize event action payloads, and adds support for Amazon DynamoDB actions.
74
+
75
+ 1.10.0 (2020-03-10)
76
+ ------------------
77
+
78
+ * Feature - API update that adds a new parameter, durationExpression, to SetTimerAction, and deprecates seconds
79
+
80
+ 1.9.0 (2020-03-09)
81
+ ------------------
82
+
83
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
84
+
85
+ 1.8.0 (2020-02-24)
86
+ ------------------
87
+
88
+ * Feature - Documentation updates for iotcolumbo
89
+
90
+ 1.7.0 (2020-01-21)
91
+ ------------------
92
+
93
+ * Feature - Documentation updates for iotcolumbo
94
+
95
+ 1.6.0 (2019-10-23)
96
+ ------------------
97
+
98
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
99
+
100
+ 1.5.0 (2019-10-22)
101
+ ------------------
102
+
103
+ * Feature - Add support for new serial evaluation method for events in a detector model.
104
+
105
+ 1.4.0 (2019-07-25)
106
+ ------------------
107
+
108
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
109
+
110
+ 1.3.0 (2019-07-19)
111
+ ------------------
112
+
113
+ * Feature - Adds support for IoT Events, Lambda, SQS and Kinesis Firehose actions.
114
+
115
+ 1.2.0 (2019-07-01)
116
+ ------------------
117
+
118
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
119
+
120
+ 1.1.0 (2019-06-17)
121
+ ------------------
122
+
123
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
124
+
125
+ 1.0.0 (2019-05-30)
126
+ ------------------
127
+
128
+ * Feature - Initial release of `aws-sdk-iotevents`.
data/LICENSE.txt ADDED
@@ -0,0 +1,202 @@
1
+
2
+ Apache License
3
+ Version 2.0, January 2004
4
+ http://www.apache.org/licenses/
5
+
6
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
7
+
8
+ 1. Definitions.
9
+
10
+ "License" shall mean the terms and conditions for use, reproduction,
11
+ and distribution as defined by Sections 1 through 9 of this document.
12
+
13
+ "Licensor" shall mean the copyright owner or entity authorized by
14
+ the copyright owner that is granting the License.
15
+
16
+ "Legal Entity" shall mean the union of the acting entity and all
17
+ other entities that control, are controlled by, or are under common
18
+ control with that entity. For the purposes of this definition,
19
+ "control" means (i) the power, direct or indirect, to cause the
20
+ direction or management of such entity, whether by contract or
21
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
22
+ outstanding shares, or (iii) beneficial ownership of such entity.
23
+
24
+ "You" (or "Your") shall mean an individual or Legal Entity
25
+ exercising permissions granted by this License.
26
+
27
+ "Source" form shall mean the preferred form for making modifications,
28
+ including but not limited to software source code, documentation
29
+ source, and configuration files.
30
+
31
+ "Object" form shall mean any form resulting from mechanical
32
+ transformation or translation of a Source form, including but
33
+ not limited to compiled object code, generated documentation,
34
+ and conversions to other media types.
35
+
36
+ "Work" shall mean the work of authorship, whether in Source or
37
+ Object form, made available under the License, as indicated by a
38
+ copyright notice that is included in or attached to the work
39
+ (an example is provided in the Appendix below).
40
+
41
+ "Derivative Works" shall mean any work, whether in Source or Object
42
+ form, that is based on (or derived from) the Work and for which the
43
+ editorial revisions, annotations, elaborations, or other modifications
44
+ represent, as a whole, an original work of authorship. For the purposes
45
+ of this License, Derivative Works shall not include works that remain
46
+ separable from, or merely link (or bind by name) to the interfaces of,
47
+ the Work and Derivative Works thereof.
48
+
49
+ "Contribution" shall mean any work of authorship, including
50
+ the original version of the Work and any modifications or additions
51
+ to that Work or Derivative Works thereof, that is intentionally
52
+ submitted to Licensor for inclusion in the Work by the copyright owner
53
+ or by an individual or Legal Entity authorized to submit on behalf of
54
+ the copyright owner. For the purposes of this definition, "submitted"
55
+ means any form of electronic, verbal, or written communication sent
56
+ to the Licensor or its representatives, including but not limited to
57
+ communication on electronic mailing lists, source code control systems,
58
+ and issue tracking systems that are managed by, or on behalf of, the
59
+ Licensor for the purpose of discussing and improving the Work, but
60
+ excluding communication that is conspicuously marked or otherwise
61
+ designated in writing by the copyright owner as "Not a Contribution."
62
+
63
+ "Contributor" shall mean Licensor and any individual or Legal Entity
64
+ on behalf of whom a Contribution has been received by Licensor and
65
+ subsequently incorporated within the Work.
66
+
67
+ 2. Grant of Copyright License. Subject to the terms and conditions of
68
+ this License, each Contributor hereby grants to You a perpetual,
69
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
70
+ copyright license to reproduce, prepare Derivative Works of,
71
+ publicly display, publicly perform, sublicense, and distribute the
72
+ Work and such Derivative Works in Source or Object form.
73
+
74
+ 3. Grant of Patent License. Subject to the terms and conditions of
75
+ this License, each Contributor hereby grants to You a perpetual,
76
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
77
+ (except as stated in this section) patent license to make, have made,
78
+ use, offer to sell, sell, import, and otherwise transfer the Work,
79
+ where such license applies only to those patent claims licensable
80
+ by such Contributor that are necessarily infringed by their
81
+ Contribution(s) alone or by combination of their Contribution(s)
82
+ with the Work to which such Contribution(s) was submitted. If You
83
+ institute patent litigation against any entity (including a
84
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
85
+ or a Contribution incorporated within the Work constitutes direct
86
+ or contributory patent infringement, then any patent licenses
87
+ granted to You under this License for that Work shall terminate
88
+ as of the date such litigation is filed.
89
+
90
+ 4. Redistribution. You may reproduce and distribute copies of the
91
+ Work or Derivative Works thereof in any medium, with or without
92
+ modifications, and in Source or Object form, provided that You
93
+ meet the following conditions:
94
+
95
+ (a) You must give any other recipients of the Work or
96
+ Derivative Works a copy of this License; and
97
+
98
+ (b) You must cause any modified files to carry prominent notices
99
+ stating that You changed the files; and
100
+
101
+ (c) You must retain, in the Source form of any Derivative Works
102
+ that You distribute, all copyright, patent, trademark, and
103
+ attribution notices from the Source form of the Work,
104
+ excluding those notices that do not pertain to any part of
105
+ the Derivative Works; and
106
+
107
+ (d) If the Work includes a "NOTICE" text file as part of its
108
+ distribution, then any Derivative Works that You distribute must
109
+ include a readable copy of the attribution notices contained
110
+ within such NOTICE file, excluding those notices that do not
111
+ pertain to any part of the Derivative Works, in at least one
112
+ of the following places: within a NOTICE text file distributed
113
+ as part of the Derivative Works; within the Source form or
114
+ documentation, if provided along with the Derivative Works; or,
115
+ within a display generated by the Derivative Works, if and
116
+ wherever such third-party notices normally appear. The contents
117
+ of the NOTICE file are for informational purposes only and
118
+ do not modify the License. You may add Your own attribution
119
+ notices within Derivative Works that You distribute, alongside
120
+ or as an addendum to the NOTICE text from the Work, provided
121
+ that such additional attribution notices cannot be construed
122
+ as modifying the License.
123
+
124
+ You may add Your own copyright statement to Your modifications and
125
+ may provide additional or different license terms and conditions
126
+ for use, reproduction, or distribution of Your modifications, or
127
+ for any such Derivative Works as a whole, provided Your use,
128
+ reproduction, and distribution of the Work otherwise complies with
129
+ the conditions stated in this License.
130
+
131
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
132
+ any Contribution intentionally submitted for inclusion in the Work
133
+ by You to the Licensor shall be under the terms and conditions of
134
+ this License, without any additional terms or conditions.
135
+ Notwithstanding the above, nothing herein shall supersede or modify
136
+ the terms of any separate license agreement you may have executed
137
+ with Licensor regarding such Contributions.
138
+
139
+ 6. Trademarks. This License does not grant permission to use the trade
140
+ names, trademarks, service marks, or product names of the Licensor,
141
+ except as required for reasonable and customary use in describing the
142
+ origin of the Work and reproducing the content of the NOTICE file.
143
+
144
+ 7. Disclaimer of Warranty. Unless required by applicable law or
145
+ agreed to in writing, Licensor provides the Work (and each
146
+ Contributor provides its Contributions) on an "AS IS" BASIS,
147
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
148
+ implied, including, without limitation, any warranties or conditions
149
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
150
+ PARTICULAR PURPOSE. You are solely responsible for determining the
151
+ appropriateness of using or redistributing the Work and assume any
152
+ risks associated with Your exercise of permissions under this License.
153
+
154
+ 8. Limitation of Liability. In no event and under no legal theory,
155
+ whether in tort (including negligence), contract, or otherwise,
156
+ unless required by applicable law (such as deliberate and grossly
157
+ negligent acts) or agreed to in writing, shall any Contributor be
158
+ liable to You for damages, including any direct, indirect, special,
159
+ incidental, or consequential damages of any character arising as a
160
+ result of this License or out of the use or inability to use the
161
+ Work (including but not limited to damages for loss of goodwill,
162
+ work stoppage, computer failure or malfunction, or any and all
163
+ other commercial damages or losses), even if such Contributor
164
+ has been advised of the possibility of such damages.
165
+
166
+ 9. Accepting Warranty or Additional Liability. While redistributing
167
+ the Work or Derivative Works thereof, You may choose to offer,
168
+ and charge a fee for, acceptance of support, warranty, indemnity,
169
+ or other liability obligations and/or rights consistent with this
170
+ License. However, in accepting such obligations, You may act only
171
+ on Your own behalf and on Your sole responsibility, not on behalf
172
+ of any other Contributor, and only if You agree to indemnify,
173
+ defend, and hold each Contributor harmless for any liability
174
+ incurred by, or claims asserted against, such Contributor by reason
175
+ of your accepting any such warranty or additional liability.
176
+
177
+ END OF TERMS AND CONDITIONS
178
+
179
+ APPENDIX: How to apply the Apache License to your work.
180
+
181
+ To apply the Apache License to your work, attach the following
182
+ boilerplate notice, with the fields enclosed by brackets "[]"
183
+ replaced with your own identifying information. (Don't include
184
+ the brackets!) The text should be enclosed in the appropriate
185
+ comment syntax for the file format. We also recommend that a
186
+ file or class name and description of purpose be included on the
187
+ same "printed page" as the copyright notice for easier
188
+ identification within third-party archives.
189
+
190
+ Copyright [yyyy] [name of copyright owner]
191
+
192
+ Licensed under the Apache License, Version 2.0 (the "License");
193
+ you may not use this file except in compliance with the License.
194
+ You may obtain a copy of the License at
195
+
196
+ http://www.apache.org/licenses/LICENSE-2.0
197
+
198
+ Unless required by applicable law or agreed to in writing, software
199
+ distributed under the License is distributed on an "AS IS" BASIS,
200
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
201
+ See the License for the specific language governing permissions and
202
+ limitations under the License.
data/VERSION ADDED
@@ -0,0 +1 @@
1
+ 1.23.0
@@ -3,10 +3,11 @@
3
3
  # WARNING ABOUT GENERATED CODE
4
4
  #
5
5
  # This file is generated. See the contributing guide for more information:
6
- # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
7
  #
8
8
  # WARNING ABOUT GENERATED CODE
9
9
 
10
+
10
11
  require 'aws-sdk-core'
11
12
  require 'aws-sigv4'
12
13
 
@@ -47,6 +48,6 @@ require_relative 'aws-sdk-iotevents/customizations'
47
48
  # @!group service
48
49
  module Aws::IoTEvents
49
50
 
50
- GEM_VERSION = '1.18.0'
51
+ GEM_VERSION = '1.23.0'
51
52
 
52
53
  end
@@ -3,7 +3,7 @@
3
3
  # WARNING ABOUT GENERATED CODE
4
4
  #
5
5
  # This file is generated. See the contributing guide for more information:
6
- # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
7
  #
8
8
  # WARNING ABOUT GENERATED CODE
9
9
 
@@ -1215,6 +1215,32 @@ module Aws::IoTEvents
1215
1215
  req.send_request(options)
1216
1216
  end
1217
1217
 
1218
+ # Retrieves execution information about a detector model analysis
1219
+ #
1220
+ # @option params [required, String] :analysis_id
1221
+ # The ID of the analysis result that you want to retrieve.
1222
+ #
1223
+ # @return [Types::DescribeDetectorModelAnalysisResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1224
+ #
1225
+ # * {Types::DescribeDetectorModelAnalysisResponse#status #status} => String
1226
+ #
1227
+ # @example Request syntax with placeholder values
1228
+ #
1229
+ # resp = client.describe_detector_model_analysis({
1230
+ # analysis_id: "AnalysisId", # required
1231
+ # })
1232
+ #
1233
+ # @example Response structure
1234
+ #
1235
+ # resp.status #=> String, one of "RUNNING", "COMPLETE", "FAILED"
1236
+ #
1237
+ # @overload describe_detector_model_analysis(params = {})
1238
+ # @param [Hash] params ({})
1239
+ def describe_detector_model_analysis(params = {}, options = {})
1240
+ req = build_request(:describe_detector_model_analysis, params)
1241
+ req.send_request(options)
1242
+ end
1243
+
1218
1244
  # Describes an input.
1219
1245
  #
1220
1246
  # @option params [required, String] :input_name
@@ -1270,6 +1296,47 @@ module Aws::IoTEvents
1270
1296
  req.send_request(options)
1271
1297
  end
1272
1298
 
1299
+ # Retrieves one or more analysis results of the detector model.
1300
+ #
1301
+ # @option params [required, String] :analysis_id
1302
+ # The ID of the analysis result that you want to retrieve.
1303
+ #
1304
+ # @option params [String] :next_token
1305
+ # The token that you can use to return the next set of results.
1306
+ #
1307
+ # @option params [Integer] :max_results
1308
+ # The maximum number of results to be returned per request.
1309
+ #
1310
+ # @return [Types::GetDetectorModelAnalysisResultsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1311
+ #
1312
+ # * {Types::GetDetectorModelAnalysisResultsResponse#analysis_results #analysis_results} => Array<Types::AnalysisResult>
1313
+ # * {Types::GetDetectorModelAnalysisResultsResponse#next_token #next_token} => String
1314
+ #
1315
+ # @example Request syntax with placeholder values
1316
+ #
1317
+ # resp = client.get_detector_model_analysis_results({
1318
+ # analysis_id: "AnalysisId", # required
1319
+ # next_token: "NextToken",
1320
+ # max_results: 1,
1321
+ # })
1322
+ #
1323
+ # @example Response structure
1324
+ #
1325
+ # resp.analysis_results #=> Array
1326
+ # resp.analysis_results[0].type #=> String
1327
+ # resp.analysis_results[0].level #=> String, one of "INFO", "WARNING", "ERROR"
1328
+ # resp.analysis_results[0].message #=> String
1329
+ # resp.analysis_results[0].locations #=> Array
1330
+ # resp.analysis_results[0].locations[0].path #=> String
1331
+ # resp.next_token #=> String
1332
+ #
1333
+ # @overload get_detector_model_analysis_results(params = {})
1334
+ # @param [Hash] params ({})
1335
+ def get_detector_model_analysis_results(params = {}, options = {})
1336
+ req = build_request(:get_detector_model_analysis_results, params)
1337
+ req.send_request(options)
1338
+ end
1339
+
1273
1340
  # Lists all the versions of a detector model. Only the metadata
1274
1341
  # associated with each detector model version is returned.
1275
1342
  #
@@ -1277,10 +1344,10 @@ module Aws::IoTEvents
1277
1344
  # The name of the detector model whose versions are returned.
1278
1345
  #
1279
1346
  # @option params [String] :next_token
1280
- # The token for the next set of results.
1347
+ # The token that you can use to return the next set of results.
1281
1348
  #
1282
1349
  # @option params [Integer] :max_results
1283
- # The maximum number of results to return at one time.
1350
+ # The maximum number of results to be returned per request.
1284
1351
  #
1285
1352
  # @return [Types::ListDetectorModelVersionsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1286
1353
  #
@@ -1319,10 +1386,10 @@ module Aws::IoTEvents
1319
1386
  # associated with each detector model is returned.
1320
1387
  #
1321
1388
  # @option params [String] :next_token
1322
- # The token for the next set of results.
1389
+ # The token that you can use to return the next set of results.
1323
1390
  #
1324
1391
  # @option params [Integer] :max_results
1325
- # The maximum number of results to return at one time.
1392
+ # The maximum number of results to be returned per request.
1326
1393
  #
1327
1394
  # @return [Types::ListDetectorModelsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1328
1395
  #
@@ -1354,10 +1421,10 @@ module Aws::IoTEvents
1354
1421
  # Lists the inputs you have created.
1355
1422
  #
1356
1423
  # @option params [String] :next_token
1357
- # The token for the next set of results.
1424
+ # The token that you can use to return the next set of results.
1358
1425
  #
1359
1426
  # @option params [Integer] :max_results
1360
- # The maximum number of results to return at one time.
1427
+ # The maximum number of results to be returned per request.
1361
1428
  #
1362
1429
  # @return [Types::ListInputsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1363
1430
  #
@@ -1453,6 +1520,492 @@ module Aws::IoTEvents
1453
1520
  req.send_request(options)
1454
1521
  end
1455
1522
 
1523
+ # Performs an analysis of your detector model. For more information, see
1524
+ # [Running detector model analyses][1] in the *AWS IoT Events Developer
1525
+ # Guide*.
1526
+ #
1527
+ #
1528
+ #
1529
+ # [1]: https://docs.aws.amazon.com/iotevents/latest/developerguide/iotevents-analyze-api.html
1530
+ #
1531
+ # @option params [required, Types::DetectorModelDefinition] :detector_model_definition
1532
+ # Information that defines how a detector operates.
1533
+ #
1534
+ # @return [Types::StartDetectorModelAnalysisResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1535
+ #
1536
+ # * {Types::StartDetectorModelAnalysisResponse#analysis_id #analysis_id} => String
1537
+ #
1538
+ # @example Request syntax with placeholder values
1539
+ #
1540
+ # resp = client.start_detector_model_analysis({
1541
+ # detector_model_definition: { # required
1542
+ # states: [ # required
1543
+ # {
1544
+ # state_name: "StateName", # required
1545
+ # on_input: {
1546
+ # events: [
1547
+ # {
1548
+ # event_name: "EventName", # required
1549
+ # condition: "Condition",
1550
+ # actions: [
1551
+ # {
1552
+ # set_variable: {
1553
+ # variable_name: "VariableName", # required
1554
+ # value: "VariableValue", # required
1555
+ # },
1556
+ # sns: {
1557
+ # target_arn: "AmazonResourceName", # required
1558
+ # payload: {
1559
+ # content_expression: "ContentExpression", # required
1560
+ # type: "STRING", # required, accepts STRING, JSON
1561
+ # },
1562
+ # },
1563
+ # iot_topic_publish: {
1564
+ # mqtt_topic: "MQTTTopic", # required
1565
+ # payload: {
1566
+ # content_expression: "ContentExpression", # required
1567
+ # type: "STRING", # required, accepts STRING, JSON
1568
+ # },
1569
+ # },
1570
+ # set_timer: {
1571
+ # timer_name: "TimerName", # required
1572
+ # seconds: 1,
1573
+ # duration_expression: "VariableValue",
1574
+ # },
1575
+ # clear_timer: {
1576
+ # timer_name: "TimerName", # required
1577
+ # },
1578
+ # reset_timer: {
1579
+ # timer_name: "TimerName", # required
1580
+ # },
1581
+ # lambda: {
1582
+ # function_arn: "AmazonResourceName", # required
1583
+ # payload: {
1584
+ # content_expression: "ContentExpression", # required
1585
+ # type: "STRING", # required, accepts STRING, JSON
1586
+ # },
1587
+ # },
1588
+ # iot_events: {
1589
+ # input_name: "InputName", # required
1590
+ # payload: {
1591
+ # content_expression: "ContentExpression", # required
1592
+ # type: "STRING", # required, accepts STRING, JSON
1593
+ # },
1594
+ # },
1595
+ # sqs: {
1596
+ # queue_url: "QueueUrl", # required
1597
+ # use_base_64: false,
1598
+ # payload: {
1599
+ # content_expression: "ContentExpression", # required
1600
+ # type: "STRING", # required, accepts STRING, JSON
1601
+ # },
1602
+ # },
1603
+ # firehose: {
1604
+ # delivery_stream_name: "DeliveryStreamName", # required
1605
+ # separator: "FirehoseSeparator",
1606
+ # payload: {
1607
+ # content_expression: "ContentExpression", # required
1608
+ # type: "STRING", # required, accepts STRING, JSON
1609
+ # },
1610
+ # },
1611
+ # dynamo_db: {
1612
+ # hash_key_type: "DynamoKeyType",
1613
+ # hash_key_field: "DynamoKeyField", # required
1614
+ # hash_key_value: "DynamoKeyValue", # required
1615
+ # range_key_type: "DynamoKeyType",
1616
+ # range_key_field: "DynamoKeyField",
1617
+ # range_key_value: "DynamoKeyValue",
1618
+ # operation: "DynamoOperation",
1619
+ # payload_field: "DynamoKeyField",
1620
+ # table_name: "DynamoTableName", # required
1621
+ # payload: {
1622
+ # content_expression: "ContentExpression", # required
1623
+ # type: "STRING", # required, accepts STRING, JSON
1624
+ # },
1625
+ # },
1626
+ # dynamo_d_bv_2: {
1627
+ # table_name: "DynamoTableName", # required
1628
+ # payload: {
1629
+ # content_expression: "ContentExpression", # required
1630
+ # type: "STRING", # required, accepts STRING, JSON
1631
+ # },
1632
+ # },
1633
+ # iot_site_wise: {
1634
+ # entry_id: "AssetPropertyEntryId",
1635
+ # asset_id: "AssetId",
1636
+ # property_id: "AssetPropertyId",
1637
+ # property_alias: "AssetPropertyAlias",
1638
+ # property_value: { # required
1639
+ # value: { # required
1640
+ # string_value: "AssetPropertyStringValue",
1641
+ # integer_value: "AssetPropertyIntegerValue",
1642
+ # double_value: "AssetPropertyDoubleValue",
1643
+ # boolean_value: "AssetPropertyBooleanValue",
1644
+ # },
1645
+ # timestamp: {
1646
+ # time_in_seconds: "AssetPropertyTimeInSeconds", # required
1647
+ # offset_in_nanos: "AssetPropertyOffsetInNanos",
1648
+ # },
1649
+ # quality: "AssetPropertyQuality",
1650
+ # },
1651
+ # },
1652
+ # },
1653
+ # ],
1654
+ # },
1655
+ # ],
1656
+ # transition_events: [
1657
+ # {
1658
+ # event_name: "EventName", # required
1659
+ # condition: "Condition", # required
1660
+ # actions: [
1661
+ # {
1662
+ # set_variable: {
1663
+ # variable_name: "VariableName", # required
1664
+ # value: "VariableValue", # required
1665
+ # },
1666
+ # sns: {
1667
+ # target_arn: "AmazonResourceName", # required
1668
+ # payload: {
1669
+ # content_expression: "ContentExpression", # required
1670
+ # type: "STRING", # required, accepts STRING, JSON
1671
+ # },
1672
+ # },
1673
+ # iot_topic_publish: {
1674
+ # mqtt_topic: "MQTTTopic", # required
1675
+ # payload: {
1676
+ # content_expression: "ContentExpression", # required
1677
+ # type: "STRING", # required, accepts STRING, JSON
1678
+ # },
1679
+ # },
1680
+ # set_timer: {
1681
+ # timer_name: "TimerName", # required
1682
+ # seconds: 1,
1683
+ # duration_expression: "VariableValue",
1684
+ # },
1685
+ # clear_timer: {
1686
+ # timer_name: "TimerName", # required
1687
+ # },
1688
+ # reset_timer: {
1689
+ # timer_name: "TimerName", # required
1690
+ # },
1691
+ # lambda: {
1692
+ # function_arn: "AmazonResourceName", # required
1693
+ # payload: {
1694
+ # content_expression: "ContentExpression", # required
1695
+ # type: "STRING", # required, accepts STRING, JSON
1696
+ # },
1697
+ # },
1698
+ # iot_events: {
1699
+ # input_name: "InputName", # required
1700
+ # payload: {
1701
+ # content_expression: "ContentExpression", # required
1702
+ # type: "STRING", # required, accepts STRING, JSON
1703
+ # },
1704
+ # },
1705
+ # sqs: {
1706
+ # queue_url: "QueueUrl", # required
1707
+ # use_base_64: false,
1708
+ # payload: {
1709
+ # content_expression: "ContentExpression", # required
1710
+ # type: "STRING", # required, accepts STRING, JSON
1711
+ # },
1712
+ # },
1713
+ # firehose: {
1714
+ # delivery_stream_name: "DeliveryStreamName", # required
1715
+ # separator: "FirehoseSeparator",
1716
+ # payload: {
1717
+ # content_expression: "ContentExpression", # required
1718
+ # type: "STRING", # required, accepts STRING, JSON
1719
+ # },
1720
+ # },
1721
+ # dynamo_db: {
1722
+ # hash_key_type: "DynamoKeyType",
1723
+ # hash_key_field: "DynamoKeyField", # required
1724
+ # hash_key_value: "DynamoKeyValue", # required
1725
+ # range_key_type: "DynamoKeyType",
1726
+ # range_key_field: "DynamoKeyField",
1727
+ # range_key_value: "DynamoKeyValue",
1728
+ # operation: "DynamoOperation",
1729
+ # payload_field: "DynamoKeyField",
1730
+ # table_name: "DynamoTableName", # required
1731
+ # payload: {
1732
+ # content_expression: "ContentExpression", # required
1733
+ # type: "STRING", # required, accepts STRING, JSON
1734
+ # },
1735
+ # },
1736
+ # dynamo_d_bv_2: {
1737
+ # table_name: "DynamoTableName", # required
1738
+ # payload: {
1739
+ # content_expression: "ContentExpression", # required
1740
+ # type: "STRING", # required, accepts STRING, JSON
1741
+ # },
1742
+ # },
1743
+ # iot_site_wise: {
1744
+ # entry_id: "AssetPropertyEntryId",
1745
+ # asset_id: "AssetId",
1746
+ # property_id: "AssetPropertyId",
1747
+ # property_alias: "AssetPropertyAlias",
1748
+ # property_value: { # required
1749
+ # value: { # required
1750
+ # string_value: "AssetPropertyStringValue",
1751
+ # integer_value: "AssetPropertyIntegerValue",
1752
+ # double_value: "AssetPropertyDoubleValue",
1753
+ # boolean_value: "AssetPropertyBooleanValue",
1754
+ # },
1755
+ # timestamp: {
1756
+ # time_in_seconds: "AssetPropertyTimeInSeconds", # required
1757
+ # offset_in_nanos: "AssetPropertyOffsetInNanos",
1758
+ # },
1759
+ # quality: "AssetPropertyQuality",
1760
+ # },
1761
+ # },
1762
+ # },
1763
+ # ],
1764
+ # next_state: "StateName", # required
1765
+ # },
1766
+ # ],
1767
+ # },
1768
+ # on_enter: {
1769
+ # events: [
1770
+ # {
1771
+ # event_name: "EventName", # required
1772
+ # condition: "Condition",
1773
+ # actions: [
1774
+ # {
1775
+ # set_variable: {
1776
+ # variable_name: "VariableName", # required
1777
+ # value: "VariableValue", # required
1778
+ # },
1779
+ # sns: {
1780
+ # target_arn: "AmazonResourceName", # required
1781
+ # payload: {
1782
+ # content_expression: "ContentExpression", # required
1783
+ # type: "STRING", # required, accepts STRING, JSON
1784
+ # },
1785
+ # },
1786
+ # iot_topic_publish: {
1787
+ # mqtt_topic: "MQTTTopic", # required
1788
+ # payload: {
1789
+ # content_expression: "ContentExpression", # required
1790
+ # type: "STRING", # required, accepts STRING, JSON
1791
+ # },
1792
+ # },
1793
+ # set_timer: {
1794
+ # timer_name: "TimerName", # required
1795
+ # seconds: 1,
1796
+ # duration_expression: "VariableValue",
1797
+ # },
1798
+ # clear_timer: {
1799
+ # timer_name: "TimerName", # required
1800
+ # },
1801
+ # reset_timer: {
1802
+ # timer_name: "TimerName", # required
1803
+ # },
1804
+ # lambda: {
1805
+ # function_arn: "AmazonResourceName", # required
1806
+ # payload: {
1807
+ # content_expression: "ContentExpression", # required
1808
+ # type: "STRING", # required, accepts STRING, JSON
1809
+ # },
1810
+ # },
1811
+ # iot_events: {
1812
+ # input_name: "InputName", # required
1813
+ # payload: {
1814
+ # content_expression: "ContentExpression", # required
1815
+ # type: "STRING", # required, accepts STRING, JSON
1816
+ # },
1817
+ # },
1818
+ # sqs: {
1819
+ # queue_url: "QueueUrl", # required
1820
+ # use_base_64: false,
1821
+ # payload: {
1822
+ # content_expression: "ContentExpression", # required
1823
+ # type: "STRING", # required, accepts STRING, JSON
1824
+ # },
1825
+ # },
1826
+ # firehose: {
1827
+ # delivery_stream_name: "DeliveryStreamName", # required
1828
+ # separator: "FirehoseSeparator",
1829
+ # payload: {
1830
+ # content_expression: "ContentExpression", # required
1831
+ # type: "STRING", # required, accepts STRING, JSON
1832
+ # },
1833
+ # },
1834
+ # dynamo_db: {
1835
+ # hash_key_type: "DynamoKeyType",
1836
+ # hash_key_field: "DynamoKeyField", # required
1837
+ # hash_key_value: "DynamoKeyValue", # required
1838
+ # range_key_type: "DynamoKeyType",
1839
+ # range_key_field: "DynamoKeyField",
1840
+ # range_key_value: "DynamoKeyValue",
1841
+ # operation: "DynamoOperation",
1842
+ # payload_field: "DynamoKeyField",
1843
+ # table_name: "DynamoTableName", # required
1844
+ # payload: {
1845
+ # content_expression: "ContentExpression", # required
1846
+ # type: "STRING", # required, accepts STRING, JSON
1847
+ # },
1848
+ # },
1849
+ # dynamo_d_bv_2: {
1850
+ # table_name: "DynamoTableName", # required
1851
+ # payload: {
1852
+ # content_expression: "ContentExpression", # required
1853
+ # type: "STRING", # required, accepts STRING, JSON
1854
+ # },
1855
+ # },
1856
+ # iot_site_wise: {
1857
+ # entry_id: "AssetPropertyEntryId",
1858
+ # asset_id: "AssetId",
1859
+ # property_id: "AssetPropertyId",
1860
+ # property_alias: "AssetPropertyAlias",
1861
+ # property_value: { # required
1862
+ # value: { # required
1863
+ # string_value: "AssetPropertyStringValue",
1864
+ # integer_value: "AssetPropertyIntegerValue",
1865
+ # double_value: "AssetPropertyDoubleValue",
1866
+ # boolean_value: "AssetPropertyBooleanValue",
1867
+ # },
1868
+ # timestamp: {
1869
+ # time_in_seconds: "AssetPropertyTimeInSeconds", # required
1870
+ # offset_in_nanos: "AssetPropertyOffsetInNanos",
1871
+ # },
1872
+ # quality: "AssetPropertyQuality",
1873
+ # },
1874
+ # },
1875
+ # },
1876
+ # ],
1877
+ # },
1878
+ # ],
1879
+ # },
1880
+ # on_exit: {
1881
+ # events: [
1882
+ # {
1883
+ # event_name: "EventName", # required
1884
+ # condition: "Condition",
1885
+ # actions: [
1886
+ # {
1887
+ # set_variable: {
1888
+ # variable_name: "VariableName", # required
1889
+ # value: "VariableValue", # required
1890
+ # },
1891
+ # sns: {
1892
+ # target_arn: "AmazonResourceName", # required
1893
+ # payload: {
1894
+ # content_expression: "ContentExpression", # required
1895
+ # type: "STRING", # required, accepts STRING, JSON
1896
+ # },
1897
+ # },
1898
+ # iot_topic_publish: {
1899
+ # mqtt_topic: "MQTTTopic", # required
1900
+ # payload: {
1901
+ # content_expression: "ContentExpression", # required
1902
+ # type: "STRING", # required, accepts STRING, JSON
1903
+ # },
1904
+ # },
1905
+ # set_timer: {
1906
+ # timer_name: "TimerName", # required
1907
+ # seconds: 1,
1908
+ # duration_expression: "VariableValue",
1909
+ # },
1910
+ # clear_timer: {
1911
+ # timer_name: "TimerName", # required
1912
+ # },
1913
+ # reset_timer: {
1914
+ # timer_name: "TimerName", # required
1915
+ # },
1916
+ # lambda: {
1917
+ # function_arn: "AmazonResourceName", # required
1918
+ # payload: {
1919
+ # content_expression: "ContentExpression", # required
1920
+ # type: "STRING", # required, accepts STRING, JSON
1921
+ # },
1922
+ # },
1923
+ # iot_events: {
1924
+ # input_name: "InputName", # required
1925
+ # payload: {
1926
+ # content_expression: "ContentExpression", # required
1927
+ # type: "STRING", # required, accepts STRING, JSON
1928
+ # },
1929
+ # },
1930
+ # sqs: {
1931
+ # queue_url: "QueueUrl", # required
1932
+ # use_base_64: false,
1933
+ # payload: {
1934
+ # content_expression: "ContentExpression", # required
1935
+ # type: "STRING", # required, accepts STRING, JSON
1936
+ # },
1937
+ # },
1938
+ # firehose: {
1939
+ # delivery_stream_name: "DeliveryStreamName", # required
1940
+ # separator: "FirehoseSeparator",
1941
+ # payload: {
1942
+ # content_expression: "ContentExpression", # required
1943
+ # type: "STRING", # required, accepts STRING, JSON
1944
+ # },
1945
+ # },
1946
+ # dynamo_db: {
1947
+ # hash_key_type: "DynamoKeyType",
1948
+ # hash_key_field: "DynamoKeyField", # required
1949
+ # hash_key_value: "DynamoKeyValue", # required
1950
+ # range_key_type: "DynamoKeyType",
1951
+ # range_key_field: "DynamoKeyField",
1952
+ # range_key_value: "DynamoKeyValue",
1953
+ # operation: "DynamoOperation",
1954
+ # payload_field: "DynamoKeyField",
1955
+ # table_name: "DynamoTableName", # required
1956
+ # payload: {
1957
+ # content_expression: "ContentExpression", # required
1958
+ # type: "STRING", # required, accepts STRING, JSON
1959
+ # },
1960
+ # },
1961
+ # dynamo_d_bv_2: {
1962
+ # table_name: "DynamoTableName", # required
1963
+ # payload: {
1964
+ # content_expression: "ContentExpression", # required
1965
+ # type: "STRING", # required, accepts STRING, JSON
1966
+ # },
1967
+ # },
1968
+ # iot_site_wise: {
1969
+ # entry_id: "AssetPropertyEntryId",
1970
+ # asset_id: "AssetId",
1971
+ # property_id: "AssetPropertyId",
1972
+ # property_alias: "AssetPropertyAlias",
1973
+ # property_value: { # required
1974
+ # value: { # required
1975
+ # string_value: "AssetPropertyStringValue",
1976
+ # integer_value: "AssetPropertyIntegerValue",
1977
+ # double_value: "AssetPropertyDoubleValue",
1978
+ # boolean_value: "AssetPropertyBooleanValue",
1979
+ # },
1980
+ # timestamp: {
1981
+ # time_in_seconds: "AssetPropertyTimeInSeconds", # required
1982
+ # offset_in_nanos: "AssetPropertyOffsetInNanos",
1983
+ # },
1984
+ # quality: "AssetPropertyQuality",
1985
+ # },
1986
+ # },
1987
+ # },
1988
+ # ],
1989
+ # },
1990
+ # ],
1991
+ # },
1992
+ # },
1993
+ # ],
1994
+ # initial_state_name: "StateName", # required
1995
+ # },
1996
+ # })
1997
+ #
1998
+ # @example Response structure
1999
+ #
2000
+ # resp.analysis_id #=> String
2001
+ #
2002
+ # @overload start_detector_model_analysis(params = {})
2003
+ # @param [Hash] params ({})
2004
+ def start_detector_model_analysis(params = {}, options = {})
2005
+ req = build_request(:start_detector_model_analysis, params)
2006
+ req.send_request(options)
2007
+ end
2008
+
1456
2009
  # Adds to or modifies the tags of the given resource. Tags are metadata
1457
2010
  # that can be used to manage a resource.
1458
2011
  #
@@ -2073,7 +2626,7 @@ module Aws::IoTEvents
2073
2626
  params: params,
2074
2627
  config: config)
2075
2628
  context[:gem_name] = 'aws-sdk-iotevents'
2076
- context[:gem_version] = '1.18.0'
2629
+ context[:gem_version] = '1.23.0'
2077
2630
  Seahorse::Client::Request.new(handlers, context)
2078
2631
  end
2079
2632