aws-sdk-cloudwatchevents 1.0.0.rc1 → 1.0.0.rc2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/aws-sdk-cloudwatchevents.rb +2 -2
- data/lib/aws-sdk-cloudwatchevents/client.rb +717 -563
- data/lib/aws-sdk-cloudwatchevents/client_api.rb +397 -422
- data/lib/aws-sdk-cloudwatchevents/errors.rb +4 -13
- data/lib/aws-sdk-cloudwatchevents/resource.rb +12 -14
- data/lib/aws-sdk-cloudwatchevents/types.rb +943 -653
- metadata +2 -2
@@ -1,432 +1,407 @@
|
|
1
1
|
# WARNING ABOUT GENERATED CODE
|
2
2
|
#
|
3
|
-
# This file is generated. See the contributing for
|
3
|
+
# This file is generated. See the contributing guide for more information:
|
4
4
|
# https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
|
5
5
|
#
|
6
6
|
# WARNING ABOUT GENERATED CODE
|
7
7
|
|
8
|
-
module Aws
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
|
134
|
-
|
135
|
-
|
136
|
-
|
137
|
-
|
138
|
-
|
139
|
-
|
140
|
-
|
141
|
-
|
142
|
-
|
143
|
-
|
144
|
-
|
145
|
-
|
146
|
-
|
147
|
-
|
148
|
-
|
149
|
-
|
150
|
-
|
151
|
-
|
152
|
-
|
153
|
-
|
154
|
-
|
155
|
-
|
156
|
-
|
157
|
-
|
158
|
-
|
159
|
-
|
160
|
-
|
161
|
-
|
162
|
-
|
163
|
-
|
164
|
-
|
165
|
-
|
166
|
-
|
167
|
-
|
168
|
-
|
169
|
-
|
170
|
-
|
171
|
-
|
172
|
-
|
173
|
-
|
174
|
-
|
175
|
-
|
176
|
-
|
177
|
-
|
178
|
-
|
179
|
-
|
180
|
-
|
181
|
-
|
182
|
-
|
183
|
-
|
184
|
-
|
185
|
-
|
186
|
-
|
187
|
-
|
188
|
-
|
189
|
-
|
190
|
-
|
191
|
-
|
192
|
-
|
193
|
-
|
194
|
-
|
195
|
-
|
196
|
-
|
197
|
-
|
198
|
-
|
199
|
-
|
200
|
-
|
201
|
-
|
202
|
-
|
203
|
-
|
204
|
-
|
205
|
-
|
206
|
-
|
207
|
-
|
208
|
-
|
209
|
-
|
210
|
-
|
211
|
-
|
212
|
-
|
213
|
-
|
214
|
-
|
215
|
-
|
216
|
-
|
217
|
-
|
218
|
-
|
219
|
-
|
220
|
-
|
221
|
-
|
222
|
-
|
223
|
-
|
224
|
-
|
225
|
-
|
226
|
-
|
227
|
-
|
228
|
-
|
229
|
-
"endpointPrefix" => "events",
|
230
|
-
"jsonVersion" => "1.1",
|
231
|
-
"protocol" => "json",
|
232
|
-
"serviceFullName" => "Amazon CloudWatch Events",
|
233
|
-
"signatureVersion" => "v4",
|
234
|
-
"targetPrefix" => "AWSEvents",
|
235
|
-
}
|
236
|
-
|
237
|
-
api.add_operation(:delete_rule, Seahorse::Model::Operation.new.tap do |o|
|
238
|
-
o.name = "DeleteRule"
|
239
|
-
o.http_method = "POST"
|
240
|
-
o.http_request_uri = "/"
|
241
|
-
o.input = Shapes::ShapeRef.new(shape: DeleteRuleRequest)
|
242
|
-
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
243
|
-
o.errors << Shapes::ShapeRef.new(shape: ConcurrentModificationException, metadata: {
|
244
|
-
"exception" => true
|
245
|
-
})
|
246
|
-
o.errors << Shapes::ShapeRef.new(shape: InternalException, metadata: {
|
247
|
-
"exception" => true,
|
248
|
-
"fault" => true
|
249
|
-
})
|
250
|
-
end)
|
251
|
-
|
252
|
-
api.add_operation(:describe_rule, Seahorse::Model::Operation.new.tap do |o|
|
253
|
-
o.name = "DescribeRule"
|
254
|
-
o.http_method = "POST"
|
255
|
-
o.http_request_uri = "/"
|
256
|
-
o.input = Shapes::ShapeRef.new(shape: DescribeRuleRequest)
|
257
|
-
o.output = Shapes::ShapeRef.new(shape: DescribeRuleResponse)
|
258
|
-
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException, metadata: {
|
259
|
-
"exception" => true
|
260
|
-
})
|
261
|
-
o.errors << Shapes::ShapeRef.new(shape: InternalException, metadata: {
|
262
|
-
"exception" => true,
|
263
|
-
"fault" => true
|
264
|
-
})
|
265
|
-
end)
|
266
|
-
|
267
|
-
api.add_operation(:disable_rule, Seahorse::Model::Operation.new.tap do |o|
|
268
|
-
o.name = "DisableRule"
|
269
|
-
o.http_method = "POST"
|
270
|
-
o.http_request_uri = "/"
|
271
|
-
o.input = Shapes::ShapeRef.new(shape: DisableRuleRequest)
|
272
|
-
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
273
|
-
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException, metadata: {
|
274
|
-
"exception" => true
|
275
|
-
})
|
276
|
-
o.errors << Shapes::ShapeRef.new(shape: ConcurrentModificationException, metadata: {
|
277
|
-
"exception" => true
|
278
|
-
})
|
279
|
-
o.errors << Shapes::ShapeRef.new(shape: InternalException, metadata: {
|
280
|
-
"exception" => true,
|
281
|
-
"fault" => true
|
282
|
-
})
|
283
|
-
end)
|
284
|
-
|
285
|
-
api.add_operation(:enable_rule, Seahorse::Model::Operation.new.tap do |o|
|
286
|
-
o.name = "EnableRule"
|
287
|
-
o.http_method = "POST"
|
288
|
-
o.http_request_uri = "/"
|
289
|
-
o.input = Shapes::ShapeRef.new(shape: EnableRuleRequest)
|
290
|
-
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
291
|
-
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException, metadata: {
|
292
|
-
"exception" => true
|
293
|
-
})
|
294
|
-
o.errors << Shapes::ShapeRef.new(shape: ConcurrentModificationException, metadata: {
|
295
|
-
"exception" => true
|
296
|
-
})
|
297
|
-
o.errors << Shapes::ShapeRef.new(shape: InternalException, metadata: {
|
298
|
-
"exception" => true,
|
299
|
-
"fault" => true
|
300
|
-
})
|
301
|
-
end)
|
302
|
-
|
303
|
-
api.add_operation(:list_rule_names_by_target, Seahorse::Model::Operation.new.tap do |o|
|
304
|
-
o.name = "ListRuleNamesByTarget"
|
305
|
-
o.http_method = "POST"
|
306
|
-
o.http_request_uri = "/"
|
307
|
-
o.input = Shapes::ShapeRef.new(shape: ListRuleNamesByTargetRequest)
|
308
|
-
o.output = Shapes::ShapeRef.new(shape: ListRuleNamesByTargetResponse)
|
309
|
-
o.errors << Shapes::ShapeRef.new(shape: InternalException, metadata: {
|
310
|
-
"exception" => true,
|
311
|
-
"fault" => true
|
312
|
-
})
|
313
|
-
end)
|
314
|
-
|
315
|
-
api.add_operation(:list_rules, Seahorse::Model::Operation.new.tap do |o|
|
316
|
-
o.name = "ListRules"
|
317
|
-
o.http_method = "POST"
|
318
|
-
o.http_request_uri = "/"
|
319
|
-
o.input = Shapes::ShapeRef.new(shape: ListRulesRequest)
|
320
|
-
o.output = Shapes::ShapeRef.new(shape: ListRulesResponse)
|
321
|
-
o.errors << Shapes::ShapeRef.new(shape: InternalException, metadata: {
|
322
|
-
"exception" => true,
|
323
|
-
"fault" => true
|
324
|
-
})
|
325
|
-
end)
|
326
|
-
|
327
|
-
api.add_operation(:list_targets_by_rule, Seahorse::Model::Operation.new.tap do |o|
|
328
|
-
o.name = "ListTargetsByRule"
|
329
|
-
o.http_method = "POST"
|
330
|
-
o.http_request_uri = "/"
|
331
|
-
o.input = Shapes::ShapeRef.new(shape: ListTargetsByRuleRequest)
|
332
|
-
o.output = Shapes::ShapeRef.new(shape: ListTargetsByRuleResponse)
|
333
|
-
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException, metadata: {
|
334
|
-
"exception" => true
|
335
|
-
})
|
336
|
-
o.errors << Shapes::ShapeRef.new(shape: InternalException, metadata: {
|
337
|
-
"exception" => true,
|
338
|
-
"fault" => true
|
339
|
-
})
|
340
|
-
end)
|
341
|
-
|
342
|
-
api.add_operation(:put_events, Seahorse::Model::Operation.new.tap do |o|
|
343
|
-
o.name = "PutEvents"
|
344
|
-
o.http_method = "POST"
|
345
|
-
o.http_request_uri = "/"
|
346
|
-
o.input = Shapes::ShapeRef.new(shape: PutEventsRequest)
|
347
|
-
o.output = Shapes::ShapeRef.new(shape: PutEventsResponse)
|
348
|
-
o.errors << Shapes::ShapeRef.new(shape: InternalException, metadata: {
|
349
|
-
"exception" => true,
|
350
|
-
"fault" => true
|
351
|
-
})
|
352
|
-
end)
|
353
|
-
|
354
|
-
api.add_operation(:put_rule, Seahorse::Model::Operation.new.tap do |o|
|
355
|
-
o.name = "PutRule"
|
356
|
-
o.http_method = "POST"
|
357
|
-
o.http_request_uri = "/"
|
358
|
-
o.input = Shapes::ShapeRef.new(shape: PutRuleRequest)
|
359
|
-
o.output = Shapes::ShapeRef.new(shape: PutRuleResponse)
|
360
|
-
o.errors << Shapes::ShapeRef.new(shape: InvalidEventPatternException, metadata: {
|
361
|
-
"exception" => true
|
362
|
-
})
|
363
|
-
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException, metadata: {
|
364
|
-
"exception" => true
|
365
|
-
})
|
366
|
-
o.errors << Shapes::ShapeRef.new(shape: ConcurrentModificationException, metadata: {
|
367
|
-
"exception" => true
|
368
|
-
})
|
369
|
-
o.errors << Shapes::ShapeRef.new(shape: InternalException, metadata: {
|
370
|
-
"exception" => true,
|
371
|
-
"fault" => true
|
372
|
-
})
|
373
|
-
end)
|
374
|
-
|
375
|
-
api.add_operation(:put_targets, Seahorse::Model::Operation.new.tap do |o|
|
376
|
-
o.name = "PutTargets"
|
377
|
-
o.http_method = "POST"
|
378
|
-
o.http_request_uri = "/"
|
379
|
-
o.input = Shapes::ShapeRef.new(shape: PutTargetsRequest)
|
380
|
-
o.output = Shapes::ShapeRef.new(shape: PutTargetsResponse)
|
381
|
-
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException, metadata: {
|
382
|
-
"exception" => true
|
383
|
-
})
|
384
|
-
o.errors << Shapes::ShapeRef.new(shape: ConcurrentModificationException, metadata: {
|
385
|
-
"exception" => true
|
386
|
-
})
|
387
|
-
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException, metadata: {
|
388
|
-
"exception" => true
|
389
|
-
})
|
390
|
-
o.errors << Shapes::ShapeRef.new(shape: InternalException, metadata: {
|
391
|
-
"exception" => true,
|
392
|
-
"fault" => true
|
393
|
-
})
|
394
|
-
end)
|
395
|
-
|
396
|
-
api.add_operation(:remove_targets, Seahorse::Model::Operation.new.tap do |o|
|
397
|
-
o.name = "RemoveTargets"
|
398
|
-
o.http_method = "POST"
|
399
|
-
o.http_request_uri = "/"
|
400
|
-
o.input = Shapes::ShapeRef.new(shape: RemoveTargetsRequest)
|
401
|
-
o.output = Shapes::ShapeRef.new(shape: RemoveTargetsResponse)
|
402
|
-
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException, metadata: {
|
403
|
-
"exception" => true
|
404
|
-
})
|
405
|
-
o.errors << Shapes::ShapeRef.new(shape: ConcurrentModificationException, metadata: {
|
406
|
-
"exception" => true
|
407
|
-
})
|
408
|
-
o.errors << Shapes::ShapeRef.new(shape: InternalException, metadata: {
|
409
|
-
"exception" => true,
|
410
|
-
"fault" => true
|
411
|
-
})
|
412
|
-
end)
|
413
|
-
|
414
|
-
api.add_operation(:test_event_pattern, Seahorse::Model::Operation.new.tap do |o|
|
415
|
-
o.name = "TestEventPattern"
|
416
|
-
o.http_method = "POST"
|
417
|
-
o.http_request_uri = "/"
|
418
|
-
o.input = Shapes::ShapeRef.new(shape: TestEventPatternRequest)
|
419
|
-
o.output = Shapes::ShapeRef.new(shape: TestEventPatternResponse)
|
420
|
-
o.errors << Shapes::ShapeRef.new(shape: InvalidEventPatternException, metadata: {
|
421
|
-
"exception" => true
|
422
|
-
})
|
423
|
-
o.errors << Shapes::ShapeRef.new(shape: InternalException, metadata: {
|
424
|
-
"exception" => true,
|
425
|
-
"fault" => true
|
426
|
-
})
|
427
|
-
end)
|
428
|
-
end
|
8
|
+
module Aws::CloudWatchEvents
|
9
|
+
# @api private
|
10
|
+
module ClientApi
|
11
|
+
|
12
|
+
include Seahorse::Model
|
13
|
+
|
14
|
+
Arn = Shapes::StringShape.new(name: 'Arn')
|
15
|
+
Boolean = Shapes::BooleanShape.new(name: 'Boolean')
|
16
|
+
ConcurrentModificationException = Shapes::StructureShape.new(name: 'ConcurrentModificationException')
|
17
|
+
DeleteRuleRequest = Shapes::StructureShape.new(name: 'DeleteRuleRequest')
|
18
|
+
DescribeRuleRequest = Shapes::StructureShape.new(name: 'DescribeRuleRequest')
|
19
|
+
DescribeRuleResponse = Shapes::StructureShape.new(name: 'DescribeRuleResponse')
|
20
|
+
DisableRuleRequest = Shapes::StructureShape.new(name: 'DisableRuleRequest')
|
21
|
+
EcsParameters = Shapes::StructureShape.new(name: 'EcsParameters')
|
22
|
+
EnableRuleRequest = Shapes::StructureShape.new(name: 'EnableRuleRequest')
|
23
|
+
ErrorCode = Shapes::StringShape.new(name: 'ErrorCode')
|
24
|
+
ErrorMessage = Shapes::StringShape.new(name: 'ErrorMessage')
|
25
|
+
EventId = Shapes::StringShape.new(name: 'EventId')
|
26
|
+
EventPattern = Shapes::StringShape.new(name: 'EventPattern')
|
27
|
+
EventResource = Shapes::StringShape.new(name: 'EventResource')
|
28
|
+
EventResourceList = Shapes::ListShape.new(name: 'EventResourceList')
|
29
|
+
EventTime = Shapes::TimestampShape.new(name: 'EventTime')
|
30
|
+
InputTransformer = Shapes::StructureShape.new(name: 'InputTransformer')
|
31
|
+
InputTransformerPathKey = Shapes::StringShape.new(name: 'InputTransformerPathKey')
|
32
|
+
Integer = Shapes::IntegerShape.new(name: 'Integer')
|
33
|
+
InternalException = Shapes::StructureShape.new(name: 'InternalException')
|
34
|
+
InvalidEventPatternException = Shapes::StructureShape.new(name: 'InvalidEventPatternException')
|
35
|
+
KinesisParameters = Shapes::StructureShape.new(name: 'KinesisParameters')
|
36
|
+
LimitExceededException = Shapes::StructureShape.new(name: 'LimitExceededException')
|
37
|
+
LimitMax100 = Shapes::IntegerShape.new(name: 'LimitMax100')
|
38
|
+
LimitMin1 = Shapes::IntegerShape.new(name: 'LimitMin1')
|
39
|
+
ListRuleNamesByTargetRequest = Shapes::StructureShape.new(name: 'ListRuleNamesByTargetRequest')
|
40
|
+
ListRuleNamesByTargetResponse = Shapes::StructureShape.new(name: 'ListRuleNamesByTargetResponse')
|
41
|
+
ListRulesRequest = Shapes::StructureShape.new(name: 'ListRulesRequest')
|
42
|
+
ListRulesResponse = Shapes::StructureShape.new(name: 'ListRulesResponse')
|
43
|
+
ListTargetsByRuleRequest = Shapes::StructureShape.new(name: 'ListTargetsByRuleRequest')
|
44
|
+
ListTargetsByRuleResponse = Shapes::StructureShape.new(name: 'ListTargetsByRuleResponse')
|
45
|
+
NextToken = Shapes::StringShape.new(name: 'NextToken')
|
46
|
+
PutEventsRequest = Shapes::StructureShape.new(name: 'PutEventsRequest')
|
47
|
+
PutEventsRequestEntry = Shapes::StructureShape.new(name: 'PutEventsRequestEntry')
|
48
|
+
PutEventsRequestEntryList = Shapes::ListShape.new(name: 'PutEventsRequestEntryList')
|
49
|
+
PutEventsResponse = Shapes::StructureShape.new(name: 'PutEventsResponse')
|
50
|
+
PutEventsResultEntry = Shapes::StructureShape.new(name: 'PutEventsResultEntry')
|
51
|
+
PutEventsResultEntryList = Shapes::ListShape.new(name: 'PutEventsResultEntryList')
|
52
|
+
PutRuleRequest = Shapes::StructureShape.new(name: 'PutRuleRequest')
|
53
|
+
PutRuleResponse = Shapes::StructureShape.new(name: 'PutRuleResponse')
|
54
|
+
PutTargetsRequest = Shapes::StructureShape.new(name: 'PutTargetsRequest')
|
55
|
+
PutTargetsResponse = Shapes::StructureShape.new(name: 'PutTargetsResponse')
|
56
|
+
PutTargetsResultEntry = Shapes::StructureShape.new(name: 'PutTargetsResultEntry')
|
57
|
+
PutTargetsResultEntryList = Shapes::ListShape.new(name: 'PutTargetsResultEntryList')
|
58
|
+
RemoveTargetsRequest = Shapes::StructureShape.new(name: 'RemoveTargetsRequest')
|
59
|
+
RemoveTargetsResponse = Shapes::StructureShape.new(name: 'RemoveTargetsResponse')
|
60
|
+
RemoveTargetsResultEntry = Shapes::StructureShape.new(name: 'RemoveTargetsResultEntry')
|
61
|
+
RemoveTargetsResultEntryList = Shapes::ListShape.new(name: 'RemoveTargetsResultEntryList')
|
62
|
+
ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
|
63
|
+
RoleArn = Shapes::StringShape.new(name: 'RoleArn')
|
64
|
+
Rule = Shapes::StructureShape.new(name: 'Rule')
|
65
|
+
RuleArn = Shapes::StringShape.new(name: 'RuleArn')
|
66
|
+
RuleDescription = Shapes::StringShape.new(name: 'RuleDescription')
|
67
|
+
RuleName = Shapes::StringShape.new(name: 'RuleName')
|
68
|
+
RuleNameList = Shapes::ListShape.new(name: 'RuleNameList')
|
69
|
+
RuleResponseList = Shapes::ListShape.new(name: 'RuleResponseList')
|
70
|
+
RuleState = Shapes::StringShape.new(name: 'RuleState')
|
71
|
+
RunCommandParameters = Shapes::StructureShape.new(name: 'RunCommandParameters')
|
72
|
+
RunCommandTarget = Shapes::StructureShape.new(name: 'RunCommandTarget')
|
73
|
+
RunCommandTargetKey = Shapes::StringShape.new(name: 'RunCommandTargetKey')
|
74
|
+
RunCommandTargetValue = Shapes::StringShape.new(name: 'RunCommandTargetValue')
|
75
|
+
RunCommandTargetValues = Shapes::ListShape.new(name: 'RunCommandTargetValues')
|
76
|
+
RunCommandTargets = Shapes::ListShape.new(name: 'RunCommandTargets')
|
77
|
+
ScheduleExpression = Shapes::StringShape.new(name: 'ScheduleExpression')
|
78
|
+
String = Shapes::StringShape.new(name: 'String')
|
79
|
+
Target = Shapes::StructureShape.new(name: 'Target')
|
80
|
+
TargetArn = Shapes::StringShape.new(name: 'TargetArn')
|
81
|
+
TargetId = Shapes::StringShape.new(name: 'TargetId')
|
82
|
+
TargetIdList = Shapes::ListShape.new(name: 'TargetIdList')
|
83
|
+
TargetInput = Shapes::StringShape.new(name: 'TargetInput')
|
84
|
+
TargetInputPath = Shapes::StringShape.new(name: 'TargetInputPath')
|
85
|
+
TargetList = Shapes::ListShape.new(name: 'TargetList')
|
86
|
+
TargetPartitionKeyPath = Shapes::StringShape.new(name: 'TargetPartitionKeyPath')
|
87
|
+
TestEventPatternRequest = Shapes::StructureShape.new(name: 'TestEventPatternRequest')
|
88
|
+
TestEventPatternResponse = Shapes::StructureShape.new(name: 'TestEventPatternResponse')
|
89
|
+
TransformerInput = Shapes::StringShape.new(name: 'TransformerInput')
|
90
|
+
TransformerPaths = Shapes::MapShape.new(name: 'TransformerPaths')
|
91
|
+
|
92
|
+
DeleteRuleRequest.add_member(:name, Shapes::ShapeRef.new(shape: RuleName, required: true, location_name: "Name"))
|
93
|
+
DeleteRuleRequest.struct_class = Types::DeleteRuleRequest
|
94
|
+
|
95
|
+
DescribeRuleRequest.add_member(:name, Shapes::ShapeRef.new(shape: RuleName, required: true, location_name: "Name"))
|
96
|
+
DescribeRuleRequest.struct_class = Types::DescribeRuleRequest
|
97
|
+
|
98
|
+
DescribeRuleResponse.add_member(:name, Shapes::ShapeRef.new(shape: RuleName, location_name: "Name"))
|
99
|
+
DescribeRuleResponse.add_member(:arn, Shapes::ShapeRef.new(shape: RuleArn, location_name: "Arn"))
|
100
|
+
DescribeRuleResponse.add_member(:event_pattern, Shapes::ShapeRef.new(shape: EventPattern, location_name: "EventPattern"))
|
101
|
+
DescribeRuleResponse.add_member(:schedule_expression, Shapes::ShapeRef.new(shape: ScheduleExpression, location_name: "ScheduleExpression"))
|
102
|
+
DescribeRuleResponse.add_member(:state, Shapes::ShapeRef.new(shape: RuleState, location_name: "State"))
|
103
|
+
DescribeRuleResponse.add_member(:description, Shapes::ShapeRef.new(shape: RuleDescription, location_name: "Description"))
|
104
|
+
DescribeRuleResponse.add_member(:role_arn, Shapes::ShapeRef.new(shape: RoleArn, location_name: "RoleArn"))
|
105
|
+
DescribeRuleResponse.struct_class = Types::DescribeRuleResponse
|
106
|
+
|
107
|
+
DisableRuleRequest.add_member(:name, Shapes::ShapeRef.new(shape: RuleName, required: true, location_name: "Name"))
|
108
|
+
DisableRuleRequest.struct_class = Types::DisableRuleRequest
|
109
|
+
|
110
|
+
EcsParameters.add_member(:task_definition_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "TaskDefinitionArn"))
|
111
|
+
EcsParameters.add_member(:task_count, Shapes::ShapeRef.new(shape: LimitMin1, location_name: "TaskCount"))
|
112
|
+
EcsParameters.struct_class = Types::EcsParameters
|
113
|
+
|
114
|
+
EnableRuleRequest.add_member(:name, Shapes::ShapeRef.new(shape: RuleName, required: true, location_name: "Name"))
|
115
|
+
EnableRuleRequest.struct_class = Types::EnableRuleRequest
|
116
|
+
|
117
|
+
EventResourceList.member = Shapes::ShapeRef.new(shape: EventResource)
|
118
|
+
|
119
|
+
InputTransformer.add_member(:input_paths_map, Shapes::ShapeRef.new(shape: TransformerPaths, location_name: "InputPathsMap"))
|
120
|
+
InputTransformer.add_member(:input_template, Shapes::ShapeRef.new(shape: TransformerInput, required: true, location_name: "InputTemplate"))
|
121
|
+
InputTransformer.struct_class = Types::InputTransformer
|
122
|
+
|
123
|
+
KinesisParameters.add_member(:partition_key_path, Shapes::ShapeRef.new(shape: TargetPartitionKeyPath, required: true, location_name: "PartitionKeyPath"))
|
124
|
+
KinesisParameters.struct_class = Types::KinesisParameters
|
125
|
+
|
126
|
+
ListRuleNamesByTargetRequest.add_member(:target_arn, Shapes::ShapeRef.new(shape: TargetArn, required: true, location_name: "TargetArn"))
|
127
|
+
ListRuleNamesByTargetRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
128
|
+
ListRuleNamesByTargetRequest.add_member(:limit, Shapes::ShapeRef.new(shape: LimitMax100, location_name: "Limit"))
|
129
|
+
ListRuleNamesByTargetRequest.struct_class = Types::ListRuleNamesByTargetRequest
|
130
|
+
|
131
|
+
ListRuleNamesByTargetResponse.add_member(:rule_names, Shapes::ShapeRef.new(shape: RuleNameList, location_name: "RuleNames"))
|
132
|
+
ListRuleNamesByTargetResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
133
|
+
ListRuleNamesByTargetResponse.struct_class = Types::ListRuleNamesByTargetResponse
|
134
|
+
|
135
|
+
ListRulesRequest.add_member(:name_prefix, Shapes::ShapeRef.new(shape: RuleName, location_name: "NamePrefix"))
|
136
|
+
ListRulesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
137
|
+
ListRulesRequest.add_member(:limit, Shapes::ShapeRef.new(shape: LimitMax100, location_name: "Limit"))
|
138
|
+
ListRulesRequest.struct_class = Types::ListRulesRequest
|
139
|
+
|
140
|
+
ListRulesResponse.add_member(:rules, Shapes::ShapeRef.new(shape: RuleResponseList, location_name: "Rules"))
|
141
|
+
ListRulesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
142
|
+
ListRulesResponse.struct_class = Types::ListRulesResponse
|
143
|
+
|
144
|
+
ListTargetsByRuleRequest.add_member(:rule, Shapes::ShapeRef.new(shape: RuleName, required: true, location_name: "Rule"))
|
145
|
+
ListTargetsByRuleRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
146
|
+
ListTargetsByRuleRequest.add_member(:limit, Shapes::ShapeRef.new(shape: LimitMax100, location_name: "Limit"))
|
147
|
+
ListTargetsByRuleRequest.struct_class = Types::ListTargetsByRuleRequest
|
148
|
+
|
149
|
+
ListTargetsByRuleResponse.add_member(:targets, Shapes::ShapeRef.new(shape: TargetList, location_name: "Targets"))
|
150
|
+
ListTargetsByRuleResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
151
|
+
ListTargetsByRuleResponse.struct_class = Types::ListTargetsByRuleResponse
|
152
|
+
|
153
|
+
PutEventsRequest.add_member(:entries, Shapes::ShapeRef.new(shape: PutEventsRequestEntryList, required: true, location_name: "Entries"))
|
154
|
+
PutEventsRequest.struct_class = Types::PutEventsRequest
|
155
|
+
|
156
|
+
PutEventsRequestEntry.add_member(:time, Shapes::ShapeRef.new(shape: EventTime, location_name: "Time"))
|
157
|
+
PutEventsRequestEntry.add_member(:source, Shapes::ShapeRef.new(shape: String, location_name: "Source"))
|
158
|
+
PutEventsRequestEntry.add_member(:resources, Shapes::ShapeRef.new(shape: EventResourceList, location_name: "Resources"))
|
159
|
+
PutEventsRequestEntry.add_member(:detail_type, Shapes::ShapeRef.new(shape: String, location_name: "DetailType"))
|
160
|
+
PutEventsRequestEntry.add_member(:detail, Shapes::ShapeRef.new(shape: String, location_name: "Detail"))
|
161
|
+
PutEventsRequestEntry.struct_class = Types::PutEventsRequestEntry
|
162
|
+
|
163
|
+
PutEventsRequestEntryList.member = Shapes::ShapeRef.new(shape: PutEventsRequestEntry)
|
164
|
+
|
165
|
+
PutEventsResponse.add_member(:failed_entry_count, Shapes::ShapeRef.new(shape: Integer, location_name: "FailedEntryCount"))
|
166
|
+
PutEventsResponse.add_member(:entries, Shapes::ShapeRef.new(shape: PutEventsResultEntryList, location_name: "Entries"))
|
167
|
+
PutEventsResponse.struct_class = Types::PutEventsResponse
|
168
|
+
|
169
|
+
PutEventsResultEntry.add_member(:event_id, Shapes::ShapeRef.new(shape: EventId, location_name: "EventId"))
|
170
|
+
PutEventsResultEntry.add_member(:error_code, Shapes::ShapeRef.new(shape: ErrorCode, location_name: "ErrorCode"))
|
171
|
+
PutEventsResultEntry.add_member(:error_message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "ErrorMessage"))
|
172
|
+
PutEventsResultEntry.struct_class = Types::PutEventsResultEntry
|
173
|
+
|
174
|
+
PutEventsResultEntryList.member = Shapes::ShapeRef.new(shape: PutEventsResultEntry)
|
175
|
+
|
176
|
+
PutRuleRequest.add_member(:name, Shapes::ShapeRef.new(shape: RuleName, required: true, location_name: "Name"))
|
177
|
+
PutRuleRequest.add_member(:schedule_expression, Shapes::ShapeRef.new(shape: ScheduleExpression, location_name: "ScheduleExpression"))
|
178
|
+
PutRuleRequest.add_member(:event_pattern, Shapes::ShapeRef.new(shape: EventPattern, location_name: "EventPattern"))
|
179
|
+
PutRuleRequest.add_member(:state, Shapes::ShapeRef.new(shape: RuleState, location_name: "State"))
|
180
|
+
PutRuleRequest.add_member(:description, Shapes::ShapeRef.new(shape: RuleDescription, location_name: "Description"))
|
181
|
+
PutRuleRequest.add_member(:role_arn, Shapes::ShapeRef.new(shape: RoleArn, location_name: "RoleArn"))
|
182
|
+
PutRuleRequest.struct_class = Types::PutRuleRequest
|
183
|
+
|
184
|
+
PutRuleResponse.add_member(:rule_arn, Shapes::ShapeRef.new(shape: RuleArn, location_name: "RuleArn"))
|
185
|
+
PutRuleResponse.struct_class = Types::PutRuleResponse
|
186
|
+
|
187
|
+
PutTargetsRequest.add_member(:rule, Shapes::ShapeRef.new(shape: RuleName, required: true, location_name: "Rule"))
|
188
|
+
PutTargetsRequest.add_member(:targets, Shapes::ShapeRef.new(shape: TargetList, required: true, location_name: "Targets"))
|
189
|
+
PutTargetsRequest.struct_class = Types::PutTargetsRequest
|
190
|
+
|
191
|
+
PutTargetsResponse.add_member(:failed_entry_count, Shapes::ShapeRef.new(shape: Integer, location_name: "FailedEntryCount"))
|
192
|
+
PutTargetsResponse.add_member(:failed_entries, Shapes::ShapeRef.new(shape: PutTargetsResultEntryList, location_name: "FailedEntries"))
|
193
|
+
PutTargetsResponse.struct_class = Types::PutTargetsResponse
|
194
|
+
|
195
|
+
PutTargetsResultEntry.add_member(:target_id, Shapes::ShapeRef.new(shape: TargetId, location_name: "TargetId"))
|
196
|
+
PutTargetsResultEntry.add_member(:error_code, Shapes::ShapeRef.new(shape: ErrorCode, location_name: "ErrorCode"))
|
197
|
+
PutTargetsResultEntry.add_member(:error_message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "ErrorMessage"))
|
198
|
+
PutTargetsResultEntry.struct_class = Types::PutTargetsResultEntry
|
199
|
+
|
200
|
+
PutTargetsResultEntryList.member = Shapes::ShapeRef.new(shape: PutTargetsResultEntry)
|
201
|
+
|
202
|
+
RemoveTargetsRequest.add_member(:rule, Shapes::ShapeRef.new(shape: RuleName, required: true, location_name: "Rule"))
|
203
|
+
RemoveTargetsRequest.add_member(:ids, Shapes::ShapeRef.new(shape: TargetIdList, required: true, location_name: "Ids"))
|
204
|
+
RemoveTargetsRequest.struct_class = Types::RemoveTargetsRequest
|
205
|
+
|
206
|
+
RemoveTargetsResponse.add_member(:failed_entry_count, Shapes::ShapeRef.new(shape: Integer, location_name: "FailedEntryCount"))
|
207
|
+
RemoveTargetsResponse.add_member(:failed_entries, Shapes::ShapeRef.new(shape: RemoveTargetsResultEntryList, location_name: "FailedEntries"))
|
208
|
+
RemoveTargetsResponse.struct_class = Types::RemoveTargetsResponse
|
209
|
+
|
210
|
+
RemoveTargetsResultEntry.add_member(:target_id, Shapes::ShapeRef.new(shape: TargetId, location_name: "TargetId"))
|
211
|
+
RemoveTargetsResultEntry.add_member(:error_code, Shapes::ShapeRef.new(shape: ErrorCode, location_name: "ErrorCode"))
|
212
|
+
RemoveTargetsResultEntry.add_member(:error_message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "ErrorMessage"))
|
213
|
+
RemoveTargetsResultEntry.struct_class = Types::RemoveTargetsResultEntry
|
214
|
+
|
215
|
+
RemoveTargetsResultEntryList.member = Shapes::ShapeRef.new(shape: RemoveTargetsResultEntry)
|
216
|
+
|
217
|
+
Rule.add_member(:name, Shapes::ShapeRef.new(shape: RuleName, location_name: "Name"))
|
218
|
+
Rule.add_member(:arn, Shapes::ShapeRef.new(shape: RuleArn, location_name: "Arn"))
|
219
|
+
Rule.add_member(:event_pattern, Shapes::ShapeRef.new(shape: EventPattern, location_name: "EventPattern"))
|
220
|
+
Rule.add_member(:state, Shapes::ShapeRef.new(shape: RuleState, location_name: "State"))
|
221
|
+
Rule.add_member(:description, Shapes::ShapeRef.new(shape: RuleDescription, location_name: "Description"))
|
222
|
+
Rule.add_member(:schedule_expression, Shapes::ShapeRef.new(shape: ScheduleExpression, location_name: "ScheduleExpression"))
|
223
|
+
Rule.add_member(:role_arn, Shapes::ShapeRef.new(shape: RoleArn, location_name: "RoleArn"))
|
224
|
+
Rule.struct_class = Types::Rule
|
225
|
+
|
226
|
+
RuleNameList.member = Shapes::ShapeRef.new(shape: RuleName)
|
227
|
+
|
228
|
+
RuleResponseList.member = Shapes::ShapeRef.new(shape: Rule)
|
429
229
|
|
230
|
+
RunCommandParameters.add_member(:run_command_targets, Shapes::ShapeRef.new(shape: RunCommandTargets, required: true, location_name: "RunCommandTargets"))
|
231
|
+
RunCommandParameters.struct_class = Types::RunCommandParameters
|
232
|
+
|
233
|
+
RunCommandTarget.add_member(:key, Shapes::ShapeRef.new(shape: RunCommandTargetKey, required: true, location_name: "Key"))
|
234
|
+
RunCommandTarget.add_member(:values, Shapes::ShapeRef.new(shape: RunCommandTargetValues, required: true, location_name: "Values"))
|
235
|
+
RunCommandTarget.struct_class = Types::RunCommandTarget
|
236
|
+
|
237
|
+
RunCommandTargetValues.member = Shapes::ShapeRef.new(shape: RunCommandTargetValue)
|
238
|
+
|
239
|
+
RunCommandTargets.member = Shapes::ShapeRef.new(shape: RunCommandTarget)
|
240
|
+
|
241
|
+
Target.add_member(:id, Shapes::ShapeRef.new(shape: TargetId, required: true, location_name: "Id"))
|
242
|
+
Target.add_member(:arn, Shapes::ShapeRef.new(shape: TargetArn, required: true, location_name: "Arn"))
|
243
|
+
Target.add_member(:role_arn, Shapes::ShapeRef.new(shape: RoleArn, location_name: "RoleArn"))
|
244
|
+
Target.add_member(:input, Shapes::ShapeRef.new(shape: TargetInput, location_name: "Input"))
|
245
|
+
Target.add_member(:input_path, Shapes::ShapeRef.new(shape: TargetInputPath, location_name: "InputPath"))
|
246
|
+
Target.add_member(:input_transformer, Shapes::ShapeRef.new(shape: InputTransformer, location_name: "InputTransformer"))
|
247
|
+
Target.add_member(:kinesis_parameters, Shapes::ShapeRef.new(shape: KinesisParameters, location_name: "KinesisParameters"))
|
248
|
+
Target.add_member(:run_command_parameters, Shapes::ShapeRef.new(shape: RunCommandParameters, location_name: "RunCommandParameters"))
|
249
|
+
Target.add_member(:ecs_parameters, Shapes::ShapeRef.new(shape: EcsParameters, location_name: "EcsParameters"))
|
250
|
+
Target.struct_class = Types::Target
|
251
|
+
|
252
|
+
TargetIdList.member = Shapes::ShapeRef.new(shape: TargetId)
|
253
|
+
|
254
|
+
TargetList.member = Shapes::ShapeRef.new(shape: Target)
|
255
|
+
|
256
|
+
TestEventPatternRequest.add_member(:event_pattern, Shapes::ShapeRef.new(shape: EventPattern, required: true, location_name: "EventPattern"))
|
257
|
+
TestEventPatternRequest.add_member(:event, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Event"))
|
258
|
+
TestEventPatternRequest.struct_class = Types::TestEventPatternRequest
|
259
|
+
|
260
|
+
TestEventPatternResponse.add_member(:result, Shapes::ShapeRef.new(shape: Boolean, location_name: "Result"))
|
261
|
+
TestEventPatternResponse.struct_class = Types::TestEventPatternResponse
|
262
|
+
|
263
|
+
TransformerPaths.key = Shapes::ShapeRef.new(shape: InputTransformerPathKey)
|
264
|
+
TransformerPaths.value = Shapes::ShapeRef.new(shape: TargetInputPath)
|
265
|
+
|
266
|
+
|
267
|
+
# @api private
|
268
|
+
API = Seahorse::Model::Api.new.tap do |api|
|
269
|
+
|
270
|
+
api.version = "2015-10-07"
|
271
|
+
|
272
|
+
api.metadata = {
|
273
|
+
"endpointPrefix" => "events",
|
274
|
+
"jsonVersion" => "1.1",
|
275
|
+
"protocol" => "json",
|
276
|
+
"serviceFullName" => "Amazon CloudWatch Events",
|
277
|
+
"signatureVersion" => "v4",
|
278
|
+
"targetPrefix" => "AWSEvents",
|
279
|
+
}
|
280
|
+
|
281
|
+
api.add_operation(:delete_rule, Seahorse::Model::Operation.new.tap do |o|
|
282
|
+
o.name = "DeleteRule"
|
283
|
+
o.http_method = "POST"
|
284
|
+
o.http_request_uri = "/"
|
285
|
+
o.input = Shapes::ShapeRef.new(shape: DeleteRuleRequest)
|
286
|
+
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
287
|
+
o.errors << Shapes::ShapeRef.new(shape: ConcurrentModificationException)
|
288
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalException)
|
289
|
+
end)
|
290
|
+
|
291
|
+
api.add_operation(:describe_rule, Seahorse::Model::Operation.new.tap do |o|
|
292
|
+
o.name = "DescribeRule"
|
293
|
+
o.http_method = "POST"
|
294
|
+
o.http_request_uri = "/"
|
295
|
+
o.input = Shapes::ShapeRef.new(shape: DescribeRuleRequest)
|
296
|
+
o.output = Shapes::ShapeRef.new(shape: DescribeRuleResponse)
|
297
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
298
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalException)
|
299
|
+
end)
|
300
|
+
|
301
|
+
api.add_operation(:disable_rule, Seahorse::Model::Operation.new.tap do |o|
|
302
|
+
o.name = "DisableRule"
|
303
|
+
o.http_method = "POST"
|
304
|
+
o.http_request_uri = "/"
|
305
|
+
o.input = Shapes::ShapeRef.new(shape: DisableRuleRequest)
|
306
|
+
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
307
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
308
|
+
o.errors << Shapes::ShapeRef.new(shape: ConcurrentModificationException)
|
309
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalException)
|
310
|
+
end)
|
311
|
+
|
312
|
+
api.add_operation(:enable_rule, Seahorse::Model::Operation.new.tap do |o|
|
313
|
+
o.name = "EnableRule"
|
314
|
+
o.http_method = "POST"
|
315
|
+
o.http_request_uri = "/"
|
316
|
+
o.input = Shapes::ShapeRef.new(shape: EnableRuleRequest)
|
317
|
+
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
318
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
319
|
+
o.errors << Shapes::ShapeRef.new(shape: ConcurrentModificationException)
|
320
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalException)
|
321
|
+
end)
|
322
|
+
|
323
|
+
api.add_operation(:list_rule_names_by_target, Seahorse::Model::Operation.new.tap do |o|
|
324
|
+
o.name = "ListRuleNamesByTarget"
|
325
|
+
o.http_method = "POST"
|
326
|
+
o.http_request_uri = "/"
|
327
|
+
o.input = Shapes::ShapeRef.new(shape: ListRuleNamesByTargetRequest)
|
328
|
+
o.output = Shapes::ShapeRef.new(shape: ListRuleNamesByTargetResponse)
|
329
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalException)
|
330
|
+
end)
|
331
|
+
|
332
|
+
api.add_operation(:list_rules, Seahorse::Model::Operation.new.tap do |o|
|
333
|
+
o.name = "ListRules"
|
334
|
+
o.http_method = "POST"
|
335
|
+
o.http_request_uri = "/"
|
336
|
+
o.input = Shapes::ShapeRef.new(shape: ListRulesRequest)
|
337
|
+
o.output = Shapes::ShapeRef.new(shape: ListRulesResponse)
|
338
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalException)
|
339
|
+
end)
|
340
|
+
|
341
|
+
api.add_operation(:list_targets_by_rule, Seahorse::Model::Operation.new.tap do |o|
|
342
|
+
o.name = "ListTargetsByRule"
|
343
|
+
o.http_method = "POST"
|
344
|
+
o.http_request_uri = "/"
|
345
|
+
o.input = Shapes::ShapeRef.new(shape: ListTargetsByRuleRequest)
|
346
|
+
o.output = Shapes::ShapeRef.new(shape: ListTargetsByRuleResponse)
|
347
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
348
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalException)
|
349
|
+
end)
|
350
|
+
|
351
|
+
api.add_operation(:put_events, Seahorse::Model::Operation.new.tap do |o|
|
352
|
+
o.name = "PutEvents"
|
353
|
+
o.http_method = "POST"
|
354
|
+
o.http_request_uri = "/"
|
355
|
+
o.input = Shapes::ShapeRef.new(shape: PutEventsRequest)
|
356
|
+
o.output = Shapes::ShapeRef.new(shape: PutEventsResponse)
|
357
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalException)
|
358
|
+
end)
|
359
|
+
|
360
|
+
api.add_operation(:put_rule, Seahorse::Model::Operation.new.tap do |o|
|
361
|
+
o.name = "PutRule"
|
362
|
+
o.http_method = "POST"
|
363
|
+
o.http_request_uri = "/"
|
364
|
+
o.input = Shapes::ShapeRef.new(shape: PutRuleRequest)
|
365
|
+
o.output = Shapes::ShapeRef.new(shape: PutRuleResponse)
|
366
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidEventPatternException)
|
367
|
+
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
368
|
+
o.errors << Shapes::ShapeRef.new(shape: ConcurrentModificationException)
|
369
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalException)
|
370
|
+
end)
|
371
|
+
|
372
|
+
api.add_operation(:put_targets, Seahorse::Model::Operation.new.tap do |o|
|
373
|
+
o.name = "PutTargets"
|
374
|
+
o.http_method = "POST"
|
375
|
+
o.http_request_uri = "/"
|
376
|
+
o.input = Shapes::ShapeRef.new(shape: PutTargetsRequest)
|
377
|
+
o.output = Shapes::ShapeRef.new(shape: PutTargetsResponse)
|
378
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
379
|
+
o.errors << Shapes::ShapeRef.new(shape: ConcurrentModificationException)
|
380
|
+
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
381
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalException)
|
382
|
+
end)
|
383
|
+
|
384
|
+
api.add_operation(:remove_targets, Seahorse::Model::Operation.new.tap do |o|
|
385
|
+
o.name = "RemoveTargets"
|
386
|
+
o.http_method = "POST"
|
387
|
+
o.http_request_uri = "/"
|
388
|
+
o.input = Shapes::ShapeRef.new(shape: RemoveTargetsRequest)
|
389
|
+
o.output = Shapes::ShapeRef.new(shape: RemoveTargetsResponse)
|
390
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
391
|
+
o.errors << Shapes::ShapeRef.new(shape: ConcurrentModificationException)
|
392
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalException)
|
393
|
+
end)
|
394
|
+
|
395
|
+
api.add_operation(:test_event_pattern, Seahorse::Model::Operation.new.tap do |o|
|
396
|
+
o.name = "TestEventPattern"
|
397
|
+
o.http_method = "POST"
|
398
|
+
o.http_request_uri = "/"
|
399
|
+
o.input = Shapes::ShapeRef.new(shape: TestEventPatternRequest)
|
400
|
+
o.output = Shapes::ShapeRef.new(shape: TestEventPatternResponse)
|
401
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidEventPatternException)
|
402
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalException)
|
403
|
+
end)
|
430
404
|
end
|
405
|
+
|
431
406
|
end
|
432
407
|
end
|