aws-sdk-cloudwatchevents 1.22.0 → 1.23.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -11,7 +11,9 @@ module Aws::CloudWatchEvents
11
11
 
12
12
  include Seahorse::Model
13
13
 
14
+ AccountId = Shapes::StringShape.new(name: 'AccountId')
14
15
  Action = Shapes::StringShape.new(name: 'Action')
16
+ ActivateEventSourceRequest = Shapes::StructureShape.new(name: 'ActivateEventSourceRequest')
15
17
  Arn = Shapes::StringShape.new(name: 'Arn')
16
18
  AssignPublicIp = Shapes::StringShape.new(name: 'AssignPublicIp')
17
19
  AwsVpcConfiguration = Shapes::StructureShape.new(name: 'AwsVpcConfiguration')
@@ -21,9 +23,20 @@ module Aws::CloudWatchEvents
21
23
  Boolean = Shapes::BooleanShape.new(name: 'Boolean')
22
24
  ConcurrentModificationException = Shapes::StructureShape.new(name: 'ConcurrentModificationException')
23
25
  Condition = Shapes::StructureShape.new(name: 'Condition')
26
+ CreateEventBusRequest = Shapes::StructureShape.new(name: 'CreateEventBusRequest')
27
+ CreateEventBusResponse = Shapes::StructureShape.new(name: 'CreateEventBusResponse')
28
+ CreatePartnerEventSourceRequest = Shapes::StructureShape.new(name: 'CreatePartnerEventSourceRequest')
29
+ CreatePartnerEventSourceResponse = Shapes::StructureShape.new(name: 'CreatePartnerEventSourceResponse')
30
+ DeactivateEventSourceRequest = Shapes::StructureShape.new(name: 'DeactivateEventSourceRequest')
31
+ DeleteEventBusRequest = Shapes::StructureShape.new(name: 'DeleteEventBusRequest')
32
+ DeletePartnerEventSourceRequest = Shapes::StructureShape.new(name: 'DeletePartnerEventSourceRequest')
24
33
  DeleteRuleRequest = Shapes::StructureShape.new(name: 'DeleteRuleRequest')
25
34
  DescribeEventBusRequest = Shapes::StructureShape.new(name: 'DescribeEventBusRequest')
26
35
  DescribeEventBusResponse = Shapes::StructureShape.new(name: 'DescribeEventBusResponse')
36
+ DescribeEventSourceRequest = Shapes::StructureShape.new(name: 'DescribeEventSourceRequest')
37
+ DescribeEventSourceResponse = Shapes::StructureShape.new(name: 'DescribeEventSourceResponse')
38
+ DescribePartnerEventSourceRequest = Shapes::StructureShape.new(name: 'DescribePartnerEventSourceRequest')
39
+ DescribePartnerEventSourceResponse = Shapes::StructureShape.new(name: 'DescribePartnerEventSourceResponse')
27
40
  DescribeRuleRequest = Shapes::StructureShape.new(name: 'DescribeRuleRequest')
28
41
  DescribeRuleResponse = Shapes::StructureShape.new(name: 'DescribeRuleResponse')
29
42
  DisableRuleRequest = Shapes::StructureShape.new(name: 'DisableRuleRequest')
@@ -31,21 +44,38 @@ module Aws::CloudWatchEvents
31
44
  EnableRuleRequest = Shapes::StructureShape.new(name: 'EnableRuleRequest')
32
45
  ErrorCode = Shapes::StringShape.new(name: 'ErrorCode')
33
46
  ErrorMessage = Shapes::StringShape.new(name: 'ErrorMessage')
47
+ EventBus = Shapes::StructureShape.new(name: 'EventBus')
48
+ EventBusList = Shapes::ListShape.new(name: 'EventBusList')
49
+ EventBusName = Shapes::StringShape.new(name: 'EventBusName')
34
50
  EventId = Shapes::StringShape.new(name: 'EventId')
35
51
  EventPattern = Shapes::StringShape.new(name: 'EventPattern')
36
52
  EventResource = Shapes::StringShape.new(name: 'EventResource')
37
53
  EventResourceList = Shapes::ListShape.new(name: 'EventResourceList')
54
+ EventSource = Shapes::StructureShape.new(name: 'EventSource')
55
+ EventSourceList = Shapes::ListShape.new(name: 'EventSourceList')
56
+ EventSourceName = Shapes::StringShape.new(name: 'EventSourceName')
57
+ EventSourceNamePrefix = Shapes::StringShape.new(name: 'EventSourceNamePrefix')
58
+ EventSourceState = Shapes::StringShape.new(name: 'EventSourceState')
38
59
  EventTime = Shapes::TimestampShape.new(name: 'EventTime')
39
60
  InputTransformer = Shapes::StructureShape.new(name: 'InputTransformer')
40
61
  InputTransformerPathKey = Shapes::StringShape.new(name: 'InputTransformerPathKey')
41
62
  Integer = Shapes::IntegerShape.new(name: 'Integer')
42
63
  InternalException = Shapes::StructureShape.new(name: 'InternalException')
43
64
  InvalidEventPatternException = Shapes::StructureShape.new(name: 'InvalidEventPatternException')
65
+ InvalidStateException = Shapes::StructureShape.new(name: 'InvalidStateException')
44
66
  KinesisParameters = Shapes::StructureShape.new(name: 'KinesisParameters')
45
67
  LaunchType = Shapes::StringShape.new(name: 'LaunchType')
46
68
  LimitExceededException = Shapes::StructureShape.new(name: 'LimitExceededException')
47
69
  LimitMax100 = Shapes::IntegerShape.new(name: 'LimitMax100')
48
70
  LimitMin1 = Shapes::IntegerShape.new(name: 'LimitMin1')
