aws-sdk-iotevents 1.22.0 → 1.26.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +143 -0
- data/LICENSE.txt +202 -0
- data/VERSION +1 -0
- data/lib/aws-sdk-iotevents.rb +3 -3
- data/lib/aws-sdk-iotevents/client.rb +785 -28
- data/lib/aws-sdk-iotevents/client_api.rb +366 -3
- data/lib/aws-sdk-iotevents/errors.rb +1 -1
- data/lib/aws-sdk-iotevents/resource.rb +1 -1
- data/lib/aws-sdk-iotevents/types.rb +2102 -110
- metadata +11 -9
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fbed3da2410210daefc2bbaa5b3b152b46240cabf42ccad879c4ad8aca693e47
|
4
|
+
data.tar.gz: 3393376e79250805adb0f9c6f8382c9b3036983ea739a72589317cff1d2c046b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: af7c69ec7e2b95fe74c9247b63958e34e40fe096294c09eb054a0fa1be597b89a1c7ea30ca47266f5d6e3d22d9d0984b6ed13a35a3455daf5bf276160eed8c00
|
7
|
+
data.tar.gz: a29437ac8fc74c74ea30205397a4d9b38066526d3d29e64dd282b54c8b1bd7f7113fb2505ae09cdad218ce8e2485fbfb5c86d1914fd33be9facd6c79777a3d92
|
data/CHANGELOG.md
ADDED
@@ -0,0 +1,143 @@
|
|
1
|
+
Unreleased Changes
|
2
|
+
------------------
|
3
|
+
|
4
|
+
1.26.0 (2021-07-30)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
8
|
+
|
9
|
+
1.25.0 (2021-07-28)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
13
|
+
|
14
|
+
1.24.0 (2021-05-27)
|
15
|
+
------------------
|
16
|
+
|
17
|
+
* Feature - Releasing new APIs for AWS IoT Events Alarms
|
18
|
+
|
19
|
+
1.23.0 (2021-03-10)
|
20
|
+
------------------
|
21
|
+
|
22
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
23
|
+
|
24
|
+
1.22.0 (2021-02-23)
|
25
|
+
------------------
|
26
|
+
|
27
|
+
* Feature - This release adds an Analyze feature to AWS IoT Events that lets customers analyze their detector models for runtime issues.
|
28
|
+
|
29
|
+
1.21.0 (2021-02-02)
|
30
|
+
------------------
|
31
|
+
|
32
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
33
|
+
|
34
|
+
1.20.0 (2020-09-30)
|
35
|
+
------------------
|
36
|
+
|
37
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
38
|
+
|
39
|
+
1.19.0 (2020-09-15)
|
40
|
+
------------------
|
41
|
+
|
42
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
43
|
+
|
44
|
+
1.18.0 (2020-08-25)
|
45
|
+
------------------
|
46
|
+
|
47
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
48
|
+
|
49
|
+
1.17.0 (2020-06-23)
|
50
|
+
------------------
|
51
|
+
|
52
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
53
|
+
|
54
|
+
1.16.1 (2020-06-11)
|
55
|
+
------------------
|
56
|
+
|
57
|
+
* Issue - Republish previous version with correct dependency on `aws-sdk-core`.
|
58
|
+
|
59
|
+
1.16.0 (2020-06-10)
|
60
|
+
------------------
|
61
|
+
|
62
|
+
* Issue - This version has been yanked. (#2327).
|
63
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
64
|
+
|
65
|
+
1.15.0 (2020-05-28)
|
66
|
+
------------------
|
67
|
+
|
68
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
69
|
+
|
70
|
+
1.14.0 (2020-05-07)
|
71
|
+
------------------
|
72
|
+
|
73
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
74
|
+
|
75
|
+
1.13.0 (2020-04-30)
|
76
|
+
------------------
|
77
|
+
|
78
|
+
* Feature - Doc only update to correct APIs and related descriptions
|
79
|
+
|
80
|
+
1.12.0 (2020-04-20)
|
81
|
+
------------------
|
82
|
+
|
83
|
+
* Feature - API update that allows users to add AWS Iot SiteWise actions while creating Detector Model in AWS Iot Events
|
84
|
+
|
85
|
+
1.11.0 (2020-04-16)
|
86
|
+
------------------
|
87
|
+
|
88
|
+
* Feature - API update that allows users to customize event action payloads, and adds support for Amazon DynamoDB actions.
|
89
|
+
|
90
|
+
1.10.0 (2020-03-10)
|
91
|
+
------------------
|
92
|
+
|
93
|
+
* Feature - API update that adds a new parameter, durationExpression, to SetTimerAction, and deprecates seconds
|
94
|
+
|
95
|
+
1.9.0 (2020-03-09)
|
96
|
+
------------------
|
97
|
+
|
98
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
99
|
+
|
100
|
+
1.8.0 (2020-02-24)
|
101
|
+
------------------
|
102
|
+
|
103
|
+
* Feature - Documentation updates for iotcolumbo
|
104
|
+
|
105
|
+
1.7.0 (2020-01-21)
|
106
|
+
------------------
|
107
|
+
|
108
|
+
* Feature - Documentation updates for iotcolumbo
|
109
|
+
|
110
|
+
1.6.0 (2019-10-23)
|
111
|
+
------------------
|
112
|
+
|
113
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
114
|
+
|
115
|
+
1.5.0 (2019-10-22)
|
116
|
+
------------------
|
117
|
+
|
118
|
+
* Feature - Add support for new serial evaluation method for events in a detector model.
|
119
|
+
|
120
|
+
1.4.0 (2019-07-25)
|
121
|
+
------------------
|
122
|
+
|
123
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
124
|
+
|
125
|
+
1.3.0 (2019-07-19)
|
126
|
+
------------------
|
127
|
+
|
128
|
+
* Feature - Adds support for IoT Events, Lambda, SQS and Kinesis Firehose actions.
|
129
|
+
|
130
|
+
1.2.0 (2019-07-01)
|
131
|
+
------------------
|
132
|
+
|
133
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
134
|
+
|
135
|
+
1.1.0 (2019-06-17)
|
136
|
+
------------------
|
137
|
+
|
138
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
139
|
+
|
140
|
+
1.0.0 (2019-05-30)
|
141
|
+
------------------
|
142
|
+
|
143
|
+
* 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.26.0
|
data/lib/aws-sdk-iotevents.rb
CHANGED
@@ -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/
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
7
7
|
#
|
8
8
|
# WARNING ABOUT GENERATED CODE
|
9
9
|
|
@@ -28,7 +28,7 @@ require_relative 'aws-sdk-iotevents/customizations'
|
|
28
28
|
# structure.
|
29
29
|
#
|
30
30
|
# io_t_events = Aws::IoTEvents::Client.new
|
31
|
-
# resp = io_t_events.
|
31
|
+
# resp = io_t_events.create_alarm_model(params)
|
32
32
|
#
|
33
33
|
# See {Client} for more information.
|
34
34
|
#
|
@@ -48,6 +48,6 @@ require_relative 'aws-sdk-iotevents/customizations'
|
|
48
48
|
# @!group service
|
49
49
|
module Aws::IoTEvents
|
50
50
|
|
51
|
-
GEM_VERSION = '1.
|
51
|
+
GEM_VERSION = '1.26.0'
|
52
52
|
|
53
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/
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
7
7
|
#
|
8
8
|
# WARNING ABOUT GENERATED CODE
|
9
9
|
|
@@ -327,6 +327,259 @@ module Aws::IoTEvents
|
|
327
327
|
|
328
328
|
# @!group API Operations
|
329
329
|
|
330
|
+
# Creates an alarm model to monitor an AWS IoT Events input attribute.
|
331
|
+
# You can use the alarm to get notified when the value is outside a
|
332
|
+
# specified range. For more information, see [Create an alarm model][1]
|
333
|
+
# in the *AWS IoT Events Developer Guide*.
|
334
|
+
#
|
335
|
+
#
|
336
|
+
#
|
337
|
+
# [1]: https://docs.aws.amazon.com/iotevents/latest/developerguide/create-alarms.html
|
338
|
+
#
|
339
|
+
# @option params [required, String] :alarm_model_name
|
340
|
+
# A unique name that helps you identify the alarm model. You can't
|
341
|
+
# change this name after you create the alarm model.
|
342
|
+
#
|
343
|
+
# @option params [String] :alarm_model_description
|
344
|
+
# A description that tells you what the alarm model detects.
|
345
|
+
#
|
346
|
+
# @option params [required, String] :role_arn
|
347
|
+
# The ARN of the IAM role that allows the alarm to perform actions and
|
348
|
+
# access AWS resources. For more information, see [Amazon Resource Names
|
349
|
+
# (ARNs)][1] in the *AWS General Reference*.
|
350
|
+
#
|
351
|
+
#
|
352
|
+
#
|
353
|
+
# [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
|
354
|
+
#
|
355
|
+
# @option params [Array<Types::Tag>] :tags
|
356
|
+
# A list of key-value pairs that contain metadata for the alarm model.
|
357
|
+
# The tags help you manage the alarm model. For more information, see
|
358
|
+
# [Tagging your AWS IoT Events resources][1] in the *AWS IoT Events
|
359
|
+
# Developer Guide*.
|
360
|
+
#
|
361
|
+
# You can create up to 50 tags for one alarm model.
|
362
|
+
#
|
363
|
+
#
|
364
|
+
#
|
365
|
+
# [1]: https://docs.aws.amazon.com/iotevents/latest/developerguide/tagging-iotevents.html
|
366
|
+
#
|
367
|
+
# @option params [String] :key
|
368
|
+
# An input attribute used as a key to create an alarm. AWS IoT Events
|
369
|
+
# routes [inputs][1] associated with this key to the alarm.
|
370
|
+
#
|
371
|
+
#
|
372
|
+
#
|
373
|
+
# [1]: https://docs.aws.amazon.com/iotevents/latest/apireference/API_Input.html
|
374
|
+
#
|
375
|
+
# @option params [Integer] :severity
|
376
|
+
# A non-negative integer that reflects the severity level of the alarm.
|
377
|
+
#
|
378
|
+
# @option params [required, Types::AlarmRule] :alarm_rule
|
379
|
+
# Defines when your alarm is invoked.
|
380
|
+
#
|
381
|
+
# @option params [Types::AlarmNotification] :alarm_notification
|
382
|
+
# Contains information about one or more notification actions.
|
383
|
+
#
|
384
|
+
# @option params [Types::AlarmEventActions] :alarm_event_actions
|
385
|
+
# Contains information about one or more alarm actions.
|
386
|
+
#
|
387
|
+
# @option params [Types::AlarmCapabilities] :alarm_capabilities
|
388
|
+
# Contains the configuration information of alarm state changes.
|
389
|
+
#
|
390
|
+
# @return [Types::CreateAlarmModelResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
391
|
+
#
|
392
|
+
# * {Types::CreateAlarmModelResponse#creation_time #creation_time} => Time
|
393
|
+
# * {Types::CreateAlarmModelResponse#alarm_model_arn #alarm_model_arn} => String
|
394
|
+
# * {Types::CreateAlarmModelResponse#alarm_model_version #alarm_model_version} => String
|
395
|
+
# * {Types::CreateAlarmModelResponse#last_update_time #last_update_time} => Time
|
396
|
+
# * {Types::CreateAlarmModelResponse#status #status} => String
|
397
|
+
#
|
398
|
+
# @example Request syntax with placeholder values
|
399
|
+
#
|
400
|
+
# resp = client.create_alarm_model({
|
401
|
+
# alarm_model_name: "AlarmModelName", # required
|
402
|
+
# alarm_model_description: "AlarmModelDescription",
|
403
|
+
# role_arn: "AmazonResourceName", # required
|
404
|
+
# tags: [
|
405
|
+
# {
|
406
|
+
# key: "TagKey", # required
|
407
|
+
# value: "TagValue", # required
|
408
|
+
# },
|
409
|
+
# ],
|
410
|
+
# key: "AttributeJsonPath",
|
411
|
+
# severity: 1,
|
412
|
+
# alarm_rule: { # required
|
413
|
+
# simple_rule: {
|
414
|
+
# input_property: "InputProperty", # required
|
415
|
+
# comparison_operator: "GREATER", # required, accepts GREATER, GREATER_OR_EQUAL, LESS, LESS_OR_EQUAL, EQUAL, NOT_EQUAL
|
416
|
+
# threshold: "Threshold", # required
|
417
|
+
# },
|
418
|
+
# },
|
419
|
+
# alarm_notification: {
|
420
|
+
# notification_actions: [
|
421
|
+
# {
|
422
|
+
# action: { # required
|
423
|
+
# lambda_action: {
|
424
|
+
# function_arn: "AmazonResourceName", # required
|
425
|
+
# payload: {
|
426
|
+
# content_expression: "ContentExpression", # required
|
427
|
+
# type: "STRING", # required, accepts STRING, JSON
|
428
|
+
# },
|
429
|
+
# },
|
430
|
+
# },
|
431
|
+
# sms_configurations: [
|
432
|
+
# {
|
433
|
+
# sender_id: "SMSSenderId",
|
434
|
+
# additional_message: "NotificationAdditionalMessage",
|
435
|
+
# recipients: [ # required
|
436
|
+
# {
|
437
|
+
# sso_identity: {
|
438
|
+
# identity_store_id: "IdentityStoreId", # required
|
439
|
+
# user_id: "SSOReferenceId",
|
440
|
+
# },
|
441
|
+
# },
|
442
|
+
# ],
|
443
|
+
# },
|
444
|
+
# ],
|
445
|
+
# email_configurations: [
|
446
|
+
# {
|
447
|
+
# from: "FromEmail", # required
|
448
|
+
# content: {
|
449
|
+
# subject: "EmailSubject",
|
450
|
+
# additional_message: "NotificationAdditionalMessage",
|
451
|
+
# },
|
452
|
+
# recipients: { # required
|
453
|
+
# to: [
|
454
|
+
# {
|
455
|
+
# sso_identity: {
|
456
|
+
# identity_store_id: "IdentityStoreId", # required
|
457
|
+
# user_id: "SSOReferenceId",
|
458
|
+
# },
|
459
|
+
# },
|
460
|
+
# ],
|
461
|
+
# },
|
462
|
+
# },
|
463
|
+
# ],
|
464
|
+
# },
|
465
|
+
# ],
|
466
|
+
# },
|
467
|
+
# alarm_event_actions: {
|
468
|
+
# alarm_actions: [
|
469
|
+
# {
|
470
|
+
# sns: {
|
471
|
+
# target_arn: "AmazonResourceName", # required
|
472
|
+
# payload: {
|
473
|
+
# content_expression: "ContentExpression", # required
|
474
|
+
# type: "STRING", # required, accepts STRING, JSON
|
475
|
+
# },
|
476
|
+
# },
|
477
|
+
# iot_topic_publish: {
|
478
|
+
# mqtt_topic: "MQTTTopic", # required
|
479
|
+
# payload: {
|
480
|
+
# content_expression: "ContentExpression", # required
|
481
|
+
# type: "STRING", # required, accepts STRING, JSON
|
482
|
+
# },
|
483
|
+
# },
|
484
|
+
# lambda: {
|
485
|
+
# function_arn: "AmazonResourceName", # required
|
486
|
+
# payload: {
|
487
|
+
# content_expression: "ContentExpression", # required
|
488
|
+
# type: "STRING", # required, accepts STRING, JSON
|
489
|
+
# },
|
490
|
+
# },
|
491
|
+
# iot_events: {
|
492
|
+
# input_name: "InputName", # required
|
493
|
+
# payload: {
|
494
|
+
# content_expression: "ContentExpression", # required
|
495
|
+
# type: "STRING", # required, accepts STRING, JSON
|
496
|
+
# },
|
497
|
+
# },
|
498
|
+
# sqs: {
|
499
|
+
# queue_url: "QueueUrl", # required
|
500
|
+
# use_base_64: false,
|
501
|
+
# payload: {
|
502
|
+
# content_expression: "ContentExpression", # required
|
503
|
+
# type: "STRING", # required, accepts STRING, JSON
|
504
|
+
# },
|
505
|
+
# },
|
506
|
+
# firehose: {
|
507
|
+
# delivery_stream_name: "DeliveryStreamName", # required
|
508
|
+
# separator: "FirehoseSeparator",
|
509
|
+
# payload: {
|
510
|
+
# content_expression: "ContentExpression", # required
|
511
|
+
# type: "STRING", # required, accepts STRING, JSON
|
512
|
+
# },
|
513
|
+
# },
|
514
|
+
# dynamo_db: {
|
515
|
+
# hash_key_type: "DynamoKeyType",
|
516
|
+
# hash_key_field: "DynamoKeyField", # required
|
517
|
+
# hash_key_value: "DynamoKeyValue", # required
|
518
|
+
# range_key_type: "DynamoKeyType",
|
519
|
+
# range_key_field: "DynamoKeyField",
|
520
|
+
# range_key_value: "DynamoKeyValue",
|
521
|
+
# operation: "DynamoOperation",
|
522
|
+
# payload_field: "DynamoKeyField",
|
523
|
+
# table_name: "DynamoTableName", # required
|
524
|
+
# payload: {
|
525
|
+
# content_expression: "ContentExpression", # required
|
526
|
+
# type: "STRING", # required, accepts STRING, JSON
|
527
|
+
# },
|
528
|
+
# },
|
529
|
+
# dynamo_d_bv_2: {
|
530
|
+
# table_name: "DynamoTableName", # required
|
531
|
+
# payload: {
|
532
|
+
# content_expression: "ContentExpression", # required
|
533
|
+
# type: "STRING", # required, accepts STRING, JSON
|
534
|
+
# },
|
535
|
+
# },
|
536
|
+
# iot_site_wise: {
|
537
|
+
# entry_id: "AssetPropertyEntryId",
|
538
|
+
# asset_id: "AssetId",
|
539
|
+
# property_id: "AssetPropertyId",
|
540
|
+
# property_alias: "AssetPropertyAlias",
|
541
|
+
# property_value: {
|
542
|
+
# value: {
|
543
|
+
# string_value: "AssetPropertyStringValue",
|
544
|
+
# integer_value: "AssetPropertyIntegerValue",
|
545
|
+
# double_value: "AssetPropertyDoubleValue",
|
546
|
+
# boolean_value: "AssetPropertyBooleanValue",
|
547
|
+
# },
|
548
|
+
# timestamp: {
|
549
|
+
# time_in_seconds: "AssetPropertyTimeInSeconds", # required
|
550
|
+
# offset_in_nanos: "AssetPropertyOffsetInNanos",
|
551
|
+
# },
|
552
|
+
# quality: "AssetPropertyQuality",
|
553
|
+
# },
|
554
|
+
# },
|
555
|
+
# },
|
556
|
+
# ],
|
557
|
+
# },
|
558
|
+
# alarm_capabilities: {
|
559
|
+
# initialization_configuration: {
|
560
|
+
# disabled_on_initialization: false, # required
|
561
|
+
# },
|
562
|
+
# acknowledge_flow: {
|
563
|
+
# enabled: false, # required
|
564
|
+
# },
|
565
|
+
# },
|
566
|
+
# })
|
567
|
+
#
|
568
|
+
# @example Response structure
|
569
|
+
#
|
570
|
+
# resp.creation_time #=> Time
|
571
|
+
# resp.alarm_model_arn #=> String
|
572
|
+
# resp.alarm_model_version #=> String
|
573
|
+
# resp.last_update_time #=> Time
|
574
|
+
# resp.status #=> String, one of "ACTIVE", "ACTIVATING", "INACTIVE", "FAILED"
|
575
|
+
#
|
576
|
+
# @overload create_alarm_model(params = {})
|
577
|
+
# @param [Hash] params ({})
|
578
|
+
def create_alarm_model(params = {}, options = {})
|
579
|
+
req = build_request(:create_alarm_model, params)
|
580
|
+
req.send_request(options)
|
581
|
+
end
|
582
|
+
|
330
583
|
# Creates a detector model.
|
331
584
|
#
|
332
585
|
# @option params [required, String] :detector_model_name
|
@@ -462,8 +715,8 @@ module Aws::IoTEvents
|
|
462
715
|
# asset_id: "AssetId",
|
463
716
|
# property_id: "AssetPropertyId",
|
464
717
|
# property_alias: "AssetPropertyAlias",
|
465
|
-
# property_value: {
|
466
|
-
# value: {
|
718
|
+
# property_value: {
|
719
|
+
# value: {
|
467
720
|
# string_value: "AssetPropertyStringValue",
|
468
721
|
# integer_value: "AssetPropertyIntegerValue",
|
469
722
|
# double_value: "AssetPropertyDoubleValue",
|
@@ -572,8 +825,8 @@ module Aws::IoTEvents
|
|
572
825
|
# asset_id: "AssetId",
|
573
826
|
# property_id: "AssetPropertyId",
|
574
827
|
# property_alias: "AssetPropertyAlias",
|
575
|
-
# property_value: {
|
576
|
-
# value: {
|
828
|
+
# property_value: {
|
829
|
+
# value: {
|
577
830
|
# string_value: "AssetPropertyStringValue",
|
578
831
|
# integer_value: "AssetPropertyIntegerValue",
|
579
832
|
# double_value: "AssetPropertyDoubleValue",
|
@@ -685,8 +938,8 @@ module Aws::IoTEvents
|
|
685
938
|
# asset_id: "AssetId",
|
686
939
|
# property_id: "AssetPropertyId",
|
687
940
|
# property_alias: "AssetPropertyAlias",
|
688
|
-
# property_value: {
|
689
|
-
# value: {
|
941
|
+
# property_value: {
|
942
|
+
# value: {
|
690
943
|
# string_value: "AssetPropertyStringValue",
|
691
944
|
# integer_value: "AssetPropertyIntegerValue",
|
692
945
|
# double_value: "AssetPropertyDoubleValue",
|
@@ -797,8 +1050,8 @@ module Aws::IoTEvents
|
|
797
1050
|
# asset_id: "AssetId",
|
798
1051
|
# property_id: "AssetPropertyId",
|
799
1052
|
# property_alias: "AssetPropertyAlias",
|
800
|
-
# property_value: {
|
801
|
-
# value: {
|
1053
|
+
# property_value: {
|
1054
|
+
# value: {
|
802
1055
|
# string_value: "AssetPropertyStringValue",
|
803
1056
|
# integer_value: "AssetPropertyIntegerValue",
|
804
1057
|
# double_value: "AssetPropertyDoubleValue",
|
@@ -906,6 +1159,27 @@ module Aws::IoTEvents
|
|
906
1159
|
req.send_request(options)
|
907
1160
|
end
|
908
1161
|
|
1162
|
+
# Deletes an alarm model. Any alarm instances that were created based on
|
1163
|
+
# this alarm model are also deleted. This action can't be undone.
|
1164
|
+
#
|
1165
|
+
# @option params [required, String] :alarm_model_name
|
1166
|
+
# The name of the alarm model.
|
1167
|
+
#
|
1168
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
1169
|
+
#
|
1170
|
+
# @example Request syntax with placeholder values
|
1171
|
+
#
|
1172
|
+
# resp = client.delete_alarm_model({
|
1173
|
+
# alarm_model_name: "AlarmModelName", # required
|
1174
|
+
# })
|
1175
|
+
#
|
1176
|
+
# @overload delete_alarm_model(params = {})
|
1177
|
+
# @param [Hash] params ({})
|
1178
|
+
def delete_alarm_model(params = {}, options = {})
|
1179
|
+
req = build_request(:delete_alarm_model, params)
|
1180
|
+
req.send_request(options)
|
1181
|
+
end
|
1182
|
+
|
909
1183
|
# Deletes a detector model. Any active instances of the detector model
|
910
1184
|
# are also deleted.
|
911
1185
|
#
|
@@ -947,6 +1221,130 @@ module Aws::IoTEvents
|
|
947
1221
|
req.send_request(options)
|
948
1222
|
end
|
949
1223
|
|
1224
|
+
# Retrieves information about an alarm model. If you don't specify a
|
1225
|
+
# value for the `alarmModelVersion` parameter, the latest version is
|
1226
|
+
# returned.
|
1227
|
+
#
|
1228
|
+
# @option params [required, String] :alarm_model_name
|
1229
|
+
# The name of the alarm model.
|
1230
|
+
#
|
1231
|
+
# @option params [String] :alarm_model_version
|
1232
|
+
# The version of the alarm model.
|
1233
|
+
#
|
1234
|
+
# @return [Types::DescribeAlarmModelResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1235
|
+
#
|
1236
|
+
# * {Types::DescribeAlarmModelResponse#creation_time #creation_time} => Time
|
1237
|
+
# * {Types::DescribeAlarmModelResponse#alarm_model_arn #alarm_model_arn} => String
|
1238
|
+
# * {Types::DescribeAlarmModelResponse#alarm_model_version #alarm_model_version} => String
|
1239
|
+
# * {Types::DescribeAlarmModelResponse#last_update_time #last_update_time} => Time
|
1240
|
+
# * {Types::DescribeAlarmModelResponse#status #status} => String
|
1241
|
+
# * {Types::DescribeAlarmModelResponse#status_message #status_message} => String
|
1242
|
+
# * {Types::DescribeAlarmModelResponse#alarm_model_name #alarm_model_name} => String
|
1243
|
+
# * {Types::DescribeAlarmModelResponse#alarm_model_description #alarm_model_description} => String
|
1244
|
+
# * {Types::DescribeAlarmModelResponse#role_arn #role_arn} => String
|
1245
|
+
# * {Types::DescribeAlarmModelResponse#key #key} => String
|
1246
|
+
# * {Types::DescribeAlarmModelResponse#severity #severity} => Integer
|
1247
|
+
# * {Types::DescribeAlarmModelResponse#alarm_rule #alarm_rule} => Types::AlarmRule
|
1248
|
+
# * {Types::DescribeAlarmModelResponse#alarm_notification #alarm_notification} => Types::AlarmNotification
|
1249
|
+
# * {Types::DescribeAlarmModelResponse#alarm_event_actions #alarm_event_actions} => Types::AlarmEventActions
|
1250
|
+
# * {Types::DescribeAlarmModelResponse#alarm_capabilities #alarm_capabilities} => Types::AlarmCapabilities
|
1251
|
+
#
|
1252
|
+
# @example Request syntax with placeholder values
|
1253
|
+
#
|
1254
|
+
# resp = client.describe_alarm_model({
|
1255
|
+
# alarm_model_name: "AlarmModelName", # required
|
1256
|
+
# alarm_model_version: "AlarmModelVersion",
|
1257
|
+
# })
|
1258
|
+
#
|
1259
|
+
# @example Response structure
|
1260
|
+
#
|
1261
|
+
# resp.creation_time #=> Time
|
1262
|
+
# resp.alarm_model_arn #=> String
|
1263
|
+
# resp.alarm_model_version #=> String
|
1264
|
+
# resp.last_update_time #=> Time
|
1265
|
+
# resp.status #=> String, one of "ACTIVE", "ACTIVATING", "INACTIVE", "FAILED"
|
1266
|
+
# resp.status_message #=> String
|
1267
|
+
# resp.alarm_model_name #=> String
|
1268
|
+
# resp.alarm_model_description #=> String
|
1269
|
+
# resp.role_arn #=> String
|
1270
|
+
# resp.key #=> String
|
1271
|
+
# resp.severity #=> Integer
|
1272
|
+
# resp.alarm_rule.simple_rule.input_property #=> String
|
1273
|
+
# resp.alarm_rule.simple_rule.comparison_operator #=> String, one of "GREATER", "GREATER_OR_EQUAL", "LESS", "LESS_OR_EQUAL", "EQUAL", "NOT_EQUAL"
|
1274
|
+
# resp.alarm_rule.simple_rule.threshold #=> String
|
1275
|
+
# resp.alarm_notification.notification_actions #=> Array
|
1276
|
+
# resp.alarm_notification.notification_actions[0].action.lambda_action.function_arn #=> String
|
1277
|
+
# resp.alarm_notification.notification_actions[0].action.lambda_action.payload.content_expression #=> String
|
1278
|
+
# resp.alarm_notification.notification_actions[0].action.lambda_action.payload.type #=> String, one of "STRING", "JSON"
|
1279
|
+
# resp.alarm_notification.notification_actions[0].sms_configurations #=> Array
|
1280
|
+
# resp.alarm_notification.notification_actions[0].sms_configurations[0].sender_id #=> String
|
1281
|
+
# resp.alarm_notification.notification_actions[0].sms_configurations[0].additional_message #=> String
|
1282
|
+
# resp.alarm_notification.notification_actions[0].sms_configurations[0].recipients #=> Array
|
1283
|
+
# resp.alarm_notification.notification_actions[0].sms_configurations[0].recipients[0].sso_identity.identity_store_id #=> String
|
1284
|
+
# resp.alarm_notification.notification_actions[0].sms_configurations[0].recipients[0].sso_identity.user_id #=> String
|
1285
|
+
# resp.alarm_notification.notification_actions[0].email_configurations #=> Array
|
1286
|
+
# resp.alarm_notification.notification_actions[0].email_configurations[0].from #=> String
|
1287
|
+
# resp.alarm_notification.notification_actions[0].email_configurations[0].content.subject #=> String
|
1288
|
+
# resp.alarm_notification.notification_actions[0].email_configurations[0].content.additional_message #=> String
|
1289
|
+
# resp.alarm_notification.notification_actions[0].email_configurations[0].recipients.to #=> Array
|
1290
|
+
# resp.alarm_notification.notification_actions[0].email_configurations[0].recipients.to[0].sso_identity.identity_store_id #=> String
|
1291
|
+
# resp.alarm_notification.notification_actions[0].email_configurations[0].recipients.to[0].sso_identity.user_id #=> String
|
1292
|
+
# resp.alarm_event_actions.alarm_actions #=> Array
|
1293
|
+
# resp.alarm_event_actions.alarm_actions[0].sns.target_arn #=> String
|
1294
|
+
# resp.alarm_event_actions.alarm_actions[0].sns.payload.content_expression #=> String
|
1295
|
+
# resp.alarm_event_actions.alarm_actions[0].sns.payload.type #=> String, one of "STRING", "JSON"
|
1296
|
+
# resp.alarm_event_actions.alarm_actions[0].iot_topic_publish.mqtt_topic #=> String
|
1297
|
+
# resp.alarm_event_actions.alarm_actions[0].iot_topic_publish.payload.content_expression #=> String
|
1298
|
+
# resp.alarm_event_actions.alarm_actions[0].iot_topic_publish.payload.type #=> String, one of "STRING", "JSON"
|
1299
|
+
# resp.alarm_event_actions.alarm_actions[0].lambda.function_arn #=> String
|
1300
|
+
# resp.alarm_event_actions.alarm_actions[0].lambda.payload.content_expression #=> String
|
1301
|
+
# resp.alarm_event_actions.alarm_actions[0].lambda.payload.type #=> String, one of "STRING", "JSON"
|
1302
|
+
# resp.alarm_event_actions.alarm_actions[0].iot_events.input_name #=> String
|
1303
|
+
# resp.alarm_event_actions.alarm_actions[0].iot_events.payload.content_expression #=> String
|
1304
|
+
# resp.alarm_event_actions.alarm_actions[0].iot_events.payload.type #=> String, one of "STRING", "JSON"
|
1305
|
+
# resp.alarm_event_actions.alarm_actions[0].sqs.queue_url #=> String
|
1306
|
+
# resp.alarm_event_actions.alarm_actions[0].sqs.use_base_64 #=> Boolean
|
1307
|
+
# resp.alarm_event_actions.alarm_actions[0].sqs.payload.content_expression #=> String
|
1308
|
+
# resp.alarm_event_actions.alarm_actions[0].sqs.payload.type #=> String, one of "STRING", "JSON"
|
1309
|
+
# resp.alarm_event_actions.alarm_actions[0].firehose.delivery_stream_name #=> String
|
1310
|
+
# resp.alarm_event_actions.alarm_actions[0].firehose.separator #=> String
|
1311
|
+
# resp.alarm_event_actions.alarm_actions[0].firehose.payload.content_expression #=> String
|
1312
|
+
# resp.alarm_event_actions.alarm_actions[0].firehose.payload.type #=> String, one of "STRING", "JSON"
|
1313
|
+
# resp.alarm_event_actions.alarm_actions[0].dynamo_db.hash_key_type #=> String
|
1314
|
+
# resp.alarm_event_actions.alarm_actions[0].dynamo_db.hash_key_field #=> String
|
1315
|
+
# resp.alarm_event_actions.alarm_actions[0].dynamo_db.hash_key_value #=> String
|
1316
|
+
# resp.alarm_event_actions.alarm_actions[0].dynamo_db.range_key_type #=> String
|
1317
|
+
# resp.alarm_event_actions.alarm_actions[0].dynamo_db.range_key_field #=> String
|
1318
|
+
# resp.alarm_event_actions.alarm_actions[0].dynamo_db.range_key_value #=> String
|
1319
|
+
# resp.alarm_event_actions.alarm_actions[0].dynamo_db.operation #=> String
|
1320
|
+
# resp.alarm_event_actions.alarm_actions[0].dynamo_db.payload_field #=> String
|
1321
|
+
# resp.alarm_event_actions.alarm_actions[0].dynamo_db.table_name #=> String
|
1322
|
+
# resp.alarm_event_actions.alarm_actions[0].dynamo_db.payload.content_expression #=> String
|
1323
|
+
# resp.alarm_event_actions.alarm_actions[0].dynamo_db.payload.type #=> String, one of "STRING", "JSON"
|
1324
|
+
# resp.alarm_event_actions.alarm_actions[0].dynamo_d_bv_2.table_name #=> String
|
1325
|
+
# resp.alarm_event_actions.alarm_actions[0].dynamo_d_bv_2.payload.content_expression #=> String
|
1326
|
+
# resp.alarm_event_actions.alarm_actions[0].dynamo_d_bv_2.payload.type #=> String, one of "STRING", "JSON"
|
1327
|
+
# resp.alarm_event_actions.alarm_actions[0].iot_site_wise.entry_id #=> String
|
1328
|
+
# resp.alarm_event_actions.alarm_actions[0].iot_site_wise.asset_id #=> String
|
1329
|
+
# resp.alarm_event_actions.alarm_actions[0].iot_site_wise.property_id #=> String
|
1330
|
+
# resp.alarm_event_actions.alarm_actions[0].iot_site_wise.property_alias #=> String
|
1331
|
+
# resp.alarm_event_actions.alarm_actions[0].iot_site_wise.property_value.value.string_value #=> String
|
1332
|
+
# resp.alarm_event_actions.alarm_actions[0].iot_site_wise.property_value.value.integer_value #=> String
|
1333
|
+
# resp.alarm_event_actions.alarm_actions[0].iot_site_wise.property_value.value.double_value #=> String
|
1334
|
+
# resp.alarm_event_actions.alarm_actions[0].iot_site_wise.property_value.value.boolean_value #=> String
|
1335
|
+
# resp.alarm_event_actions.alarm_actions[0].iot_site_wise.property_value.timestamp.time_in_seconds #=> String
|
1336
|
+
# resp.alarm_event_actions.alarm_actions[0].iot_site_wise.property_value.timestamp.offset_in_nanos #=> String
|
1337
|
+
# resp.alarm_event_actions.alarm_actions[0].iot_site_wise.property_value.quality #=> String
|
1338
|
+
# resp.alarm_capabilities.initialization_configuration.disabled_on_initialization #=> Boolean
|
1339
|
+
# resp.alarm_capabilities.acknowledge_flow.enabled #=> Boolean
|
1340
|
+
#
|
1341
|
+
# @overload describe_alarm_model(params = {})
|
1342
|
+
# @param [Hash] params ({})
|
1343
|
+
def describe_alarm_model(params = {}, options = {})
|
1344
|
+
req = build_request(:describe_alarm_model, params)
|
1345
|
+
req.send_request(options)
|
1346
|
+
end
|
1347
|
+
|
950
1348
|
# Describes a detector model. If the `version` parameter is not
|
951
1349
|
# specified, information about the latest version is returned.
|
952
1350
|
#
|
@@ -1215,7 +1613,12 @@ module Aws::IoTEvents
|
|
1215
1613
|
req.send_request(options)
|
1216
1614
|
end
|
1217
1615
|
|
1218
|
-
# Retrieves
|
1616
|
+
# Retrieves runtime information about a detector model analysis.
|
1617
|
+
#
|
1618
|
+
# <note markdown="1"> After AWS IoT Events starts analyzing your detector model, you have up
|
1619
|
+
# to 24 hours to retrieve the analysis results.
|
1620
|
+
#
|
1621
|
+
# </note>
|
1219
1622
|
#
|
1220
1623
|
# @option params [required, String] :analysis_id
|
1221
1624
|
# The ID of the analysis result that you want to retrieve.
|
@@ -1298,6 +1701,11 @@ module Aws::IoTEvents
|
|
1298
1701
|
|
1299
1702
|
# Retrieves one or more analysis results of the detector model.
|
1300
1703
|
#
|
1704
|
+
# <note markdown="1"> After AWS IoT Events starts analyzing your detector model, you have up
|
1705
|
+
# to 24 hours to retrieve the analysis results.
|
1706
|
+
#
|
1707
|
+
# </note>
|
1708
|
+
#
|
1301
1709
|
# @option params [required, String] :analysis_id
|
1302
1710
|
# The ID of the analysis result that you want to retrieve.
|
1303
1711
|
#
|
@@ -1337,6 +1745,87 @@ module Aws::IoTEvents
|
|
1337
1745
|
req.send_request(options)
|
1338
1746
|
end
|
1339
1747
|
|
1748
|
+
# Lists all the versions of an alarm model. The operation returns only
|
1749
|
+
# the metadata associated with each alarm model version.
|
1750
|
+
#
|
1751
|
+
# @option params [required, String] :alarm_model_name
|
1752
|
+
# The name of the alarm model.
|
1753
|
+
#
|
1754
|
+
# @option params [String] :next_token
|
1755
|
+
# The token that you can use to return the next set of results.
|
1756
|
+
#
|
1757
|
+
# @option params [Integer] :max_results
|
1758
|
+
# The maximum number of results to be returned per request.
|
1759
|
+
#
|
1760
|
+
# @return [Types::ListAlarmModelVersionsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1761
|
+
#
|
1762
|
+
# * {Types::ListAlarmModelVersionsResponse#alarm_model_version_summaries #alarm_model_version_summaries} => Array<Types::AlarmModelVersionSummary>
|
1763
|
+
# * {Types::ListAlarmModelVersionsResponse#next_token #next_token} => String
|
1764
|
+
#
|
1765
|
+
# @example Request syntax with placeholder values
|
1766
|
+
#
|
1767
|
+
# resp = client.list_alarm_model_versions({
|
1768
|
+
# alarm_model_name: "AlarmModelName", # required
|
1769
|
+
# next_token: "NextToken",
|
1770
|
+
# max_results: 1,
|
1771
|
+
# })
|
1772
|
+
#
|
1773
|
+
# @example Response structure
|
1774
|
+
#
|
1775
|
+
# resp.alarm_model_version_summaries #=> Array
|
1776
|
+
# resp.alarm_model_version_summaries[0].alarm_model_name #=> String
|
1777
|
+
# resp.alarm_model_version_summaries[0].alarm_model_arn #=> String
|
1778
|
+
# resp.alarm_model_version_summaries[0].alarm_model_version #=> String
|
1779
|
+
# resp.alarm_model_version_summaries[0].role_arn #=> String
|
1780
|
+
# resp.alarm_model_version_summaries[0].creation_time #=> Time
|
1781
|
+
# resp.alarm_model_version_summaries[0].last_update_time #=> Time
|
1782
|
+
# resp.alarm_model_version_summaries[0].status #=> String, one of "ACTIVE", "ACTIVATING", "INACTIVE", "FAILED"
|
1783
|
+
# resp.alarm_model_version_summaries[0].status_message #=> String
|
1784
|
+
# resp.next_token #=> String
|
1785
|
+
#
|
1786
|
+
# @overload list_alarm_model_versions(params = {})
|
1787
|
+
# @param [Hash] params ({})
|
1788
|
+
def list_alarm_model_versions(params = {}, options = {})
|
1789
|
+
req = build_request(:list_alarm_model_versions, params)
|
1790
|
+
req.send_request(options)
|
1791
|
+
end
|
1792
|
+
|
1793
|
+
# Lists the alarm models that you created. The operation returns only
|
1794
|
+
# the metadata associated with each alarm model.
|
1795
|
+
#
|
1796
|
+
# @option params [String] :next_token
|
1797
|
+
# The token that you can use to return the next set of results.
|
1798
|
+
#
|
1799
|
+
# @option params [Integer] :max_results
|
1800
|
+
# The maximum number of results to be returned per request.
|
1801
|
+
#
|
1802
|
+
# @return [Types::ListAlarmModelsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1803
|
+
#
|
1804
|
+
# * {Types::ListAlarmModelsResponse#alarm_model_summaries #alarm_model_summaries} => Array<Types::AlarmModelSummary>
|
1805
|
+
# * {Types::ListAlarmModelsResponse#next_token #next_token} => String
|
1806
|
+
#
|
1807
|
+
# @example Request syntax with placeholder values
|
1808
|
+
#
|
1809
|
+
# resp = client.list_alarm_models({
|
1810
|
+
# next_token: "NextToken",
|
1811
|
+
# max_results: 1,
|
1812
|
+
# })
|
1813
|
+
#
|
1814
|
+
# @example Response structure
|
1815
|
+
#
|
1816
|
+
# resp.alarm_model_summaries #=> Array
|
1817
|
+
# resp.alarm_model_summaries[0].creation_time #=> Time
|
1818
|
+
# resp.alarm_model_summaries[0].alarm_model_description #=> String
|
1819
|
+
# resp.alarm_model_summaries[0].alarm_model_name #=> String
|
1820
|
+
# resp.next_token #=> String
|
1821
|
+
#
|
1822
|
+
# @overload list_alarm_models(params = {})
|
1823
|
+
# @param [Hash] params ({})
|
1824
|
+
def list_alarm_models(params = {}, options = {})
|
1825
|
+
req = build_request(:list_alarm_models, params)
|
1826
|
+
req.send_request(options)
|
1827
|
+
end
|
1828
|
+
|
1340
1829
|
# Lists all the versions of a detector model. Only the metadata
|
1341
1830
|
# associated with each detector model version is returned.
|
1342
1831
|
#
|
@@ -1418,6 +1907,54 @@ module Aws::IoTEvents
|
|
1418
1907
|
req.send_request(options)
|
1419
1908
|
end
|
1420
1909
|
|
1910
|
+
# Lists one or more input routings.
|
1911
|
+
#
|
1912
|
+
# @option params [required, Types::InputIdentifier] :input_identifier
|
1913
|
+
# The identifer of the routed input.
|
1914
|
+
#
|
1915
|
+
# @option params [Integer] :max_results
|
1916
|
+
# The maximum number of results to be returned per request.
|
1917
|
+
#
|
1918
|
+
# @option params [String] :next_token
|
1919
|
+
# The token that you can use to return the next set of results.
|
1920
|
+
#
|
1921
|
+
# @return [Types::ListInputRoutingsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1922
|
+
#
|
1923
|
+
# * {Types::ListInputRoutingsResponse#routed_resources #routed_resources} => Array<Types::RoutedResource>
|
1924
|
+
# * {Types::ListInputRoutingsResponse#next_token #next_token} => String
|
1925
|
+
#
|
1926
|
+
# @example Request syntax with placeholder values
|
1927
|
+
#
|
1928
|
+
# resp = client.list_input_routings({
|
1929
|
+
# input_identifier: { # required
|
1930
|
+
# iot_events_input_identifier: {
|
1931
|
+
# input_name: "InputName", # required
|
1932
|
+
# },
|
1933
|
+
# iot_site_wise_input_identifier: {
|
1934
|
+
# iot_site_wise_asset_model_property_identifier: {
|
1935
|
+
# asset_model_id: "AssetModelId", # required
|
1936
|
+
# property_id: "AssetPropertyId", # required
|
1937
|
+
# },
|
1938
|
+
# },
|
1939
|
+
# },
|
1940
|
+
# max_results: 1,
|
1941
|
+
# next_token: "NextToken",
|
1942
|
+
# })
|
1943
|
+
#
|
1944
|
+
# @example Response structure
|
1945
|
+
#
|
1946
|
+
# resp.routed_resources #=> Array
|
1947
|
+
# resp.routed_resources[0].name #=> String
|
1948
|
+
# resp.routed_resources[0].arn #=> String
|
1949
|
+
# resp.next_token #=> String
|
1950
|
+
#
|
1951
|
+
# @overload list_input_routings(params = {})
|
1952
|
+
# @param [Hash] params ({})
|
1953
|
+
def list_input_routings(params = {}, options = {})
|
1954
|
+
req = build_request(:list_input_routings, params)
|
1955
|
+
req.send_request(options)
|
1956
|
+
end
|
1957
|
+
|
1421
1958
|
# Lists the inputs you have created.
|
1422
1959
|
#
|
1423
1960
|
# @option params [String] :next_token
|
@@ -1521,7 +2058,7 @@ module Aws::IoTEvents
|
|
1521
2058
|
end
|
1522
2059
|
|
1523
2060
|
# Performs an analysis of your detector model. For more information, see
|
1524
|
-
# [
|
2061
|
+
# [Troubleshooting a detector model][1] in the *AWS IoT Events Developer
|
1525
2062
|
# Guide*.
|
1526
2063
|
#
|
1527
2064
|
#
|
@@ -1635,8 +2172,8 @@ module Aws::IoTEvents
|
|
1635
2172
|
# asset_id: "AssetId",
|
1636
2173
|
# property_id: "AssetPropertyId",
|
1637
2174
|
# property_alias: "AssetPropertyAlias",
|
1638
|
-
# property_value: {
|
1639
|
-
# value: {
|
2175
|
+
# property_value: {
|
2176
|
+
# value: {
|
1640
2177
|
# string_value: "AssetPropertyStringValue",
|
1641
2178
|
# integer_value: "AssetPropertyIntegerValue",
|
1642
2179
|
# double_value: "AssetPropertyDoubleValue",
|
@@ -1745,8 +2282,8 @@ module Aws::IoTEvents
|
|
1745
2282
|
# asset_id: "AssetId",
|
1746
2283
|
# property_id: "AssetPropertyId",
|
1747
2284
|
# property_alias: "AssetPropertyAlias",
|
1748
|
-
# property_value: {
|
1749
|
-
# value: {
|
2285
|
+
# property_value: {
|
2286
|
+
# value: {
|
1750
2287
|
# string_value: "AssetPropertyStringValue",
|
1751
2288
|
# integer_value: "AssetPropertyIntegerValue",
|
1752
2289
|
# double_value: "AssetPropertyDoubleValue",
|
@@ -1858,8 +2395,8 @@ module Aws::IoTEvents
|
|
1858
2395
|
# asset_id: "AssetId",
|
1859
2396
|
# property_id: "AssetPropertyId",
|
1860
2397
|
# property_alias: "AssetPropertyAlias",
|
1861
|
-
# property_value: {
|
1862
|
-
# value: {
|
2398
|
+
# property_value: {
|
2399
|
+
# value: {
|
1863
2400
|
# string_value: "AssetPropertyStringValue",
|
1864
2401
|
# integer_value: "AssetPropertyIntegerValue",
|
1865
2402
|
# double_value: "AssetPropertyDoubleValue",
|
@@ -1970,8 +2507,8 @@ module Aws::IoTEvents
|
|
1970
2507
|
# asset_id: "AssetId",
|
1971
2508
|
# property_id: "AssetPropertyId",
|
1972
2509
|
# property_alias: "AssetPropertyAlias",
|
1973
|
-
# property_value: {
|
1974
|
-
# value: {
|
2510
|
+
# property_value: {
|
2511
|
+
# value: {
|
1975
2512
|
# string_value: "AssetPropertyStringValue",
|
1976
2513
|
# integer_value: "AssetPropertyIntegerValue",
|
1977
2514
|
# double_value: "AssetPropertyDoubleValue",
|
@@ -2060,6 +2597,226 @@ module Aws::IoTEvents
|
|
2060
2597
|
req.send_request(options)
|
2061
2598
|
end
|
2062
2599
|
|
2600
|
+
# Updates an alarm model. Any alarms that were created based on the
|
2601
|
+
# previous version are deleted and then created again as new data
|
2602
|
+
# arrives.
|
2603
|
+
#
|
2604
|
+
# @option params [required, String] :alarm_model_name
|
2605
|
+
# The name of the alarm model.
|
2606
|
+
#
|
2607
|
+
# @option params [String] :alarm_model_description
|
2608
|
+
# The description of the alarm model.
|
2609
|
+
#
|
2610
|
+
# @option params [required, String] :role_arn
|
2611
|
+
# The ARN of the IAM role that allows the alarm to perform actions and
|
2612
|
+
# access AWS resources. For more information, see [Amazon Resource Names
|
2613
|
+
# (ARNs)][1] in the *AWS General Reference*.
|
2614
|
+
#
|
2615
|
+
#
|
2616
|
+
#
|
2617
|
+
# [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
|
2618
|
+
#
|
2619
|
+
# @option params [Integer] :severity
|
2620
|
+
# A non-negative integer that reflects the severity level of the alarm.
|
2621
|
+
#
|
2622
|
+
# @option params [required, Types::AlarmRule] :alarm_rule
|
2623
|
+
# Defines when your alarm is invoked.
|
2624
|
+
#
|
2625
|
+
# @option params [Types::AlarmNotification] :alarm_notification
|
2626
|
+
# Contains information about one or more notification actions.
|
2627
|
+
#
|
2628
|
+
# @option params [Types::AlarmEventActions] :alarm_event_actions
|
2629
|
+
# Contains information about one or more alarm actions.
|
2630
|
+
#
|
2631
|
+
# @option params [Types::AlarmCapabilities] :alarm_capabilities
|
2632
|
+
# Contains the configuration information of alarm state changes.
|
2633
|
+
#
|
2634
|
+
# @return [Types::UpdateAlarmModelResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2635
|
+
#
|
2636
|
+
# * {Types::UpdateAlarmModelResponse#creation_time #creation_time} => Time
|
2637
|
+
# * {Types::UpdateAlarmModelResponse#alarm_model_arn #alarm_model_arn} => String
|
2638
|
+
# * {Types::UpdateAlarmModelResponse#alarm_model_version #alarm_model_version} => String
|
2639
|
+
# * {Types::UpdateAlarmModelResponse#last_update_time #last_update_time} => Time
|
2640
|
+
# * {Types::UpdateAlarmModelResponse#status #status} => String
|
2641
|
+
#
|
2642
|
+
# @example Request syntax with placeholder values
|
2643
|
+
#
|
2644
|
+
# resp = client.update_alarm_model({
|
2645
|
+
# alarm_model_name: "AlarmModelName", # required
|
2646
|
+
# alarm_model_description: "AlarmModelDescription",
|
2647
|
+
# role_arn: "AmazonResourceName", # required
|
2648
|
+
# severity: 1,
|
2649
|
+
# alarm_rule: { # required
|
2650
|
+
# simple_rule: {
|
2651
|
+
# input_property: "InputProperty", # required
|
2652
|
+
# comparison_operator: "GREATER", # required, accepts GREATER, GREATER_OR_EQUAL, LESS, LESS_OR_EQUAL, EQUAL, NOT_EQUAL
|
2653
|
+
# threshold: "Threshold", # required
|
2654
|
+
# },
|
2655
|
+
# },
|
2656
|
+
# alarm_notification: {
|
2657
|
+
# notification_actions: [
|
2658
|
+
# {
|
2659
|
+
# action: { # required
|
2660
|
+
# lambda_action: {
|
2661
|
+
# function_arn: "AmazonResourceName", # required
|
2662
|
+
# payload: {
|
2663
|
+
# content_expression: "ContentExpression", # required
|
2664
|
+
# type: "STRING", # required, accepts STRING, JSON
|
2665
|
+
# },
|
2666
|
+
# },
|
2667
|
+
# },
|
2668
|
+
# sms_configurations: [
|
2669
|
+
# {
|
2670
|
+
# sender_id: "SMSSenderId",
|
2671
|
+
# additional_message: "NotificationAdditionalMessage",
|
2672
|
+
# recipients: [ # required
|
2673
|
+
# {
|
2674
|
+
# sso_identity: {
|
2675
|
+
# identity_store_id: "IdentityStoreId", # required
|
2676
|
+
# user_id: "SSOReferenceId",
|
2677
|
+
# },
|
2678
|
+
# },
|
2679
|
+
# ],
|
2680
|
+
# },
|
2681
|
+
# ],
|
2682
|
+
# email_configurations: [
|
2683
|
+
# {
|
2684
|
+
# from: "FromEmail", # required
|
2685
|
+
# content: {
|
2686
|
+
# subject: "EmailSubject",
|
2687
|
+
# additional_message: "NotificationAdditionalMessage",
|
2688
|
+
# },
|
2689
|
+
# recipients: { # required
|
2690
|
+
# to: [
|
2691
|
+
# {
|
2692
|
+
# sso_identity: {
|
2693
|
+
# identity_store_id: "IdentityStoreId", # required
|
2694
|
+
# user_id: "SSOReferenceId",
|
2695
|
+
# },
|
2696
|
+
# },
|
2697
|
+
# ],
|
2698
|
+
# },
|
2699
|
+
# },
|
2700
|
+
# ],
|
2701
|
+
# },
|
2702
|
+
# ],
|
2703
|
+
# },
|
2704
|
+
# alarm_event_actions: {
|
2705
|
+
# alarm_actions: [
|
2706
|
+
# {
|
2707
|
+
# sns: {
|
2708
|
+
# target_arn: "AmazonResourceName", # required
|
2709
|
+
# payload: {
|
2710
|
+
# content_expression: "ContentExpression", # required
|
2711
|
+
# type: "STRING", # required, accepts STRING, JSON
|
2712
|
+
# },
|
2713
|
+
# },
|
2714
|
+
# iot_topic_publish: {
|
2715
|
+
# mqtt_topic: "MQTTTopic", # required
|
2716
|
+
# payload: {
|
2717
|
+
# content_expression: "ContentExpression", # required
|
2718
|
+
# type: "STRING", # required, accepts STRING, JSON
|
2719
|
+
# },
|
2720
|
+
# },
|
2721
|
+
# lambda: {
|
2722
|
+
# function_arn: "AmazonResourceName", # required
|
2723
|
+
# payload: {
|
2724
|
+
# content_expression: "ContentExpression", # required
|
2725
|
+
# type: "STRING", # required, accepts STRING, JSON
|
2726
|
+
# },
|
2727
|
+
# },
|
2728
|
+
# iot_events: {
|
2729
|
+
# input_name: "InputName", # required
|
2730
|
+
# payload: {
|
2731
|
+
# content_expression: "ContentExpression", # required
|
2732
|
+
# type: "STRING", # required, accepts STRING, JSON
|
2733
|
+
# },
|
2734
|
+
# },
|
2735
|
+
# sqs: {
|
2736
|
+
# queue_url: "QueueUrl", # required
|
2737
|
+
# use_base_64: false,
|
2738
|
+
# payload: {
|
2739
|
+
# content_expression: "ContentExpression", # required
|
2740
|
+
# type: "STRING", # required, accepts STRING, JSON
|
2741
|
+
# },
|
2742
|
+
# },
|
2743
|
+
# firehose: {
|
2744
|
+
# delivery_stream_name: "DeliveryStreamName", # required
|
2745
|
+
# separator: "FirehoseSeparator",
|
2746
|
+
# payload: {
|
2747
|
+
# content_expression: "ContentExpression", # required
|
2748
|
+
# type: "STRING", # required, accepts STRING, JSON
|
2749
|
+
# },
|
2750
|
+
# },
|
2751
|
+
# dynamo_db: {
|
2752
|
+
# hash_key_type: "DynamoKeyType",
|
2753
|
+
# hash_key_field: "DynamoKeyField", # required
|
2754
|
+
# hash_key_value: "DynamoKeyValue", # required
|
2755
|
+
# range_key_type: "DynamoKeyType",
|
2756
|
+
# range_key_field: "DynamoKeyField",
|
2757
|
+
# range_key_value: "DynamoKeyValue",
|
2758
|
+
# operation: "DynamoOperation",
|
2759
|
+
# payload_field: "DynamoKeyField",
|
2760
|
+
# table_name: "DynamoTableName", # required
|
2761
|
+
# payload: {
|
2762
|
+
# content_expression: "ContentExpression", # required
|
2763
|
+
# type: "STRING", # required, accepts STRING, JSON
|
2764
|
+
# },
|
2765
|
+
# },
|
2766
|
+
# dynamo_d_bv_2: {
|
2767
|
+
# table_name: "DynamoTableName", # required
|
2768
|
+
# payload: {
|
2769
|
+
# content_expression: "ContentExpression", # required
|
2770
|
+
# type: "STRING", # required, accepts STRING, JSON
|
2771
|
+
# },
|
2772
|
+
# },
|
2773
|
+
# iot_site_wise: {
|
2774
|
+
# entry_id: "AssetPropertyEntryId",
|
2775
|
+
# asset_id: "AssetId",
|
2776
|
+
# property_id: "AssetPropertyId",
|
2777
|
+
# property_alias: "AssetPropertyAlias",
|
2778
|
+
# property_value: {
|
2779
|
+
# value: {
|
2780
|
+
# string_value: "AssetPropertyStringValue",
|
2781
|
+
# integer_value: "AssetPropertyIntegerValue",
|
2782
|
+
# double_value: "AssetPropertyDoubleValue",
|
2783
|
+
# boolean_value: "AssetPropertyBooleanValue",
|
2784
|
+
# },
|
2785
|
+
# timestamp: {
|
2786
|
+
# time_in_seconds: "AssetPropertyTimeInSeconds", # required
|
2787
|
+
# offset_in_nanos: "AssetPropertyOffsetInNanos",
|
2788
|
+
# },
|
2789
|
+
# quality: "AssetPropertyQuality",
|
2790
|
+
# },
|
2791
|
+
# },
|
2792
|
+
# },
|
2793
|
+
# ],
|
2794
|
+
# },
|
2795
|
+
# alarm_capabilities: {
|
2796
|
+
# initialization_configuration: {
|
2797
|
+
# disabled_on_initialization: false, # required
|
2798
|
+
# },
|
2799
|
+
# acknowledge_flow: {
|
2800
|
+
# enabled: false, # required
|
2801
|
+
# },
|
2802
|
+
# },
|
2803
|
+
# })
|
2804
|
+
#
|
2805
|
+
# @example Response structure
|
2806
|
+
#
|
2807
|
+
# resp.creation_time #=> Time
|
2808
|
+
# resp.alarm_model_arn #=> String
|
2809
|
+
# resp.alarm_model_version #=> String
|
2810
|
+
# resp.last_update_time #=> Time
|
2811
|
+
# resp.status #=> String, one of "ACTIVE", "ACTIVATING", "INACTIVE", "FAILED"
|
2812
|
+
#
|
2813
|
+
# @overload update_alarm_model(params = {})
|
2814
|
+
# @param [Hash] params ({})
|
2815
|
+
def update_alarm_model(params = {}, options = {})
|
2816
|
+
req = build_request(:update_alarm_model, params)
|
2817
|
+
req.send_request(options)
|
2818
|
+
end
|
2819
|
+
|
2063
2820
|
# Updates a detector model. Detectors (instances) spawned by the
|
2064
2821
|
# previous version are deleted and then re-created as new inputs arrive.
|
2065
2822
|
#
|
@@ -2185,8 +2942,8 @@ module Aws::IoTEvents
|
|
2185
2942
|
# asset_id: "AssetId",
|
2186
2943
|
# property_id: "AssetPropertyId",
|
2187
2944
|
# property_alias: "AssetPropertyAlias",
|
2188
|
-
# property_value: {
|
2189
|
-
# value: {
|
2945
|
+
# property_value: {
|
2946
|
+
# value: {
|
2190
2947
|
# string_value: "AssetPropertyStringValue",
|
2191
2948
|
# integer_value: "AssetPropertyIntegerValue",
|
2192
2949
|
# double_value: "AssetPropertyDoubleValue",
|
@@ -2295,8 +3052,8 @@ module Aws::IoTEvents
|
|
2295
3052
|
# asset_id: "AssetId",
|
2296
3053
|
# property_id: "AssetPropertyId",
|
2297
3054
|
# property_alias: "AssetPropertyAlias",
|
2298
|
-
# property_value: {
|
2299
|
-
# value: {
|
3055
|
+
# property_value: {
|
3056
|
+
# value: {
|
2300
3057
|
# string_value: "AssetPropertyStringValue",
|
2301
3058
|
# integer_value: "AssetPropertyIntegerValue",
|
2302
3059
|
# double_value: "AssetPropertyDoubleValue",
|
@@ -2408,8 +3165,8 @@ module Aws::IoTEvents
|
|
2408
3165
|
# asset_id: "AssetId",
|
2409
3166
|
# property_id: "AssetPropertyId",
|
2410
3167
|
# property_alias: "AssetPropertyAlias",
|
2411
|
-
# property_value: {
|
2412
|
-
# value: {
|
3168
|
+
# property_value: {
|
3169
|
+
# value: {
|
2413
3170
|
# string_value: "AssetPropertyStringValue",
|
2414
3171
|
# integer_value: "AssetPropertyIntegerValue",
|
2415
3172
|
# double_value: "AssetPropertyDoubleValue",
|
@@ -2520,8 +3277,8 @@ module Aws::IoTEvents
|
|
2520
3277
|
# asset_id: "AssetId",
|
2521
3278
|
# property_id: "AssetPropertyId",
|
2522
3279
|
# property_alias: "AssetPropertyAlias",
|
2523
|
-
# property_value: {
|
2524
|
-
# value: {
|
3280
|
+
# property_value: {
|
3281
|
+
# value: {
|
2525
3282
|
# string_value: "AssetPropertyStringValue",
|
2526
3283
|
# integer_value: "AssetPropertyIntegerValue",
|
2527
3284
|
# double_value: "AssetPropertyDoubleValue",
|
@@ -2626,7 +3383,7 @@ module Aws::IoTEvents
|
|
2626
3383
|
params: params,
|
2627
3384
|
config: config)
|
2628
3385
|
context[:gem_name] = 'aws-sdk-iotevents'
|
2629
|
-
context[:gem_version] = '1.
|
3386
|
+
context[:gem_version] = '1.26.0'
|
2630
3387
|
Seahorse::Client::Request.new(handlers, context)
|
2631
3388
|
end
|
2632
3389
|
|