aws-sdk-ioteventsdata 1.15.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 +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-ioteventsdata.rb +2 -2
- data/lib/aws-sdk-ioteventsdata/client.rb +294 -4
- data/lib/aws-sdk-ioteventsdata/client_api.rb +305 -2
- data/lib/aws-sdk-ioteventsdata/types.rb +928 -13
- metadata +5 -6
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
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.16.0
|
@@ -28,7 +28,7 @@ require_relative 'aws-sdk-ioteventsdata/customizations'
|
|
28
28
|
# structure.
|
29
29
|
#
|
30
30
|
# io_t_events_data = Aws::IoTEventsData::Client.new
|
31
|
-
# resp = io_t_events_data.
|
31
|
+
# resp = io_t_events_data.batch_acknowledge_alarm(params)
|
32
32
|
#
|
33
33
|
# See {Client} for more information.
|
34
34
|
#
|
@@ -48,6 +48,6 @@ require_relative 'aws-sdk-ioteventsdata/customizations'
|
|
48
48
|
# @!group service
|
49
49
|
module Aws::IoTEventsData
|
50
50
|
|
51
|
-
GEM_VERSION = '1.
|
51
|
+
GEM_VERSION = '1.16.0'
|
52
52
|
|
53
53
|
end
|
@@ -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
|
|
@@ -13,14 +13,41 @@ module Aws::IoTEventsData
|
|
13
13
|
|
14
14
|
include Seahorse::Model
|
15
15
|
|
16
|
+
AcknowledgeActionConfiguration = Shapes::StructureShape.new(name: 'AcknowledgeActionConfiguration')
|
17
|
+
AcknowledgeAlarmActionRequest = Shapes::StructureShape.new(name: 'AcknowledgeAlarmActionRequest')
|
18
|
+
AcknowledgeAlarmActionRequests = Shapes::ListShape.new(name: 'AcknowledgeAlarmActionRequests')
|
19
|
+
Alarm = Shapes::StructureShape.new(name: 'Alarm')
|
20
|
+
AlarmModelName = Shapes::StringShape.new(name: 'AlarmModelName')
|
21
|
+
AlarmModelVersion = Shapes::StringShape.new(name: 'AlarmModelVersion')
|
22
|
+
AlarmState = Shapes::StructureShape.new(name: 'AlarmState')
|
23
|
+
AlarmStateName = Shapes::StringShape.new(name: 'AlarmStateName')
|
24
|
+
AlarmSummaries = Shapes::ListShape.new(name: 'AlarmSummaries')
|
25
|
+
AlarmSummary = Shapes::StructureShape.new(name: 'AlarmSummary')
|
26
|
+
BatchAcknowledgeAlarmRequest = Shapes::StructureShape.new(name: 'BatchAcknowledgeAlarmRequest')
|
27
|
+
BatchAcknowledgeAlarmResponse = Shapes::StructureShape.new(name: 'BatchAcknowledgeAlarmResponse')
|
28
|
+
BatchAlarmActionErrorEntries = Shapes::ListShape.new(name: 'BatchAlarmActionErrorEntries')
|
29
|
+
BatchAlarmActionErrorEntry = Shapes::StructureShape.new(name: 'BatchAlarmActionErrorEntry')
|
30
|
+
BatchDisableAlarmRequest = Shapes::StructureShape.new(name: 'BatchDisableAlarmRequest')
|
31
|
+
BatchDisableAlarmResponse = Shapes::StructureShape.new(name: 'BatchDisableAlarmResponse')
|
32
|
+
BatchEnableAlarmRequest = Shapes::StructureShape.new(name: 'BatchEnableAlarmRequest')
|
33
|
+
BatchEnableAlarmResponse = Shapes::StructureShape.new(name: 'BatchEnableAlarmResponse')
|
16
34
|
BatchPutMessageErrorEntries = Shapes::ListShape.new(name: 'BatchPutMessageErrorEntries')
|
17
35
|
BatchPutMessageErrorEntry = Shapes::StructureShape.new(name: 'BatchPutMessageErrorEntry')
|
18
36
|
BatchPutMessageRequest = Shapes::StructureShape.new(name: 'BatchPutMessageRequest')
|
19
37
|
BatchPutMessageResponse = Shapes::StructureShape.new(name: 'BatchPutMessageResponse')
|
38
|
+
BatchResetAlarmRequest = Shapes::StructureShape.new(name: 'BatchResetAlarmRequest')
|
39
|
+
BatchResetAlarmResponse = Shapes::StructureShape.new(name: 'BatchResetAlarmResponse')
|
40
|
+
BatchSnoozeAlarmRequest = Shapes::StructureShape.new(name: 'BatchSnoozeAlarmRequest')
|
41
|
+
BatchSnoozeAlarmResponse = Shapes::StructureShape.new(name: 'BatchSnoozeAlarmResponse')
|
20
42
|
BatchUpdateDetectorErrorEntries = Shapes::ListShape.new(name: 'BatchUpdateDetectorErrorEntries')
|
21
43
|
BatchUpdateDetectorErrorEntry = Shapes::StructureShape.new(name: 'BatchUpdateDetectorErrorEntry')
|
22
44
|
BatchUpdateDetectorRequest = Shapes::StructureShape.new(name: 'BatchUpdateDetectorRequest')
|
23
45
|
BatchUpdateDetectorResponse = Shapes::StructureShape.new(name: 'BatchUpdateDetectorResponse')
|
46
|
+
ComparisonOperator = Shapes::StringShape.new(name: 'ComparisonOperator')
|
47
|
+
CustomerAction = Shapes::StructureShape.new(name: 'CustomerAction')
|
48
|
+
CustomerActionName = Shapes::StringShape.new(name: 'CustomerActionName')
|
49
|
+
DescribeAlarmRequest = Shapes::StructureShape.new(name: 'DescribeAlarmRequest')
|
50
|
+
DescribeAlarmResponse = Shapes::StructureShape.new(name: 'DescribeAlarmResponse')
|
24
51
|
DescribeDetectorRequest = Shapes::StructureShape.new(name: 'DescribeDetectorRequest')
|
25
52
|
DescribeDetectorResponse = Shapes::StructureShape.new(name: 'DescribeDetectorResponse')
|
26
53
|
Detector = Shapes::StructureShape.new(name: 'Detector')
|
@@ -31,12 +58,23 @@ module Aws::IoTEventsData
|
|
31
58
|
DetectorStateSummary = Shapes::StructureShape.new(name: 'DetectorStateSummary')
|
32
59
|
DetectorSummaries = Shapes::ListShape.new(name: 'DetectorSummaries')
|
33
60
|
DetectorSummary = Shapes::StructureShape.new(name: 'DetectorSummary')
|
61
|
+
DisableActionConfiguration = Shapes::StructureShape.new(name: 'DisableActionConfiguration')
|
62
|
+
DisableAlarmActionRequest = Shapes::StructureShape.new(name: 'DisableAlarmActionRequest')
|
63
|
+
DisableAlarmActionRequests = Shapes::ListShape.new(name: 'DisableAlarmActionRequests')
|
64
|
+
EnableActionConfiguration = Shapes::StructureShape.new(name: 'EnableActionConfiguration')
|
65
|
+
EnableAlarmActionRequest = Shapes::StructureShape.new(name: 'EnableAlarmActionRequest')
|
66
|
+
EnableAlarmActionRequests = Shapes::ListShape.new(name: 'EnableAlarmActionRequests')
|
67
|
+
EphemeralInputName = Shapes::StringShape.new(name: 'EphemeralInputName')
|
68
|
+
EpochMilliTimestamp = Shapes::IntegerShape.new(name: 'EpochMilliTimestamp')
|
34
69
|
ErrorCode = Shapes::StringShape.new(name: 'ErrorCode')
|
35
70
|
ErrorMessage = Shapes::StringShape.new(name: 'ErrorMessage')
|
36
|
-
|
71
|
+
EventType = Shapes::StringShape.new(name: 'EventType')
|
72
|
+
InputPropertyValue = Shapes::StringShape.new(name: 'InputPropertyValue')
|
37
73
|
InternalFailureException = Shapes::StructureShape.new(name: 'InternalFailureException')
|
38
74
|
InvalidRequestException = Shapes::StructureShape.new(name: 'InvalidRequestException')
|
39
75
|
KeyValue = Shapes::StringShape.new(name: 'KeyValue')
|
76
|
+
ListAlarmsRequest = Shapes::StructureShape.new(name: 'ListAlarmsRequest')
|
77
|
+
ListAlarmsResponse = Shapes::StructureShape.new(name: 'ListAlarmsResponse')
|
40
78
|
ListDetectorsRequest = Shapes::StructureShape.new(name: 'ListDetectorsRequest')
|
41
79
|
ListDetectorsResponse = Shapes::StructureShape.new(name: 'ListDetectorsResponse')
|
42
80
|
MaxResults = Shapes::IntegerShape.new(name: 'MaxResults')
|
@@ -44,11 +82,26 @@ module Aws::IoTEventsData
|
|
44
82
|
MessageId = Shapes::StringShape.new(name: 'MessageId')
|
45
83
|
Messages = Shapes::ListShape.new(name: 'Messages')
|
46
84
|
NextToken = Shapes::StringShape.new(name: 'NextToken')
|
85
|
+
Note = Shapes::StringShape.new(name: 'Note')
|
47
86
|
Payload = Shapes::BlobShape.new(name: 'Payload')
|
87
|
+
RequestId = Shapes::StringShape.new(name: 'RequestId')
|
88
|
+
ResetActionConfiguration = Shapes::StructureShape.new(name: 'ResetActionConfiguration')
|
89
|
+
ResetAlarmActionRequest = Shapes::StructureShape.new(name: 'ResetAlarmActionRequest')
|
90
|
+
ResetAlarmActionRequests = Shapes::ListShape.new(name: 'ResetAlarmActionRequests')
|
48
91
|
ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
|
92
|
+
RuleEvaluation = Shapes::StructureShape.new(name: 'RuleEvaluation')
|
49
93
|
Seconds = Shapes::IntegerShape.new(name: 'Seconds')
|
50
94
|
ServiceUnavailableException = Shapes::StructureShape.new(name: 'ServiceUnavailableException')
|
95
|
+
Severity = Shapes::IntegerShape.new(name: 'Severity')
|
96
|
+
SimpleRuleEvaluation = Shapes::StructureShape.new(name: 'SimpleRuleEvaluation')
|
97
|
+
SnoozeActionConfiguration = Shapes::StructureShape.new(name: 'SnoozeActionConfiguration')
|
98
|
+
SnoozeAlarmActionRequest = Shapes::StructureShape.new(name: 'SnoozeAlarmActionRequest')
|
99
|
+
SnoozeAlarmActionRequests = Shapes::ListShape.new(name: 'SnoozeAlarmActionRequests')
|
100
|
+
SnoozeDuration = Shapes::IntegerShape.new(name: 'SnoozeDuration')
|
101
|
+
StateChangeConfiguration = Shapes::StructureShape.new(name: 'StateChangeConfiguration')
|
51
102
|
StateName = Shapes::StringShape.new(name: 'StateName')
|
103
|
+
SystemEvent = Shapes::StructureShape.new(name: 'SystemEvent')
|
104
|
+
ThresholdValue = Shapes::StringShape.new(name: 'ThresholdValue')
|
52
105
|
ThrottlingException = Shapes::StructureShape.new(name: 'ThrottlingException')
|
53
106
|
Timer = Shapes::StructureShape.new(name: 'Timer')
|
54
107
|
TimerDefinition = Shapes::StructureShape.new(name: 'TimerDefinition')
|
@@ -56,6 +109,8 @@ module Aws::IoTEventsData
|
|
56
109
|
TimerName = Shapes::StringShape.new(name: 'TimerName')
|
57
110
|
Timers = Shapes::ListShape.new(name: 'Timers')
|
58
111
|
Timestamp = Shapes::TimestampShape.new(name: 'Timestamp')
|
112
|
+
TimestampValue = Shapes::StructureShape.new(name: 'TimestampValue')
|
113
|
+
TriggerType = Shapes::StringShape.new(name: 'TriggerType')
|
59
114
|
UpdateDetectorRequest = Shapes::StructureShape.new(name: 'UpdateDetectorRequest')
|
60
115
|
UpdateDetectorRequests = Shapes::ListShape.new(name: 'UpdateDetectorRequests')
|
61
116
|
Variable = Shapes::StructureShape.new(name: 'Variable')
|
@@ -66,6 +121,67 @@ module Aws::IoTEventsData
|
|
66
121
|
Variables = Shapes::ListShape.new(name: 'Variables')
|
67
122
|
errorMessage = Shapes::StringShape.new(name: 'errorMessage')
|
68
123
|
|
124
|
+
AcknowledgeActionConfiguration.add_member(:note, Shapes::ShapeRef.new(shape: Note, location_name: "note"))
|
125
|
+
AcknowledgeActionConfiguration.struct_class = Types::AcknowledgeActionConfiguration
|
126
|
+
|
127
|
+
AcknowledgeAlarmActionRequest.add_member(:request_id, Shapes::ShapeRef.new(shape: RequestId, required: true, location_name: "requestId"))
|
128
|
+
AcknowledgeAlarmActionRequest.add_member(:alarm_model_name, Shapes::ShapeRef.new(shape: AlarmModelName, required: true, location_name: "alarmModelName"))
|
129
|
+
AcknowledgeAlarmActionRequest.add_member(:key_value, Shapes::ShapeRef.new(shape: KeyValue, location_name: "keyValue"))
|
130
|
+
AcknowledgeAlarmActionRequest.add_member(:note, Shapes::ShapeRef.new(shape: Note, location_name: "note"))
|
131
|
+
AcknowledgeAlarmActionRequest.struct_class = Types::AcknowledgeAlarmActionRequest
|
132
|
+
|
133
|
+
AcknowledgeAlarmActionRequests.member = Shapes::ShapeRef.new(shape: AcknowledgeAlarmActionRequest)
|
134
|
+
|
135
|
+
Alarm.add_member(:alarm_model_name, Shapes::ShapeRef.new(shape: AlarmModelName, location_name: "alarmModelName"))
|
136
|
+
Alarm.add_member(:alarm_model_version, Shapes::ShapeRef.new(shape: AlarmModelVersion, location_name: "alarmModelVersion"))
|
137
|
+
Alarm.add_member(:key_value, Shapes::ShapeRef.new(shape: KeyValue, location_name: "keyValue"))
|
138
|
+
Alarm.add_member(:alarm_state, Shapes::ShapeRef.new(shape: AlarmState, location_name: "alarmState"))
|
139
|
+
Alarm.add_member(:severity, Shapes::ShapeRef.new(shape: Severity, location_name: "severity"))
|
140
|
+
Alarm.add_member(:creation_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "creationTime"))
|
141
|
+
Alarm.add_member(:last_update_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "lastUpdateTime"))
|
142
|
+
Alarm.struct_class = Types::Alarm
|
143
|
+
|
144
|
+
AlarmState.add_member(:state_name, Shapes::ShapeRef.new(shape: AlarmStateName, location_name: "stateName"))
|
145
|
+
AlarmState.add_member(:rule_evaluation, Shapes::ShapeRef.new(shape: RuleEvaluation, location_name: "ruleEvaluation"))
|
146
|
+
AlarmState.add_member(:customer_action, Shapes::ShapeRef.new(shape: CustomerAction, location_name: "customerAction"))
|
147
|
+
AlarmState.add_member(:system_event, Shapes::ShapeRef.new(shape: SystemEvent, location_name: "systemEvent"))
|
148
|
+
AlarmState.struct_class = Types::AlarmState
|
149
|
+
|
150
|
+
AlarmSummaries.member = Shapes::ShapeRef.new(shape: AlarmSummary)
|
151
|
+
|
152
|
+
AlarmSummary.add_member(:alarm_model_name, Shapes::ShapeRef.new(shape: AlarmModelName, location_name: "alarmModelName"))
|
153
|
+
AlarmSummary.add_member(:alarm_model_version, Shapes::ShapeRef.new(shape: AlarmModelVersion, location_name: "alarmModelVersion"))
|
154
|
+
AlarmSummary.add_member(:key_value, Shapes::ShapeRef.new(shape: KeyValue, location_name: "keyValue"))
|
155
|
+
AlarmSummary.add_member(:state_name, Shapes::ShapeRef.new(shape: AlarmStateName, location_name: "stateName"))
|
156
|
+
AlarmSummary.add_member(:creation_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "creationTime"))
|
157
|
+
AlarmSummary.add_member(:last_update_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "lastUpdateTime"))
|
158
|
+
AlarmSummary.struct_class = Types::AlarmSummary
|
159
|
+
|
160
|
+
BatchAcknowledgeAlarmRequest.add_member(:acknowledge_action_requests, Shapes::ShapeRef.new(shape: AcknowledgeAlarmActionRequests, required: true, location_name: "acknowledgeActionRequests"))
|
161
|
+
BatchAcknowledgeAlarmRequest.struct_class = Types::BatchAcknowledgeAlarmRequest
|
162
|
+
|
163
|
+
BatchAcknowledgeAlarmResponse.add_member(:error_entries, Shapes::ShapeRef.new(shape: BatchAlarmActionErrorEntries, location_name: "errorEntries"))
|
164
|
+
BatchAcknowledgeAlarmResponse.struct_class = Types::BatchAcknowledgeAlarmResponse
|
165
|
+
|
166
|
+
BatchAlarmActionErrorEntries.member = Shapes::ShapeRef.new(shape: BatchAlarmActionErrorEntry)
|
167
|
+
|
168
|
+
BatchAlarmActionErrorEntry.add_member(:request_id, Shapes::ShapeRef.new(shape: RequestId, location_name: "requestId"))
|
169
|
+
BatchAlarmActionErrorEntry.add_member(:error_code, Shapes::ShapeRef.new(shape: ErrorCode, location_name: "errorCode"))
|
170
|
+
BatchAlarmActionErrorEntry.add_member(:error_message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "errorMessage"))
|
171
|
+
BatchAlarmActionErrorEntry.struct_class = Types::BatchAlarmActionErrorEntry
|
172
|
+
|
173
|
+
BatchDisableAlarmRequest.add_member(:disable_action_requests, Shapes::ShapeRef.new(shape: DisableAlarmActionRequests, required: true, location_name: "disableActionRequests"))
|
174
|
+
BatchDisableAlarmRequest.struct_class = Types::BatchDisableAlarmRequest
|
175
|
+
|
176
|
+
BatchDisableAlarmResponse.add_member(:error_entries, Shapes::ShapeRef.new(shape: BatchAlarmActionErrorEntries, location_name: "errorEntries"))
|
177
|
+
BatchDisableAlarmResponse.struct_class = Types::BatchDisableAlarmResponse
|
178
|
+
|
179
|
+
BatchEnableAlarmRequest.add_member(:enable_action_requests, Shapes::ShapeRef.new(shape: EnableAlarmActionRequests, required: true, location_name: "enableActionRequests"))
|
180
|
+
BatchEnableAlarmRequest.struct_class = Types::BatchEnableAlarmRequest
|
181
|
+
|
182
|
+
BatchEnableAlarmResponse.add_member(:error_entries, Shapes::ShapeRef.new(shape: BatchAlarmActionErrorEntries, location_name: "errorEntries"))
|
183
|
+
BatchEnableAlarmResponse.struct_class = Types::BatchEnableAlarmResponse
|
184
|
+
|
69
185
|
BatchPutMessageErrorEntries.member = Shapes::ShapeRef.new(shape: BatchPutMessageErrorEntry)
|
70
186
|
|
71
187
|
BatchPutMessageErrorEntry.add_member(:message_id, Shapes::ShapeRef.new(shape: MessageId, location_name: "messageId"))
|
@@ -79,6 +195,18 @@ module Aws::IoTEventsData
|
|
79
195
|
BatchPutMessageResponse.add_member(:batch_put_message_error_entries, Shapes::ShapeRef.new(shape: BatchPutMessageErrorEntries, location_name: "BatchPutMessageErrorEntries"))
|
80
196
|
BatchPutMessageResponse.struct_class = Types::BatchPutMessageResponse
|
81
197
|
|
198
|
+
BatchResetAlarmRequest.add_member(:reset_action_requests, Shapes::ShapeRef.new(shape: ResetAlarmActionRequests, required: true, location_name: "resetActionRequests"))
|
199
|
+
BatchResetAlarmRequest.struct_class = Types::BatchResetAlarmRequest
|
200
|
+
|
201
|
+
BatchResetAlarmResponse.add_member(:error_entries, Shapes::ShapeRef.new(shape: BatchAlarmActionErrorEntries, location_name: "errorEntries"))
|
202
|
+
BatchResetAlarmResponse.struct_class = Types::BatchResetAlarmResponse
|
203
|
+
|
204
|
+
BatchSnoozeAlarmRequest.add_member(:snooze_action_requests, Shapes::ShapeRef.new(shape: SnoozeAlarmActionRequests, required: true, location_name: "snoozeActionRequests"))
|
205
|
+
BatchSnoozeAlarmRequest.struct_class = Types::BatchSnoozeAlarmRequest
|
206
|
+
|
207
|
+
BatchSnoozeAlarmResponse.add_member(:error_entries, Shapes::ShapeRef.new(shape: BatchAlarmActionErrorEntries, location_name: "errorEntries"))
|
208
|
+
BatchSnoozeAlarmResponse.struct_class = Types::BatchSnoozeAlarmResponse
|
209
|
+
|
82
210
|
BatchUpdateDetectorErrorEntries.member = Shapes::ShapeRef.new(shape: BatchUpdateDetectorErrorEntry)
|
83
211
|
|
84
212
|
BatchUpdateDetectorErrorEntry.add_member(:message_id, Shapes::ShapeRef.new(shape: MessageId, location_name: "messageId"))
|
@@ -92,6 +220,21 @@ module Aws::IoTEventsData
|
|
92
220
|
BatchUpdateDetectorResponse.add_member(:batch_update_detector_error_entries, Shapes::ShapeRef.new(shape: BatchUpdateDetectorErrorEntries, location_name: "batchUpdateDetectorErrorEntries"))
|
93
221
|
BatchUpdateDetectorResponse.struct_class = Types::BatchUpdateDetectorResponse
|
94
222
|
|
223
|
+
CustomerAction.add_member(:action_name, Shapes::ShapeRef.new(shape: CustomerActionName, location_name: "actionName"))
|
224
|
+
CustomerAction.add_member(:snooze_action_configuration, Shapes::ShapeRef.new(shape: SnoozeActionConfiguration, location_name: "snoozeActionConfiguration"))
|
225
|
+
CustomerAction.add_member(:enable_action_configuration, Shapes::ShapeRef.new(shape: EnableActionConfiguration, location_name: "enableActionConfiguration"))
|
226
|
+
CustomerAction.add_member(:disable_action_configuration, Shapes::ShapeRef.new(shape: DisableActionConfiguration, location_name: "disableActionConfiguration"))
|
227
|
+
CustomerAction.add_member(:acknowledge_action_configuration, Shapes::ShapeRef.new(shape: AcknowledgeActionConfiguration, location_name: "acknowledgeActionConfiguration"))
|
228
|
+
CustomerAction.add_member(:reset_action_configuration, Shapes::ShapeRef.new(shape: ResetActionConfiguration, location_name: "resetActionConfiguration"))
|
229
|
+
CustomerAction.struct_class = Types::CustomerAction
|
230
|
+
|
231
|
+
DescribeAlarmRequest.add_member(:alarm_model_name, Shapes::ShapeRef.new(shape: AlarmModelName, required: true, location: "uri", location_name: "alarmModelName"))
|
232
|
+
DescribeAlarmRequest.add_member(:key_value, Shapes::ShapeRef.new(shape: KeyValue, location: "querystring", location_name: "keyValue"))
|
233
|
+
DescribeAlarmRequest.struct_class = Types::DescribeAlarmRequest
|
234
|
+
|
235
|
+
DescribeAlarmResponse.add_member(:alarm, Shapes::ShapeRef.new(shape: Alarm, location_name: "alarm"))
|
236
|
+
DescribeAlarmResponse.struct_class = Types::DescribeAlarmResponse
|
237
|
+
|
95
238
|
DescribeDetectorRequest.add_member(:detector_model_name, Shapes::ShapeRef.new(shape: DetectorModelName, required: true, location: "uri", location_name: "detectorModelName"))
|
96
239
|
DescribeDetectorRequest.add_member(:key_value, Shapes::ShapeRef.new(shape: KeyValue, location: "querystring", location_name: "keyValue"))
|
97
240
|
DescribeDetectorRequest.struct_class = Types::DescribeDetectorRequest
|
@@ -130,12 +273,43 @@ module Aws::IoTEventsData
|
|
130
273
|
DetectorSummary.add_member(:last_update_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "lastUpdateTime"))
|
131
274
|
DetectorSummary.struct_class = Types::DetectorSummary
|
132
275
|
|
276
|
+
DisableActionConfiguration.add_member(:note, Shapes::ShapeRef.new(shape: Note, location_name: "note"))
|
277
|
+
DisableActionConfiguration.struct_class = Types::DisableActionConfiguration
|
278
|
+
|
279
|
+
DisableAlarmActionRequest.add_member(:request_id, Shapes::ShapeRef.new(shape: RequestId, required: true, location_name: "requestId"))
|
280
|
+
DisableAlarmActionRequest.add_member(:alarm_model_name, Shapes::ShapeRef.new(shape: AlarmModelName, required: true, location_name: "alarmModelName"))
|
281
|
+
DisableAlarmActionRequest.add_member(:key_value, Shapes::ShapeRef.new(shape: KeyValue, location_name: "keyValue"))
|
282
|
+
DisableAlarmActionRequest.add_member(:note, Shapes::ShapeRef.new(shape: Note, location_name: "note"))
|
283
|
+
DisableAlarmActionRequest.struct_class = Types::DisableAlarmActionRequest
|
284
|
+
|
285
|
+
DisableAlarmActionRequests.member = Shapes::ShapeRef.new(shape: DisableAlarmActionRequest)
|
286
|
+
|
287
|
+
EnableActionConfiguration.add_member(:note, Shapes::ShapeRef.new(shape: Note, location_name: "note"))
|
288
|
+
EnableActionConfiguration.struct_class = Types::EnableActionConfiguration
|
289
|
+
|
290
|
+
EnableAlarmActionRequest.add_member(:request_id, Shapes::ShapeRef.new(shape: RequestId, required: true, location_name: "requestId"))
|
291
|
+
EnableAlarmActionRequest.add_member(:alarm_model_name, Shapes::ShapeRef.new(shape: AlarmModelName, required: true, location_name: "alarmModelName"))
|
292
|
+
EnableAlarmActionRequest.add_member(:key_value, Shapes::ShapeRef.new(shape: KeyValue, location_name: "keyValue"))
|
293
|
+
EnableAlarmActionRequest.add_member(:note, Shapes::ShapeRef.new(shape: Note, location_name: "note"))
|
294
|
+
EnableAlarmActionRequest.struct_class = Types::EnableAlarmActionRequest
|
295
|
+
|
296
|
+
EnableAlarmActionRequests.member = Shapes::ShapeRef.new(shape: EnableAlarmActionRequest)
|
297
|
+
|
133
298
|
InternalFailureException.add_member(:message, Shapes::ShapeRef.new(shape: errorMessage, location_name: "message"))
|
134
299
|
InternalFailureException.struct_class = Types::InternalFailureException
|
135
300
|
|
136
301
|
InvalidRequestException.add_member(:message, Shapes::ShapeRef.new(shape: errorMessage, location_name: "message"))
|
137
302
|
InvalidRequestException.struct_class = Types::InvalidRequestException
|
138
303
|
|
304
|
+
ListAlarmsRequest.add_member(:alarm_model_name, Shapes::ShapeRef.new(shape: AlarmModelName, required: true, location: "uri", location_name: "alarmModelName"))
|
305
|
+
ListAlarmsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
|
306
|
+
ListAlarmsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
|
307
|
+
ListAlarmsRequest.struct_class = Types::ListAlarmsRequest
|
308
|
+
|
309
|
+
ListAlarmsResponse.add_member(:alarm_summaries, Shapes::ShapeRef.new(shape: AlarmSummaries, location_name: "alarmSummaries"))
|
310
|
+
ListAlarmsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
|
311
|
+
ListAlarmsResponse.struct_class = Types::ListAlarmsResponse
|
312
|
+
|
139
313
|
ListDetectorsRequest.add_member(:detector_model_name, Shapes::ShapeRef.new(shape: DetectorModelName, required: true, location: "uri", location_name: "detectorModelName"))
|
140
314
|
ListDetectorsRequest.add_member(:state_name, Shapes::ShapeRef.new(shape: StateName, location: "querystring", location_name: "stateName"))
|
141
315
|
ListDetectorsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
|
@@ -147,18 +321,58 @@ module Aws::IoTEventsData
|
|
147
321
|
ListDetectorsResponse.struct_class = Types::ListDetectorsResponse
|
148
322
|
|
149
323
|
Message.add_member(:message_id, Shapes::ShapeRef.new(shape: MessageId, required: true, location_name: "messageId"))
|
150
|
-
Message.add_member(:input_name, Shapes::ShapeRef.new(shape:
|
324
|
+
Message.add_member(:input_name, Shapes::ShapeRef.new(shape: EphemeralInputName, required: true, location_name: "inputName"))
|
151
325
|
Message.add_member(:payload, Shapes::ShapeRef.new(shape: Payload, required: true, location_name: "payload"))
|
326
|
+
Message.add_member(:timestamp, Shapes::ShapeRef.new(shape: TimestampValue, location_name: "timestamp"))
|
152
327
|
Message.struct_class = Types::Message
|
153
328
|
|
154
329
|
Messages.member = Shapes::ShapeRef.new(shape: Message)
|
155
330
|
|
331
|
+
ResetActionConfiguration.add_member(:note, Shapes::ShapeRef.new(shape: Note, location_name: "note"))
|
332
|
+
ResetActionConfiguration.struct_class = Types::ResetActionConfiguration
|
333
|
+
|
334
|
+
ResetAlarmActionRequest.add_member(:request_id, Shapes::ShapeRef.new(shape: RequestId, required: true, location_name: "requestId"))
|
335
|
+
ResetAlarmActionRequest.add_member(:alarm_model_name, Shapes::ShapeRef.new(shape: AlarmModelName, required: true, location_name: "alarmModelName"))
|
336
|
+
ResetAlarmActionRequest.add_member(:key_value, Shapes::ShapeRef.new(shape: KeyValue, location_name: "keyValue"))
|
337
|
+
ResetAlarmActionRequest.add_member(:note, Shapes::ShapeRef.new(shape: Note, location_name: "note"))
|
338
|
+
ResetAlarmActionRequest.struct_class = Types::ResetAlarmActionRequest
|
339
|
+
|
340
|
+
ResetAlarmActionRequests.member = Shapes::ShapeRef.new(shape: ResetAlarmActionRequest)
|
341
|
+
|
156
342
|
ResourceNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: errorMessage, location_name: "message"))
|
157
343
|
ResourceNotFoundException.struct_class = Types::ResourceNotFoundException
|
158
344
|
|
345
|
+
RuleEvaluation.add_member(:simple_rule_evaluation, Shapes::ShapeRef.new(shape: SimpleRuleEvaluation, location_name: "simpleRuleEvaluation"))
|
346
|
+
RuleEvaluation.struct_class = Types::RuleEvaluation
|
347
|
+
|
159
348
|
ServiceUnavailableException.add_member(:message, Shapes::ShapeRef.new(shape: errorMessage, location_name: "message"))
|
160
349
|
ServiceUnavailableException.struct_class = Types::ServiceUnavailableException
|
161
350
|
|
351
|
+
SimpleRuleEvaluation.add_member(:input_property_value, Shapes::ShapeRef.new(shape: InputPropertyValue, location_name: "inputPropertyValue"))
|
352
|
+
SimpleRuleEvaluation.add_member(:operator, Shapes::ShapeRef.new(shape: ComparisonOperator, location_name: "operator"))
|
353
|
+
SimpleRuleEvaluation.add_member(:threshold_value, Shapes::ShapeRef.new(shape: ThresholdValue, location_name: "thresholdValue"))
|
354
|
+
SimpleRuleEvaluation.struct_class = Types::SimpleRuleEvaluation
|
355
|
+
|
356
|
+
SnoozeActionConfiguration.add_member(:snooze_duration, Shapes::ShapeRef.new(shape: SnoozeDuration, location_name: "snoozeDuration"))
|
357
|
+
SnoozeActionConfiguration.add_member(:note, Shapes::ShapeRef.new(shape: Note, location_name: "note"))
|
358
|
+
SnoozeActionConfiguration.struct_class = Types::SnoozeActionConfiguration
|
359
|
+
|
360
|
+
SnoozeAlarmActionRequest.add_member(:request_id, Shapes::ShapeRef.new(shape: RequestId, required: true, location_name: "requestId"))
|
361
|
+
SnoozeAlarmActionRequest.add_member(:alarm_model_name, Shapes::ShapeRef.new(shape: AlarmModelName, required: true, location_name: "alarmModelName"))
|
362
|
+
SnoozeAlarmActionRequest.add_member(:key_value, Shapes::ShapeRef.new(shape: KeyValue, location_name: "keyValue"))
|
363
|
+
SnoozeAlarmActionRequest.add_member(:note, Shapes::ShapeRef.new(shape: Note, location_name: "note"))
|
364
|
+
SnoozeAlarmActionRequest.add_member(:snooze_duration, Shapes::ShapeRef.new(shape: SnoozeDuration, required: true, location_name: "snoozeDuration"))
|
365
|
+
SnoozeAlarmActionRequest.struct_class = Types::SnoozeAlarmActionRequest
|
366
|
+
|
367
|
+
SnoozeAlarmActionRequests.member = Shapes::ShapeRef.new(shape: SnoozeAlarmActionRequest)
|
368
|
+
|
369
|
+
StateChangeConfiguration.add_member(:trigger_type, Shapes::ShapeRef.new(shape: TriggerType, location_name: "triggerType"))
|
370
|
+
StateChangeConfiguration.struct_class = Types::StateChangeConfiguration
|
371
|
+
|
372
|
+
SystemEvent.add_member(:event_type, Shapes::ShapeRef.new(shape: EventType, location_name: "eventType"))
|
373
|
+
SystemEvent.add_member(:state_change_configuration, Shapes::ShapeRef.new(shape: StateChangeConfiguration, location_name: "stateChangeConfiguration"))
|
374
|
+
SystemEvent.struct_class = Types::SystemEvent
|
375
|
+
|
162
376
|
ThrottlingException.add_member(:message, Shapes::ShapeRef.new(shape: errorMessage, location_name: "message"))
|
163
377
|
ThrottlingException.struct_class = Types::ThrottlingException
|
164
378
|
|
@@ -174,6 +388,9 @@ module Aws::IoTEventsData
|
|
174
388
|
|
175
389
|
Timers.member = Shapes::ShapeRef.new(shape: Timer)
|
176
390
|
|
391
|
+
TimestampValue.add_member(:time_in_millis, Shapes::ShapeRef.new(shape: EpochMilliTimestamp, location_name: "timeInMillis"))
|
392
|
+
TimestampValue.struct_class = Types::TimestampValue
|
393
|
+
|
177
394
|
UpdateDetectorRequest.add_member(:message_id, Shapes::ShapeRef.new(shape: MessageId, required: true, location_name: "messageId"))
|
178
395
|
UpdateDetectorRequest.add_member(:detector_model_name, Shapes::ShapeRef.new(shape: DetectorModelName, required: true, location_name: "detectorModelName"))
|
179
396
|
UpdateDetectorRequest.add_member(:key_value, Shapes::ShapeRef.new(shape: KeyValue, location_name: "keyValue"))
|
@@ -211,6 +428,42 @@ module Aws::IoTEventsData
|
|
211
428
|
"uid" => "iotevents-data-2018-10-23",
|
212
429
|
}
|
213
430
|
|
431
|
+
api.add_operation(:batch_acknowledge_alarm, Seahorse::Model::Operation.new.tap do |o|
|
432
|
+
o.name = "BatchAcknowledgeAlarm"
|
433
|
+
o.http_method = "POST"
|
434
|
+
o.http_request_uri = "/alarms/acknowledge"
|
435
|
+
o.input = Shapes::ShapeRef.new(shape: BatchAcknowledgeAlarmRequest)
|
436
|
+
o.output = Shapes::ShapeRef.new(shape: BatchAcknowledgeAlarmResponse)
|
437
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
438
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
|
439
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
440
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
441
|
+
end)
|
442
|
+
|
443
|
+
api.add_operation(:batch_disable_alarm, Seahorse::Model::Operation.new.tap do |o|
|
444
|
+
o.name = "BatchDisableAlarm"
|
445
|
+
o.http_method = "POST"
|
446
|
+
o.http_request_uri = "/alarms/disable"
|
447
|
+
o.input = Shapes::ShapeRef.new(shape: BatchDisableAlarmRequest)
|
448
|
+
o.output = Shapes::ShapeRef.new(shape: BatchDisableAlarmResponse)
|
449
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
450
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
|
451
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
452
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
453
|
+
end)
|
454
|
+
|
455
|
+
api.add_operation(:batch_enable_alarm, Seahorse::Model::Operation.new.tap do |o|
|
456
|
+
o.name = "BatchEnableAlarm"
|
457
|
+
o.http_method = "POST"
|
458
|
+
o.http_request_uri = "/alarms/enable"
|
459
|
+
o.input = Shapes::ShapeRef.new(shape: BatchEnableAlarmRequest)
|
460
|
+
o.output = Shapes::ShapeRef.new(shape: BatchEnableAlarmResponse)
|
461
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
462
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
|
463
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
464
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
465
|
+
end)
|
466
|
+
|
214
467
|
api.add_operation(:batch_put_message, Seahorse::Model::Operation.new.tap do |o|
|
215
468
|
o.name = "BatchPutMessage"
|
216
469
|
o.http_method = "POST"
|
@@ -223,6 +476,30 @@ module Aws::IoTEventsData
|
|
223
476
|
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
224
477
|
end)
|
225
478
|
|
479
|
+
api.add_operation(:batch_reset_alarm, Seahorse::Model::Operation.new.tap do |o|
|
480
|
+
o.name = "BatchResetAlarm"
|
481
|
+
o.http_method = "POST"
|
482
|
+
o.http_request_uri = "/alarms/reset"
|
483
|
+
o.input = Shapes::ShapeRef.new(shape: BatchResetAlarmRequest)
|
484
|
+
o.output = Shapes::ShapeRef.new(shape: BatchResetAlarmResponse)
|
485
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
486
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
|
487
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
488
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
489
|
+
end)
|
490
|
+
|
491
|
+
api.add_operation(:batch_snooze_alarm, Seahorse::Model::Operation.new.tap do |o|
|
492
|
+
o.name = "BatchSnoozeAlarm"
|
493
|
+
o.http_method = "POST"
|
494
|
+
o.http_request_uri = "/alarms/snooze"
|
495
|
+
o.input = Shapes::ShapeRef.new(shape: BatchSnoozeAlarmRequest)
|
496
|
+
o.output = Shapes::ShapeRef.new(shape: BatchSnoozeAlarmResponse)
|
497
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
498
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
|
499
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
500
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
501
|
+
end)
|
502
|
+
|
226
503
|
api.add_operation(:batch_update_detector, Seahorse::Model::Operation.new.tap do |o|
|
227
504
|
o.name = "BatchUpdateDetector"
|
228
505
|
o.http_method = "POST"
|
@@ -235,6 +512,19 @@ module Aws::IoTEventsData
|
|
235
512
|
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
236
513
|
end)
|
237
514
|
|
515
|
+
api.add_operation(:describe_alarm, Seahorse::Model::Operation.new.tap do |o|
|
516
|
+
o.name = "DescribeAlarm"
|
517
|
+
o.http_method = "GET"
|
518
|
+
o.http_request_uri = "/alarms/{alarmModelName}/keyValues/"
|
519
|
+
o.input = Shapes::ShapeRef.new(shape: DescribeAlarmRequest)
|
520
|
+
o.output = Shapes::ShapeRef.new(shape: DescribeAlarmResponse)
|
521
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
522
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
523
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
524
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
|
525
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
526
|
+
end)
|
527
|
+
|
238
528
|
api.add_operation(:describe_detector, Seahorse::Model::Operation.new.tap do |o|
|
239
529
|
o.name = "DescribeDetector"
|
240
530
|
o.http_method = "GET"
|
@@ -248,6 +538,19 @@ module Aws::IoTEventsData
|
|
248
538
|
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
249
539
|
end)
|
250
540
|
|
541
|
+
api.add_operation(:list_alarms, Seahorse::Model::Operation.new.tap do |o|
|
542
|
+
o.name = "ListAlarms"
|
543
|
+
o.http_method = "GET"
|
544
|
+
o.http_request_uri = "/alarms/{alarmModelName}"
|
545
|
+
o.input = Shapes::ShapeRef.new(shape: ListAlarmsRequest)
|
546
|
+
o.output = Shapes::ShapeRef.new(shape: ListAlarmsResponse)
|
547
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
548
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
549
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
550
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
|
551
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
552
|
+
end)
|
553
|
+
|
251
554
|
api.add_operation(:list_detectors, Seahorse::Model::Operation.new.tap do |o|
|
252
555
|
o.name = "ListDetectors"
|
253
556
|
o.http_method = "GET"
|