71
+ ListEventBusesRequest = Shapes::StructureShape.new(name: 'ListEventBusesRequest')
72
+ ListEventBusesResponse = Shapes::StructureShape.new(name: 'ListEventBusesResponse')
73
+ ListEventSourcesRequest = Shapes::StructureShape.new(name: 'ListEventSourcesRequest')
74
+ ListEventSourcesResponse = Shapes::StructureShape.new(name: 'ListEventSourcesResponse')
75
+ ListPartnerEventSourceAccountsRequest = Shapes::StructureShape.new(name: 'ListPartnerEventSourceAccountsRequest')
76
+ ListPartnerEventSourceAccountsResponse = Shapes::StructureShape.new(name: 'ListPartnerEventSourceAccountsResponse')
77
+ ListPartnerEventSourcesRequest = Shapes::StructureShape.new(name: 'ListPartnerEventSourcesRequest')
78
+ ListPartnerEventSourcesResponse = Shapes::StructureShape.new(name: 'ListPartnerEventSourcesResponse')
49
79
  ListRuleNamesByTargetRequest = Shapes::StructureShape.new(name: 'ListRuleNamesByTargetRequest')
50
80
  ListRuleNamesByTargetResponse = Shapes::StructureShape.new(name: 'ListRuleNamesByTargetResponse')
51
81
  ListRulesRequest = Shapes::StructureShape.new(name: 'ListRulesRequest')
@@ -59,6 +89,12 @@ module Aws::CloudWatchEvents
59
89
  MessageGroupId = Shapes::StringShape.new(name: 'MessageGroupId')
60
90
  NetworkConfiguration = Shapes::StructureShape.new(name: 'NetworkConfiguration')
61
91
  NextToken = Shapes::StringShape.new(name: 'NextToken')
92
+ NonPartnerEventBusName = Shapes::StringShape.new(name: 'NonPartnerEventBusName')
93
+ PartnerEventSource = Shapes::StructureShape.new(name: 'PartnerEventSource')
94
+ PartnerEventSourceAccount = Shapes::StructureShape.new(name: 'PartnerEventSourceAccount')
95
+ PartnerEventSourceAccountList = Shapes::ListShape.new(name: 'PartnerEventSourceAccountList')
96
+ PartnerEventSourceList = Shapes::ListShape.new(name: 'PartnerEventSourceList')
97
+ PartnerEventSourceNamePrefix = Shapes::StringShape.new(name: 'PartnerEventSourceNamePrefix')
62
98
  PolicyLengthExceededException = Shapes::StructureShape.new(name: 'PolicyLengthExceededException')
63
99
  Principal = Shapes::StringShape.new(name: 'Principal')
64
100
  PutEventsRequest = Shapes::StructureShape.new(name: 'PutEventsRequest')
@@ -67,6 +103,12 @@ module Aws::CloudWatchEvents
67
103
  PutEventsResponse = Shapes::StructureShape.new(name: 'PutEventsResponse')
68
104
  PutEventsResultEntry = Shapes::StructureShape.new(name: 'PutEventsResultEntry')
69
105
  PutEventsResultEntryList = Shapes::ListShape.new(name: 'PutEventsResultEntryList')
106
+ PutPartnerEventsRequest = Shapes::StructureShape.new(name: 'PutPartnerEventsRequest')
107
+ PutPartnerEventsRequestEntry = Shapes::StructureShape.new(name: 'PutPartnerEventsRequestEntry')
108
+ PutPartnerEventsRequestEntryList = Shapes::ListShape.new(name: 'PutPartnerEventsRequestEntryList')
109
+ PutPartnerEventsResponse = Shapes::StructureShape.new(name: 'PutPartnerEventsResponse')
110
+ PutPartnerEventsResultEntry = Shapes::StructureShape.new(name: 'PutPartnerEventsResultEntry')
111
+ PutPartnerEventsResultEntryList = Shapes::ListShape.new(name: 'PutPartnerEventsResultEntryList')
70
112
  PutPermissionRequest = Shapes::StructureShape.new(name: 'PutPermissionRequest')
71
113
  PutRuleRequest = Shapes::StructureShape.new(name: 'PutRuleRequest')
72
114
  PutRuleResponse = Shapes::StructureShape.new(name: 'PutRuleResponse')
@@ -79,6 +121,7 @@ module Aws::CloudWatchEvents
79
121
  RemoveTargetsResponse = Shapes::StructureShape.new(name: 'RemoveTargetsResponse')
80
122
  RemoveTargetsResultEntry = Shapes::StructureShape.new(name: 'RemoveTargetsResultEntry')
81
123
  RemoveTargetsResultEntryList = Shapes::ListShape.new(name: 'RemoveTargetsResultEntryList')
124
+ ResourceAlreadyExistsException = Shapes::StructureShape.new(name: 'ResourceAlreadyExistsException')
82
125
  ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
83
126
  RoleArn = Shapes::StringShape.new(name: 'RoleArn')
84
127
  Rule = Shapes::StructureShape.new(name: 'Rule')
@@ -116,11 +159,15 @@ module Aws::CloudWatchEvents
116
159
  TargetPartitionKeyPath = Shapes::StringShape.new(name: 'TargetPartitionKeyPath')
117
160
  TestEventPatternRequest = Shapes::StructureShape.new(name: 'TestEventPatternRequest')
118
161
  TestEventPatternResponse = Shapes::StructureShape.new(name: 'TestEventPatternResponse')
162
+ Timestamp = Shapes::TimestampShape.new(name: 'Timestamp')
119
163
  TransformerInput = Shapes::StringShape.new(name: 'TransformerInput')
120
164
  TransformerPaths = Shapes::MapShape.new(name: 'TransformerPaths')
121
165
  UntagResourceRequest = Shapes::StructureShape.new(name: 'UntagResourceRequest')
122
166
  UntagResourceResponse = Shapes::StructureShape.new(name: 'UntagResourceResponse')
123
167
 
168
+ ActivateEventSourceRequest.add_member(:name, Shapes::ShapeRef.new(shape: EventSourceName, required: true, location_name: "Name"))
169
+ ActivateEventSourceRequest.struct_class = Types::ActivateEventSourceRequest
170
+
124
171
  AwsVpcConfiguration.add_member(:subnets, Shapes::ShapeRef.new(shape: StringList, required: true, location_name: "Subnets"))
125
172
  AwsVpcConfiguration.add_member(:security_groups, Shapes::ShapeRef.new(shape: StringList, location_name: "SecurityGroups"))
