aws-sdk-ioteventsdata 1.1.0 → 1.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/aws-sdk-ioteventsdata.rb +1 -1
- data/lib/aws-sdk-ioteventsdata/client.rb +12 -11
- data/lib/aws-sdk-ioteventsdata/types.rb +25 -24
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f9ba7fd0a9dcd112a1a9e84e2a8c5e3be628faa7
|
4
|
+
data.tar.gz: e1a3e09a45d8eadd7d12364c7d71194bd136b0f6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8f878c9d8c61227fff783481290f8635868a8038fa81869259c3e22cd9288e605d41d9f9a460f800306386c8d7343c19713575651c17915896c86a2686fba9b1
|
7
|
+
data.tar.gz: cc6f1f6606e9f3cc90e132c92ab8c63616b500a415fd01b47c5ae554cd6a4707b45883f7556939e12a2ef52495862992cc2d9ae519c3b7752d1f0331649ef046
|
@@ -255,15 +255,16 @@ module Aws::IoTEventsData
|
|
255
255
|
# @!group API Operations
|
256
256
|
|
257
257
|
# Sends a set of messages to the AWS IoT Events system. Each message
|
258
|
-
# payload
|
259
|
-
#
|
260
|
-
# messages are sent, the order in which the messages are processed
|
261
|
-
#
|
262
|
-
#
|
258
|
+
# payload is transformed into the input you specify (`"inputName"`) and
|
259
|
+
# ingested into any detectors that monitor that input. If multiple
|
260
|
+
# messages are sent, the order in which the messages are processed
|
261
|
+
# isn't guaranteed. To guarantee ordering, you must send messages one
|
262
|
+
# at a time and wait for a successful response.
|
263
263
|
#
|
264
264
|
# @option params [required, Array<Types::Message>] :messages
|
265
|
-
# The list of messages to send. Each message has format:
|
266
|
-
# "messageId": "string", "inputName": "string", "payload":
|
265
|
+
# The list of messages to send. Each message has the following format:
|
266
|
+
# `'\{ "messageId": "string", "inputName": "string", "payload":
|
267
|
+
# "string"\}'`
|
267
268
|
#
|
268
269
|
# @return [Types::BatchPutMessageResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
269
270
|
#
|
@@ -299,8 +300,8 @@ module Aws::IoTEventsData
|
|
299
300
|
# detectors (instances) of a specified detector model.
|
300
301
|
#
|
301
302
|
# @option params [required, Array<Types::UpdateDetectorRequest>] :detectors
|
302
|
-
# The list of detectors (instances) to
|
303
|
-
#
|
303
|
+
# The list of detectors (instances) to update, along with the values to
|
304
|
+
# update.
|
304
305
|
#
|
305
306
|
# @return [Types::BatchUpdateDetectorResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
306
307
|
#
|
@@ -393,7 +394,7 @@ module Aws::IoTEventsData
|
|
393
394
|
# Lists detectors (the instances of a detector model).
|
394
395
|
#
|
395
396
|
# @option params [required, String] :detector_model_name
|
396
|
-
# The name of the detector model whose instances
|
397
|
+
# The name of the detector model whose detectors (instances) are listed.
|
397
398
|
#
|
398
399
|
# @option params [String] :state_name
|
399
400
|
# A filter that limits results to those detectors (instances) in the
|
@@ -450,7 +451,7 @@ module Aws::IoTEventsData
|
|
450
451
|
params: params,
|
451
452
|
config: config)
|
452
453
|
context[:gem_name] = 'aws-sdk-ioteventsdata'
|
453
|
-
context[:gem_version] = '1.
|
454
|
+
context[:gem_version] = '1.2.0'
|
454
455
|
Seahorse::Client::Request.new(handlers, context)
|
455
456
|
end
|
456
457
|
|
@@ -8,11 +8,11 @@
|
|
8
8
|
module Aws::IoTEventsData
|
9
9
|
module Types
|
10
10
|
|
11
|
-
# Contains
|
11
|
+
# Contains information about the errors encountered.
|
12
12
|
#
|
13
13
|
# @!attribute [rw] message_id
|
14
14
|
# The ID of the message that caused the error. (See the value
|
15
|
-
# corresponding to the `messageId` key in the `message` object.)
|
15
|
+
# corresponding to the `"messageId"` key in the `"message"` object.)
|
16
16
|
# @return [String]
|
17
17
|
#
|
18
18
|
# @!attribute [rw] error_code
|
@@ -44,9 +44,9 @@ module Aws::IoTEventsData
|
|
44
44
|
# }
|
45
45
|
#
|
46
46
|
# @!attribute [rw] messages
|
47
|
-
# The list of messages to send. Each message has format:
|
48
|
-
# "messageId": "string", "inputName": "string", "payload":
|
49
|
-
# "string"\}'
|
47
|
+
# The list of messages to send. Each message has the following format:
|
48
|
+
# `'\{ "messageId": "string", "inputName": "string", "payload":
|
49
|
+
# "string"\}'`
|
50
50
|
# @return [Array<Types::Message>]
|
51
51
|
#
|
52
52
|
class BatchPutMessageRequest < Struct.new(
|
@@ -63,12 +63,13 @@ module Aws::IoTEventsData
|
|
63
63
|
include Aws::Structure
|
64
64
|
end
|
65
65
|
|
66
|
-
# Information about the error
|
66
|
+
# Information about the error that occured when attempting to update a
|
67
67
|
# detector.
|
68
68
|
#
|
69
69
|
# @!attribute [rw] message_id
|
70
|
-
# The "messageId" of the update request that caused the error. (The
|
71
|
-
# value of the `messageId` in the update request `Detector`
|
70
|
+
# The `"messageId"` of the update request that caused the error. (The
|
71
|
+
# value of the `"messageId"` in the update request `"Detector"`
|
72
|
+
# object.)
|
72
73
|
# @return [String]
|
73
74
|
#
|
74
75
|
# @!attribute [rw] error_code
|
@@ -115,8 +116,8 @@ module Aws::IoTEventsData
|
|
115
116
|
# }
|
116
117
|
#
|
117
118
|
# @!attribute [rw] detectors
|
118
|
-
# The list of detectors (instances) to
|
119
|
-
#
|
119
|
+
# The list of detectors (instances) to update, along with the values
|
120
|
+
# to update.
|
120
121
|
# @return [Array<Types::UpdateDetectorRequest>]
|
121
122
|
#
|
122
123
|
class BatchUpdateDetectorRequest < Struct.new(
|
@@ -125,8 +126,8 @@ module Aws::IoTEventsData
|
|
125
126
|
end
|
126
127
|
|
127
128
|
# @!attribute [rw] batch_update_detector_error_entries
|
128
|
-
# A list of those detector updates
|
129
|
-
# specific update did not occur
|
129
|
+
# A list of those detector updates that resulted in errors. (If an
|
130
|
+
# error is listed here, the specific update did not occur.)
|
130
131
|
# @return [Array<Types::BatchUpdateDetectorErrorEntry>]
|
131
132
|
#
|
132
133
|
class BatchUpdateDetectorResponse < Struct.new(
|
@@ -213,7 +214,7 @@ module Aws::IoTEventsData
|
|
213
214
|
# @return [String]
|
214
215
|
#
|
215
216
|
# @!attribute [rw] variables
|
216
|
-
# The current
|
217
|
+
# The current values of the detector's variables.
|
217
218
|
# @return [Array<Types::Variable>]
|
218
219
|
#
|
219
220
|
# @!attribute [rw] timers
|
@@ -227,7 +228,7 @@ module Aws::IoTEventsData
|
|
227
228
|
include Aws::Structure
|
228
229
|
end
|
229
230
|
|
230
|
-
# The new state, variable values and timer settings of the detector
|
231
|
+
# The new state, variable values, and timer settings of the detector
|
231
232
|
# (instance).
|
232
233
|
#
|
233
234
|
# @note When making an API call, you may pass DetectorStateDefinition
|
@@ -255,12 +256,12 @@ module Aws::IoTEventsData
|
|
255
256
|
#
|
256
257
|
# @!attribute [rw] variables
|
257
258
|
# The new values of the detector's variables. Any variable whose
|
258
|
-
# value
|
259
|
+
# value isn't specified is cleared.
|
259
260
|
# @return [Array<Types::VariableDefinition>]
|
260
261
|
#
|
261
262
|
# @!attribute [rw] timers
|
262
|
-
# The new values of the detector's timers. Any timer whose value
|
263
|
-
#
|
263
|
+
# The new values of the detector's timers. Any timer whose value
|
264
|
+
# isn't specified is cleared, and its timeout event won't occur.
|
264
265
|
# @return [Array<Types::TimerDefinition>]
|
265
266
|
#
|
266
267
|
class DetectorStateDefinition < Struct.new(
|
@@ -353,7 +354,8 @@ module Aws::IoTEventsData
|
|
353
354
|
# }
|
354
355
|
#
|
355
356
|
# @!attribute [rw] detector_model_name
|
356
|
-
# The name of the detector model whose instances
|
357
|
+
# The name of the detector model whose detectors (instances) are
|
358
|
+
# listed.
|
357
359
|
# @return [String]
|
358
360
|
#
|
359
361
|
# @!attribute [rw] state_name
|
@@ -404,13 +406,12 @@ module Aws::IoTEventsData
|
|
404
406
|
# }
|
405
407
|
#
|
406
408
|
# @!attribute [rw] message_id
|
407
|
-
# The ID
|
408
|
-
#
|
409
|
+
# The ID to assign to the message. Within each batch sent, each
|
410
|
+
# `"messageId"` must be unique.
|
409
411
|
# @return [String]
|
410
412
|
#
|
411
413
|
# @!attribute [rw] input_name
|
412
|
-
# The name of the input into which the message payload
|
413
|
-
# transformed.
|
414
|
+
# The name of the input into which the message payload is transformed.
|
414
415
|
# @return [String]
|
415
416
|
#
|
416
417
|
# @!attribute [rw] payload
|
@@ -527,8 +528,8 @@ module Aws::IoTEventsData
|
|
527
528
|
# }
|
528
529
|
#
|
529
530
|
# @!attribute [rw] message_id
|
530
|
-
# The ID
|
531
|
-
# "messageId" must be unique within each batch sent.
|
531
|
+
# The ID to assign to the detector update `"message"`. Each
|
532
|
+
# `"messageId"` must be unique within each batch sent.
|
532
533
|
# @return [String]
|
533
534
|
#
|
534
535
|
# @!attribute [rw] detector_model_name
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-ioteventsdata
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-06-
|
11
|
+
date: 2019-06-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|