aws-sdk-iotevents 1.44.0 → 1.45.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 +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-iotevents/client.rb +1 -1
- data/lib/aws-sdk-iotevents/plugins/endpoints.rb +1 -0
- data/lib/aws-sdk-iotevents.rb +1 -1
- data/sig/client.rbs +2116 -0
- data/sig/errors.rbs +45 -0
- data/sig/resource.rbs +79 -0
- data/sig/types.rbs +809 -0
- data/sig/waiters.rbs +13 -0
- metadata +13 -8
data/sig/client.rbs
ADDED
@@ -0,0 +1,2116 @@
|
|
1
|
+
# WARNING ABOUT GENERATED CODE
|
2
|
+
#
|
3
|
+
# This file is generated. See the contributing guide for more information:
|
4
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
5
|
+
#
|
6
|
+
# WARNING ABOUT GENERATED CODE
|
7
|
+
|
8
|
+
module Aws
|
9
|
+
module IoTEvents
|
10
|
+
class Client < ::Seahorse::Client::Base
|
11
|
+
include ::Aws::ClientStubs
|
12
|
+
|
13
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IoTEvents/Client.html#initialize-instance_method
|
14
|
+
def self.new: (
|
15
|
+
?credentials: untyped,
|
16
|
+
?region: String,
|
17
|
+
?access_key_id: String,
|
18
|
+
?active_endpoint_cache: bool,
|
19
|
+
?adaptive_retry_wait_to_fill: bool,
|
20
|
+
?client_side_monitoring: bool,
|
21
|
+
?client_side_monitoring_client_id: String,
|
22
|
+
?client_side_monitoring_host: String,
|
23
|
+
?client_side_monitoring_port: Integer,
|
24
|
+
?client_side_monitoring_publisher: untyped,
|
25
|
+
?convert_params: bool,
|
26
|
+
?correct_clock_skew: bool,
|
27
|
+
?defaults_mode: String,
|
28
|
+
?disable_host_prefix_injection: bool,
|
29
|
+
?disable_request_compression: bool,
|
30
|
+
?endpoint: String,
|
31
|
+
?endpoint_cache_max_entries: Integer,
|
32
|
+
?endpoint_cache_max_threads: Integer,
|
33
|
+
?endpoint_cache_poll_interval: Integer,
|
34
|
+
?endpoint_discovery: bool,
|
35
|
+
?ignore_configured_endpoint_urls: bool,
|
36
|
+
?log_formatter: untyped,
|
37
|
+
?log_level: Symbol,
|
38
|
+
?logger: untyped,
|
39
|
+
?max_attempts: Integer,
|
40
|
+
?profile: String,
|
41
|
+
?request_min_compression_size_bytes: Integer,
|
42
|
+
?retry_backoff: Proc,
|
43
|
+
?retry_base_delay: Float,
|
44
|
+
?retry_jitter: (:none | :equal | :full | ^(Integer) -> Integer),
|
45
|
+
?retry_limit: Integer,
|
46
|
+
?retry_max_delay: Integer,
|
47
|
+
?retry_mode: ("legacy" | "standard" | "adaptive"),
|
48
|
+
?sdk_ua_app_id: String,
|
49
|
+
?secret_access_key: String,
|
50
|
+
?session_token: String,
|
51
|
+
?stub_responses: untyped,
|
52
|
+
?token_provider: untyped,
|
53
|
+
?use_dualstack_endpoint: bool,
|
54
|
+
?use_fips_endpoint: bool,
|
55
|
+
?validate_params: bool,
|
56
|
+
?endpoint_provider: untyped,
|
57
|
+
?http_proxy: String,
|
58
|
+
?http_open_timeout: (Float | Integer),
|
59
|
+
?http_read_timeout: (Float | Integer),
|
60
|
+
?http_idle_timeout: (Float | Integer),
|
61
|
+
?http_continue_timeout: (Float | Integer),
|
62
|
+
?ssl_timeout: (Float | Integer | nil),
|
63
|
+
?http_wire_trace: bool,
|
64
|
+
?ssl_verify_peer: bool,
|
65
|
+
?ssl_ca_bundle: String,
|
66
|
+
?ssl_ca_directory: String,
|
67
|
+
?ssl_ca_store: String,
|
68
|
+
?on_chunk_received: Proc,
|
69
|
+
?on_chunk_sent: Proc,
|
70
|
+
?raise_response_errors: bool
|
71
|
+
) -> instance
|
72
|
+
| (?Hash[Symbol, untyped]) -> instance
|
73
|
+
|
74
|
+
|
75
|
+
interface _CreateAlarmModelResponseSuccess
|
76
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::CreateAlarmModelResponse]
|
77
|
+
def creation_time: () -> ::Time
|
78
|
+
def alarm_model_arn: () -> ::String
|
79
|
+
def alarm_model_version: () -> ::String
|
80
|
+
def last_update_time: () -> ::Time
|
81
|
+
def status: () -> ("ACTIVE" | "ACTIVATING" | "INACTIVE" | "FAILED")
|
82
|
+
end
|
83
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IoTEvents/Client.html#create_alarm_model-instance_method
|
84
|
+
def create_alarm_model: (
|
85
|
+
alarm_model_name: ::String,
|
86
|
+
?alarm_model_description: ::String,
|
87
|
+
role_arn: ::String,
|
88
|
+
?tags: Array[
|
89
|
+
{
|
90
|
+
key: ::String,
|
91
|
+
value: ::String
|
92
|
+
},
|
93
|
+
],
|
94
|
+
?key: ::String,
|
95
|
+
?severity: ::Integer,
|
96
|
+
alarm_rule: {
|
97
|
+
simple_rule: {
|
98
|
+
input_property: ::String,
|
99
|
+
comparison_operator: ("GREATER" | "GREATER_OR_EQUAL" | "LESS" | "LESS_OR_EQUAL" | "EQUAL" | "NOT_EQUAL"),
|
100
|
+
threshold: ::String
|
101
|
+
}?
|
102
|
+
},
|
103
|
+
?alarm_notification: {
|
104
|
+
notification_actions: Array[
|
105
|
+
{
|
106
|
+
action: {
|
107
|
+
lambda_action: {
|
108
|
+
function_arn: ::String,
|
109
|
+
payload: {
|
110
|
+
content_expression: ::String,
|
111
|
+
type: ("STRING" | "JSON")
|
112
|
+
}?
|
113
|
+
}?
|
114
|
+
},
|
115
|
+
sms_configurations: Array[
|
116
|
+
{
|
117
|
+
sender_id: ::String?,
|
118
|
+
additional_message: ::String?,
|
119
|
+
recipients: Array[
|
120
|
+
{
|
121
|
+
sso_identity: {
|
122
|
+
identity_store_id: ::String,
|
123
|
+
user_id: ::String?
|
124
|
+
}?
|
125
|
+
},
|
126
|
+
]
|
127
|
+
},
|
128
|
+
]?,
|
129
|
+
email_configurations: Array[
|
130
|
+
{
|
131
|
+
from: ::String,
|
132
|
+
content: {
|
133
|
+
subject: ::String?,
|
134
|
+
additional_message: ::String?
|
135
|
+
}?,
|
136
|
+
recipients: {
|
137
|
+
to: Array[
|
138
|
+
{
|
139
|
+
sso_identity: {
|
140
|
+
identity_store_id: ::String,
|
141
|
+
user_id: ::String?
|
142
|
+
}?
|
143
|
+
},
|
144
|
+
]?
|
145
|
+
}
|
146
|
+
},
|
147
|
+
]?
|
148
|
+
},
|
149
|
+
]?
|
150
|
+
},
|
151
|
+
?alarm_event_actions: {
|
152
|
+
alarm_actions: Array[
|
153
|
+
{
|
154
|
+
sns: {
|
155
|
+
target_arn: ::String,
|
156
|
+
payload: {
|
157
|
+
content_expression: ::String,
|
158
|
+
type: ("STRING" | "JSON")
|
159
|
+
}?
|
160
|
+
}?,
|
161
|
+
iot_topic_publish: {
|
162
|
+
mqtt_topic: ::String,
|
163
|
+
payload: {
|
164
|
+
content_expression: ::String,
|
165
|
+
type: ("STRING" | "JSON")
|
166
|
+
}?
|
167
|
+
}?,
|
168
|
+
lambda: {
|
169
|
+
function_arn: ::String,
|
170
|
+
payload: {
|
171
|
+
content_expression: ::String,
|
172
|
+
type: ("STRING" | "JSON")
|
173
|
+
}?
|
174
|
+
}?,
|
175
|
+
iot_events: {
|
176
|
+
input_name: ::String,
|
177
|
+
payload: {
|
178
|
+
content_expression: ::String,
|
179
|
+
type: ("STRING" | "JSON")
|
180
|
+
}?
|
181
|
+
}?,
|
182
|
+
sqs: {
|
183
|
+
queue_url: ::String,
|
184
|
+
use_base_64: bool?,
|
185
|
+
payload: {
|
186
|
+
content_expression: ::String,
|
187
|
+
type: ("STRING" | "JSON")
|
188
|
+
}?
|
189
|
+
}?,
|
190
|
+
firehose: {
|
191
|
+
delivery_stream_name: ::String,
|
192
|
+
separator: ::String?,
|
193
|
+
payload: {
|
194
|
+
content_expression: ::String,
|
195
|
+
type: ("STRING" | "JSON")
|
196
|
+
}?
|
197
|
+
}?,
|
198
|
+
dynamo_db: {
|
199
|
+
hash_key_type: ::String?,
|
200
|
+
hash_key_field: ::String,
|
201
|
+
hash_key_value: ::String,
|
202
|
+
range_key_type: ::String?,
|
203
|
+
range_key_field: ::String?,
|
204
|
+
range_key_value: ::String?,
|
205
|
+
operation: ::String?,
|
206
|
+
payload_field: ::String?,
|
207
|
+
table_name: ::String,
|
208
|
+
payload: {
|
209
|
+
content_expression: ::String,
|
210
|
+
type: ("STRING" | "JSON")
|
211
|
+
}?
|
212
|
+
}?,
|
213
|
+
dynamo_d_bv_2: {
|
214
|
+
table_name: ::String,
|
215
|
+
payload: {
|
216
|
+
content_expression: ::String,
|
217
|
+
type: ("STRING" | "JSON")
|
218
|
+
}?
|
219
|
+
}?,
|
220
|
+
iot_site_wise: {
|
221
|
+
entry_id: ::String?,
|
222
|
+
asset_id: ::String?,
|
223
|
+
property_id: ::String?,
|
224
|
+
property_alias: ::String?,
|
225
|
+
property_value: {
|
226
|
+
value: {
|
227
|
+
string_value: ::String?,
|
228
|
+
integer_value: ::String?,
|
229
|
+
double_value: ::String?,
|
230
|
+
boolean_value: ::String?
|
231
|
+
}?,
|
232
|
+
timestamp: {
|
233
|
+
time_in_seconds: ::String,
|
234
|
+
offset_in_nanos: ::String?
|
235
|
+
}?,
|
236
|
+
quality: ::String?
|
237
|
+
}?
|
238
|
+
}?
|
239
|
+
},
|
240
|
+
]?
|
241
|
+
},
|
242
|
+
?alarm_capabilities: {
|
243
|
+
initialization_configuration: {
|
244
|
+
disabled_on_initialization: bool
|
245
|
+
}?,
|
246
|
+
acknowledge_flow: {
|
247
|
+
enabled: bool
|
248
|
+
}?
|
249
|
+
}
|
250
|
+
) -> _CreateAlarmModelResponseSuccess
|
251
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateAlarmModelResponseSuccess
|
252
|
+
|
253
|
+
interface _CreateDetectorModelResponseSuccess
|
254
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::CreateDetectorModelResponse]
|
255
|
+
def detector_model_configuration: () -> Types::DetectorModelConfiguration
|
256
|
+
end
|
257
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IoTEvents/Client.html#create_detector_model-instance_method
|
258
|
+
def create_detector_model: (
|
259
|
+
detector_model_name: ::String,
|
260
|
+
detector_model_definition: {
|
261
|
+
states: Array[
|
262
|
+
{
|
263
|
+
state_name: ::String,
|
264
|
+
on_input: {
|
265
|
+
events: Array[
|
266
|
+
{
|
267
|
+
event_name: ::String,
|
268
|
+
condition: ::String?,
|
269
|
+
actions: Array[
|
270
|
+
{
|
271
|
+
set_variable: {
|
272
|
+
variable_name: ::String,
|
273
|
+
value: ::String
|
274
|
+
}?,
|
275
|
+
sns: {
|
276
|
+
target_arn: ::String,
|
277
|
+
payload: {
|
278
|
+
content_expression: ::String,
|
279
|
+
type: ("STRING" | "JSON")
|
280
|
+
}?
|
281
|
+
}?,
|
282
|
+
iot_topic_publish: {
|
283
|
+
mqtt_topic: ::String,
|
284
|
+
payload: {
|
285
|
+
content_expression: ::String,
|
286
|
+
type: ("STRING" | "JSON")
|
287
|
+
}?
|
288
|
+
}?,
|
289
|
+
set_timer: {
|
290
|
+
timer_name: ::String,
|
291
|
+
seconds: ::Integer?,
|
292
|
+
duration_expression: ::String?
|
293
|
+
}?,
|
294
|
+
clear_timer: {
|
295
|
+
timer_name: ::String
|
296
|
+
}?,
|
297
|
+
reset_timer: {
|
298
|
+
timer_name: ::String
|
299
|
+
}?,
|
300
|
+
lambda: {
|
301
|
+
function_arn: ::String,
|
302
|
+
payload: {
|
303
|
+
content_expression: ::String,
|
304
|
+
type: ("STRING" | "JSON")
|
305
|
+
}?
|
306
|
+
}?,
|
307
|
+
iot_events: {
|
308
|
+
input_name: ::String,
|
309
|
+
payload: {
|
310
|
+
content_expression: ::String,
|
311
|
+
type: ("STRING" | "JSON")
|
312
|
+
}?
|
313
|
+
}?,
|
314
|
+
sqs: {
|
315
|
+
queue_url: ::String,
|
316
|
+
use_base_64: bool?,
|
317
|
+
payload: {
|
318
|
+
content_expression: ::String,
|
319
|
+
type: ("STRING" | "JSON")
|
320
|
+
}?
|
321
|
+
}?,
|
322
|
+
firehose: {
|
323
|
+
delivery_stream_name: ::String,
|
324
|
+
separator: ::String?,
|
325
|
+
payload: {
|
326
|
+
content_expression: ::String,
|
327
|
+
type: ("STRING" | "JSON")
|
328
|
+
}?
|
329
|
+
}?,
|
330
|
+
dynamo_db: {
|
331
|
+
hash_key_type: ::String?,
|
332
|
+
hash_key_field: ::String,
|
333
|
+
hash_key_value: ::String,
|
334
|
+
range_key_type: ::String?,
|
335
|
+
range_key_field: ::String?,
|
336
|
+
range_key_value: ::String?,
|
337
|
+
operation: ::String?,
|
338
|
+
payload_field: ::String?,
|
339
|
+
table_name: ::String,
|
340
|
+
payload: {
|
341
|
+
content_expression: ::String,
|
342
|
+
type: ("STRING" | "JSON")
|
343
|
+
}?
|
344
|
+
}?,
|
345
|
+
dynamo_d_bv_2: {
|
346
|
+
table_name: ::String,
|
347
|
+
payload: {
|
348
|
+
content_expression: ::String,
|
349
|
+
type: ("STRING" | "JSON")
|
350
|
+
}?
|
351
|
+
}?,
|
352
|
+
iot_site_wise: {
|
353
|
+
entry_id: ::String?,
|
354
|
+
asset_id: ::String?,
|
355
|
+
property_id: ::String?,
|
356
|
+
property_alias: ::String?,
|
357
|
+
property_value: {
|
358
|
+
value: {
|
359
|
+
string_value: ::String?,
|
360
|
+
integer_value: ::String?,
|
361
|
+
double_value: ::String?,
|
362
|
+
boolean_value: ::String?
|
363
|
+
}?,
|
364
|
+
timestamp: {
|
365
|
+
time_in_seconds: ::String,
|
366
|
+
offset_in_nanos: ::String?
|
367
|
+
}?,
|
368
|
+
quality: ::String?
|
369
|
+
}?
|
370
|
+
}?
|
371
|
+
},
|
372
|
+
]?
|
373
|
+
},
|
374
|
+
]?,
|
375
|
+
transition_events: Array[
|
376
|
+
{
|
377
|
+
event_name: ::String,
|
378
|
+
condition: ::String,
|
379
|
+
actions: Array[
|
380
|
+
{
|
381
|
+
set_variable: {
|
382
|
+
variable_name: ::String,
|
383
|
+
value: ::String
|
384
|
+
}?,
|
385
|
+
sns: {
|
386
|
+
target_arn: ::String,
|
387
|
+
payload: {
|
388
|
+
content_expression: ::String,
|
389
|
+
type: ("STRING" | "JSON")
|
390
|
+
}?
|
391
|
+
}?,
|
392
|
+
iot_topic_publish: {
|
393
|
+
mqtt_topic: ::String,
|
394
|
+
payload: {
|
395
|
+
content_expression: ::String,
|
396
|
+
type: ("STRING" | "JSON")
|
397
|
+
}?
|
398
|
+
}?,
|
399
|
+
set_timer: {
|
400
|
+
timer_name: ::String,
|
401
|
+
seconds: ::Integer?,
|
402
|
+
duration_expression: ::String?
|
403
|
+
}?,
|
404
|
+
clear_timer: {
|
405
|
+
timer_name: ::String
|
406
|
+
}?,
|
407
|
+
reset_timer: {
|
408
|
+
timer_name: ::String
|
409
|
+
}?,
|
410
|
+
lambda: {
|
411
|
+
function_arn: ::String,
|
412
|
+
payload: {
|
413
|
+
content_expression: ::String,
|
414
|
+
type: ("STRING" | "JSON")
|
415
|
+
}?
|
416
|
+
}?,
|
417
|
+
iot_events: {
|
418
|
+
input_name: ::String,
|
419
|
+
payload: {
|
420
|
+
content_expression: ::String,
|
421
|
+
type: ("STRING" | "JSON")
|
422
|
+
}?
|
423
|
+
}?,
|
424
|
+
sqs: {
|
425
|
+
queue_url: ::String,
|
426
|
+
use_base_64: bool?,
|
427
|
+
payload: {
|
428
|
+
content_expression: ::String,
|
429
|
+
type: ("STRING" | "JSON")
|
430
|
+
}?
|
431
|
+
}?,
|
432
|
+
firehose: {
|
433
|
+
delivery_stream_name: ::String,
|
434
|
+
separator: ::String?,
|
435
|
+
payload: {
|
436
|
+
content_expression: ::String,
|
437
|
+
type: ("STRING" | "JSON")
|
438
|
+
}?
|
439
|
+
}?,
|
440
|
+
dynamo_db: {
|
441
|
+
hash_key_type: ::String?,
|
442
|
+
hash_key_field: ::String,
|
443
|
+
hash_key_value: ::String,
|
444
|
+
range_key_type: ::String?,
|
445
|
+
range_key_field: ::String?,
|
446
|
+
range_key_value: ::String?,
|
447
|
+
operation: ::String?,
|
448
|
+
payload_field: ::String?,
|
449
|
+
table_name: ::String,
|
450
|
+
payload: {
|
451
|
+
content_expression: ::String,
|
452
|
+
type: ("STRING" | "JSON")
|
453
|
+
}?
|
454
|
+
}?,
|
455
|
+
dynamo_d_bv_2: {
|
456
|
+
table_name: ::String,
|
457
|
+
payload: {
|
458
|
+
content_expression: ::String,
|
459
|
+
type: ("STRING" | "JSON")
|
460
|
+
}?
|
461
|
+
}?,
|
462
|
+
iot_site_wise: {
|
463
|
+
entry_id: ::String?,
|
464
|
+
asset_id: ::String?,
|
465
|
+
property_id: ::String?,
|
466
|
+
property_alias: ::String?,
|
467
|
+
property_value: {
|
468
|
+
value: {
|
469
|
+
string_value: ::String?,
|
470
|
+
integer_value: ::String?,
|
471
|
+
double_value: ::String?,
|
472
|
+
boolean_value: ::String?
|
473
|
+
}?,
|
474
|
+
timestamp: {
|
475
|
+
time_in_seconds: ::String,
|
476
|
+
offset_in_nanos: ::String?
|
477
|
+
}?,
|
478
|
+
quality: ::String?
|
479
|
+
}?
|
480
|
+
}?
|
481
|
+
},
|
482
|
+
]?,
|
483
|
+
next_state: ::String
|
484
|
+
},
|
485
|
+
]?
|
486
|
+
}?,
|
487
|
+
on_enter: {
|
488
|
+
events: Array[
|
489
|
+
{
|
490
|
+
event_name: ::String,
|
491
|
+
condition: ::String?,
|
492
|
+
actions: Array[
|
493
|
+
{
|
494
|
+
set_variable: {
|
495
|
+
variable_name: ::String,
|
496
|
+
value: ::String
|
497
|
+
}?,
|
498
|
+
sns: {
|
499
|
+
target_arn: ::String,
|
500
|
+
payload: {
|
501
|
+
content_expression: ::String,
|
502
|
+
type: ("STRING" | "JSON")
|
503
|
+
}?
|
504
|
+
}?,
|
505
|
+
iot_topic_publish: {
|
506
|
+
mqtt_topic: ::String,
|
507
|
+
payload: {
|
508
|
+
content_expression: ::String,
|
509
|
+
type: ("STRING" | "JSON")
|
510
|
+
}?
|
511
|
+
}?,
|
512
|
+
set_timer: {
|
513
|
+
timer_name: ::String,
|
514
|
+
seconds: ::Integer?,
|
515
|
+
duration_expression: ::String?
|
516
|
+
}?,
|
517
|
+
clear_timer: {
|
518
|
+
timer_name: ::String
|
519
|
+
}?,
|
520
|
+
reset_timer: {
|
521
|
+
timer_name: ::String
|
522
|
+
}?,
|
523
|
+
lambda: {
|
524
|
+
function_arn: ::String,
|
525
|
+
payload: {
|
526
|
+
content_expression: ::String,
|
527
|
+
type: ("STRING" | "JSON")
|
528
|
+
}?
|
529
|
+
}?,
|
530
|
+
iot_events: {
|
531
|
+
input_name: ::String,
|
532
|
+
payload: {
|
533
|
+
content_expression: ::String,
|
534
|
+
type: ("STRING" | "JSON")
|
535
|
+
}?
|
536
|
+
}?,
|
537
|
+
sqs: {
|
538
|
+
queue_url: ::String,
|
539
|
+
use_base_64: bool?,
|
540
|
+
payload: {
|
541
|
+
content_expression: ::String,
|
542
|
+
type: ("STRING" | "JSON")
|
543
|
+
}?
|
544
|
+
}?,
|
545
|
+
firehose: {
|
546
|
+
delivery_stream_name: ::String,
|
547
|
+
separator: ::String?,
|
548
|
+
payload: {
|
549
|
+
content_expression: ::String,
|
550
|
+
type: ("STRING" | "JSON")
|
551
|
+
}?
|
552
|
+
}?,
|
553
|
+
dynamo_db: {
|
554
|
+
hash_key_type: ::String?,
|
555
|
+
hash_key_field: ::String,
|
556
|
+
hash_key_value: ::String,
|
557
|
+
range_key_type: ::String?,
|
558
|
+
range_key_field: ::String?,
|
559
|
+
range_key_value: ::String?,
|
560
|
+
operation: ::String?,
|
561
|
+
payload_field: ::String?,
|
562
|
+
table_name: ::String,
|
563
|
+
payload: {
|
564
|
+
content_expression: ::String,
|
565
|
+
type: ("STRING" | "JSON")
|
566
|
+
}?
|
567
|
+
}?,
|
568
|
+
dynamo_d_bv_2: {
|
569
|
+
table_name: ::String,
|
570
|
+
payload: {
|
571
|
+
content_expression: ::String,
|
572
|
+
type: ("STRING" | "JSON")
|
573
|
+
}?
|
574
|
+
}?,
|
575
|
+
iot_site_wise: {
|
576
|
+
entry_id: ::String?,
|
577
|
+
asset_id: ::String?,
|
578
|
+
property_id: ::String?,
|
579
|
+
property_alias: ::String?,
|
580
|
+
property_value: {
|
581
|
+
value: {
|
582
|
+
string_value: ::String?,
|
583
|
+
integer_value: ::String?,
|
584
|
+
double_value: ::String?,
|
585
|
+
boolean_value: ::String?
|
586
|
+
}?,
|
587
|
+
timestamp: {
|
588
|
+
time_in_seconds: ::String,
|
589
|
+
offset_in_nanos: ::String?
|
590
|
+
}?,
|
591
|
+
quality: ::String?
|
592
|
+
}?
|
593
|
+
}?
|
594
|
+
},
|
595
|
+
]?
|
596
|
+
},
|
597
|
+
]?
|
598
|
+
}?,
|
599
|
+
on_exit: {
|
600
|
+
events: Array[
|
601
|
+
{
|
602
|
+
event_name: ::String,
|
603
|
+
condition: ::String?,
|
604
|
+
actions: Array[
|
605
|
+
{
|
606
|
+
set_variable: {
|
607
|
+
variable_name: ::String,
|
608
|
+
value: ::String
|
609
|
+
}?,
|
610
|
+
sns: {
|
611
|
+
target_arn: ::String,
|
612
|
+
payload: {
|
613
|
+
content_expression: ::String,
|
614
|
+
type: ("STRING" | "JSON")
|
615
|
+
}?
|
616
|
+
}?,
|
617
|
+
iot_topic_publish: {
|
618
|
+
mqtt_topic: ::String,
|
619
|
+
payload: {
|
620
|
+
content_expression: ::String,
|
621
|
+
type: ("STRING" | "JSON")
|
622
|
+
}?
|
623
|
+
}?,
|
624
|
+
set_timer: {
|
625
|
+
timer_name: ::String,
|
626
|
+
seconds: ::Integer?,
|
627
|
+
duration_expression: ::String?
|
628
|
+
}?,
|
629
|
+
clear_timer: {
|
630
|
+
timer_name: ::String
|
631
|
+
}?,
|
632
|
+
reset_timer: {
|
633
|
+
timer_name: ::String
|
634
|
+
}?,
|
635
|
+
lambda: {
|
636
|
+
function_arn: ::String,
|
637
|
+
payload: {
|
638
|
+
content_expression: ::String,
|
639
|
+
type: ("STRING" | "JSON")
|
640
|
+
}?
|
641
|
+
}?,
|
642
|
+
iot_events: {
|
643
|
+
input_name: ::String,
|
644
|
+
payload: {
|
645
|
+
content_expression: ::String,
|
646
|
+
type: ("STRING" | "JSON")
|
647
|
+
}?
|
648
|
+
}?,
|
649
|
+
sqs: {
|
650
|
+
queue_url: ::String,
|
651
|
+
use_base_64: bool?,
|
652
|
+
payload: {
|
653
|
+
content_expression: ::String,
|
654
|
+
type: ("STRING" | "JSON")
|
655
|
+
}?
|
656
|
+
}?,
|
657
|
+
firehose: {
|
658
|
+
delivery_stream_name: ::String,
|
659
|
+
separator: ::String?,
|
660
|
+
payload: {
|
661
|
+
content_expression: ::String,
|
662
|
+
type: ("STRING" | "JSON")
|
663
|
+
}?
|
664
|
+
}?,
|
665
|
+
dynamo_db: {
|
666
|
+
hash_key_type: ::String?,
|
667
|
+
hash_key_field: ::String,
|
668
|
+
hash_key_value: ::String,
|
669
|
+
range_key_type: ::String?,
|
670
|
+
range_key_field: ::String?,
|
671
|
+
range_key_value: ::String?,
|
672
|
+
operation: ::String?,
|
673
|
+
payload_field: ::String?,
|
674
|
+
table_name: ::String,
|
675
|
+
payload: {
|
676
|
+
content_expression: ::String,
|
677
|
+
type: ("STRING" | "JSON")
|
678
|
+
}?
|
679
|
+
}?,
|
680
|
+
dynamo_d_bv_2: {
|
681
|
+
table_name: ::String,
|
682
|
+
payload: {
|
683
|
+
content_expression: ::String,
|
684
|
+
type: ("STRING" | "JSON")
|
685
|
+
}?
|
686
|
+
}?,
|
687
|
+
iot_site_wise: {
|
688
|
+
entry_id: ::String?,
|
689
|
+
asset_id: ::String?,
|
690
|
+
property_id: ::String?,
|
691
|
+
property_alias: ::String?,
|
692
|
+
property_value: {
|
693
|
+
value: {
|
694
|
+
string_value: ::String?,
|
695
|
+
integer_value: ::String?,
|
696
|
+
double_value: ::String?,
|
697
|
+
boolean_value: ::String?
|
698
|
+
}?,
|
699
|
+
timestamp: {
|
700
|
+
time_in_seconds: ::String,
|
701
|
+
offset_in_nanos: ::String?
|
702
|
+
}?,
|
703
|
+
quality: ::String?
|
704
|
+
}?
|
705
|
+
}?
|
706
|
+
},
|
707
|
+
]?
|
708
|
+
},
|
709
|
+
]?
|
710
|
+
}?
|
711
|
+
},
|
712
|
+
],
|
713
|
+
initial_state_name: ::String
|
714
|
+
},
|
715
|
+
?detector_model_description: ::String,
|
716
|
+
?key: ::String,
|
717
|
+
role_arn: ::String,
|
718
|
+
?tags: Array[
|
719
|
+
{
|
720
|
+
key: ::String,
|
721
|
+
value: ::String
|
722
|
+
},
|
723
|
+
],
|
724
|
+
?evaluation_method: ("BATCH" | "SERIAL")
|
725
|
+
) -> _CreateDetectorModelResponseSuccess
|
726
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateDetectorModelResponseSuccess
|
727
|
+
|
728
|
+
interface _CreateInputResponseSuccess
|
729
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::CreateInputResponse]
|
730
|
+
def input_configuration: () -> Types::InputConfiguration
|
731
|
+
end
|
732
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IoTEvents/Client.html#create_input-instance_method
|
733
|
+
def create_input: (
|
734
|
+
input_name: ::String,
|
735
|
+
?input_description: ::String,
|
736
|
+
input_definition: {
|
737
|
+
attributes: Array[
|
738
|
+
{
|
739
|
+
json_path: ::String
|
740
|
+
},
|
741
|
+
]
|
742
|
+
},
|
743
|
+
?tags: Array[
|
744
|
+
{
|
745
|
+
key: ::String,
|
746
|
+
value: ::String
|
747
|
+
},
|
748
|
+
]
|
749
|
+
) -> _CreateInputResponseSuccess
|
750
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateInputResponseSuccess
|
751
|
+
|
752
|
+
interface _DeleteAlarmModelResponseSuccess
|
753
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DeleteAlarmModelResponse]
|
754
|
+
end
|
755
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IoTEvents/Client.html#delete_alarm_model-instance_method
|
756
|
+
def delete_alarm_model: (
|
757
|
+
alarm_model_name: ::String
|
758
|
+
) -> _DeleteAlarmModelResponseSuccess
|
759
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteAlarmModelResponseSuccess
|
760
|
+
|
761
|
+
interface _DeleteDetectorModelResponseSuccess
|
762
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DeleteDetectorModelResponse]
|
763
|
+
end
|
764
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IoTEvents/Client.html#delete_detector_model-instance_method
|
765
|
+
def delete_detector_model: (
|
766
|
+
detector_model_name: ::String
|
767
|
+
) -> _DeleteDetectorModelResponseSuccess
|
768
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteDetectorModelResponseSuccess
|
769
|
+
|
770
|
+
interface _DeleteInputResponseSuccess
|
771
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DeleteInputResponse]
|
772
|
+
end
|
773
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IoTEvents/Client.html#delete_input-instance_method
|
774
|
+
def delete_input: (
|
775
|
+
input_name: ::String
|
776
|
+
) -> _DeleteInputResponseSuccess
|
777
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteInputResponseSuccess
|
778
|
+
|
779
|
+
interface _DescribeAlarmModelResponseSuccess
|
780
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DescribeAlarmModelResponse]
|
781
|
+
def creation_time: () -> ::Time
|
782
|
+
def alarm_model_arn: () -> ::String
|
783
|
+
def alarm_model_version: () -> ::String
|
784
|
+
def last_update_time: () -> ::Time
|
785
|
+
def status: () -> ("ACTIVE" | "ACTIVATING" | "INACTIVE" | "FAILED")
|
786
|
+
def status_message: () -> ::String
|
787
|
+
def alarm_model_name: () -> ::String
|
788
|
+
def alarm_model_description: () -> ::String
|
789
|
+
def role_arn: () -> ::String
|
790
|
+
def key: () -> ::String
|
791
|
+
def severity: () -> ::Integer
|
792
|
+
def alarm_rule: () -> Types::AlarmRule
|
793
|
+
def alarm_notification: () -> Types::AlarmNotification
|
794
|
+
def alarm_event_actions: () -> Types::AlarmEventActions
|
795
|
+
def alarm_capabilities: () -> Types::AlarmCapabilities
|
796
|
+
end
|
797
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IoTEvents/Client.html#describe_alarm_model-instance_method
|
798
|
+
def describe_alarm_model: (
|
799
|
+
alarm_model_name: ::String,
|
800
|
+
?alarm_model_version: ::String
|
801
|
+
) -> _DescribeAlarmModelResponseSuccess
|
802
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeAlarmModelResponseSuccess
|
803
|
+
|
804
|
+
interface _DescribeDetectorModelResponseSuccess
|
805
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DescribeDetectorModelResponse]
|
806
|
+
def detector_model: () -> Types::DetectorModel
|
807
|
+
end
|
808
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IoTEvents/Client.html#describe_detector_model-instance_method
|
809
|
+
def describe_detector_model: (
|
810
|
+
detector_model_name: ::String,
|
811
|
+
?detector_model_version: ::String
|
812
|
+
) -> _DescribeDetectorModelResponseSuccess
|
813
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeDetectorModelResponseSuccess
|
814
|
+
|
815
|
+
interface _DescribeDetectorModelAnalysisResponseSuccess
|
816
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DescribeDetectorModelAnalysisResponse]
|
817
|
+
def status: () -> ("RUNNING" | "COMPLETE" | "FAILED")
|
818
|
+
end
|
819
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IoTEvents/Client.html#describe_detector_model_analysis-instance_method
|
820
|
+
def describe_detector_model_analysis: (
|
821
|
+
analysis_id: ::String
|
822
|
+
) -> _DescribeDetectorModelAnalysisResponseSuccess
|
823
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeDetectorModelAnalysisResponseSuccess
|
824
|
+
|
825
|
+
interface _DescribeInputResponseSuccess
|
826
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DescribeInputResponse]
|
827
|
+
def input: () -> Types::Input
|
828
|
+
end
|
829
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IoTEvents/Client.html#describe_input-instance_method
|
830
|
+
def describe_input: (
|
831
|
+
input_name: ::String
|
832
|
+
) -> _DescribeInputResponseSuccess
|
833
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeInputResponseSuccess
|
834
|
+
|
835
|
+
interface _DescribeLoggingOptionsResponseSuccess
|
836
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DescribeLoggingOptionsResponse]
|
837
|
+
def logging_options: () -> Types::LoggingOptions
|
838
|
+
end
|
839
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IoTEvents/Client.html#describe_logging_options-instance_method
|
840
|
+
def describe_logging_options: (
|
841
|
+
) -> _DescribeLoggingOptionsResponseSuccess
|
842
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeLoggingOptionsResponseSuccess
|
843
|
+
|
844
|
+
interface _GetDetectorModelAnalysisResultsResponseSuccess
|
845
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetDetectorModelAnalysisResultsResponse]
|
846
|
+
def analysis_results: () -> ::Array[Types::AnalysisResult]
|
847
|
+
def next_token: () -> ::String
|
848
|
+
end
|
849
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IoTEvents/Client.html#get_detector_model_analysis_results-instance_method
|
850
|
+
def get_detector_model_analysis_results: (
|
851
|
+
analysis_id: ::String,
|
852
|
+
?next_token: ::String,
|
853
|
+
?max_results: ::Integer
|
854
|
+
) -> _GetDetectorModelAnalysisResultsResponseSuccess
|
855
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetDetectorModelAnalysisResultsResponseSuccess
|
856
|
+
|
857
|
+
interface _ListAlarmModelVersionsResponseSuccess
|
858
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListAlarmModelVersionsResponse]
|
859
|
+
def alarm_model_version_summaries: () -> ::Array[Types::AlarmModelVersionSummary]
|
860
|
+
def next_token: () -> ::String
|
861
|
+
end
|
862
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IoTEvents/Client.html#list_alarm_model_versions-instance_method
|
863
|
+
def list_alarm_model_versions: (
|
864
|
+
alarm_model_name: ::String,
|
865
|
+
?next_token: ::String,
|
866
|
+
?max_results: ::Integer
|
867
|
+
) -> _ListAlarmModelVersionsResponseSuccess
|
868
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListAlarmModelVersionsResponseSuccess
|
869
|
+
|
870
|
+
interface _ListAlarmModelsResponseSuccess
|
871
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListAlarmModelsResponse]
|
872
|
+
def alarm_model_summaries: () -> ::Array[Types::AlarmModelSummary]
|
873
|
+
def next_token: () -> ::String
|
874
|
+
end
|
875
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IoTEvents/Client.html#list_alarm_models-instance_method
|
876
|
+
def list_alarm_models: (
|
877
|
+
?next_token: ::String,
|
878
|
+
?max_results: ::Integer
|
879
|
+
) -> _ListAlarmModelsResponseSuccess
|
880
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListAlarmModelsResponseSuccess
|
881
|
+
|
882
|
+
interface _ListDetectorModelVersionsResponseSuccess
|
883
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListDetectorModelVersionsResponse]
|
884
|
+
def detector_model_version_summaries: () -> ::Array[Types::DetectorModelVersionSummary]
|
885
|
+
def next_token: () -> ::String
|
886
|
+
end
|
887
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IoTEvents/Client.html#list_detector_model_versions-instance_method
|
888
|
+
def list_detector_model_versions: (
|
889
|
+
detector_model_name: ::String,
|
890
|
+
?next_token: ::String,
|
891
|
+
?max_results: ::Integer
|
892
|
+
) -> _ListDetectorModelVersionsResponseSuccess
|
893
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListDetectorModelVersionsResponseSuccess
|
894
|
+
|
895
|
+
interface _ListDetectorModelsResponseSuccess
|
896
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListDetectorModelsResponse]
|
897
|
+
def detector_model_summaries: () -> ::Array[Types::DetectorModelSummary]
|
898
|
+
def next_token: () -> ::String
|
899
|
+
end
|
900
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IoTEvents/Client.html#list_detector_models-instance_method
|
901
|
+
def list_detector_models: (
|
902
|
+
?next_token: ::String,
|
903
|
+
?max_results: ::Integer
|
904
|
+
) -> _ListDetectorModelsResponseSuccess
|
905
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListDetectorModelsResponseSuccess
|
906
|
+
|
907
|
+
interface _ListInputRoutingsResponseSuccess
|
908
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListInputRoutingsResponse]
|
909
|
+
def routed_resources: () -> ::Array[Types::RoutedResource]
|
910
|
+
def next_token: () -> ::String
|
911
|
+
end
|
912
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IoTEvents/Client.html#list_input_routings-instance_method
|
913
|
+
def list_input_routings: (
|
914
|
+
input_identifier: {
|
915
|
+
iot_events_input_identifier: {
|
916
|
+
input_name: ::String
|
917
|
+
}?,
|
918
|
+
iot_site_wise_input_identifier: {
|
919
|
+
iot_site_wise_asset_model_property_identifier: {
|
920
|
+
asset_model_id: ::String,
|
921
|
+
property_id: ::String
|
922
|
+
}?
|
923
|
+
}?
|
924
|
+
},
|
925
|
+
?max_results: ::Integer,
|
926
|
+
?next_token: ::String
|
927
|
+
) -> _ListInputRoutingsResponseSuccess
|
928
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListInputRoutingsResponseSuccess
|
929
|
+
|
930
|
+
interface _ListInputsResponseSuccess
|
931
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListInputsResponse]
|
932
|
+
def input_summaries: () -> ::Array[Types::InputSummary]
|
933
|
+
def next_token: () -> ::String
|
934
|
+
end
|
935
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IoTEvents/Client.html#list_inputs-instance_method
|
936
|
+
def list_inputs: (
|
937
|
+
?next_token: ::String,
|
938
|
+
?max_results: ::Integer
|
939
|
+
) -> _ListInputsResponseSuccess
|
940
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListInputsResponseSuccess
|
941
|
+
|
942
|
+
interface _ListTagsForResourceResponseSuccess
|
943
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListTagsForResourceResponse]
|
944
|
+
def tags: () -> ::Array[Types::Tag]
|
945
|
+
end
|
946
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IoTEvents/Client.html#list_tags_for_resource-instance_method
|
947
|
+
def list_tags_for_resource: (
|
948
|
+
resource_arn: ::String
|
949
|
+
) -> _ListTagsForResourceResponseSuccess
|
950
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListTagsForResourceResponseSuccess
|
951
|
+
|
952
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IoTEvents/Client.html#put_logging_options-instance_method
|
953
|
+
def put_logging_options: (
|
954
|
+
logging_options: {
|
955
|
+
role_arn: ::String,
|
956
|
+
level: ("ERROR" | "INFO" | "DEBUG"),
|
957
|
+
enabled: bool,
|
958
|
+
detector_debug_options: Array[
|
959
|
+
{
|
960
|
+
detector_model_name: ::String,
|
961
|
+
key_value: ::String?
|
962
|
+
},
|
963
|
+
]?
|
964
|
+
}
|
965
|
+
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
966
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
967
|
+
|
968
|
+
interface _StartDetectorModelAnalysisResponseSuccess
|
969
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::StartDetectorModelAnalysisResponse]
|
970
|
+
def analysis_id: () -> ::String
|
971
|
+
end
|
972
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IoTEvents/Client.html#start_detector_model_analysis-instance_method
|
973
|
+
def start_detector_model_analysis: (
|
974
|
+
detector_model_definition: {
|
975
|
+
states: Array[
|
976
|
+
{
|
977
|
+
state_name: ::String,
|
978
|
+
on_input: {
|
979
|
+
events: Array[
|
980
|
+
{
|
981
|
+
event_name: ::String,
|
982
|
+
condition: ::String?,
|
983
|
+
actions: Array[
|
984
|
+
{
|
985
|
+
set_variable: {
|
986
|
+
variable_name: ::String,
|
987
|
+
value: ::String
|
988
|
+
}?,
|
989
|
+
sns: {
|
990
|
+
target_arn: ::String,
|
991
|
+
payload: {
|
992
|
+
content_expression: ::String,
|
993
|
+
type: ("STRING" | "JSON")
|
994
|
+
}?
|
995
|
+
}?,
|
996
|
+
iot_topic_publish: {
|
997
|
+
mqtt_topic: ::String,
|
998
|
+
payload: {
|
999
|
+
content_expression: ::String,
|
1000
|
+
type: ("STRING" | "JSON")
|
1001
|
+
}?
|
1002
|
+
}?,
|
1003
|
+
set_timer: {
|
1004
|
+
timer_name: ::String,
|
1005
|
+
seconds: ::Integer?,
|
1006
|
+
duration_expression: ::String?
|
1007
|
+
}?,
|
1008
|
+
clear_timer: {
|
1009
|
+
timer_name: ::String
|
1010
|
+
}?,
|
1011
|
+
reset_timer: {
|
1012
|
+
timer_name: ::String
|
1013
|
+
}?,
|
1014
|
+
lambda: {
|
1015
|
+
function_arn: ::String,
|
1016
|
+
payload: {
|
1017
|
+
content_expression: ::String,
|
1018
|
+
type: ("STRING" | "JSON")
|
1019
|
+
}?
|
1020
|
+
}?,
|
1021
|
+
iot_events: {
|
1022
|
+
input_name: ::String,
|
1023
|
+
payload: {
|
1024
|
+
content_expression: ::String,
|
1025
|
+
type: ("STRING" | "JSON")
|
1026
|
+
}?
|
1027
|
+
}?,
|
1028
|
+
sqs: {
|
1029
|
+
queue_url: ::String,
|
1030
|
+
use_base_64: bool?,
|
1031
|
+
payload: {
|
1032
|
+
content_expression: ::String,
|
1033
|
+
type: ("STRING" | "JSON")
|
1034
|
+
}?
|
1035
|
+
}?,
|
1036
|
+
firehose: {
|
1037
|
+
delivery_stream_name: ::String,
|
1038
|
+
separator: ::String?,
|
1039
|
+
payload: {
|
1040
|
+
content_expression: ::String,
|
1041
|
+
type: ("STRING" | "JSON")
|
1042
|
+
}?
|
1043
|
+
}?,
|
1044
|
+
dynamo_db: {
|
1045
|
+
hash_key_type: ::String?,
|
1046
|
+
hash_key_field: ::String,
|
1047
|
+
hash_key_value: ::String,
|
1048
|
+
range_key_type: ::String?,
|
1049
|
+
range_key_field: ::String?,
|
1050
|
+
range_key_value: ::String?,
|
1051
|
+
operation: ::String?,
|
1052
|
+
payload_field: ::String?,
|
1053
|
+
table_name: ::String,
|
1054
|
+
payload: {
|
1055
|
+
content_expression: ::String,
|
1056
|
+
type: ("STRING" | "JSON")
|
1057
|
+
}?
|
1058
|
+
}?,
|
1059
|
+
dynamo_d_bv_2: {
|
1060
|
+
table_name: ::String,
|
1061
|
+
payload: {
|
1062
|
+
content_expression: ::String,
|
1063
|
+
type: ("STRING" | "JSON")
|
1064
|
+
}?
|
1065
|
+
}?,
|
1066
|
+
iot_site_wise: {
|
1067
|
+
entry_id: ::String?,
|
1068
|
+
asset_id: ::String?,
|
1069
|
+
property_id: ::String?,
|
1070
|
+
property_alias: ::String?,
|
1071
|
+
property_value: {
|
1072
|
+
value: {
|
1073
|
+
string_value: ::String?,
|
1074
|
+
integer_value: ::String?,
|
1075
|
+
double_value: ::String?,
|
1076
|
+
boolean_value: ::String?
|
1077
|
+
}?,
|
1078
|
+
timestamp: {
|
1079
|
+
time_in_seconds: ::String,
|
1080
|
+
offset_in_nanos: ::String?
|
1081
|
+
}?,
|
1082
|
+
quality: ::String?
|
1083
|
+
}?
|
1084
|
+
}?
|
1085
|
+
},
|
1086
|
+
]?
|
1087
|
+
},
|
1088
|
+
]?,
|
1089
|
+
transition_events: Array[
|
1090
|
+
{
|
1091
|
+
event_name: ::String,
|
1092
|
+
condition: ::String,
|
1093
|
+
actions: Array[
|
1094
|
+
{
|
1095
|
+
set_variable: {
|
1096
|
+
variable_name: ::String,
|
1097
|
+
value: ::String
|
1098
|
+
}?,
|
1099
|
+
sns: {
|
1100
|
+
target_arn: ::String,
|
1101
|
+
payload: {
|
1102
|
+
content_expression: ::String,
|
1103
|
+
type: ("STRING" | "JSON")
|
1104
|
+
}?
|
1105
|
+
}?,
|
1106
|
+
iot_topic_publish: {
|
1107
|
+
mqtt_topic: ::String,
|
1108
|
+
payload: {
|
1109
|
+
content_expression: ::String,
|
1110
|
+
type: ("STRING" | "JSON")
|
1111
|
+
}?
|
1112
|
+
}?,
|
1113
|
+
set_timer: {
|
1114
|
+
timer_name: ::String,
|
1115
|
+
seconds: ::Integer?,
|
1116
|
+
duration_expression: ::String?
|
1117
|
+
}?,
|
1118
|
+
clear_timer: {
|
1119
|
+
timer_name: ::String
|
1120
|
+
}?,
|
1121
|
+
reset_timer: {
|
1122
|
+
timer_name: ::String
|
1123
|
+
}?,
|
1124
|
+
lambda: {
|
1125
|
+
function_arn: ::String,
|
1126
|
+
payload: {
|
1127
|
+
content_expression: ::String,
|
1128
|
+
type: ("STRING" | "JSON")
|
1129
|
+
}?
|
1130
|
+
}?,
|
1131
|
+
iot_events: {
|
1132
|
+
input_name: ::String,
|
1133
|
+
payload: {
|
1134
|
+
content_expression: ::String,
|
1135
|
+
type: ("STRING" | "JSON")
|
1136
|
+
}?
|
1137
|
+
}?,
|
1138
|
+
sqs: {
|
1139
|
+
queue_url: ::String,
|
1140
|
+
use_base_64: bool?,
|
1141
|
+
payload: {
|
1142
|
+
content_expression: ::String,
|
1143
|
+
type: ("STRING" | "JSON")
|
1144
|
+
}?
|
1145
|
+
}?,
|
1146
|
+
firehose: {
|
1147
|
+
delivery_stream_name: ::String,
|
1148
|
+
separator: ::String?,
|
1149
|
+
payload: {
|
1150
|
+
content_expression: ::String,
|
1151
|
+
type: ("STRING" | "JSON")
|
1152
|
+
}?
|
1153
|
+
}?,
|
1154
|
+
dynamo_db: {
|
1155
|
+
hash_key_type: ::String?,
|
1156
|
+
hash_key_field: ::String,
|
1157
|
+
hash_key_value: ::String,
|
1158
|
+
range_key_type: ::String?,
|
1159
|
+
range_key_field: ::String?,
|
1160
|
+
range_key_value: ::String?,
|
1161
|
+
operation: ::String?,
|
1162
|
+
payload_field: ::String?,
|
1163
|
+
table_name: ::String,
|
1164
|
+
payload: {
|
1165
|
+
content_expression: ::String,
|
1166
|
+
type: ("STRING" | "JSON")
|
1167
|
+
}?
|
1168
|
+
}?,
|
1169
|
+
dynamo_d_bv_2: {
|
1170
|
+
table_name: ::String,
|
1171
|
+
payload: {
|
1172
|
+
content_expression: ::String,
|
1173
|
+
type: ("STRING" | "JSON")
|
1174
|
+
}?
|
1175
|
+
}?,
|
1176
|
+
iot_site_wise: {
|
1177
|
+
entry_id: ::String?,
|
1178
|
+
asset_id: ::String?,
|
1179
|
+
property_id: ::String?,
|
1180
|
+
property_alias: ::String?,
|
1181
|
+
property_value: {
|
1182
|
+
value: {
|
1183
|
+
string_value: ::String?,
|
1184
|
+
integer_value: ::String?,
|
1185
|
+
double_value: ::String?,
|
1186
|
+
boolean_value: ::String?
|
1187
|
+
}?,
|
1188
|
+
timestamp: {
|
1189
|
+
time_in_seconds: ::String,
|
1190
|
+
offset_in_nanos: ::String?
|
1191
|
+
}?,
|
1192
|
+
quality: ::String?
|
1193
|
+
}?
|
1194
|
+
}?
|
1195
|
+
},
|
1196
|
+
]?,
|
1197
|
+
next_state: ::String
|
1198
|
+
},
|
1199
|
+
]?
|
1200
|
+
}?,
|
1201
|
+
on_enter: {
|
1202
|
+
events: Array[
|
1203
|
+
{
|
1204
|
+
event_name: ::String,
|
1205
|
+
condition: ::String?,
|
1206
|
+
actions: Array[
|
1207
|
+
{
|
1208
|
+
set_variable: {
|
1209
|
+
variable_name: ::String,
|
1210
|
+
value: ::String
|
1211
|
+
}?,
|
1212
|
+
sns: {
|
1213
|
+
target_arn: ::String,
|
1214
|
+
payload: {
|
1215
|
+
content_expression: ::String,
|
1216
|
+
type: ("STRING" | "JSON")
|
1217
|
+
}?
|
1218
|
+
}?,
|
1219
|
+
iot_topic_publish: {
|
1220
|
+
mqtt_topic: ::String,
|
1221
|
+
payload: {
|
1222
|
+
content_expression: ::String,
|
1223
|
+
type: ("STRING" | "JSON")
|
1224
|
+
}?
|
1225
|
+
}?,
|
1226
|
+
set_timer: {
|
1227
|
+
timer_name: ::String,
|
1228
|
+
seconds: ::Integer?,
|
1229
|
+
duration_expression: ::String?
|
1230
|
+
}?,
|
1231
|
+
clear_timer: {
|
1232
|
+
timer_name: ::String
|
1233
|
+
}?,
|
1234
|
+
reset_timer: {
|
1235
|
+
timer_name: ::String
|
1236
|
+
}?,
|
1237
|
+
lambda: {
|
1238
|
+
function_arn: ::String,
|
1239
|
+
payload: {
|
1240
|
+
content_expression: ::String,
|
1241
|
+
type: ("STRING" | "JSON")
|
1242
|
+
}?
|
1243
|
+
}?,
|
1244
|
+
iot_events: {
|
1245
|
+
input_name: ::String,
|
1246
|
+
payload: {
|
1247
|
+
content_expression: ::String,
|
1248
|
+
type: ("STRING" | "JSON")
|
1249
|
+
}?
|
1250
|
+
}?,
|
1251
|
+
sqs: {
|
1252
|
+
queue_url: ::String,
|
1253
|
+
use_base_64: bool?,
|
1254
|
+
payload: {
|
1255
|
+
content_expression: ::String,
|
1256
|
+
type: ("STRING" | "JSON")
|
1257
|
+
}?
|
1258
|
+
}?,
|
1259
|
+
firehose: {
|
1260
|
+
delivery_stream_name: ::String,
|
1261
|
+
separator: ::String?,
|
1262
|
+
payload: {
|
1263
|
+
content_expression: ::String,
|
1264
|
+
type: ("STRING" | "JSON")
|
1265
|
+
}?
|
1266
|
+
}?,
|
1267
|
+
dynamo_db: {
|
1268
|
+
hash_key_type: ::String?,
|
1269
|
+
hash_key_field: ::String,
|
1270
|
+
hash_key_value: ::String,
|
1271
|
+
range_key_type: ::String?,
|
1272
|
+
range_key_field: ::String?,
|
1273
|
+
range_key_value: ::String?,
|
1274
|
+
operation: ::String?,
|
1275
|
+
payload_field: ::String?,
|
1276
|
+
table_name: ::String,
|
1277
|
+
payload: {
|
1278
|
+
content_expression: ::String,
|
1279
|
+
type: ("STRING" | "JSON")
|
1280
|
+
}?
|
1281
|
+
}?,
|
1282
|
+
dynamo_d_bv_2: {
|
1283
|
+
table_name: ::String,
|
1284
|
+
payload: {
|
1285
|
+
content_expression: ::String,
|
1286
|
+
type: ("STRING" | "JSON")
|
1287
|
+
}?
|
1288
|
+
}?,
|
1289
|
+
iot_site_wise: {
|
1290
|
+
entry_id: ::String?,
|
1291
|
+
asset_id: ::String?,
|
1292
|
+
property_id: ::String?,
|
1293
|
+
property_alias: ::String?,
|
1294
|
+
property_value: {
|
1295
|
+
value: {
|
1296
|
+
string_value: ::String?,
|
1297
|
+
integer_value: ::String?,
|
1298
|
+
double_value: ::String?,
|
1299
|
+
boolean_value: ::String?
|
1300
|
+
}?,
|
1301
|
+
timestamp: {
|
1302
|
+
time_in_seconds: ::String,
|
1303
|
+
offset_in_nanos: ::String?
|
1304
|
+
}?,
|
1305
|
+
quality: ::String?
|
1306
|
+
}?
|
1307
|
+
}?
|
1308
|
+
},
|
1309
|
+
]?
|
1310
|
+
},
|
1311
|
+
]?
|
1312
|
+
}?,
|
1313
|
+
on_exit: {
|
1314
|
+
events: Array[
|
1315
|
+
{
|
1316
|
+
event_name: ::String,
|
1317
|
+
condition: ::String?,
|
1318
|
+
actions: Array[
|
1319
|
+
{
|
1320
|
+
set_variable: {
|
1321
|
+
variable_name: ::String,
|
1322
|
+
value: ::String
|
1323
|
+
}?,
|
1324
|
+
sns: {
|
1325
|
+
target_arn: ::String,
|
1326
|
+
payload: {
|
1327
|
+
content_expression: ::String,
|
1328
|
+
type: ("STRING" | "JSON")
|
1329
|
+
}?
|
1330
|
+
}?,
|
1331
|
+
iot_topic_publish: {
|
1332
|
+
mqtt_topic: ::String,
|
1333
|
+
payload: {
|
1334
|
+
content_expression: ::String,
|
1335
|
+
type: ("STRING" | "JSON")
|
1336
|
+
}?
|
1337
|
+
}?,
|
1338
|
+
set_timer: {
|
1339
|
+
timer_name: ::String,
|
1340
|
+
seconds: ::Integer?,
|
1341
|
+
duration_expression: ::String?
|
1342
|
+
}?,
|
1343
|
+
clear_timer: {
|
1344
|
+
timer_name: ::String
|
1345
|
+
}?,
|
1346
|
+
reset_timer: {
|
1347
|
+
timer_name: ::String
|
1348
|
+
}?,
|
1349
|
+
lambda: {
|
1350
|
+
function_arn: ::String,
|
1351
|
+
payload: {
|
1352
|
+
content_expression: ::String,
|
1353
|
+
type: ("STRING" | "JSON")
|
1354
|
+
}?
|
1355
|
+
}?,
|
1356
|
+
iot_events: {
|
1357
|
+
input_name: ::String,
|
1358
|
+
payload: {
|
1359
|
+
content_expression: ::String,
|
1360
|
+
type: ("STRING" | "JSON")
|
1361
|
+
}?
|
1362
|
+
}?,
|
1363
|
+
sqs: {
|
1364
|
+
queue_url: ::String,
|
1365
|
+
use_base_64: bool?,
|
1366
|
+
payload: {
|
1367
|
+
content_expression: ::String,
|
1368
|
+
type: ("STRING" | "JSON")
|
1369
|
+
}?
|
1370
|
+
}?,
|
1371
|
+
firehose: {
|
1372
|
+
delivery_stream_name: ::String,
|
1373
|
+
separator: ::String?,
|
1374
|
+
payload: {
|
1375
|
+
content_expression: ::String,
|
1376
|
+
type: ("STRING" | "JSON")
|
1377
|
+
}?
|
1378
|
+
}?,
|
1379
|
+
dynamo_db: {
|
1380
|
+
hash_key_type: ::String?,
|
1381
|
+
hash_key_field: ::String,
|
1382
|
+
hash_key_value: ::String,
|
1383
|
+
range_key_type: ::String?,
|
1384
|
+
range_key_field: ::String?,
|
1385
|
+
range_key_value: ::String?,
|
1386
|
+
operation: ::String?,
|
1387
|
+
payload_field: ::String?,
|
1388
|
+
table_name: ::String,
|
1389
|
+
payload: {
|
1390
|
+
content_expression: ::String,
|
1391
|
+
type: ("STRING" | "JSON")
|
1392
|
+
}?
|
1393
|
+
}?,
|
1394
|
+
dynamo_d_bv_2: {
|
1395
|
+
table_name: ::String,
|
1396
|
+
payload: {
|
1397
|
+
content_expression: ::String,
|
1398
|
+
type: ("STRING" | "JSON")
|
1399
|
+
}?
|
1400
|
+
}?,
|
1401
|
+
iot_site_wise: {
|
1402
|
+
entry_id: ::String?,
|
1403
|
+
asset_id: ::String?,
|
1404
|
+
property_id: ::String?,
|
1405
|
+
property_alias: ::String?,
|
1406
|
+
property_value: {
|
1407
|
+
value: {
|
1408
|
+
string_value: ::String?,
|
1409
|
+
integer_value: ::String?,
|
1410
|
+
double_value: ::String?,
|
1411
|
+
boolean_value: ::String?
|
1412
|
+
}?,
|
1413
|
+
timestamp: {
|
1414
|
+
time_in_seconds: ::String,
|
1415
|
+
offset_in_nanos: ::String?
|
1416
|
+
}?,
|
1417
|
+
quality: ::String?
|
1418
|
+
}?
|
1419
|
+
}?
|
1420
|
+
},
|
1421
|
+
]?
|
1422
|
+
},
|
1423
|
+
]?
|
1424
|
+
}?
|
1425
|
+
},
|
1426
|
+
],
|
1427
|
+
initial_state_name: ::String
|
1428
|
+
}
|
1429
|
+
) -> _StartDetectorModelAnalysisResponseSuccess
|
1430
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StartDetectorModelAnalysisResponseSuccess
|
1431
|
+
|
1432
|
+
interface _TagResourceResponseSuccess
|
1433
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::TagResourceResponse]
|
1434
|
+
end
|
1435
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IoTEvents/Client.html#tag_resource-instance_method
|
1436
|
+
def tag_resource: (
|
1437
|
+
resource_arn: ::String,
|
1438
|
+
tags: Array[
|
1439
|
+
{
|
1440
|
+
key: ::String,
|
1441
|
+
value: ::String
|
1442
|
+
},
|
1443
|
+
]
|
1444
|
+
) -> _TagResourceResponseSuccess
|
1445
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _TagResourceResponseSuccess
|
1446
|
+
|
1447
|
+
interface _UntagResourceResponseSuccess
|
1448
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::UntagResourceResponse]
|
1449
|
+
end
|
1450
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IoTEvents/Client.html#untag_resource-instance_method
|
1451
|
+
def untag_resource: (
|
1452
|
+
resource_arn: ::String,
|
1453
|
+
tag_keys: Array[::String]
|
1454
|
+
) -> _UntagResourceResponseSuccess
|
1455
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UntagResourceResponseSuccess
|
1456
|
+
|
1457
|
+
interface _UpdateAlarmModelResponseSuccess
|
1458
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::UpdateAlarmModelResponse]
|
1459
|
+
def creation_time: () -> ::Time
|
1460
|
+
def alarm_model_arn: () -> ::String
|
1461
|
+
def alarm_model_version: () -> ::String
|
1462
|
+
def last_update_time: () -> ::Time
|
1463
|
+
def status: () -> ("ACTIVE" | "ACTIVATING" | "INACTIVE" | "FAILED")
|
1464
|
+
end
|
1465
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IoTEvents/Client.html#update_alarm_model-instance_method
|
1466
|
+
def update_alarm_model: (
|
1467
|
+
alarm_model_name: ::String,
|
1468
|
+
?alarm_model_description: ::String,
|
1469
|
+
role_arn: ::String,
|
1470
|
+
?severity: ::Integer,
|
1471
|
+
alarm_rule: {
|
1472
|
+
simple_rule: {
|
1473
|
+
input_property: ::String,
|
1474
|
+
comparison_operator: ("GREATER" | "GREATER_OR_EQUAL" | "LESS" | "LESS_OR_EQUAL" | "EQUAL" | "NOT_EQUAL"),
|
1475
|
+
threshold: ::String
|
1476
|
+
}?
|
1477
|
+
},
|
1478
|
+
?alarm_notification: {
|
1479
|
+
notification_actions: Array[
|
1480
|
+
{
|
1481
|
+
action: {
|
1482
|
+
lambda_action: {
|
1483
|
+
function_arn: ::String,
|
1484
|
+
payload: {
|
1485
|
+
content_expression: ::String,
|
1486
|
+
type: ("STRING" | "JSON")
|
1487
|
+
}?
|
1488
|
+
}?
|
1489
|
+
},
|
1490
|
+
sms_configurations: Array[
|
1491
|
+
{
|
1492
|
+
sender_id: ::String?,
|
1493
|
+
additional_message: ::String?,
|
1494
|
+
recipients: Array[
|
1495
|
+
{
|
1496
|
+
sso_identity: {
|
1497
|
+
identity_store_id: ::String,
|
1498
|
+
user_id: ::String?
|
1499
|
+
}?
|
1500
|
+
},
|
1501
|
+
]
|
1502
|
+
},
|
1503
|
+
]?,
|
1504
|
+
email_configurations: Array[
|
1505
|
+
{
|
1506
|
+
from: ::String,
|
1507
|
+
content: {
|
1508
|
+
subject: ::String?,
|
1509
|
+
additional_message: ::String?
|
1510
|
+
}?,
|
1511
|
+
recipients: {
|
1512
|
+
to: Array[
|
1513
|
+
{
|
1514
|
+
sso_identity: {
|
1515
|
+
identity_store_id: ::String,
|
1516
|
+
user_id: ::String?
|
1517
|
+
}?
|
1518
|
+
},
|
1519
|
+
]?
|
1520
|
+
}
|
1521
|
+
},
|
1522
|
+
]?
|
1523
|
+
},
|
1524
|
+
]?
|
1525
|
+
},
|
1526
|
+
?alarm_event_actions: {
|
1527
|
+
alarm_actions: Array[
|
1528
|
+
{
|
1529
|
+
sns: {
|
1530
|
+
target_arn: ::String,
|
1531
|
+
payload: {
|
1532
|
+
content_expression: ::String,
|
1533
|
+
type: ("STRING" | "JSON")
|
1534
|
+
}?
|
1535
|
+
}?,
|
1536
|
+
iot_topic_publish: {
|
1537
|
+
mqtt_topic: ::String,
|
1538
|
+
payload: {
|
1539
|
+
content_expression: ::String,
|
1540
|
+
type: ("STRING" | "JSON")
|
1541
|
+
}?
|
1542
|
+
}?,
|
1543
|
+
lambda: {
|
1544
|
+
function_arn: ::String,
|
1545
|
+
payload: {
|
1546
|
+
content_expression: ::String,
|
1547
|
+
type: ("STRING" | "JSON")
|
1548
|
+
}?
|
1549
|
+
}?,
|
1550
|
+
iot_events: {
|
1551
|
+
input_name: ::String,
|
1552
|
+
payload: {
|
1553
|
+
content_expression: ::String,
|
1554
|
+
type: ("STRING" | "JSON")
|
1555
|
+
}?
|
1556
|
+
}?,
|
1557
|
+
sqs: {
|
1558
|
+
queue_url: ::String,
|
1559
|
+
use_base_64: bool?,
|
1560
|
+
payload: {
|
1561
|
+
content_expression: ::String,
|
1562
|
+
type: ("STRING" | "JSON")
|
1563
|
+
}?
|
1564
|
+
}?,
|
1565
|
+
firehose: {
|
1566
|
+
delivery_stream_name: ::String,
|
1567
|
+
separator: ::String?,
|
1568
|
+
payload: {
|
1569
|
+
content_expression: ::String,
|
1570
|
+
type: ("STRING" | "JSON")
|
1571
|
+
}?
|
1572
|
+
}?,
|
1573
|
+
dynamo_db: {
|
1574
|
+
hash_key_type: ::String?,
|
1575
|
+
hash_key_field: ::String,
|
1576
|
+
hash_key_value: ::String,
|
1577
|
+
range_key_type: ::String?,
|
1578
|
+
range_key_field: ::String?,
|
1579
|
+
range_key_value: ::String?,
|
1580
|
+
operation: ::String?,
|
1581
|
+
payload_field: ::String?,
|
1582
|
+
table_name: ::String,
|
1583
|
+
payload: {
|
1584
|
+
content_expression: ::String,
|
1585
|
+
type: ("STRING" | "JSON")
|
1586
|
+
}?
|
1587
|
+
}?,
|
1588
|
+
dynamo_d_bv_2: {
|
1589
|
+
table_name: ::String,
|
1590
|
+
payload: {
|
1591
|
+
content_expression: ::String,
|
1592
|
+
type: ("STRING" | "JSON")
|
1593
|
+
}?
|
1594
|
+
}?,
|
1595
|
+
iot_site_wise: {
|
1596
|
+
entry_id: ::String?,
|
1597
|
+
asset_id: ::String?,
|
1598
|
+
property_id: ::String?,
|
1599
|
+
property_alias: ::String?,
|
1600
|
+
property_value: {
|
1601
|
+
value: {
|
1602
|
+
string_value: ::String?,
|
1603
|
+
integer_value: ::String?,
|
1604
|
+
double_value: ::String?,
|
1605
|
+
boolean_value: ::String?
|
1606
|
+
}?,
|
1607
|
+
timestamp: {
|
1608
|
+
time_in_seconds: ::String,
|
1609
|
+
offset_in_nanos: ::String?
|
1610
|
+
}?,
|
1611
|
+
quality: ::String?
|
1612
|
+
}?
|
1613
|
+
}?
|
1614
|
+
},
|
1615
|
+
]?
|
1616
|
+
},
|
1617
|
+
?alarm_capabilities: {
|
1618
|
+
initialization_configuration: {
|
1619
|
+
disabled_on_initialization: bool
|
1620
|
+
}?,
|
1621
|
+
acknowledge_flow: {
|
1622
|
+
enabled: bool
|
1623
|
+
}?
|
1624
|
+
}
|
1625
|
+
) -> _UpdateAlarmModelResponseSuccess
|
1626
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateAlarmModelResponseSuccess
|
1627
|
+
|
1628
|
+
interface _UpdateDetectorModelResponseSuccess
|
1629
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::UpdateDetectorModelResponse]
|
1630
|
+
def detector_model_configuration: () -> Types::DetectorModelConfiguration
|
1631
|
+
end
|
1632
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IoTEvents/Client.html#update_detector_model-instance_method
|
1633
|
+
def update_detector_model: (
|
1634
|
+
detector_model_name: ::String,
|
1635
|
+
detector_model_definition: {
|
1636
|
+
states: Array[
|
1637
|
+
{
|
1638
|
+
state_name: ::String,
|
1639
|
+
on_input: {
|
1640
|
+
events: Array[
|
1641
|
+
{
|
1642
|
+
event_name: ::String,
|
1643
|
+
condition: ::String?,
|
1644
|
+
actions: Array[
|
1645
|
+
{
|
1646
|
+
set_variable: {
|
1647
|
+
variable_name: ::String,
|
1648
|
+
value: ::String
|
1649
|
+
}?,
|
1650
|
+
sns: {
|
1651
|
+
target_arn: ::String,
|
1652
|
+
payload: {
|
1653
|
+
content_expression: ::String,
|
1654
|
+
type: ("STRING" | "JSON")
|
1655
|
+
}?
|
1656
|
+
}?,
|
1657
|
+
iot_topic_publish: {
|
1658
|
+
mqtt_topic: ::String,
|
1659
|
+
payload: {
|
1660
|
+
content_expression: ::String,
|
1661
|
+
type: ("STRING" | "JSON")
|
1662
|
+
}?
|
1663
|
+
}?,
|
1664
|
+
set_timer: {
|
1665
|
+
timer_name: ::String,
|
1666
|
+
seconds: ::Integer?,
|
1667
|
+
duration_expression: ::String?
|
1668
|
+
}?,
|
1669
|
+
clear_timer: {
|
1670
|
+
timer_name: ::String
|
1671
|
+
}?,
|
1672
|
+
reset_timer: {
|
1673
|
+
timer_name: ::String
|
1674
|
+
}?,
|
1675
|
+
lambda: {
|
1676
|
+
function_arn: ::String,
|
1677
|
+
payload: {
|
1678
|
+
content_expression: ::String,
|
1679
|
+
type: ("STRING" | "JSON")
|
1680
|
+
}?
|
1681
|
+
}?,
|
1682
|
+
iot_events: {
|
1683
|
+
input_name: ::String,
|
1684
|
+
payload: {
|
1685
|
+
content_expression: ::String,
|
1686
|
+
type: ("STRING" | "JSON")
|
1687
|
+
}?
|
1688
|
+
}?,
|
1689
|
+
sqs: {
|
1690
|
+
queue_url: ::String,
|
1691
|
+
use_base_64: bool?,
|
1692
|
+
payload: {
|
1693
|
+
content_expression: ::String,
|
1694
|
+
type: ("STRING" | "JSON")
|
1695
|
+
}?
|
1696
|
+
}?,
|
1697
|
+
firehose: {
|
1698
|
+
delivery_stream_name: ::String,
|
1699
|
+
separator: ::String?,
|
1700
|
+
payload: {
|
1701
|
+
content_expression: ::String,
|
1702
|
+
type: ("STRING" | "JSON")
|
1703
|
+
}?
|
1704
|
+
}?,
|
1705
|
+
dynamo_db: {
|
1706
|
+
hash_key_type: ::String?,
|
1707
|
+
hash_key_field: ::String,
|
1708
|
+
hash_key_value: ::String,
|
1709
|
+
range_key_type: ::String?,
|
1710
|
+
range_key_field: ::String?,
|
1711
|
+
range_key_value: ::String?,
|
1712
|
+
operation: ::String?,
|
1713
|
+
payload_field: ::String?,
|
1714
|
+
table_name: ::String,
|
1715
|
+
payload: {
|
1716
|
+
content_expression: ::String,
|
1717
|
+
type: ("STRING" | "JSON")
|
1718
|
+
}?
|
1719
|
+
}?,
|
1720
|
+
dynamo_d_bv_2: {
|
1721
|
+
table_name: ::String,
|
1722
|
+
payload: {
|
1723
|
+
content_expression: ::String,
|
1724
|
+
type: ("STRING" | "JSON")
|
1725
|
+
}?
|
1726
|
+
}?,
|
1727
|
+
iot_site_wise: {
|
1728
|
+
entry_id: ::String?,
|
1729
|
+
asset_id: ::String?,
|
1730
|
+
property_id: ::String?,
|
1731
|
+
property_alias: ::String?,
|
1732
|
+
property_value: {
|
1733
|
+
value: {
|
1734
|
+
string_value: ::String?,
|
1735
|
+
integer_value: ::String?,
|
1736
|
+
double_value: ::String?,
|
1737
|
+
boolean_value: ::String?
|
1738
|
+
}?,
|
1739
|
+
timestamp: {
|
1740
|
+
time_in_seconds: ::String,
|
1741
|
+
offset_in_nanos: ::String?
|
1742
|
+
}?,
|
1743
|
+
quality: ::String?
|
1744
|
+
}?
|
1745
|
+
}?
|
1746
|
+
},
|
1747
|
+
]?
|
1748
|
+
},
|
1749
|
+
]?,
|
1750
|
+
transition_events: Array[
|
1751
|
+
{
|
1752
|
+
event_name: ::String,
|
1753
|
+
condition: ::String,
|
1754
|
+
actions: Array[
|
1755
|
+
{
|
1756
|
+
set_variable: {
|
1757
|
+
variable_name: ::String,
|
1758
|
+
value: ::String
|
1759
|
+
}?,
|
1760
|
+
sns: {
|
1761
|
+
target_arn: ::String,
|
1762
|
+
payload: {
|
1763
|
+
content_expression: ::String,
|
1764
|
+
type: ("STRING" | "JSON")
|
1765
|
+
}?
|
1766
|
+
}?,
|
1767
|
+
iot_topic_publish: {
|
1768
|
+
mqtt_topic: ::String,
|
1769
|
+
payload: {
|
1770
|
+
content_expression: ::String,
|
1771
|
+
type: ("STRING" | "JSON")
|
1772
|
+
}?
|
1773
|
+
}?,
|
1774
|
+
set_timer: {
|
1775
|
+
timer_name: ::String,
|
1776
|
+
seconds: ::Integer?,
|
1777
|
+
duration_expression: ::String?
|
1778
|
+
}?,
|
1779
|
+
clear_timer: {
|
1780
|
+
timer_name: ::String
|
1781
|
+
}?,
|
1782
|
+
reset_timer: {
|
1783
|
+
timer_name: ::String
|
1784
|
+
}?,
|
1785
|
+
lambda: {
|
1786
|
+
function_arn: ::String,
|
1787
|
+
payload: {
|
1788
|
+
content_expression: ::String,
|
1789
|
+
type: ("STRING" | "JSON")
|
1790
|
+
}?
|
1791
|
+
}?,
|
1792
|
+
iot_events: {
|
1793
|
+
input_name: ::String,
|
1794
|
+
payload: {
|
1795
|
+
content_expression: ::String,
|
1796
|
+
type: ("STRING" | "JSON")
|
1797
|
+
}?
|
1798
|
+
}?,
|
1799
|
+
sqs: {
|
1800
|
+
queue_url: ::String,
|
1801
|
+
use_base_64: bool?,
|
1802
|
+
payload: {
|
1803
|
+
content_expression: ::String,
|
1804
|
+
type: ("STRING" | "JSON")
|
1805
|
+
}?
|
1806
|
+
}?,
|
1807
|
+
firehose: {
|
1808
|
+
delivery_stream_name: ::String,
|
1809
|
+
separator: ::String?,
|
1810
|
+
payload: {
|
1811
|
+
content_expression: ::String,
|
1812
|
+
type: ("STRING" | "JSON")
|
1813
|
+
}?
|
1814
|
+
}?,
|
1815
|
+
dynamo_db: {
|
1816
|
+
hash_key_type: ::String?,
|
1817
|
+
hash_key_field: ::String,
|
1818
|
+
hash_key_value: ::String,
|
1819
|
+
range_key_type: ::String?,
|
1820
|
+
range_key_field: ::String?,
|
1821
|
+
range_key_value: ::String?,
|
1822
|
+
operation: ::String?,
|
1823
|
+
payload_field: ::String?,
|
1824
|
+
table_name: ::String,
|
1825
|
+
payload: {
|
1826
|
+
content_expression: ::String,
|
1827
|
+
type: ("STRING" | "JSON")
|
1828
|
+
}?
|
1829
|
+
}?,
|
1830
|
+
dynamo_d_bv_2: {
|
1831
|
+
table_name: ::String,
|
1832
|
+
payload: {
|
1833
|
+
content_expression: ::String,
|
1834
|
+
type: ("STRING" | "JSON")
|
1835
|
+
}?
|
1836
|
+
}?,
|
1837
|
+
iot_site_wise: {
|
1838
|
+
entry_id: ::String?,
|
1839
|
+
asset_id: ::String?,
|
1840
|
+
property_id: ::String?,
|
1841
|
+
property_alias: ::String?,
|
1842
|
+
property_value: {
|
1843
|
+
value: {
|
1844
|
+
string_value: ::String?,
|
1845
|
+
integer_value: ::String?,
|
1846
|
+
double_value: ::String?,
|
1847
|
+
boolean_value: ::String?
|
1848
|
+
}?,
|
1849
|
+
timestamp: {
|
1850
|
+
time_in_seconds: ::String,
|
1851
|
+
offset_in_nanos: ::String?
|
1852
|
+
}?,
|
1853
|
+
quality: ::String?
|
1854
|
+
}?
|
1855
|
+
}?
|
1856
|
+
},
|
1857
|
+
]?,
|
1858
|
+
next_state: ::String
|
1859
|
+
},
|
1860
|
+
]?
|
1861
|
+
}?,
|
1862
|
+
on_enter: {
|
1863
|
+
events: Array[
|
1864
|
+
{
|
1865
|
+
event_name: ::String,
|
1866
|
+
condition: ::String?,
|
1867
|
+
actions: Array[
|
1868
|
+
{
|
1869
|
+
set_variable: {
|
1870
|
+
variable_name: ::String,
|
1871
|
+
value: ::String
|
1872
|
+
}?,
|
1873
|
+
sns: {
|
1874
|
+
target_arn: ::String,
|
1875
|
+
payload: {
|
1876
|
+
content_expression: ::String,
|
1877
|
+
type: ("STRING" | "JSON")
|
1878
|
+
}?
|
1879
|
+
}?,
|
1880
|
+
iot_topic_publish: {
|
1881
|
+
mqtt_topic: ::String,
|
1882
|
+
payload: {
|
1883
|
+
content_expression: ::String,
|
1884
|
+
type: ("STRING" | "JSON")
|
1885
|
+
}?
|
1886
|
+
}?,
|
1887
|
+
set_timer: {
|
1888
|
+
timer_name: ::String,
|
1889
|
+
seconds: ::Integer?,
|
1890
|
+
duration_expression: ::String?
|
1891
|
+
}?,
|
1892
|
+
clear_timer: {
|
1893
|
+
timer_name: ::String
|
1894
|
+
}?,
|
1895
|
+
reset_timer: {
|
1896
|
+
timer_name: ::String
|
1897
|
+
}?,
|
1898
|
+
lambda: {
|
1899
|
+
function_arn: ::String,
|
1900
|
+
payload: {
|
1901
|
+
content_expression: ::String,
|
1902
|
+
type: ("STRING" | "JSON")
|
1903
|
+
}?
|
1904
|
+
}?,
|
1905
|
+
iot_events: {
|
1906
|
+
input_name: ::String,
|
1907
|
+
payload: {
|
1908
|
+
content_expression: ::String,
|
1909
|
+
type: ("STRING" | "JSON")
|
1910
|
+
}?
|
1911
|
+
}?,
|
1912
|
+
sqs: {
|
1913
|
+
queue_url: ::String,
|
1914
|
+
use_base_64: bool?,
|
1915
|
+
payload: {
|
1916
|
+
content_expression: ::String,
|
1917
|
+
type: ("STRING" | "JSON")
|
1918
|
+
}?
|
1919
|
+
}?,
|
1920
|
+
firehose: {
|
1921
|
+
delivery_stream_name: ::String,
|
1922
|
+
separator: ::String?,
|
1923
|
+
payload: {
|
1924
|
+
content_expression: ::String,
|
1925
|
+
type: ("STRING" | "JSON")
|
1926
|
+
}?
|
1927
|
+
}?,
|
1928
|
+
dynamo_db: {
|
1929
|
+
hash_key_type: ::String?,
|
1930
|
+
hash_key_field: ::String,
|
1931
|
+
hash_key_value: ::String,
|
1932
|
+
range_key_type: ::String?,
|
1933
|
+
range_key_field: ::String?,
|
1934
|
+
range_key_value: ::String?,
|
1935
|
+
operation: ::String?,
|
1936
|
+
payload_field: ::String?,
|
1937
|
+
table_name: ::String,
|
1938
|
+
payload: {
|
1939
|
+
content_expression: ::String,
|
1940
|
+
type: ("STRING" | "JSON")
|
1941
|
+
}?
|
1942
|
+
}?,
|
1943
|
+
dynamo_d_bv_2: {
|
1944
|
+
table_name: ::String,
|
1945
|
+
payload: {
|
1946
|
+
content_expression: ::String,
|
1947
|
+
type: ("STRING" | "JSON")
|
1948
|
+
}?
|
1949
|
+
}?,
|
1950
|
+
iot_site_wise: {
|
1951
|
+
entry_id: ::String?,
|
1952
|
+
asset_id: ::String?,
|
1953
|
+
property_id: ::String?,
|
1954
|
+
property_alias: ::String?,
|
1955
|
+
property_value: {
|
1956
|
+
value: {
|
1957
|
+
string_value: ::String?,
|
1958
|
+
integer_value: ::String?,
|
1959
|
+
double_value: ::String?,
|
1960
|
+
boolean_value: ::String?
|
1961
|
+
}?,
|
1962
|
+
timestamp: {
|
1963
|
+
time_in_seconds: ::String,
|
1964
|
+
offset_in_nanos: ::String?
|
1965
|
+
}?,
|
1966
|
+
quality: ::String?
|
1967
|
+
}?
|
1968
|
+
}?
|
1969
|
+
},
|
1970
|
+
]?
|
1971
|
+
},
|
1972
|
+
]?
|
1973
|
+
}?,
|
1974
|
+
on_exit: {
|
1975
|
+
events: Array[
|
1976
|
+
{
|
1977
|
+
event_name: ::String,
|
1978
|
+
condition: ::String?,
|
1979
|
+
actions: Array[
|
1980
|
+
{
|
1981
|
+
set_variable: {
|
1982
|
+
variable_name: ::String,
|
1983
|
+
value: ::String
|
1984
|
+
}?,
|
1985
|
+
sns: {
|
1986
|
+
target_arn: ::String,
|
1987
|
+
payload: {
|
1988
|
+
content_expression: ::String,
|
1989
|
+
type: ("STRING" | "JSON")
|
1990
|
+
}?
|
1991
|
+
}?,
|
1992
|
+
iot_topic_publish: {
|
1993
|
+
mqtt_topic: ::String,
|
1994
|
+
payload: {
|
1995
|
+
content_expression: ::String,
|
1996
|
+
type: ("STRING" | "JSON")
|
1997
|
+
}?
|
1998
|
+
}?,
|
1999
|
+
set_timer: {
|
2000
|
+
timer_name: ::String,
|
2001
|
+
seconds: ::Integer?,
|
2002
|
+
duration_expression: ::String?
|
2003
|
+
}?,
|
2004
|
+
clear_timer: {
|
2005
|
+
timer_name: ::String
|
2006
|
+
}?,
|
2007
|
+
reset_timer: {
|
2008
|
+
timer_name: ::String
|
2009
|
+
}?,
|
2010
|
+
lambda: {
|
2011
|
+
function_arn: ::String,
|
2012
|
+
payload: {
|
2013
|
+
content_expression: ::String,
|
2014
|
+
type: ("STRING" | "JSON")
|
2015
|
+
}?
|
2016
|
+
}?,
|
2017
|
+
iot_events: {
|
2018
|
+
input_name: ::String,
|
2019
|
+
payload: {
|
2020
|
+
content_expression: ::String,
|
2021
|
+
type: ("STRING" | "JSON")
|
2022
|
+
}?
|
2023
|
+
}?,
|
2024
|
+
sqs: {
|
2025
|
+
queue_url: ::String,
|
2026
|
+
use_base_64: bool?,
|
2027
|
+
payload: {
|
2028
|
+
content_expression: ::String,
|
2029
|
+
type: ("STRING" | "JSON")
|
2030
|
+
}?
|
2031
|
+
}?,
|
2032
|
+
firehose: {
|
2033
|
+
delivery_stream_name: ::String,
|
2034
|
+
separator: ::String?,
|
2035
|
+
payload: {
|
2036
|
+
content_expression: ::String,
|
2037
|
+
type: ("STRING" | "JSON")
|
2038
|
+
}?
|
2039
|
+
}?,
|
2040
|
+
dynamo_db: {
|
2041
|
+
hash_key_type: ::String?,
|
2042
|
+
hash_key_field: ::String,
|
2043
|
+
hash_key_value: ::String,
|
2044
|
+
range_key_type: ::String?,
|
2045
|
+
range_key_field: ::String?,
|
2046
|
+
range_key_value: ::String?,
|
2047
|
+
operation: ::String?,
|
2048
|
+
payload_field: ::String?,
|
2049
|
+
table_name: ::String,
|
2050
|
+
payload: {
|
2051
|
+
content_expression: ::String,
|
2052
|
+
type: ("STRING" | "JSON")
|
2053
|
+
}?
|
2054
|
+
}?,
|
2055
|
+
dynamo_d_bv_2: {
|
2056
|
+
table_name: ::String,
|
2057
|
+
payload: {
|
2058
|
+
content_expression: ::String,
|
2059
|
+
type: ("STRING" | "JSON")
|
2060
|
+
}?
|
2061
|
+
}?,
|
2062
|
+
iot_site_wise: {
|
2063
|
+
entry_id: ::String?,
|
2064
|
+
asset_id: ::String?,
|
2065
|
+
property_id: ::String?,
|
2066
|
+
property_alias: ::String?,
|
2067
|
+
property_value: {
|
2068
|
+
value: {
|
2069
|
+
string_value: ::String?,
|
2070
|
+
integer_value: ::String?,
|
2071
|
+
double_value: ::String?,
|
2072
|
+
boolean_value: ::String?
|
2073
|
+
}?,
|
2074
|
+
timestamp: {
|
2075
|
+
time_in_seconds: ::String,
|
2076
|
+
offset_in_nanos: ::String?
|
2077
|
+
}?,
|
2078
|
+
quality: ::String?
|
2079
|
+
}?
|
2080
|
+
}?
|
2081
|
+
},
|
2082
|
+
]?
|
2083
|
+
},
|
2084
|
+
]?
|
2085
|
+
}?
|
2086
|
+
},
|
2087
|
+
],
|
2088
|
+
initial_state_name: ::String
|
2089
|
+
},
|
2090
|
+
?detector_model_description: ::String,
|
2091
|
+
role_arn: ::String,
|
2092
|
+
?evaluation_method: ("BATCH" | "SERIAL")
|
2093
|
+
) -> _UpdateDetectorModelResponseSuccess
|
2094
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateDetectorModelResponseSuccess
|
2095
|
+
|
2096
|
+
interface _UpdateInputResponseSuccess
|
2097
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::UpdateInputResponse]
|
2098
|
+
def input_configuration: () -> Types::InputConfiguration
|
2099
|
+
end
|
2100
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IoTEvents/Client.html#update_input-instance_method
|
2101
|
+
def update_input: (
|
2102
|
+
input_name: ::String,
|
2103
|
+
?input_description: ::String,
|
2104
|
+
input_definition: {
|
2105
|
+
attributes: Array[
|
2106
|
+
{
|
2107
|
+
json_path: ::String
|
2108
|
+
},
|
2109
|
+
]
|
2110
|
+
}
|
2111
|
+
) -> _UpdateInputResponseSuccess
|
2112
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateInputResponseSuccess
|
2113
|
+
end
|
2114
|
+
end
|
2115
|
+
end
|
2116
|
+
|