126
173
  AwsVpcConfiguration.add_member(:assign_public_ip, Shapes::ShapeRef.new(shape: AssignPublicIp, location_name: "AssignPublicIp"))
@@ -143,10 +190,36 @@ module Aws::CloudWatchEvents
143
190
  Condition.add_member(:value, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Value"))
144
191
  Condition.struct_class = Types::Condition
145
192
 
193
+ CreateEventBusRequest.add_member(:name, Shapes::ShapeRef.new(shape: EventBusName, required: true, location_name: "Name"))
194
+ CreateEventBusRequest.add_member(:event_source_name, Shapes::ShapeRef.new(shape: EventSourceName, location_name: "EventSourceName"))
195
+ CreateEventBusRequest.struct_class = Types::CreateEventBusRequest
196
+
197
+ CreateEventBusResponse.add_member(:event_bus_arn, Shapes::ShapeRef.new(shape: String, location_name: "EventBusArn"))
198
+ CreateEventBusResponse.struct_class = Types::CreateEventBusResponse
199
+
200
+ CreatePartnerEventSourceRequest.add_member(:name, Shapes::ShapeRef.new(shape: EventSourceName, required: true, location_name: "Name"))
201
+ CreatePartnerEventSourceRequest.add_member(:account, Shapes::ShapeRef.new(shape: AccountId, required: true, location_name: "Account"))
202
+ CreatePartnerEventSourceRequest.struct_class = Types::CreatePartnerEventSourceRequest
203
+
204
+ CreatePartnerEventSourceResponse.add_member(:event_source_arn, Shapes::ShapeRef.new(shape: String, location_name: "EventSourceArn"))
205
+ CreatePartnerEventSourceResponse.struct_class = Types::CreatePartnerEventSourceResponse
206
+
207
+ DeactivateEventSourceRequest.add_member(:name, Shapes::ShapeRef.new(shape: EventSourceName, required: true, location_name: "Name"))
208
+ DeactivateEventSourceRequest.struct_class = Types::DeactivateEventSourceRequest
209
+
210
+ DeleteEventBusRequest.add_member(:name, Shapes::ShapeRef.new(shape: EventBusName, required: true, location_name: "Name"))
211
+ DeleteEventBusRequest.struct_class = Types::DeleteEventBusRequest
212
+
213
+ DeletePartnerEventSourceRequest.add_member(:name, Shapes::ShapeRef.new(shape: EventSourceName, required: true, location_name: "Name"))
214
+ DeletePartnerEventSourceRequest.add_member(:account, Shapes::ShapeRef.new(shape: AccountId, required: true, location_name: "Account"))
215
+ DeletePartnerEventSourceRequest.struct_class = Types::DeletePartnerEventSourceRequest
216
+
146
217
  DeleteRuleRequest.add_member(:name, Shapes::ShapeRef.new(shape: RuleName, required: true, location_name: "Name"))
218
+ DeleteRuleRequest.add_member(:event_bus_name, Shapes::ShapeRef.new(shape: EventBusName, location_name: "EventBusName"))
147
219
  DeleteRuleRequest.add_member(:force, Shapes::ShapeRef.new(shape: Boolean, location_name: "Force"))
148
220
  DeleteRuleRequest.struct_class = Types::DeleteRuleRequest
149
221
 
222
+ DescribeEventBusRequest.add_member(:name, Shapes::ShapeRef.new(shape: EventBusName, location_name: "Name"))
150
223
  DescribeEventBusRequest.struct_class = Types::DescribeEventBusRequest
151
224
 
152
225
  DescribeEventBusResponse.add_member(:name, Shapes::ShapeRef.new(shape: String, location_name: "Name"))
@@ -154,7 +227,26 @@ module Aws::CloudWatchEvents
154
227
  DescribeEventBusResponse.add_member(:policy, Shapes::ShapeRef.new(shape: String, location_name: "Policy"))
155
228
  DescribeEventBusResponse.struct_class = Types::DescribeEventBusResponse
156
229
 
230
+ DescribeEventSourceRequest.add_member(:name, Shapes::ShapeRef.new(shape: EventSourceName, required: true, location_name: "Name"))
231
+ DescribeEventSourceRequest.struct_class = Types::DescribeEventSourceRequest
232
+
233
+ DescribeEventSourceResponse.add_member(:arn, Shapes::ShapeRef.new(shape: String, location_name: "Arn"))
234
+ DescribeEventSourceResponse.add_member(:created_by, Shapes::ShapeRef.new(shape: String, location_name: "CreatedBy"))
235
+ DescribeEventSourceResponse.add_member(:creation_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "CreationTime"))
236
+ DescribeEventSourceResponse.add_member(:expiration_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "ExpirationTime"))
237
+ DescribeEventSourceResponse.add_member(:name, Shapes::ShapeRef.new(shape: String, location_name: "Name"))
238
+ DescribeEventSourceResponse.add_member(:state, Shapes::ShapeRef.new(shape: EventSourceState, location_name: "State"))
239
+ DescribeEventSourceResponse.struct_class = Types::DescribeEventSourceResponse
240
+
241
+ DescribePartnerEventSourceRequest.add_member(:name, Shapes::ShapeRef.new(shape: EventSourceName, required: true, location_name: "Name"))
242
+ DescribePartnerEventSourceRequest.struct_class = Types::DescribePartnerEventSourceRequest
243
+
244
+ DescribePartnerEventSourceResponse.add_member(:arn, Shapes::ShapeRef.new(shape: String, location_name: "Arn"))
245
+ DescribePartnerEventSourceResponse.add_member(:name, Shapes::ShapeRef.new(shape: String, location_name: "Name"))
246
+ DescribePartnerEventSourceResponse.struct_class = Types::DescribePartnerEventSourceResponse
247
+
157
248
  DescribeRuleRequest.add_member(:name, Shapes::ShapeRef.new(shape: RuleName, required: true, location_name: "Name"))
