aws-sdk-iotevents 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,646 @@
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/master/CONTRIBUTING.md
5
+ #
6
+ # WARNING ABOUT GENERATED CODE
7
+
8
+ module Aws::IoTEvents
9
+ # @api private
10
+ module ClientApi
11
+
12
+ include Seahorse::Model
13
+
14
+ Action = Shapes::StructureShape.new(name: 'Action')
15
+ Actions = Shapes::ListShape.new(name: 'Actions')
16
+ AmazonResourceName = Shapes::StringShape.new(name: 'AmazonResourceName')
17
+ Attribute = Shapes::StructureShape.new(name: 'Attribute')
18
+ AttributeJsonPath = Shapes::StringShape.new(name: 'AttributeJsonPath')
19
+ Attributes = Shapes::ListShape.new(name: 'Attributes')
20
+ ClearTimerAction = Shapes::StructureShape.new(name: 'ClearTimerAction')
21
+ Condition = Shapes::StringShape.new(name: 'Condition')
22
+ CreateDetectorModelRequest = Shapes::StructureShape.new(name: 'CreateDetectorModelRequest')
23
+ CreateDetectorModelResponse = Shapes::StructureShape.new(name: 'CreateDetectorModelResponse')
24
+ CreateInputRequest = Shapes::StructureShape.new(name: 'CreateInputRequest')
25
+ CreateInputResponse = Shapes::StructureShape.new(name: 'CreateInputResponse')
26
+ DeleteDetectorModelRequest = Shapes::StructureShape.new(name: 'DeleteDetectorModelRequest')
27
+ DeleteDetectorModelResponse = Shapes::StructureShape.new(name: 'DeleteDetectorModelResponse')
28
+ DeleteInputRequest = Shapes::StructureShape.new(name: 'DeleteInputRequest')
29
+ DeleteInputResponse = Shapes::StructureShape.new(name: 'DeleteInputResponse')
30
+ DescribeDetectorModelRequest = Shapes::StructureShape.new(name: 'DescribeDetectorModelRequest')
31
+ DescribeDetectorModelResponse = Shapes::StructureShape.new(name: 'DescribeDetectorModelResponse')
32
+ DescribeInputRequest = Shapes::StructureShape.new(name: 'DescribeInputRequest')
33
+ DescribeInputResponse = Shapes::StructureShape.new(name: 'DescribeInputResponse')
34
+ DescribeLoggingOptionsRequest = Shapes::StructureShape.new(name: 'DescribeLoggingOptionsRequest')
35
+ DescribeLoggingOptionsResponse = Shapes::StructureShape.new(name: 'DescribeLoggingOptionsResponse')
36
+ DetectorDebugOption = Shapes::StructureShape.new(name: 'DetectorDebugOption')
37
+ DetectorDebugOptions = Shapes::ListShape.new(name: 'DetectorDebugOptions')
38
+ DetectorModel = Shapes::StructureShape.new(name: 'DetectorModel')
39
+ DetectorModelArn = Shapes::StringShape.new(name: 'DetectorModelArn')
40
+ DetectorModelConfiguration = Shapes::StructureShape.new(name: 'DetectorModelConfiguration')
41
+ DetectorModelDefinition = Shapes::StructureShape.new(name: 'DetectorModelDefinition')
42
+ DetectorModelDescription = Shapes::StringShape.new(name: 'DetectorModelDescription')
43
+ DetectorModelName = Shapes::StringShape.new(name: 'DetectorModelName')
44
+ DetectorModelSummaries = Shapes::ListShape.new(name: 'DetectorModelSummaries')
45
+ DetectorModelSummary = Shapes::StructureShape.new(name: 'DetectorModelSummary')
46
+ DetectorModelVersion = Shapes::StringShape.new(name: 'DetectorModelVersion')
47
+ DetectorModelVersionStatus = Shapes::StringShape.new(name: 'DetectorModelVersionStatus')
48
+ DetectorModelVersionSummaries = Shapes::ListShape.new(name: 'DetectorModelVersionSummaries')
49
+ DetectorModelVersionSummary = Shapes::StructureShape.new(name: 'DetectorModelVersionSummary')
50
+ Event = Shapes::StructureShape.new(name: 'Event')
51
+ EventName = Shapes::StringShape.new(name: 'EventName')
52
+ Events = Shapes::ListShape.new(name: 'Events')
53
+ Input = Shapes::StructureShape.new(name: 'Input')
54
+ InputArn = Shapes::StringShape.new(name: 'InputArn')
55
+ InputConfiguration = Shapes::StructureShape.new(name: 'InputConfiguration')
56
+ InputDefinition = Shapes::StructureShape.new(name: 'InputDefinition')
57
+ InputDescription = Shapes::StringShape.new(name: 'InputDescription')
58
+ InputName = Shapes::StringShape.new(name: 'InputName')
59
+ InputStatus = Shapes::StringShape.new(name: 'InputStatus')
60
+ InputSummaries = Shapes::ListShape.new(name: 'InputSummaries')
61
+ InputSummary = Shapes::StructureShape.new(name: 'InputSummary')
62
+ InternalFailureException = Shapes::StructureShape.new(name: 'InternalFailureException')
63
+ InvalidRequestException = Shapes::StructureShape.new(name: 'InvalidRequestException')
64
+ IotTopicPublishAction = Shapes::StructureShape.new(name: 'IotTopicPublishAction')
65
+ KeyValue = Shapes::StringShape.new(name: 'KeyValue')
66
+ LimitExceededException = Shapes::StructureShape.new(name: 'LimitExceededException')
67
+ ListDetectorModelVersionsRequest = Shapes::StructureShape.new(name: 'ListDetectorModelVersionsRequest')
68
+ ListDetectorModelVersionsResponse = Shapes::StructureShape.new(name: 'ListDetectorModelVersionsResponse')
69
+ ListDetectorModelsRequest = Shapes::StructureShape.new(name: 'ListDetectorModelsRequest')
70
+ ListDetectorModelsResponse = Shapes::StructureShape.new(name: 'ListDetectorModelsResponse')
71
+ ListInputsRequest = Shapes::StructureShape.new(name: 'ListInputsRequest')
72
+ ListInputsResponse = Shapes::StructureShape.new(name: 'ListInputsResponse')
73
+ ListTagsForResourceRequest = Shapes::StructureShape.new(name: 'ListTagsForResourceRequest')
74
+ ListTagsForResourceResponse = Shapes::StructureShape.new(name: 'ListTagsForResourceResponse')
75
+ LoggingEnabled = Shapes::BooleanShape.new(name: 'LoggingEnabled')
76
+ LoggingLevel = Shapes::StringShape.new(name: 'LoggingLevel')
77
+ LoggingOptions = Shapes::StructureShape.new(name: 'LoggingOptions')
78
+ MQTTTopic = Shapes::StringShape.new(name: 'MQTTTopic')
79
+ MaxResults = Shapes::IntegerShape.new(name: 'MaxResults')
80
+ NextToken = Shapes::StringShape.new(name: 'NextToken')
81
+ OnEnterLifecycle = Shapes::StructureShape.new(name: 'OnEnterLifecycle')
82
+ OnExitLifecycle = Shapes::StructureShape.new(name: 'OnExitLifecycle')
83
+ OnInputLifecycle = Shapes::StructureShape.new(name: 'OnInputLifecycle')
84
+ PutLoggingOptionsRequest = Shapes::StructureShape.new(name: 'PutLoggingOptionsRequest')
85
+ ResetTimerAction = Shapes::StructureShape.new(name: 'ResetTimerAction')
86
+ ResourceAlreadyExistsException = Shapes::StructureShape.new(name: 'ResourceAlreadyExistsException')
87
+ ResourceInUseException = Shapes::StructureShape.new(name: 'ResourceInUseException')
88
+ ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
89
+ SNSTopicPublishAction = Shapes::StructureShape.new(name: 'SNSTopicPublishAction')
90
+ Seconds = Shapes::IntegerShape.new(name: 'Seconds')
91
+ ServiceUnavailableException = Shapes::StructureShape.new(name: 'ServiceUnavailableException')
92
+ SetTimerAction = Shapes::StructureShape.new(name: 'SetTimerAction')
93
+ SetVariableAction = Shapes::StructureShape.new(name: 'SetVariableAction')
94
+ State = Shapes::StructureShape.new(name: 'State')
95
+ StateName = Shapes::StringShape.new(name: 'StateName')
96
+ States = Shapes::ListShape.new(name: 'States')
97
+ Tag = Shapes::StructureShape.new(name: 'Tag')
98
+ TagKey = Shapes::StringShape.new(name: 'TagKey')
99
+ TagKeys = Shapes::ListShape.new(name: 'TagKeys')
100
+ TagResourceRequest = Shapes::StructureShape.new(name: 'TagResourceRequest')
101
+ TagResourceResponse = Shapes::StructureShape.new(name: 'TagResourceResponse')
102
+ TagValue = Shapes::StringShape.new(name: 'TagValue')
103
+ Tags = Shapes::ListShape.new(name: 'Tags')
104
+ ThrottlingException = Shapes::StructureShape.new(name: 'ThrottlingException')
105
+ TimerName = Shapes::StringShape.new(name: 'TimerName')
106
+ Timestamp = Shapes::TimestampShape.new(name: 'Timestamp')
107
+ TransitionEvent = Shapes::StructureShape.new(name: 'TransitionEvent')
108
+ TransitionEvents = Shapes::ListShape.new(name: 'TransitionEvents')
109
+ UnsupportedOperationException = Shapes::StructureShape.new(name: 'UnsupportedOperationException')
110
+ UntagResourceRequest = Shapes::StructureShape.new(name: 'UntagResourceRequest')
111
+ UntagResourceResponse = Shapes::StructureShape.new(name: 'UntagResourceResponse')
112
+ UpdateDetectorModelRequest = Shapes::StructureShape.new(name: 'UpdateDetectorModelRequest')
113
+ UpdateDetectorModelResponse = Shapes::StructureShape.new(name: 'UpdateDetectorModelResponse')
114
+ UpdateInputRequest = Shapes::StructureShape.new(name: 'UpdateInputRequest')
115
+ UpdateInputResponse = Shapes::StructureShape.new(name: 'UpdateInputResponse')
116
+ VariableName = Shapes::StringShape.new(name: 'VariableName')
117
+ VariableValue = Shapes::StringShape.new(name: 'VariableValue')
118
+ errorMessage = Shapes::StringShape.new(name: 'errorMessage')
119
+ resourceArn = Shapes::StringShape.new(name: 'resourceArn')
120
+ resourceId = Shapes::StringShape.new(name: 'resourceId')
121
+
122
+ Action.add_member(:set_variable, Shapes::ShapeRef.new(shape: SetVariableAction, location_name: "setVariable"))
123
+ Action.add_member(:sns, Shapes::ShapeRef.new(shape: SNSTopicPublishAction, location_name: "sns"))
124
+ Action.add_member(:iot_topic_publish, Shapes::ShapeRef.new(shape: IotTopicPublishAction, location_name: "iotTopicPublish"))
125
+ Action.add_member(:set_timer, Shapes::ShapeRef.new(shape: SetTimerAction, location_name: "setTimer"))
126
+ Action.add_member(:clear_timer, Shapes::ShapeRef.new(shape: ClearTimerAction, location_name: "clearTimer"))
127
+ Action.add_member(:reset_timer, Shapes::ShapeRef.new(shape: ResetTimerAction, location_name: "resetTimer"))
128
+ Action.struct_class = Types::Action
129
+
130
+ Actions.member = Shapes::ShapeRef.new(shape: Action)
131
+
132
+ Attribute.add_member(:json_path, Shapes::ShapeRef.new(shape: AttributeJsonPath, required: true, location_name: "jsonPath"))
133
+ Attribute.struct_class = Types::Attribute
134
+
135
+ Attributes.member = Shapes::ShapeRef.new(shape: Attribute)
136
+
137
+ ClearTimerAction.add_member(:timer_name, Shapes::ShapeRef.new(shape: TimerName, required: true, location_name: "timerName"))
138
+ ClearTimerAction.struct_class = Types::ClearTimerAction
139
+
140
+ CreateDetectorModelRequest.add_member(:detector_model_name, Shapes::ShapeRef.new(shape: DetectorModelName, required: true, location_name: "detectorModelName"))
141
+ CreateDetectorModelRequest.add_member(:detector_model_definition, Shapes::ShapeRef.new(shape: DetectorModelDefinition, required: true, location_name: "detectorModelDefinition"))
142
+ CreateDetectorModelRequest.add_member(:detector_model_description, Shapes::ShapeRef.new(shape: DetectorModelDescription, location_name: "detectorModelDescription"))
143
+ CreateDetectorModelRequest.add_member(:key, Shapes::ShapeRef.new(shape: AttributeJsonPath, location_name: "key"))
144
+ CreateDetectorModelRequest.add_member(:role_arn, Shapes::ShapeRef.new(shape: AmazonResourceName, required: true, location_name: "roleArn"))
145
+ CreateDetectorModelRequest.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
146
+ CreateDetectorModelRequest.struct_class = Types::CreateDetectorModelRequest
147
+
148
+ CreateDetectorModelResponse.add_member(:detector_model_configuration, Shapes::ShapeRef.new(shape: DetectorModelConfiguration, location_name: "detectorModelConfiguration"))
149
+ CreateDetectorModelResponse.struct_class = Types::CreateDetectorModelResponse
150
+
151
+ CreateInputRequest.add_member(:input_name, Shapes::ShapeRef.new(shape: InputName, required: true, location_name: "inputName"))
152
+ CreateInputRequest.add_member(:input_description, Shapes::ShapeRef.new(shape: InputDescription, location_name: "inputDescription"))
153
+ CreateInputRequest.add_member(:input_definition, Shapes::ShapeRef.new(shape: InputDefinition, required: true, location_name: "inputDefinition"))
154
+ CreateInputRequest.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
155
+ CreateInputRequest.struct_class = Types::CreateInputRequest
156
+
157
+ CreateInputResponse.add_member(:input_configuration, Shapes::ShapeRef.new(shape: InputConfiguration, location_name: "inputConfiguration"))
158
+ CreateInputResponse.struct_class = Types::CreateInputResponse
159
+
160
+ DeleteDetectorModelRequest.add_member(:detector_model_name, Shapes::ShapeRef.new(shape: DetectorModelName, required: true, location: "uri", location_name: "detectorModelName"))
161
+ DeleteDetectorModelRequest.struct_class = Types::DeleteDetectorModelRequest
162
+
163
+ DeleteDetectorModelResponse.struct_class = Types::DeleteDetectorModelResponse
164
+
165
+ DeleteInputRequest.add_member(:input_name, Shapes::ShapeRef.new(shape: InputName, required: true, location: "uri", location_name: "inputName"))
166
+ DeleteInputRequest.struct_class = Types::DeleteInputRequest
167
+
168
+ DeleteInputResponse.struct_class = Types::DeleteInputResponse
169
+
170
+ DescribeDetectorModelRequest.add_member(:detector_model_name, Shapes::ShapeRef.new(shape: DetectorModelName, required: true, location: "uri", location_name: "detectorModelName"))
171
+ DescribeDetectorModelRequest.add_member(:detector_model_version, Shapes::ShapeRef.new(shape: DetectorModelVersion, location: "querystring", location_name: "version"))
172
+ DescribeDetectorModelRequest.struct_class = Types::DescribeDetectorModelRequest
173
+
174
+ DescribeDetectorModelResponse.add_member(:detector_model, Shapes::ShapeRef.new(shape: DetectorModel, location_name: "detectorModel"))
175
+ DescribeDetectorModelResponse.struct_class = Types::DescribeDetectorModelResponse
176
+
177
+ DescribeInputRequest.add_member(:input_name, Shapes::ShapeRef.new(shape: InputName, required: true, location: "uri", location_name: "inputName"))
178
+ DescribeInputRequest.struct_class = Types::DescribeInputRequest
179
+
180
+ DescribeInputResponse.add_member(:input, Shapes::ShapeRef.new(shape: Input, location_name: "input"))
181
+ DescribeInputResponse.struct_class = Types::DescribeInputResponse
182
+
183
+ DescribeLoggingOptionsRequest.struct_class = Types::DescribeLoggingOptionsRequest
184
+
185
+ DescribeLoggingOptionsResponse.add_member(:logging_options, Shapes::ShapeRef.new(shape: LoggingOptions, location_name: "loggingOptions"))
186
+ DescribeLoggingOptionsResponse.struct_class = Types::DescribeLoggingOptionsResponse
187
+
188
+ DetectorDebugOption.add_member(:detector_model_name, Shapes::ShapeRef.new(shape: DetectorModelName, required: true, location_name: "detectorModelName"))
189
+ DetectorDebugOption.add_member(:key_value, Shapes::ShapeRef.new(shape: KeyValue, location_name: "keyValue"))
190
+ DetectorDebugOption.struct_class = Types::DetectorDebugOption
191
+
192
+ DetectorDebugOptions.member = Shapes::ShapeRef.new(shape: DetectorDebugOption)
193
+
194
+ DetectorModel.add_member(:detector_model_definition, Shapes::ShapeRef.new(shape: DetectorModelDefinition, location_name: "detectorModelDefinition"))
195
+ DetectorModel.add_member(:detector_model_configuration, Shapes::ShapeRef.new(shape: DetectorModelConfiguration, location_name: "detectorModelConfiguration"))
196
+ DetectorModel.struct_class = Types::DetectorModel
197
+
198
+ DetectorModelConfiguration.add_member(:detector_model_name, Shapes::ShapeRef.new(shape: DetectorModelName, location_name: "detectorModelName"))
199
+ DetectorModelConfiguration.add_member(:detector_model_version, Shapes::ShapeRef.new(shape: DetectorModelVersion, location_name: "detectorModelVersion"))
200
+ DetectorModelConfiguration.add_member(:detector_model_description, Shapes::ShapeRef.new(shape: DetectorModelDescription, location_name: "detectorModelDescription"))
201
+ DetectorModelConfiguration.add_member(:detector_model_arn, Shapes::ShapeRef.new(shape: DetectorModelArn, location_name: "detectorModelArn"))
202
+ DetectorModelConfiguration.add_member(:role_arn, Shapes::ShapeRef.new(shape: AmazonResourceName, location_name: "roleArn"))
203
+ DetectorModelConfiguration.add_member(:creation_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "creationTime"))
204
+ DetectorModelConfiguration.add_member(:last_update_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "lastUpdateTime"))
205
+ DetectorModelConfiguration.add_member(:status, Shapes::ShapeRef.new(shape: DetectorModelVersionStatus, location_name: "status"))
206
+ DetectorModelConfiguration.add_member(:key, Shapes::ShapeRef.new(shape: AttributeJsonPath, location_name: "key"))
207
+ DetectorModelConfiguration.struct_class = Types::DetectorModelConfiguration
208
+
209
+ DetectorModelDefinition.add_member(:states, Shapes::ShapeRef.new(shape: States, required: true, location_name: "states"))
210
+ DetectorModelDefinition.add_member(:initial_state_name, Shapes::ShapeRef.new(shape: StateName, required: true, location_name: "initialStateName"))
211
+ DetectorModelDefinition.struct_class = Types::DetectorModelDefinition
212
+
213
+ DetectorModelSummaries.member = Shapes::ShapeRef.new(shape: DetectorModelSummary)
214
+
215
+ DetectorModelSummary.add_member(:detector_model_name, Shapes::ShapeRef.new(shape: DetectorModelName, location_name: "detectorModelName"))
216
+ DetectorModelSummary.add_member(:detector_model_description, Shapes::ShapeRef.new(shape: DetectorModelDescription, location_name: "detectorModelDescription"))
217
+ DetectorModelSummary.add_member(:creation_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "creationTime"))
218
+ DetectorModelSummary.struct_class = Types::DetectorModelSummary
219
+
220
+ DetectorModelVersionSummaries.member = Shapes::ShapeRef.new(shape: DetectorModelVersionSummary)
221
+
222
+ DetectorModelVersionSummary.add_member(:detector_model_name, Shapes::ShapeRef.new(shape: DetectorModelName, location_name: "detectorModelName"))
223
+ DetectorModelVersionSummary.add_member(:detector_model_version, Shapes::ShapeRef.new(shape: DetectorModelVersion, location_name: "detectorModelVersion"))
224
+ DetectorModelVersionSummary.add_member(:detector_model_arn, Shapes::ShapeRef.new(shape: DetectorModelArn, location_name: "detectorModelArn"))
225
+ DetectorModelVersionSummary.add_member(:role_arn, Shapes::ShapeRef.new(shape: AmazonResourceName, location_name: "roleArn"))
226
+ DetectorModelVersionSummary.add_member(:creation_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "creationTime"))
227
+ DetectorModelVersionSummary.add_member(:last_update_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "lastUpdateTime"))
228
+ DetectorModelVersionSummary.add_member(:status, Shapes::ShapeRef.new(shape: DetectorModelVersionStatus, location_name: "status"))
229
+ DetectorModelVersionSummary.struct_class = Types::DetectorModelVersionSummary
230
+
231
+ Event.add_member(:event_name, Shapes::ShapeRef.new(shape: EventName, required: true, location_name: "eventName"))
232
+ Event.add_member(:condition, Shapes::ShapeRef.new(shape: Condition, location_name: "condition"))
233
+ Event.add_member(:actions, Shapes::ShapeRef.new(shape: Actions, location_name: "actions"))
234
+ Event.struct_class = Types::Event
235
+
236
+ Events.member = Shapes::ShapeRef.new(shape: Event)
237
+
238
+ Input.add_member(:input_configuration, Shapes::ShapeRef.new(shape: InputConfiguration, location_name: "inputConfiguration"))
239
+ Input.add_member(:input_definition, Shapes::ShapeRef.new(shape: InputDefinition, location_name: "inputDefinition"))
240
+ Input.struct_class = Types::Input
241
+
242
+ InputConfiguration.add_member(:input_name, Shapes::ShapeRef.new(shape: InputName, required: true, location_name: "inputName"))
243
+ InputConfiguration.add_member(:input_description, Shapes::ShapeRef.new(shape: InputDescription, location_name: "inputDescription"))
244
+ InputConfiguration.add_member(:input_arn, Shapes::ShapeRef.new(shape: InputArn, required: true, location_name: "inputArn"))
245
+ InputConfiguration.add_member(:creation_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "creationTime"))
246
+ InputConfiguration.add_member(:last_update_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "lastUpdateTime"))
247
+ InputConfiguration.add_member(:status, Shapes::ShapeRef.new(shape: InputStatus, required: true, location_name: "status"))
248
+ InputConfiguration.struct_class = Types::InputConfiguration
249
+
250
+ InputDefinition.add_member(:attributes, Shapes::ShapeRef.new(shape: Attributes, required: true, location_name: "attributes"))
251
+ InputDefinition.struct_class = Types::InputDefinition
252
+
253
+ InputSummaries.member = Shapes::ShapeRef.new(shape: InputSummary)
254
+
255
+ InputSummary.add_member(:input_name, Shapes::ShapeRef.new(shape: InputName, location_name: "inputName"))
256
+ InputSummary.add_member(:input_description, Shapes::ShapeRef.new(shape: InputDescription, location_name: "inputDescription"))
257
+ InputSummary.add_member(:input_arn, Shapes::ShapeRef.new(shape: InputArn, location_name: "inputArn"))
258
+ InputSummary.add_member(:creation_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "creationTime"))
259
+ InputSummary.add_member(:last_update_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "lastUpdateTime"))
260
+ InputSummary.add_member(:status, Shapes::ShapeRef.new(shape: InputStatus, location_name: "status"))
261
+ InputSummary.struct_class = Types::InputSummary
262
+
263
+ InternalFailureException.add_member(:message, Shapes::ShapeRef.new(shape: errorMessage, location_name: "message"))
264
+ InternalFailureException.struct_class = Types::InternalFailureException
265
+
266
+ InvalidRequestException.add_member(:message, Shapes::ShapeRef.new(shape: errorMessage, location_name: "message"))
267
+ InvalidRequestException.struct_class = Types::InvalidRequestException
268
+
269
+ IotTopicPublishAction.add_member(:mqtt_topic, Shapes::ShapeRef.new(shape: MQTTTopic, required: true, location_name: "mqttTopic"))
270
+ IotTopicPublishAction.struct_class = Types::IotTopicPublishAction
271
+
272
+ LimitExceededException.add_member(:message, Shapes::ShapeRef.new(shape: errorMessage, location_name: "message"))
273
+ LimitExceededException.struct_class = Types::LimitExceededException
274
+
275
+ ListDetectorModelVersionsRequest.add_member(:detector_model_name, Shapes::ShapeRef.new(shape: DetectorModelName, required: true, location: "uri", location_name: "detectorModelName"))
276
+ ListDetectorModelVersionsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
277
+ ListDetectorModelVersionsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
278
+ ListDetectorModelVersionsRequest.struct_class = Types::ListDetectorModelVersionsRequest
279
+
280
+ ListDetectorModelVersionsResponse.add_member(:detector_model_version_summaries, Shapes::ShapeRef.new(shape: DetectorModelVersionSummaries, location_name: "detectorModelVersionSummaries"))
281
+ ListDetectorModelVersionsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
282
+ ListDetectorModelVersionsResponse.struct_class = Types::ListDetectorModelVersionsResponse
283
+
284
+ ListDetectorModelsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
285
+ ListDetectorModelsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
286
+ ListDetectorModelsRequest.struct_class = Types::ListDetectorModelsRequest
287
+
288
+ ListDetectorModelsResponse.add_member(:detector_model_summaries, Shapes::ShapeRef.new(shape: DetectorModelSummaries, location_name: "detectorModelSummaries"))
289
+ ListDetectorModelsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
290
+ ListDetectorModelsResponse.struct_class = Types::ListDetectorModelsResponse
291
+
292
+ ListInputsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
293
+ ListInputsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
294
+ ListInputsRequest.struct_class = Types::ListInputsRequest
295
+
296
+ ListInputsResponse.add_member(:input_summaries, Shapes::ShapeRef.new(shape: InputSummaries, location_name: "inputSummaries"))
297
+ ListInputsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
298
+ ListInputsResponse.struct_class = Types::ListInputsResponse
299
+
300
+ ListTagsForResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: AmazonResourceName, required: true, location: "querystring", location_name: "resourceArn"))
301
+ ListTagsForResourceRequest.struct_class = Types::ListTagsForResourceRequest
302
+
303
+ ListTagsForResourceResponse.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
304
+ ListTagsForResourceResponse.struct_class = Types::ListTagsForResourceResponse
305
+
306
+ LoggingOptions.add_member(:role_arn, Shapes::ShapeRef.new(shape: AmazonResourceName, required: true, location_name: "roleArn"))
307
+ LoggingOptions.add_member(:level, Shapes::ShapeRef.new(shape: LoggingLevel, required: true, location_name: "level"))
308
+ LoggingOptions.add_member(:enabled, Shapes::ShapeRef.new(shape: LoggingEnabled, required: true, location_name: "enabled"))
309
+ LoggingOptions.add_member(:detector_debug_options, Shapes::ShapeRef.new(shape: DetectorDebugOptions, location_name: "detectorDebugOptions"))
310
+ LoggingOptions.struct_class = Types::LoggingOptions
311
+
312
+ OnEnterLifecycle.add_member(:events, Shapes::ShapeRef.new(shape: Events, location_name: "events"))
313
+ OnEnterLifecycle.struct_class = Types::OnEnterLifecycle
314
+
315
+ OnExitLifecycle.add_member(:events, Shapes::ShapeRef.new(shape: Events, location_name: "events"))
316
+ OnExitLifecycle.struct_class = Types::OnExitLifecycle
317
+
318
+ OnInputLifecycle.add_member(:events, Shapes::ShapeRef.new(shape: Events, location_name: "events"))
319
+ OnInputLifecycle.add_member(:transition_events, Shapes::ShapeRef.new(shape: TransitionEvents, location_name: "transitionEvents"))
320
+ OnInputLifecycle.struct_class = Types::OnInputLifecycle
321
+
322
+ PutLoggingOptionsRequest.add_member(:logging_options, Shapes::ShapeRef.new(shape: LoggingOptions, required: true, location_name: "loggingOptions"))
323
+ PutLoggingOptionsRequest.struct_class = Types::PutLoggingOptionsRequest
324
+
325
+ ResetTimerAction.add_member(:timer_name, Shapes::ShapeRef.new(shape: TimerName, required: true, location_name: "timerName"))
326
+ ResetTimerAction.struct_class = Types::ResetTimerAction
327
+
328
+ ResourceAlreadyExistsException.add_member(:message, Shapes::ShapeRef.new(shape: errorMessage, location_name: "message"))
329
+ ResourceAlreadyExistsException.add_member(:resource_id, Shapes::ShapeRef.new(shape: resourceId, location_name: "resourceId"))
330
+ ResourceAlreadyExistsException.add_member(:resource_arn, Shapes::ShapeRef.new(shape: resourceArn, location_name: "resourceArn"))
331
+ ResourceAlreadyExistsException.struct_class = Types::ResourceAlreadyExistsException
332
+
333
+ ResourceInUseException.add_member(:message, Shapes::ShapeRef.new(shape: errorMessage, location_name: "message"))
334
+ ResourceInUseException.struct_class = Types::ResourceInUseException
335
+
336
+ ResourceNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: errorMessage, location_name: "message"))
337
+ ResourceNotFoundException.struct_class = Types::ResourceNotFoundException
338
+
339
+ SNSTopicPublishAction.add_member(:target_arn, Shapes::ShapeRef.new(shape: AmazonResourceName, required: true, location_name: "targetArn"))
340
+ SNSTopicPublishAction.struct_class = Types::SNSTopicPublishAction
341
+
342
+ ServiceUnavailableException.add_member(:message, Shapes::ShapeRef.new(shape: errorMessage, location_name: "message"))
343
+ ServiceUnavailableException.struct_class = Types::ServiceUnavailableException
344
+
345
+ SetTimerAction.add_member(:timer_name, Shapes::ShapeRef.new(shape: TimerName, required: true, location_name: "timerName"))
346
+ SetTimerAction.add_member(:seconds, Shapes::ShapeRef.new(shape: Seconds, required: true, location_name: "seconds"))
347
+ SetTimerAction.struct_class = Types::SetTimerAction
348
+
349
+ SetVariableAction.add_member(:variable_name, Shapes::ShapeRef.new(shape: VariableName, required: true, location_name: "variableName"))
350
+ SetVariableAction.add_member(:value, Shapes::ShapeRef.new(shape: VariableValue, required: true, location_name: "value"))
351
+ SetVariableAction.struct_class = Types::SetVariableAction
352
+
353
+ State.add_member(:state_name, Shapes::ShapeRef.new(shape: StateName, required: true, location_name: "stateName"))
354
+ State.add_member(:on_input, Shapes::ShapeRef.new(shape: OnInputLifecycle, location_name: "onInput"))
355
+ State.add_member(:on_enter, Shapes::ShapeRef.new(shape: OnEnterLifecycle, location_name: "onEnter"))
356
+ State.add_member(:on_exit, Shapes::ShapeRef.new(shape: OnExitLifecycle, location_name: "onExit"))
357
+ State.struct_class = Types::State
358
+
359
+ States.member = Shapes::ShapeRef.new(shape: State)
360
+
361
+ Tag.add_member(:key, Shapes::ShapeRef.new(shape: TagKey, required: true, location_name: "key"))
362
+ Tag.add_member(:value, Shapes::ShapeRef.new(shape: TagValue, required: true, location_name: "value"))
363
+ Tag.struct_class = Types::Tag
364
+
365
+ TagKeys.member = Shapes::ShapeRef.new(shape: TagKey)
366
+
367
+ TagResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: AmazonResourceName, required: true, location: "querystring", location_name: "resourceArn"))
368
+ TagResourceRequest.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, required: true, location_name: "tags"))
369
+ TagResourceRequest.struct_class = Types::TagResourceRequest
370
+
371
+ TagResourceResponse.struct_class = Types::TagResourceResponse
372
+
373
+ Tags.member = Shapes::ShapeRef.new(shape: Tag)
374
+
375
+ ThrottlingException.add_member(:message, Shapes::ShapeRef.new(shape: errorMessage, location_name: "message"))
376
+ ThrottlingException.struct_class = Types::ThrottlingException
377
+
378
+ TransitionEvent.add_member(:event_name, Shapes::ShapeRef.new(shape: EventName, required: true, location_name: "eventName"))
379
+ TransitionEvent.add_member(:condition, Shapes::ShapeRef.new(shape: Condition, required: true, location_name: "condition"))
380
+ TransitionEvent.add_member(:actions, Shapes::ShapeRef.new(shape: Actions, location_name: "actions"))
381
+ TransitionEvent.add_member(:next_state, Shapes::ShapeRef.new(shape: StateName, required: true, location_name: "nextState"))
382
+ TransitionEvent.struct_class = Types::TransitionEvent
383
+
384
+ TransitionEvents.member = Shapes::ShapeRef.new(shape: TransitionEvent)
385
+
386
+ UnsupportedOperationException.add_member(:message, Shapes::ShapeRef.new(shape: errorMessage, location_name: "message"))
387
+ UnsupportedOperationException.struct_class = Types::UnsupportedOperationException
388
+
389
+ UntagResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: AmazonResourceName, required: true, location: "querystring", location_name: "resourceArn"))
390
+ UntagResourceRequest.add_member(:tag_keys, Shapes::ShapeRef.new(shape: TagKeys, required: true, location: "querystring", location_name: "tagKeys"))
391
+ UntagResourceRequest.struct_class = Types::UntagResourceRequest
392
+
393
+ UntagResourceResponse.struct_class = Types::UntagResourceResponse
394
+
395
+ UpdateDetectorModelRequest.add_member(:detector_model_name, Shapes::ShapeRef.new(shape: DetectorModelName, required: true, location: "uri", location_name: "detectorModelName"))
396
+ UpdateDetectorModelRequest.add_member(:detector_model_definition, Shapes::ShapeRef.new(shape: DetectorModelDefinition, required: true, location_name: "detectorModelDefinition"))
397
+ UpdateDetectorModelRequest.add_member(:detector_model_description, Shapes::ShapeRef.new(shape: DetectorModelDescription, location_name: "detectorModelDescription"))
398
+ UpdateDetectorModelRequest.add_member(:role_arn, Shapes::ShapeRef.new(shape: AmazonResourceName, required: true, location_name: "roleArn"))
399
+ UpdateDetectorModelRequest.struct_class = Types::UpdateDetectorModelRequest
400
+
401
+ UpdateDetectorModelResponse.add_member(:detector_model_configuration, Shapes::ShapeRef.new(shape: DetectorModelConfiguration, location_name: "detectorModelConfiguration"))
402
+ UpdateDetectorModelResponse.struct_class = Types::UpdateDetectorModelResponse
403
+
404
+ UpdateInputRequest.add_member(:input_name, Shapes::ShapeRef.new(shape: InputName, required: true, location: "uri", location_name: "inputName"))
405
+ UpdateInputRequest.add_member(:input_description, Shapes::ShapeRef.new(shape: InputDescription, location_name: "inputDescription"))
406
+ UpdateInputRequest.add_member(:input_definition, Shapes::ShapeRef.new(shape: InputDefinition, required: true, location_name: "inputDefinition"))
407
+ UpdateInputRequest.struct_class = Types::UpdateInputRequest
408
+
409
+ UpdateInputResponse.add_member(:input_configuration, Shapes::ShapeRef.new(shape: InputConfiguration, location_name: "inputConfiguration"))
410
+ UpdateInputResponse.struct_class = Types::UpdateInputResponse
411
+
412
+
413
+ # @api private
414
+ API = Seahorse::Model::Api.new.tap do |api|
415
+
416
+ api.version = "2018-07-27"
417
+
418
+ api.metadata = {
419
+ "apiVersion" => "2018-07-27",
420
+ "endpointPrefix" => "iotevents",
421
+ "protocol" => "rest-json",
422
+ "serviceFullName" => "AWS IoT Events",
423
+ "serviceId" => "IoT Events",
424
+ "signatureVersion" => "v4",
425
+ "signingName" => "iotevents",
426
+ "uid" => "iotevents-2018-07-27",
427
+ }
428
+
429
+ api.add_operation(:create_detector_model, Seahorse::Model::Operation.new.tap do |o|
430
+ o.name = "CreateDetectorModel"
431
+ o.http_method = "POST"
432
+ o.http_request_uri = "/detector-models"
433
+ o.input = Shapes::ShapeRef.new(shape: CreateDetectorModelRequest)
434
+ o.output = Shapes::ShapeRef.new(shape: CreateDetectorModelResponse)
435
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
436
+ o.errors << Shapes::ShapeRef.new(shape: ResourceInUseException)
437
+ o.errors << Shapes::ShapeRef.new(shape: ResourceAlreadyExistsException)
438
+ o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
439
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
440
+ o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
441
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
442
+ end)
443
+
444
+ api.add_operation(:create_input, Seahorse::Model::Operation.new.tap do |o|
445
+ o.name = "CreateInput"
446
+ o.http_method = "POST"
447
+ o.http_request_uri = "/inputs"
448
+ o.input = Shapes::ShapeRef.new(shape: CreateInputRequest)
449
+ o.output = Shapes::ShapeRef.new(shape: CreateInputResponse)
450
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
451
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
452
+ o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
453
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
454
+ o.errors << Shapes::ShapeRef.new(shape: ResourceAlreadyExistsException)
455
+ end)
456
+
457
+ api.add_operation(:delete_detector_model, Seahorse::Model::Operation.new.tap do |o|
458
+ o.name = "DeleteDetectorModel"
459
+ o.http_method = "DELETE"
460
+ o.http_request_uri = "/detector-models/{detectorModelName}"
461
+ o.input = Shapes::ShapeRef.new(shape: DeleteDetectorModelRequest)
462
+ o.output = Shapes::ShapeRef.new(shape: DeleteDetectorModelResponse)
463
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
464
+ o.errors << Shapes::ShapeRef.new(shape: ResourceInUseException)
465
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
466
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
467
+ o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
468
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
469
+ end)
470
+
471
+ api.add_operation(:delete_input, Seahorse::Model::Operation.new.tap do |o|
472
+ o.name = "DeleteInput"
473
+ o.http_method = "DELETE"
474
+ o.http_request_uri = "/inputs/{inputName}"
475
+ o.input = Shapes::ShapeRef.new(shape: DeleteInputRequest)
476
+ o.output = Shapes::ShapeRef.new(shape: DeleteInputResponse)
477
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
478
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
479
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
480
+ o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
481
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
482
+ o.errors << Shapes::ShapeRef.new(shape: ResourceInUseException)
483
+ end)
484
+
485
+ api.add_operation(:describe_detector_model, Seahorse::Model::Operation.new.tap do |o|
486
+ o.name = "DescribeDetectorModel"
487
+ o.http_method = "GET"
488
+ o.http_request_uri = "/detector-models/{detectorModelName}"
489
+ o.input = Shapes::ShapeRef.new(shape: DescribeDetectorModelRequest)
490
+ o.output = Shapes::ShapeRef.new(shape: DescribeDetectorModelResponse)
491
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
492
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
493
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
494
+ o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
495
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
496
+ end)
497
+
498
+ api.add_operation(:describe_input, Seahorse::Model::Operation.new.tap do |o|
499
+ o.name = "DescribeInput"
500
+ o.http_method = "GET"
501
+ o.http_request_uri = "/inputs/{inputName}"
502
+ o.input = Shapes::ShapeRef.new(shape: DescribeInputRequest)
503
+ o.output = Shapes::ShapeRef.new(shape: DescribeInputResponse)
504
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
505
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
506
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
507
+ o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
508
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
509
+ end)
510
+
511
+ api.add_operation(:describe_logging_options, Seahorse::Model::Operation.new.tap do |o|
512
+ o.name = "DescribeLoggingOptions"
513
+ o.http_method = "GET"
514
+ o.http_request_uri = "/logging"
515
+ o.input = Shapes::ShapeRef.new(shape: DescribeLoggingOptionsRequest)
516
+ o.output = Shapes::ShapeRef.new(shape: DescribeLoggingOptionsResponse)
517
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
518
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
519
+ o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
520
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
521
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
522
+ o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperationException)
523
+ end)
524
+
525
+ api.add_operation(:list_detector_model_versions, Seahorse::Model::Operation.new.tap do |o|
526
+ o.name = "ListDetectorModelVersions"
527
+ o.http_method = "GET"
528
+ o.http_request_uri = "/detector-models/{detectorModelName}/versions"
529
+ o.input = Shapes::ShapeRef.new(shape: ListDetectorModelVersionsRequest)
530
+ o.output = Shapes::ShapeRef.new(shape: ListDetectorModelVersionsResponse)
531
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
532
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
533
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
534
+ o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
535
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
536
+ end)
537
+
538
+ api.add_operation(:list_detector_models, Seahorse::Model::Operation.new.tap do |o|
539
+ o.name = "ListDetectorModels"
540
+ o.http_method = "GET"
541
+ o.http_request_uri = "/detector-models"
542
+ o.input = Shapes::ShapeRef.new(shape: ListDetectorModelsRequest)
543
+ o.output = Shapes::ShapeRef.new(shape: ListDetectorModelsResponse)
544
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
545
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
546
+ o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
547
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
548
+ end)
549
+
550
+ api.add_operation(:list_inputs, Seahorse::Model::Operation.new.tap do |o|
551
+ o.name = "ListInputs"
552
+ o.http_method = "GET"
553
+ o.http_request_uri = "/inputs"
554
+ o.input = Shapes::ShapeRef.new(shape: ListInputsRequest)
555
+ o.output = Shapes::ShapeRef.new(shape: ListInputsResponse)
556
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
557
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
558
+ o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
559
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
560
+ end)
561
+
562
+ api.add_operation(:list_tags_for_resource, Seahorse::Model::Operation.new.tap do |o|
563
+ o.name = "ListTagsForResource"
564
+ o.http_method = "GET"
565
+ o.http_request_uri = "/tags"
566
+ o.input = Shapes::ShapeRef.new(shape: ListTagsForResourceRequest)
567
+ o.output = Shapes::ShapeRef.new(shape: ListTagsForResourceResponse)
568
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
569
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
570
+ o.errors << Shapes::ShapeRef.new(shape: ResourceInUseException)
571
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
572
+ o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
573
+ end)
574
+
575
+ api.add_operation(:put_logging_options, Seahorse::Model::Operation.new.tap do |o|
576
+ o.name = "PutLoggingOptions"
577
+ o.http_method = "PUT"
578
+ o.http_request_uri = "/logging"
579
+ o.input = Shapes::ShapeRef.new(shape: PutLoggingOptionsRequest)
580
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
581
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
582
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
583
+ o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
584
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
585
+ o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperationException)
586
+ o.errors << Shapes::ShapeRef.new(shape: ResourceInUseException)
587
+ end)
588
+
589
+ api.add_operation(:tag_resource, Seahorse::Model::Operation.new.tap do |o|
590
+ o.name = "TagResource"
591
+ o.http_method = "POST"
592
+ o.http_request_uri = "/tags"
593
+ o.input = Shapes::ShapeRef.new(shape: TagResourceRequest)
594
+ o.output = Shapes::ShapeRef.new(shape: TagResourceResponse)
595
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
596
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
597
+ o.errors << Shapes::ShapeRef.new(shape: ResourceInUseException)
598
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
599
+ o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
600
+ o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
601
+ end)
602
+
603
+ api.add_operation(:untag_resource, Seahorse::Model::Operation.new.tap do |o|
604
+ o.name = "UntagResource"
605
+ o.http_method = "DELETE"
606
+ o.http_request_uri = "/tags"
607
+ o.input = Shapes::ShapeRef.new(shape: UntagResourceRequest)
608
+ o.output = Shapes::ShapeRef.new(shape: UntagResourceResponse)
609
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
610
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
611
+ o.errors << Shapes::ShapeRef.new(shape: ResourceInUseException)
612
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
613
+ o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
614
+ end)
615
+
616
+ api.add_operation(:update_detector_model, Seahorse::Model::Operation.new.tap do |o|
617
+ o.name = "UpdateDetectorModel"
618
+ o.http_method = "POST"
619
+ o.http_request_uri = "/detector-models/{detectorModelName}"
620
+ o.input = Shapes::ShapeRef.new(shape: UpdateDetectorModelRequest)
621
+ o.output = Shapes::ShapeRef.new(shape: UpdateDetectorModelResponse)
622
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
623
+ o.errors << Shapes::ShapeRef.new(shape: ResourceInUseException)
624
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
625
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
626
+ o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
627
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
628
+ end)
629
+
630
+ api.add_operation(:update_input, Seahorse::Model::Operation.new.tap do |o|
631
+ o.name = "UpdateInput"
632
+ o.http_method = "PUT"
633
+ o.http_request_uri = "/inputs/{inputName}"
634
+ o.input = Shapes::ShapeRef.new(shape: UpdateInputRequest)
635
+ o.output = Shapes::ShapeRef.new(shape: UpdateInputResponse)
636
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
637
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
638
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
639
+ o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
640
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
641
+ o.errors << Shapes::ShapeRef.new(shape: ResourceInUseException)
642
+ end)
643
+ end
644
+
645
+ end
646
+ end