aws-sdk-ioteventsdata 1.13.0 → 1.17.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -3,7 +3,7 @@
3
3
  # WARNING ABOUT GENERATED CODE
4
4
  #
5
5
  # This file is generated. See the contributing guide for more information:
6
- # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
7
  #
8
8
  # WARNING ABOUT GENERATED CODE
9
9
 
@@ -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
- InputName = Shapes::StringShape.new(name: 'InputName')
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: InputName, required: true, location_name: "inputName"))
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"
@@ -3,7 +3,7 @@
3
3
  # WARNING ABOUT GENERATED CODE
4
4
  #
5
5
  # This file is generated. See the contributing guide for more information:
6
- # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
7
  #
8
8
  # WARNING ABOUT GENERATED CODE
9
9