249
+ DescribeRuleRequest.add_member(:event_bus_name, Shapes::ShapeRef.new(shape: EventBusName, location_name: "EventBusName"))
158
250
  DescribeRuleRequest.struct_class = Types::DescribeRuleRequest
159
251
 
160
252
  DescribeRuleResponse.add_member(:name, Shapes::ShapeRef.new(shape: RuleName, location_name: "Name"))
@@ -165,9 +257,11 @@ module Aws::CloudWatchEvents
165
257
  DescribeRuleResponse.add_member(:description, Shapes::ShapeRef.new(shape: RuleDescription, location_name: "Description"))
166
258
  DescribeRuleResponse.add_member(:role_arn, Shapes::ShapeRef.new(shape: RoleArn, location_name: "RoleArn"))
167
259
  DescribeRuleResponse.add_member(:managed_by, Shapes::ShapeRef.new(shape: ManagedBy, location_name: "ManagedBy"))
260
+ DescribeRuleResponse.add_member(:event_bus_name, Shapes::ShapeRef.new(shape: EventBusName, location_name: "EventBusName"))
168
261
  DescribeRuleResponse.struct_class = Types::DescribeRuleResponse
169
262
 
170
263
  DisableRuleRequest.add_member(:name, Shapes::ShapeRef.new(shape: RuleName, required: true, location_name: "Name"))
264
+ DisableRuleRequest.add_member(:event_bus_name, Shapes::ShapeRef.new(shape: EventBusName, location_name: "EventBusName"))
171
265
  DisableRuleRequest.struct_class = Types::DisableRuleRequest
172
266
 
173
267
  EcsParameters.add_member(:task_definition_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "TaskDefinitionArn"))
@@ -179,10 +273,28 @@ module Aws::CloudWatchEvents
179
273
  EcsParameters.struct_class = Types::EcsParameters
180
274
 
181
275
  EnableRuleRequest.add_member(:name, Shapes::ShapeRef.new(shape: RuleName, required: true, location_name: "Name"))
276
+ EnableRuleRequest.add_member(:event_bus_name, Shapes::ShapeRef.new(shape: EventBusName, location_name: "EventBusName"))
182
277
  EnableRuleRequest.struct_class = Types::EnableRuleRequest
183
278
 
279
+ EventBus.add_member(:name, Shapes::ShapeRef.new(shape: String, location_name: "Name"))
280
+ EventBus.add_member(:arn, Shapes::ShapeRef.new(shape: String, location_name: "Arn"))
281
+ EventBus.add_member(:policy, Shapes::ShapeRef.new(shape: String, location_name: "Policy"))
282
+ EventBus.struct_class = Types::EventBus
283
+
284
+ EventBusList.member = Shapes::ShapeRef.new(shape: EventBus)
285
+
184
286
  EventResourceList.member = Shapes::ShapeRef.new(shape: EventResource)
185
287
 
288
+ EventSource.add_member(:arn, Shapes::ShapeRef.new(shape: String, location_name: "Arn"))
289
+ EventSource.add_member(:created_by, Shapes::ShapeRef.new(shape: String, location_name: "CreatedBy"))
290
+ EventSource.add_member(:creation_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "CreationTime"))
291
+ EventSource.add_member(:expiration_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "ExpirationTime"))
292
+ EventSource.add_member(:name, Shapes::ShapeRef.new(shape: String, location_name: "Name"))
293
+ EventSource.add_member(:state, Shapes::ShapeRef.new(shape: EventSourceState, location_name: "State"))
294
+ EventSource.struct_class = Types::EventSource
295
+
296
+ EventSourceList.member = Shapes::ShapeRef.new(shape: EventSource)
297
+
186
298
  InputTransformer.add_member(:input_paths_map, Shapes::ShapeRef.new(shape: TransformerPaths, location_name: "InputPathsMap"))
187
299
  InputTransformer.add_member(:input_template, Shapes::ShapeRef.new(shape: TransformerInput, required: true, location_name: "InputTemplate"))
188
300
  InputTransformer.struct_class = Types::InputTransformer
@@ -190,7 +302,44 @@ module Aws::CloudWatchEvents
190
302
  KinesisParameters.add_member(:partition_key_path, Shapes::ShapeRef.new(shape: TargetPartitionKeyPath, required: true, location_name: "PartitionKeyPath"))
191
303
  KinesisParameters.struct_class = Types::KinesisParameters
192
304
 
305
+ ListEventBusesRequest.add_member(:name_prefix, Shapes::ShapeRef.new(shape: EventBusName, location_name: "NamePrefix"))
306
+ ListEventBusesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
307
+ ListEventBusesRequest.add_member(:limit, Shapes::ShapeRef.new(shape: LimitMax100, location_name: "Limit"))
308
+ ListEventBusesRequest.struct_class = Types::ListEventBusesRequest
309
+
310
+ ListEventBusesResponse.add_member(:event_buses, Shapes::ShapeRef.new(shape: EventBusList, location_name: "EventBuses"))
311
+ ListEventBusesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
312
+ ListEventBusesResponse.struct_class = Types::ListEventBusesResponse
313
+
314
+ ListEventSourcesRequest.add_member(:name_prefix, Shapes::ShapeRef.new(shape: EventSourceNamePrefix, location_name: "NamePrefix"))
315
+ ListEventSourcesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
316
+ ListEventSourcesRequest.add_member(:limit, Shapes::ShapeRef.new(shape: LimitMax100, location_name: "Limit"))
317
+ ListEventSourcesRequest.struct_class = Types::ListEventSourcesRequest
318
+
319
+ ListEventSourcesResponse.add_member(:event_sources, Shapes::ShapeRef.new(shape: EventSourceList, location_name: "EventSources"))
320
+ ListEventSourcesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
321
+ ListEventSourcesResponse.struct_class = Types::ListEventSourcesResponse
322
+
323
+ ListPartnerEventSourceAccountsRequest.add_member(:event_source_name, Shapes::ShapeRef.new(shape: EventSourceName, required: true, location_name: "EventSourceName"))
324
+ ListPartnerEventSourceAccountsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
325
+ ListPartnerEventSourceAccountsRequest.add_member(:limit, Shapes::ShapeRef.new(shape: LimitMax100, location_name: "Limit"))
326
+ ListPartnerEventSourceAccountsRequest.struct_class = Types::ListPartnerEventSourceAccountsRequest
327
+
328
+ ListPartnerEventSourceAccountsResponse.add_member(:partner_event_source_accounts, Shapes::ShapeRef.new(shape: PartnerEventSourceAccountList, location_name: "PartnerEventSourceAccounts"))
329
+ ListPartnerEventSourceAccountsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
330
+ ListPartnerEventSourceAccountsResponse.struct_class = Types::ListPartnerEventSourceAccountsResponse
331
+
332
+ ListPartnerEventSourcesRequest.add_member(:name_prefix, Shapes::ShapeRef.new(shape: PartnerEventSourceNamePrefix, required: true, location_name: "NamePrefix"))
333
+ ListPartnerEventSourcesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
334
+ ListPartnerEventSourcesRequest.add_member(:limit, Shapes::ShapeRef.new(shape: LimitMax100, location_name: "Limit"))
335
+ ListPartnerEventSourcesRequest.struct_class = Types::ListPartnerEventSourcesRequest
336
+
337
+ ListPartnerEventSourcesResponse.add_member(:partner_event_sources, Shapes::ShapeRef.new(shape: PartnerEventSourceList, location_name: "PartnerEventSources"))
338
+ ListPartnerEventSourcesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
339
+ ListPartnerEventSourcesResponse.struct_class = Types::ListPartnerEventSourcesResponse
340
+
193
341
  ListRuleNamesByTargetRequest.add_member(:target_arn, Shapes::ShapeRef.new(shape: TargetArn, required: true, location_name: "TargetArn"))
