aws-sdk-ioteventsdata 1.11.0 → 1.16.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 +93 -0
- data/LICENSE.txt +202 -0
- data/VERSION +1 -0
- data/lib/aws-sdk-ioteventsdata.rb +4 -3
- data/lib/aws-sdk-ioteventsdata/client.rb +295 -5
- data/lib/aws-sdk-ioteventsdata/client_api.rb +306 -3
- data/lib/aws-sdk-ioteventsdata/errors.rb +1 -1
- data/lib/aws-sdk-ioteventsdata/resource.rb +1 -1
- data/lib/aws-sdk-ioteventsdata/types.rb +929 -14
- 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: 79045351c0a161994fa2e521493dd3434de1804a28c7725b21ed30c0afc023c2
|
4
|
+
data.tar.gz: ef6c940ece88e974453c325f1e0c2c867e5d60775017a85c71a0db653d87da9b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 558cbd80dbe5e83b76df9d0a7994de9b6744235157a75084a445b0ebc50f99e25d3bdba3d28d1ec8f6ba579c2da627df6d736249532009df9d297391d47c1853
|
7
|
+
data.tar.gz: 129264249b77b85ededa40724022ab8096c71c7fdd9ddf6f6caf04cfc4feedf23e5fd061f18f859c061a73476ae0c1ec75c2c49da04ae507365f5b6f3fed9c3b
|
data/CHANGELOG.md
ADDED
@@ -0,0 +1,93 @@
|
|
1
|
+
Unreleased Changes
|
2
|
+
------------------
|
3
|
+
|
4
|
+
1.16.0 (2021-05-27)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Releasing new APIs for AWS IoT Events Alarms
|
8
|
+
|
9
|
+
1.15.0 (2021-03-10)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
13
|
+
|
14
|
+
1.14.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.13.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.12.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.11.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.10.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.9.1 (2020-06-11)
|
40
|
+
------------------
|
41
|
+
|
42
|
+
* Issue - Republish previous version with correct dependency on `aws-sdk-core`.
|
43
|
+
|
44
|
+
1.9.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.8.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.7.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.6.0 (2020-03-09)
|
61
|
+
------------------
|
62
|
+
|
63
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
64
|
+
|
65
|
+
1.5.0 (2019-10-23)
|
66
|
+
------------------
|
67
|
+
|
68
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
69
|
+
|
70
|
+
1.4.0 (2019-07-25)
|
71
|
+
------------------
|
72
|
+
|
73
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
74
|
+
|
75
|
+
1.3.0 (2019-07-01)
|
76
|
+
------------------
|
77
|
+
|
78
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
79
|
+
|
80
|
+
1.2.0 (2019-06-20)
|
81
|
+
------------------
|
82
|
+
|
83
|
+
* Feature - The colon character ':' is now permitted in Detector Model 'key' parameter values.
|
84
|
+
|
85
|
+
1.1.0 (2019-06-17)
|
86
|
+
------------------
|
87
|
+
|
88
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
89
|
+
|
90
|
+
1.0.0 (2019-05-30)
|
91
|
+
------------------
|
92
|
+
|
93
|
+
* Feature - Initial release of `aws-sdk-ioteventsdata`.
|
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.16.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/
|
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
|
|
@@ -27,7 +28,7 @@ require_relative 'aws-sdk-ioteventsdata/customizations'
|
|
27
28
|
# structure.
|
28
29
|
#
|
29
30
|
# io_t_events_data = Aws::IoTEventsData::Client.new
|
30
|
-
# resp = io_t_events_data.
|
31
|
+
# resp = io_t_events_data.batch_acknowledge_alarm(params)
|
31
32
|
#
|
32
33
|
# See {Client} for more information.
|
33
34
|
#
|
@@ -47,6 +48,6 @@ require_relative 'aws-sdk-ioteventsdata/customizations'
|
|
47
48
|
# @!group service
|
48
49
|
module Aws::IoTEventsData
|
49
50
|
|
50
|
-
GEM_VERSION = '1.
|
51
|
+
GEM_VERSION = '1.16.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/
|
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,120 @@ module Aws::IoTEventsData
|
|
327
327
|
|
328
328
|
# @!group API Operations
|
329
329
|
|
330
|
+
# Acknowledges one or more alarms. The alarms change to the
|
331
|
+
# `ACKNOWLEDGED` state after you acknowledge them.
|
332
|
+
#
|
333
|
+
# @option params [required, Array<Types::AcknowledgeAlarmActionRequest>] :acknowledge_action_requests
|
334
|
+
# The list of acknowledge action requests. You can specify up to 10
|
335
|
+
# requests per operation.
|
336
|
+
#
|
337
|
+
# @return [Types::BatchAcknowledgeAlarmResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
338
|
+
#
|
339
|
+
# * {Types::BatchAcknowledgeAlarmResponse#error_entries #error_entries} => Array<Types::BatchAlarmActionErrorEntry>
|
340
|
+
#
|
341
|
+
# @example Request syntax with placeholder values
|
342
|
+
#
|
343
|
+
# resp = client.batch_acknowledge_alarm({
|
344
|
+
# acknowledge_action_requests: [ # required
|
345
|
+
# {
|
346
|
+
# request_id: "RequestId", # required
|
347
|
+
# alarm_model_name: "AlarmModelName", # required
|
348
|
+
# key_value: "KeyValue",
|
349
|
+
# note: "Note",
|
350
|
+
# },
|
351
|
+
# ],
|
352
|
+
# })
|
353
|
+
#
|
354
|
+
# @example Response structure
|
355
|
+
#
|
356
|
+
# resp.error_entries #=> Array
|
357
|
+
# resp.error_entries[0].request_id #=> String
|
358
|
+
# resp.error_entries[0].error_code #=> String, one of "ResourceNotFoundException", "InvalidRequestException", "InternalFailureException", "ServiceUnavailableException", "ThrottlingException"
|
359
|
+
# resp.error_entries[0].error_message #=> String
|
360
|
+
#
|
361
|
+
# @overload batch_acknowledge_alarm(params = {})
|
362
|
+
# @param [Hash] params ({})
|
363
|
+
def batch_acknowledge_alarm(params = {}, options = {})
|
364
|
+
req = build_request(:batch_acknowledge_alarm, params)
|
365
|
+
req.send_request(options)
|
366
|
+
end
|
367
|
+
|
368
|
+
# Disables one or more alarms. The alarms change to the `DISABLED` state
|
369
|
+
# after you disable them.
|
370
|
+
#
|
371
|
+
# @option params [required, Array<Types::DisableAlarmActionRequest>] :disable_action_requests
|
372
|
+
# The list of disable action requests. You can specify up to 10 requests
|
373
|
+
# per operation.
|
374
|
+
#
|
375
|
+
# @return [Types::BatchDisableAlarmResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
376
|
+
#
|
377
|
+
# * {Types::BatchDisableAlarmResponse#error_entries #error_entries} => Array<Types::BatchAlarmActionErrorEntry>
|
378
|
+
#
|
379
|
+
# @example Request syntax with placeholder values
|
380
|
+
#
|
381
|
+
# resp = client.batch_disable_alarm({
|
382
|
+
# disable_action_requests: [ # required
|
383
|
+
# {
|
384
|
+
# request_id: "RequestId", # required
|
385
|
+
# alarm_model_name: "AlarmModelName", # required
|
386
|
+
# key_value: "KeyValue",
|
387
|
+
# note: "Note",
|
388
|
+
# },
|
389
|
+
# ],
|
390
|
+
# })
|
391
|
+
#
|
392
|
+
# @example Response structure
|
393
|
+
#
|
394
|
+
# resp.error_entries #=> Array
|
395
|
+
# resp.error_entries[0].request_id #=> String
|
396
|
+
# resp.error_entries[0].error_code #=> String, one of "ResourceNotFoundException", "InvalidRequestException", "InternalFailureException", "ServiceUnavailableException", "ThrottlingException"
|
397
|
+
# resp.error_entries[0].error_message #=> String
|
398
|
+
#
|
399
|
+
# @overload batch_disable_alarm(params = {})
|
400
|
+
# @param [Hash] params ({})
|
401
|
+
def batch_disable_alarm(params = {}, options = {})
|
402
|
+
req = build_request(:batch_disable_alarm, params)
|
403
|
+
req.send_request(options)
|
404
|
+
end
|
405
|
+
|
406
|
+
# Enables one or more alarms. The alarms change to the `NORMAL` state
|
407
|
+
# after you enable them.
|
408
|
+
#
|
409
|
+
# @option params [required, Array<Types::EnableAlarmActionRequest>] :enable_action_requests
|
410
|
+
# The list of enable action requests. You can specify up to 10 requests
|
411
|
+
# per operation.
|
412
|
+
#
|
413
|
+
# @return [Types::BatchEnableAlarmResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
414
|
+
#
|
415
|
+
# * {Types::BatchEnableAlarmResponse#error_entries #error_entries} => Array<Types::BatchAlarmActionErrorEntry>
|
416
|
+
#
|
417
|
+
# @example Request syntax with placeholder values
|
418
|
+
#
|
419
|
+
# resp = client.batch_enable_alarm({
|
420
|
+
# enable_action_requests: [ # required
|
421
|
+
# {
|
422
|
+
# request_id: "RequestId", # required
|
423
|
+
# alarm_model_name: "AlarmModelName", # required
|
424
|
+
# key_value: "KeyValue",
|
425
|
+
# note: "Note",
|
426
|
+
# },
|
427
|
+
# ],
|
428
|
+
# })
|
429
|
+
#
|
430
|
+
# @example Response structure
|
431
|
+
#
|
432
|
+
# resp.error_entries #=> Array
|
433
|
+
# resp.error_entries[0].request_id #=> String
|
434
|
+
# resp.error_entries[0].error_code #=> String, one of "ResourceNotFoundException", "InvalidRequestException", "InternalFailureException", "ServiceUnavailableException", "ThrottlingException"
|
435
|
+
# resp.error_entries[0].error_message #=> String
|
436
|
+
#
|
437
|
+
# @overload batch_enable_alarm(params = {})
|
438
|
+
# @param [Hash] params ({})
|
439
|
+
def batch_enable_alarm(params = {}, options = {})
|
440
|
+
req = build_request(:batch_enable_alarm, params)
|
441
|
+
req.send_request(options)
|
442
|
+
end
|
443
|
+
|
330
444
|
# Sends a set of messages to the AWS IoT Events system. Each message
|
331
445
|
# payload is transformed into the input you specify (`"inputName"`) and
|
332
446
|
# ingested into any detectors that monitor that input. If multiple
|
@@ -349,8 +463,11 @@ module Aws::IoTEventsData
|
|
349
463
|
# messages: [ # required
|
350
464
|
# {
|
351
465
|
# message_id: "MessageId", # required
|
352
|
-
# input_name: "
|
466
|
+
# input_name: "EphemeralInputName", # required
|
353
467
|
# payload: "data", # required
|
468
|
+
# timestamp: {
|
469
|
+
# time_in_millis: 1,
|
470
|
+
# },
|
354
471
|
# },
|
355
472
|
# ],
|
356
473
|
# })
|
@@ -369,6 +486,83 @@ module Aws::IoTEventsData
|
|
369
486
|
req.send_request(options)
|
370
487
|
end
|
371
488
|
|
489
|
+
# Resets one or more alarms. The alarms return to the `NORMAL` state
|
490
|
+
# after you reset them.
|
491
|
+
#
|
492
|
+
# @option params [required, Array<Types::ResetAlarmActionRequest>] :reset_action_requests
|
493
|
+
# The list of reset action requests. You can specify up to 10 requests
|
494
|
+
# per operation.
|
495
|
+
#
|
496
|
+
# @return [Types::BatchResetAlarmResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
497
|
+
#
|
498
|
+
# * {Types::BatchResetAlarmResponse#error_entries #error_entries} => Array<Types::BatchAlarmActionErrorEntry>
|
499
|
+
#
|
500
|
+
# @example Request syntax with placeholder values
|
501
|
+
#
|
502
|
+
# resp = client.batch_reset_alarm({
|
503
|
+
# reset_action_requests: [ # required
|
504
|
+
# {
|
505
|
+
# request_id: "RequestId", # required
|
506
|
+
# alarm_model_name: "AlarmModelName", # required
|
507
|
+
# key_value: "KeyValue",
|
508
|
+
# note: "Note",
|
509
|
+
# },
|
510
|
+
# ],
|
511
|
+
# })
|
512
|
+
#
|
513
|
+
# @example Response structure
|
514
|
+
#
|
515
|
+
# resp.error_entries #=> Array
|
516
|
+
# resp.error_entries[0].request_id #=> String
|
517
|
+
# resp.error_entries[0].error_code #=> String, one of "ResourceNotFoundException", "InvalidRequestException", "InternalFailureException", "ServiceUnavailableException", "ThrottlingException"
|
518
|
+
# resp.error_entries[0].error_message #=> String
|
519
|
+
#
|
520
|
+
# @overload batch_reset_alarm(params = {})
|
521
|
+
# @param [Hash] params ({})
|
522
|
+
def batch_reset_alarm(params = {}, options = {})
|
523
|
+
req = build_request(:batch_reset_alarm, params)
|
524
|
+
req.send_request(options)
|
525
|
+
end
|
526
|
+
|
527
|
+
# Changes one or more alarms to the snooze mode. The alarms change to
|
528
|
+
# the `SNOOZE_DISABLED` state after you set them to the snooze mode.
|
529
|
+
#
|
530
|
+
# @option params [required, Array<Types::SnoozeAlarmActionRequest>] :snooze_action_requests
|
531
|
+
# The list of snooze action requests. You can specify up to 10 requests
|
532
|
+
# per operation.
|
533
|
+
#
|
534
|
+
# @return [Types::BatchSnoozeAlarmResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
535
|
+
#
|
536
|
+
# * {Types::BatchSnoozeAlarmResponse#error_entries #error_entries} => Array<Types::BatchAlarmActionErrorEntry>
|
537
|
+
#
|
538
|
+
# @example Request syntax with placeholder values
|
539
|
+
#
|
540
|
+
# resp = client.batch_snooze_alarm({
|
541
|
+
# snooze_action_requests: [ # required
|
542
|
+
# {
|
543
|
+
# request_id: "RequestId", # required
|
544
|
+
# alarm_model_name: "AlarmModelName", # required
|
545
|
+
# key_value: "KeyValue",
|
546
|
+
# note: "Note",
|
547
|
+
# snooze_duration: 1, # required
|
548
|
+
# },
|
549
|
+
# ],
|
550
|
+
# })
|
551
|
+
#
|
552
|
+
# @example Response structure
|
553
|
+
#
|
554
|
+
# resp.error_entries #=> Array
|
555
|
+
# resp.error_entries[0].request_id #=> String
|
556
|
+
# resp.error_entries[0].error_code #=> String, one of "ResourceNotFoundException", "InvalidRequestException", "InternalFailureException", "ServiceUnavailableException", "ThrottlingException"
|
557
|
+
# resp.error_entries[0].error_message #=> String
|
558
|
+
#
|
559
|
+
# @overload batch_snooze_alarm(params = {})
|
560
|
+
# @param [Hash] params ({})
|
561
|
+
def batch_snooze_alarm(params = {}, options = {})
|
562
|
+
req = build_request(:batch_snooze_alarm, params)
|
563
|
+
req.send_request(options)
|
564
|
+
end
|
565
|
+
|
372
566
|
# Updates the state, variable values, and timer settings of one or more
|
373
567
|
# detectors (instances) of a specified detector model.
|
374
568
|
#
|
@@ -421,6 +615,59 @@ module Aws::IoTEventsData
|
|
421
615
|
req.send_request(options)
|
422
616
|
end
|
423
617
|
|
618
|
+
# Retrieves information about an alarm.
|
619
|
+
#
|
620
|
+
# @option params [required, String] :alarm_model_name
|
621
|
+
# The name of the alarm model.
|
622
|
+
#
|
623
|
+
# @option params [String] :key_value
|
624
|
+
# The value of the key used as a filter to select only the alarms
|
625
|
+
# associated with the [key][1].
|
626
|
+
#
|
627
|
+
#
|
628
|
+
#
|
629
|
+
# [1]: https://docs.aws.amazon.com/iotevents/latest/apireference/API_CreateAlarmModel.html#iotevents-CreateAlarmModel-request-key
|
630
|
+
#
|
631
|
+
# @return [Types::DescribeAlarmResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
632
|
+
#
|
633
|
+
# * {Types::DescribeAlarmResponse#alarm #alarm} => Types::Alarm
|
634
|
+
#
|
635
|
+
# @example Request syntax with placeholder values
|
636
|
+
#
|
637
|
+
# resp = client.describe_alarm({
|
638
|
+
# alarm_model_name: "AlarmModelName", # required
|
639
|
+
# key_value: "KeyValue",
|
640
|
+
# })
|
641
|
+
#
|
642
|
+
# @example Response structure
|
643
|
+
#
|
644
|
+
# resp.alarm.alarm_model_name #=> String
|
645
|
+
# resp.alarm.alarm_model_version #=> String
|
646
|
+
# resp.alarm.key_value #=> String
|
647
|
+
# resp.alarm.alarm_state.state_name #=> String, one of "DISABLED", "NORMAL", "ACTIVE", "ACKNOWLEDGED", "SNOOZE_DISABLED", "LATCHED"
|
648
|
+
# resp.alarm.alarm_state.rule_evaluation.simple_rule_evaluation.input_property_value #=> String
|
649
|
+
# resp.alarm.alarm_state.rule_evaluation.simple_rule_evaluation.operator #=> String, one of "GREATER", "GREATER_OR_EQUAL", "LESS", "LESS_OR_EQUAL", "EQUAL", "NOT_EQUAL"
|
650
|
+
# resp.alarm.alarm_state.rule_evaluation.simple_rule_evaluation.threshold_value #=> String
|
651
|
+
# resp.alarm.alarm_state.customer_action.action_name #=> String, one of "SNOOZE", "ENABLE", "DISABLE", "ACKNOWLEDGE", "RESET"
|
652
|
+
# resp.alarm.alarm_state.customer_action.snooze_action_configuration.snooze_duration #=> Integer
|
653
|
+
# resp.alarm.alarm_state.customer_action.snooze_action_configuration.note #=> String
|
654
|
+
# resp.alarm.alarm_state.customer_action.enable_action_configuration.note #=> String
|
655
|
+
# resp.alarm.alarm_state.customer_action.disable_action_configuration.note #=> String
|
656
|
+
# resp.alarm.alarm_state.customer_action.acknowledge_action_configuration.note #=> String
|
657
|
+
# resp.alarm.alarm_state.customer_action.reset_action_configuration.note #=> String
|
658
|
+
# resp.alarm.alarm_state.system_event.event_type #=> String, one of "STATE_CHANGE"
|
659
|
+
# resp.alarm.alarm_state.system_event.state_change_configuration.trigger_type #=> String, one of "SNOOZE_TIMEOUT"
|
660
|
+
# resp.alarm.severity #=> Integer
|
661
|
+
# resp.alarm.creation_time #=> Time
|
662
|
+
# resp.alarm.last_update_time #=> Time
|
663
|
+
#
|
664
|
+
# @overload describe_alarm(params = {})
|
665
|
+
# @param [Hash] params ({})
|
666
|
+
def describe_alarm(params = {}, options = {})
|
667
|
+
req = build_request(:describe_alarm, params)
|
668
|
+
req.send_request(options)
|
669
|
+
end
|
670
|
+
|
424
671
|
# Returns information about the specified detector (instance).
|
425
672
|
#
|
426
673
|
# @option params [required, String] :detector_model_name
|
@@ -464,6 +711,49 @@ module Aws::IoTEventsData
|
|
464
711
|
req.send_request(options)
|
465
712
|
end
|
466
713
|
|
714
|
+
# Lists one or more alarms. The operation returns only the metadata
|
715
|
+
# associated with each alarm.
|
716
|
+
#
|
717
|
+
# @option params [required, String] :alarm_model_name
|
718
|
+
# The name of the alarm model.
|
719
|
+
#
|
720
|
+
# @option params [String] :next_token
|
721
|
+
# The token that you can use to return the next set of results.
|
722
|
+
#
|
723
|
+
# @option params [Integer] :max_results
|
724
|
+
# The maximum number of results to be returned per request.
|
725
|
+
#
|
726
|
+
# @return [Types::ListAlarmsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
727
|
+
#
|
728
|
+
# * {Types::ListAlarmsResponse#alarm_summaries #alarm_summaries} => Array<Types::AlarmSummary>
|
729
|
+
# * {Types::ListAlarmsResponse#next_token #next_token} => String
|
730
|
+
#
|
731
|
+
# @example Request syntax with placeholder values
|
732
|
+
#
|
733
|
+
# resp = client.list_alarms({
|
734
|
+
# alarm_model_name: "AlarmModelName", # required
|
735
|
+
# next_token: "NextToken",
|
736
|
+
# max_results: 1,
|
737
|
+
# })
|
738
|
+
#
|
739
|
+
# @example Response structure
|
740
|
+
#
|
741
|
+
# resp.alarm_summaries #=> Array
|
742
|
+
# resp.alarm_summaries[0].alarm_model_name #=> String
|
743
|
+
# resp.alarm_summaries[0].alarm_model_version #=> String
|
744
|
+
# resp.alarm_summaries[0].key_value #=> String
|
745
|
+
# resp.alarm_summaries[0].state_name #=> String, one of "DISABLED", "NORMAL", "ACTIVE", "ACKNOWLEDGED", "SNOOZE_DISABLED", "LATCHED"
|
746
|
+
# resp.alarm_summaries[0].creation_time #=> Time
|
747
|
+
# resp.alarm_summaries[0].last_update_time #=> Time
|
748
|
+
# resp.next_token #=> String
|
749
|
+
#
|
750
|
+
# @overload list_alarms(params = {})
|
751
|
+
# @param [Hash] params ({})
|
752
|
+
def list_alarms(params = {}, options = {})
|
753
|
+
req = build_request(:list_alarms, params)
|
754
|
+
req.send_request(options)
|
755
|
+
end
|
756
|
+
|
467
757
|
# Lists detectors (the instances of a detector model).
|
468
758
|
#
|
469
759
|
# @option params [required, String] :detector_model_name
|
@@ -474,10 +764,10 @@ module Aws::IoTEventsData
|
|
474
764
|
# given state.
|
475
765
|
#
|
476
766
|
# @option params [String] :next_token
|
477
|
-
# The token
|
767
|
+
# The token that you can use to return the next set of results.
|
478
768
|
#
|
479
769
|
# @option params [Integer] :max_results
|
480
|
-
# The maximum number of results to
|
770
|
+
# The maximum number of results to be returned per request.
|
481
771
|
#
|
482
772
|
# @return [Types::ListDetectorsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
483
773
|
#
|
@@ -524,7 +814,7 @@ module Aws::IoTEventsData
|
|
524
814
|
params: params,
|
525
815
|
config: config)
|
526
816
|
context[:gem_name] = 'aws-sdk-ioteventsdata'
|
527
|
-
context[:gem_version] = '1.
|
817
|
+
context[:gem_version] = '1.16.0'
|
528
818
|
Seahorse::Client::Request.new(handlers, context)
|
529
819
|
end
|
530
820
|
|