342
+ ListRuleNamesByTargetRequest.add_member(:event_bus_name, Shapes::ShapeRef.new(shape: EventBusName, location_name: "EventBusName"))
194
343
  ListRuleNamesByTargetRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
195
344
  ListRuleNamesByTargetRequest.add_member(:limit, Shapes::ShapeRef.new(shape: LimitMax100, location_name: "Limit"))
196
345
  ListRuleNamesByTargetRequest.struct_class = Types::ListRuleNamesByTargetRequest
@@ -200,6 +349,7 @@ module Aws::CloudWatchEvents
200
349
  ListRuleNamesByTargetResponse.struct_class = Types::ListRuleNamesByTargetResponse
201
350
 
202
351
  ListRulesRequest.add_member(:name_prefix, Shapes::ShapeRef.new(shape: RuleName, location_name: "NamePrefix"))
352
+ ListRulesRequest.add_member(:event_bus_name, Shapes::ShapeRef.new(shape: EventBusName, location_name: "EventBusName"))
203
353
  ListRulesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
204
354
  ListRulesRequest.add_member(:limit, Shapes::ShapeRef.new(shape: LimitMax100, location_name: "Limit"))
205
355
  ListRulesRequest.struct_class = Types::ListRulesRequest
@@ -215,6 +365,7 @@ module Aws::CloudWatchEvents
215
365
  ListTagsForResourceResponse.struct_class = Types::ListTagsForResourceResponse
216
366
 
217
367
  ListTargetsByRuleRequest.add_member(:rule, Shapes::ShapeRef.new(shape: RuleName, required: true, location_name: "Rule"))
368
+ ListTargetsByRuleRequest.add_member(:event_bus_name, Shapes::ShapeRef.new(shape: EventBusName, location_name: "EventBusName"))
218
369
  ListTargetsByRuleRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
219
370
  ListTargetsByRuleRequest.add_member(:limit, Shapes::ShapeRef.new(shape: LimitMax100, location_name: "Limit"))
220
371
  ListTargetsByRuleRequest.struct_class = Types::ListTargetsByRuleRequest
@@ -226,6 +377,20 @@ module Aws::CloudWatchEvents
226
377
  NetworkConfiguration.add_member(:awsvpc_configuration, Shapes::ShapeRef.new(shape: AwsVpcConfiguration, location_name: "awsvpcConfiguration"))
227
378
  NetworkConfiguration.struct_class = Types::NetworkConfiguration
228
379
 
380
+ PartnerEventSource.add_member(:arn, Shapes::ShapeRef.new(shape: String, location_name: "Arn"))
381
+ PartnerEventSource.add_member(:name, Shapes::ShapeRef.new(shape: String, location_name: "Name"))
382
+ PartnerEventSource.struct_class = Types::PartnerEventSource
383
+
384
+ PartnerEventSourceAccount.add_member(:account, Shapes::ShapeRef.new(shape: AccountId, location_name: "Account"))
385
+ PartnerEventSourceAccount.add_member(:creation_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "CreationTime"))
386
+ PartnerEventSourceAccount.add_member(:expiration_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "ExpirationTime"))
387
+ PartnerEventSourceAccount.add_member(:state, Shapes::ShapeRef.new(shape: EventSourceState, location_name: "State"))
388
+ PartnerEventSourceAccount.struct_class = Types::PartnerEventSourceAccount
389
+
390
+ PartnerEventSourceAccountList.member = Shapes::ShapeRef.new(shape: PartnerEventSourceAccount)
391
+
392
+ PartnerEventSourceList.member = Shapes::ShapeRef.new(shape: PartnerEventSource)
393
+
229
394
  PutEventsRequest.add_member(:entries, Shapes::ShapeRef.new(shape: PutEventsRequestEntryList, required: true, location_name: "Entries"))
230
395
  PutEventsRequest.struct_class = Types::PutEventsRequest
231
396
 
@@ -234,6 +399,7 @@ module Aws::CloudWatchEvents
234
399
  PutEventsRequestEntry.add_member(:resources, Shapes::ShapeRef.new(shape: EventResourceList, location_name: "Resources"))
235
400
  PutEventsRequestEntry.add_member(:detail_type, Shapes::ShapeRef.new(shape: String, location_name: "DetailType"))
236
401
  PutEventsRequestEntry.add_member(:detail, Shapes::ShapeRef.new(shape: String, location_name: "Detail"))
402
+ PutEventsRequestEntry.add_member(:event_bus_name, Shapes::ShapeRef.new(shape: NonPartnerEventBusName, location_name: "EventBusName"))
237
403
  PutEventsRequestEntry.struct_class = Types::PutEventsRequestEntry
238
404
 
239
405
  PutEventsRequestEntryList.member = Shapes::ShapeRef.new(shape: PutEventsRequestEntry)
@@ -249,6 +415,30 @@ module Aws::CloudWatchEvents
249
415
 
250
416
  PutEventsResultEntryList.member = Shapes::ShapeRef.new(shape: PutEventsResultEntry)
251
417
 
418
+ PutPartnerEventsRequest.add_member(:entries, Shapes::ShapeRef.new(shape: PutPartnerEventsRequestEntryList, required: true, location_name: "Entries"))
419
+ PutPartnerEventsRequest.struct_class = Types::PutPartnerEventsRequest
420
+
421
+ PutPartnerEventsRequestEntry.add_member(:time, Shapes::ShapeRef.new(shape: EventTime, location_name: "Time"))
422
+ PutPartnerEventsRequestEntry.add_member(:source, Shapes::ShapeRef.new(shape: String, location_name: "Source"))
423
+ PutPartnerEventsRequestEntry.add_member(:resources, Shapes::ShapeRef.new(shape: EventResourceList, location_name: "Resources"))
424
+ PutPartnerEventsRequestEntry.add_member(:detail_type, Shapes::ShapeRef.new(shape: String, location_name: "DetailType"))
425
+ PutPartnerEventsRequestEntry.add_member(:detail, Shapes::ShapeRef.new(shape: String, location_name: "Detail"))
426
+ PutPartnerEventsRequestEntry.struct_class = Types::PutPartnerEventsRequestEntry
427
+
428
+ PutPartnerEventsRequestEntryList.member = Shapes::ShapeRef.new(shape: PutPartnerEventsRequestEntry)
429
+
430
+ PutPartnerEventsResponse.add_member(:failed_entry_count, Shapes::ShapeRef.new(shape: Integer, location_name: "FailedEntryCount"))
431
+ PutPartnerEventsResponse.add_member(:entries, Shapes::ShapeRef.new(shape: PutPartnerEventsResultEntryList, location_name: "Entries"))
432
+ PutPartnerEventsResponse.struct_class = Types::PutPartnerEventsResponse
433
+
434
+ PutPartnerEventsResultEntry.add_member(:event_id, Shapes::ShapeRef.new(shape: EventId, location_name: "EventId"))
435
+ PutPartnerEventsResultEntry.add_member(:error_code, Shapes::ShapeRef.new(shape: ErrorCode, location_name: "ErrorCode"))
436
+ PutPartnerEventsResultEntry.add_member(:error_message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "ErrorMessage"))
437
+ PutPartnerEventsResultEntry.struct_class = Types::PutPartnerEventsResultEntry
438
+
439
+ PutPartnerEventsResultEntryList.member = Shapes::ShapeRef.new(shape: PutPartnerEventsResultEntry)
440
+
441
+ PutPermissionRequest.add_member(:event_bus_name, Shapes::ShapeRef.new(shape: NonPartnerEventBusName, location_name: "EventBusName"))
252
442
  PutPermissionRequest.add_member(:action, Shapes::ShapeRef.new(shape: Action, required: true, location_name: "Action"))
253
443
  PutPermissionRequest.add_member(:principal, Shapes::ShapeRef.new(shape: Principal, required: true, location_name: "Principal"))
254
444
  PutPermissionRequest.add_member(:statement_id, Shapes::ShapeRef.new(shape: StatementId, required: true, location_name: "StatementId"))
@@ -262,12 +452,14 @@ module Aws::CloudWatchEvents
262
452
  PutRuleRequest.add_member(:description, Shapes::ShapeRef.new(shape: RuleDescription, location_name: "Description"))
263
453
  PutRuleRequest.add_member(:role_arn, Shapes::ShapeRef.new(shape: RoleArn, location_name: "RoleArn"))
264
454
  PutRuleRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
455
+ PutRuleRequest.add_member(:event_bus_name, Shapes::ShapeRef.new(shape: EventBusName, location_name: "EventBusName"))
265
456
  PutRuleRequest.struct_class = Types::PutRuleRequest
266
457
 
267
458
  PutRuleResponse.add_member(:rule_arn, Shapes::ShapeRef.new(shape: RuleArn, location_name: "RuleArn"))
268
459
  PutRuleResponse.struct_class = Types::PutRuleResponse
269
460
 
270
461
  PutTargetsRequest.add_member(:rule, Shapes::ShapeRef.new(shape: RuleName, required: true, location_name: "Rule"))
462
+ PutTargetsRequest.add_member(:event_bus_name, Shapes::ShapeRef.new(shape: EventBusName, location_name: "EventBusName"))
271
463
  PutTargetsRequest.add_member(:targets, Shapes::ShapeRef.new(shape: TargetList, required: true, location_name: "Targets"))
272
464
  PutTargetsRequest.struct_class = Types::PutTargetsRequest
273
465
 
@@ -283,9 +475,11 @@ module Aws::CloudWatchEvents
283
475
  PutTargetsResultEntryList.member = Shapes::ShapeRef.new(shape: PutTargetsResultEntry)
284
476
 
285
477
  RemovePermissionRequest.add_member(:statement_id, Shapes::ShapeRef.new(shape: StatementId, required: true, location_name: "StatementId"))
478
+ RemovePermissionRequest.add_member(:event_bus_name, Shapes::ShapeRef.new(shape: NonPartnerEventBusName, location_name: "EventBusName"))
286
479
  RemovePermissionRequest.struct_class = Types::RemovePermissionRequest
287
480
 
288
481
  RemoveTargetsRequest.add_member(:rule, Shapes::ShapeRef.new(shape: RuleName, required: true, location_name: "Rule"))
482
+ RemoveTargetsRequest.add_member(:event_bus_name, Shapes::ShapeRef.new(shape: EventBusName, location_name: "EventBusName"))
289
483
  RemoveTargetsRequest.add_member(:ids, Shapes::ShapeRef.new(shape: TargetIdList, required: true, location_name: "Ids"))
290
484
  RemoveTargetsRequest.add_member(:force, Shapes::ShapeRef.new(shape: Boolean, location_name: "Force"))
291
485
  RemoveTargetsRequest.struct_class = Types::RemoveTargetsRequest
@@ -309,6 +503,7 @@ module Aws::CloudWatchEvents
309
503
  Rule.add_member(:schedule_expression, Shapes::ShapeRef.new(shape: ScheduleExpression, location_name: "ScheduleExpression"))
310
504
  Rule.add_member(:role_arn, Shapes::ShapeRef.new(shape: RoleArn, location_name: "RoleArn"))
311
505
  Rule.add_member(:managed_by, Shapes::ShapeRef.new(shape: ManagedBy, location_name: "ManagedBy"))
506
+ Rule.add_member(:event_bus_name, Shapes::ShapeRef.new(shape: EventBusName, location_name: "EventBusName"))
312
507
  Rule.struct_class = Types::Rule
313
508
 
314
509
  RuleNameList.member = Shapes::ShapeRef.new(shape: RuleName)
@@ -396,6 +591,72 @@ module Aws::CloudWatchEvents
396
591
  "uid" => "events-2015-10-07",
397
592
  }
398
593
 
594
+ api.add_operation(:activate_event_source, Seahorse::Model::Operation.new.tap do |o|
595
+ o.name = "ActivateEventSource"
596
+ o.http_method = "POST"
597
+ o.http_request_uri = "/"
598
+ o.input = Shapes::ShapeRef.new(shape: ActivateEventSourceRequest)
599
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
600
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
601
+ o.errors << Shapes::ShapeRef.new(shape: InvalidStateException)
602
+ o.errors << Shapes::ShapeRef.new(shape: InternalException)
603
+ end)
604
+
605
+ api.add_operation(:create_event_bus, Seahorse::Model::Operation.new.tap do |o|
606
+ o.name = "CreateEventBus"
607
+ o.http_method = "POST"
608
+ o.http_request_uri = "/"
609
+ o.input = Shapes::ShapeRef.new(shape: CreateEventBusRequest)
610
+ o.output = Shapes::ShapeRef.new(shape: CreateEventBusResponse)
611
+ o.errors << Shapes::ShapeRef.new(shape: ResourceAlreadyExistsException)
612
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
613
+ o.errors << Shapes::ShapeRef.new(shape: InvalidStateException)
614
+ o.errors << Shapes::ShapeRef.new(shape: InternalException)
615
+ o.errors << Shapes::ShapeRef.new(shape: ConcurrentModificationException)
616
+ o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
617
+ end)
618
+
619
+ api.add_operation(:create_partner_event_source, Seahorse::Model::Operation.new.tap do |o|
620
+ o.name = "CreatePartnerEventSource"
621
+ o.http_method = "POST"
622
+ o.http_request_uri = "/"
623
+ o.input = Shapes::ShapeRef.new(shape: CreatePartnerEventSourceRequest)
624
+ o.output = Shapes::ShapeRef.new(shape: CreatePartnerEventSourceResponse)
625
+ o.errors << Shapes::ShapeRef.new(shape: ResourceAlreadyExistsException)
626
+ o.errors << Shapes::ShapeRef.new(shape: InternalException)
627
+ o.errors << Shapes::ShapeRef.new(shape: ConcurrentModificationException)
628
+ o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
629
+ end)
630
+
631
+ api.add_operation(:deactivate_event_source, Seahorse::Model::Operation.new.tap do |o|
632
+ o.name = "DeactivateEventSource"
633
+ o.http_method = "POST"
634
+ o.http_request_uri = "/"
635
+ o.input = Shapes::ShapeRef.new(shape: DeactivateEventSourceRequest)
636
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
637
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
638
+ o.errors << Shapes::ShapeRef.new(shape: InvalidStateException)
639
+ o.errors << Shapes::ShapeRef.new(shape: InternalException)
640
+ end)
641
+
642
+ api.add_operation(:delete_event_bus, Seahorse::Model::Operation.new.tap do |o|
643
+ o.name = "DeleteEventBus"
644
+ o.http_method = "POST"
645
+ o.http_request_uri = "/"
646
+ o.input = Shapes::ShapeRef.new(shape: DeleteEventBusRequest)
647
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
648
+ o.errors << Shapes::ShapeRef.new(shape: InternalException)
649
+ end)
650
+
651
+ api.add_operation(:delete_partner_event_source, Seahorse::Model::Operation.new.tap do |o|
652
+ o.name = "DeletePartnerEventSource"
653
+ o.http_method = "POST"
654
+ o.http_request_uri = "/"
655
+ o.input = Shapes::ShapeRef.new(shape: DeletePartnerEventSourceRequest)
656
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
657
+ o.errors << Shapes::ShapeRef.new(shape: InternalException)
658
+ end)
659
+
399
660
  api.add_operation(:delete_rule, Seahorse::Model::Operation.new.tap do |o|
400
661
  o.name = "DeleteRule"
401
662
  o.http_method = "POST"
@@ -405,6 +666,7 @@ module Aws::CloudWatchEvents
405
666
  o.errors << Shapes::ShapeRef.new(shape: ConcurrentModificationException)
406
667
  o.errors << Shapes::ShapeRef.new(shape: ManagedRuleException)
407
668
  o.errors << Shapes::ShapeRef.new(shape: InternalException)
669
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
408
670
  end)
409
671
 
410
672
  api.add_operation(:describe_event_bus, Seahorse::Model::Operation.new.tap do |o|
@@ -417,6 +679,26 @@ module Aws::CloudWatchEvents
417
679
  o.errors << Shapes::ShapeRef.new(shape: InternalException)
418
680
  end)
419
681
 
682
+ api.add_operation(:describe_event_source, Seahorse::Model::Operation.new.tap do |o|
683
+ o.name = "DescribeEventSource"
684
+ o.http_method = "POST"
685
+ o.http_request_uri = "/"
686
+ o.input = Shapes::ShapeRef.new(shape: DescribeEventSourceRequest)
687
+ o.output = Shapes::ShapeRef.new(shape: DescribeEventSourceResponse)
688
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
689
+ o.errors << Shapes::ShapeRef.new(shape: InternalException)
690
+ end)
691
+
692
+ api.add_operation(:describe_partner_event_source, Seahorse::Model::Operation.new.tap do |o|
693
+ o.name = "DescribePartnerEventSource"
694
+ o.http_method = "POST"
695
+ o.http_request_uri = "/"
696
+ o.input = Shapes::ShapeRef.new(shape: DescribePartnerEventSourceRequest)
697
+ o.output = Shapes::ShapeRef.new(shape: DescribePartnerEventSourceResponse)
698
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
699
+ o.errors << Shapes::ShapeRef.new(shape: InternalException)
700
+ end)
701
+
420
702
  api.add_operation(:describe_rule, Seahorse::Model::Operation.new.tap do |o|
421
703
  o.name = "DescribeRule"
422
704
  o.http_method = "POST"
@@ -451,6 +733,43 @@ module Aws::CloudWatchEvents
451
733
  o.errors << Shapes::ShapeRef.new(shape: InternalException)
452
734
  end)
453
735
 
736
+ api.add_operation(:list_event_buses, Seahorse::Model::Operation.new.tap do |o|
737
+ o.name = "ListEventBuses"
738
+ o.http_method = "POST"
739
+ o.http_request_uri = "/"
740
+ o.input = Shapes::ShapeRef.new(shape: ListEventBusesRequest)
741
+ o.output = Shapes::ShapeRef.new(shape: ListEventBusesResponse)
742
+ o.errors << Shapes::ShapeRef.new(shape: InternalException)
743
+ end)
744
+
745
+ api.add_operation(:list_event_sources, Seahorse::Model::Operation.new.tap do |o|
746
+ o.name = "ListEventSources"
747
+ o.http_method = "POST"
748
+ o.http_request_uri = "/"
749
+ o.input = Shapes::ShapeRef.new(shape: ListEventSourcesRequest)
750
+ o.output = Shapes::ShapeRef.new(shape: ListEventSourcesResponse)
751
+ o.errors << Shapes::ShapeRef.new(shape: InternalException)
752
+ end)
753
+
754
+ api.add_operation(:list_partner_event_source_accounts, Seahorse::Model::Operation.new.tap do |o|
755
+ o.name = "ListPartnerEventSourceAccounts"
756
+ o.http_method = "POST"
757
+ o.http_request_uri = "/"
758
+ o.input = Shapes::ShapeRef.new(shape: ListPartnerEventSourceAccountsRequest)
759
+ o.output = Shapes::ShapeRef.new(shape: ListPartnerEventSourceAccountsResponse)
760
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
761
+ o.errors << Shapes::ShapeRef.new(shape: InternalException)
762
+ end)
763
+
764
+ api.add_operation(:list_partner_event_sources, Seahorse::Model::Operation.new.tap do |o|
765
+ o.name = "ListPartnerEventSources"
766
+ o.http_method = "POST"
767
+ o.http_request_uri = "/"
768
+ o.input = Shapes::ShapeRef.new(shape: ListPartnerEventSourcesRequest)
769
+ o.output = Shapes::ShapeRef.new(shape: ListPartnerEventSourcesResponse)
770
+ o.errors << Shapes::ShapeRef.new(shape: InternalException)
771
+ end)
772
+
454
773
  api.add_operation(:list_rule_names_by_target, Seahorse::Model::Operation.new.tap do |o|
455
774
  o.name = "ListRuleNamesByTarget"
456
775
  o.http_method = "POST"
@@ -458,6 +777,7 @@ module Aws::CloudWatchEvents
458
777
  o.input = Shapes::ShapeRef.new(shape: ListRuleNamesByTargetRequest)
459
778
  o.output = Shapes::ShapeRef.new(shape: ListRuleNamesByTargetResponse)
460
779
  o.errors << Shapes::ShapeRef.new(shape: InternalException)
780
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
461
781
  end)
462
782
 
463
783
  api.add_operation(:list_rules, Seahorse::Model::Operation.new.tap do |o|
@@ -467,6 +787,7 @@ module Aws::CloudWatchEvents
467
787
  o.input = Shapes::ShapeRef.new(shape: ListRulesRequest)
468
788
  o.output = Shapes::ShapeRef.new(shape: ListRulesResponse)
469
789
  o.errors << Shapes::ShapeRef.new(shape: InternalException)
790
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
470
791
  end)
471
792
 
472
793
  api.add_operation(:list_tags_for_resource, Seahorse::Model::Operation.new.tap do |o|
@@ -498,6 +819,15 @@ module Aws::CloudWatchEvents
498
819
  o.errors << Shapes::ShapeRef.new(shape: InternalException)
499
820
  end)
500
821
 
822
+ api.add_operation(:put_partner_events, Seahorse::Model::Operation.new.tap do |o|
823
+ o.name = "PutPartnerEvents"
824
+ o.http_method = "POST"
825
+ o.http_request_uri = "/"
826
+ o.input = Shapes::ShapeRef.new(shape: PutPartnerEventsRequest)
827
+ o.output = Shapes::ShapeRef.new(shape: PutPartnerEventsResponse)
828
+ o.errors << Shapes::ShapeRef.new(shape: InternalException)
829
+ end)
830
+
501
831
  api.add_operation(:put_permission, Seahorse::Model::Operation.new.tap do |o|
502
832
  o.name = "PutPermission"
503
833
  o.http_method = "POST"
@@ -521,6 +851,7 @@ module Aws::CloudWatchEvents
521
851
  o.errors << Shapes::ShapeRef.new(shape: ConcurrentModificationException)
522
852
  o.errors << Shapes::ShapeRef.new(shape: ManagedRuleException)
523
853
  o.errors << Shapes::ShapeRef.new(shape: InternalException)
854
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
524
855
  end)
525
856
 
526
857
  api.add_operation(:put_targets, Seahorse::Model::Operation.new.tap do |o|