aws-sdk-cloudwatchevents 1.36.0 → 1.41.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -16,6 +16,13 @@ module Aws::CloudWatchEvents
16
16
  AccountId = Shapes::StringShape.new(name: 'AccountId')
17
17
  Action = Shapes::StringShape.new(name: 'Action')
18
18
  ActivateEventSourceRequest = Shapes::StructureShape.new(name: 'ActivateEventSourceRequest')
19
+ Archive = Shapes::StructureShape.new(name: 'Archive')
20
+ ArchiveArn = Shapes::StringShape.new(name: 'ArchiveArn')
21
+ ArchiveDescription = Shapes::StringShape.new(name: 'ArchiveDescription')
22
+ ArchiveName = Shapes::StringShape.new(name: 'ArchiveName')
23
+ ArchiveResponseList = Shapes::ListShape.new(name: 'ArchiveResponseList')
24
+ ArchiveState = Shapes::StringShape.new(name: 'ArchiveState')
25
+ ArchiveStateReason = Shapes::StringShape.new(name: 'ArchiveStateReason')
19
26
  Arn = Shapes::StringShape.new(name: 'Arn')
20
27
  AssignPublicIp = Shapes::StringShape.new(name: 'AssignPublicIp')
21
28
  AwsVpcConfiguration = Shapes::StructureShape.new(name: 'AwsVpcConfiguration')
@@ -23,24 +30,36 @@ module Aws::CloudWatchEvents
23
30
  BatchParameters = Shapes::StructureShape.new(name: 'BatchParameters')
24
31
  BatchRetryStrategy = Shapes::StructureShape.new(name: 'BatchRetryStrategy')
25
32
  Boolean = Shapes::BooleanShape.new(name: 'Boolean')
33
+ CancelReplayRequest = Shapes::StructureShape.new(name: 'CancelReplayRequest')
34
+ CancelReplayResponse = Shapes::StructureShape.new(name: 'CancelReplayResponse')
26
35
  ConcurrentModificationException = Shapes::StructureShape.new(name: 'ConcurrentModificationException')
27
36
  Condition = Shapes::StructureShape.new(name: 'Condition')
37
+ CreateArchiveRequest = Shapes::StructureShape.new(name: 'CreateArchiveRequest')
38
+ CreateArchiveResponse = Shapes::StructureShape.new(name: 'CreateArchiveResponse')
28
39
  CreateEventBusRequest = Shapes::StructureShape.new(name: 'CreateEventBusRequest')
29
40
  CreateEventBusResponse = Shapes::StructureShape.new(name: 'CreateEventBusResponse')
30
41
  CreatePartnerEventSourceRequest = Shapes::StructureShape.new(name: 'CreatePartnerEventSourceRequest')
31
42
  CreatePartnerEventSourceResponse = Shapes::StructureShape.new(name: 'CreatePartnerEventSourceResponse')
43
+ CreatedBy = Shapes::StringShape.new(name: 'CreatedBy')
32
44
  Database = Shapes::StringShape.new(name: 'Database')
33
45
  DbUser = Shapes::StringShape.new(name: 'DbUser')
34
46
  DeactivateEventSourceRequest = Shapes::StructureShape.new(name: 'DeactivateEventSourceRequest')
47
+ DeadLetterConfig = Shapes::StructureShape.new(name: 'DeadLetterConfig')
48
+ DeleteArchiveRequest = Shapes::StructureShape.new(name: 'DeleteArchiveRequest')
49
+ DeleteArchiveResponse = Shapes::StructureShape.new(name: 'DeleteArchiveResponse')
35
50
  DeleteEventBusRequest = Shapes::StructureShape.new(name: 'DeleteEventBusRequest')
36
51
  DeletePartnerEventSourceRequest = Shapes::StructureShape.new(name: 'DeletePartnerEventSourceRequest')
37
52
  DeleteRuleRequest = Shapes::StructureShape.new(name: 'DeleteRuleRequest')
53
+ DescribeArchiveRequest = Shapes::StructureShape.new(name: 'DescribeArchiveRequest')
54
+ DescribeArchiveResponse = Shapes::StructureShape.new(name: 'DescribeArchiveResponse')
38
55
  DescribeEventBusRequest = Shapes::StructureShape.new(name: 'DescribeEventBusRequest')
39
56
  DescribeEventBusResponse = Shapes::StructureShape.new(name: 'DescribeEventBusResponse')
40
57
  DescribeEventSourceRequest = Shapes::StructureShape.new(name: 'DescribeEventSourceRequest')
41
58
  DescribeEventSourceResponse = Shapes::StructureShape.new(name: 'DescribeEventSourceResponse')
42
59
  DescribePartnerEventSourceRequest = Shapes::StructureShape.new(name: 'DescribePartnerEventSourceRequest')
43
60
  DescribePartnerEventSourceResponse = Shapes::StructureShape.new(name: 'DescribePartnerEventSourceResponse')
61
+ DescribeReplayRequest = Shapes::StructureShape.new(name: 'DescribeReplayRequest')
62
+ DescribeReplayResponse = Shapes::StructureShape.new(name: 'DescribeReplayResponse')
44
63
  DescribeRuleRequest = Shapes::StructureShape.new(name: 'DescribeRuleRequest')
45
64
  DescribeRuleResponse = Shapes::StructureShape.new(name: 'DescribeRuleResponse')
46
65
  DisableRuleRequest = Shapes::StructureShape.new(name: 'DisableRuleRequest')
@@ -51,6 +70,7 @@ module Aws::CloudWatchEvents
51
70
  EventBus = Shapes::StructureShape.new(name: 'EventBus')
52
71
  EventBusList = Shapes::ListShape.new(name: 'EventBusList')
53
72
  EventBusName = Shapes::StringShape.new(name: 'EventBusName')
73
+ EventBusNameOrArn = Shapes::StringShape.new(name: 'EventBusNameOrArn')
54
74
  EventId = Shapes::StringShape.new(name: 'EventId')
55
75
  EventPattern = Shapes::StringShape.new(name: 'EventPattern')
56
76
  EventResource = Shapes::StringShape.new(name: 'EventResource')
@@ -65,6 +85,7 @@ module Aws::CloudWatchEvents
65
85
  HeaderParametersMap = Shapes::MapShape.new(name: 'HeaderParametersMap')
66
86
  HeaderValue = Shapes::StringShape.new(name: 'HeaderValue')
67
87
  HttpParameters = Shapes::StructureShape.new(name: 'HttpParameters')
88
+ IllegalStatusException = Shapes::StructureShape.new(name: 'IllegalStatusException')
68
89
  InputTransformer = Shapes::StructureShape.new(name: 'InputTransformer')
69
90
  InputTransformerPathKey = Shapes::StringShape.new(name: 'InputTransformerPathKey')
70
91
  Integer = Shapes::IntegerShape.new(name: 'Integer')
@@ -76,6 +97,8 @@ module Aws::CloudWatchEvents
76
97
  LimitExceededException = Shapes::StructureShape.new(name: 'LimitExceededException')
77
98
  LimitMax100 = Shapes::IntegerShape.new(name: 'LimitMax100')
78
99
  LimitMin1 = Shapes::IntegerShape.new(name: 'LimitMin1')
100
+ ListArchivesRequest = Shapes::StructureShape.new(name: 'ListArchivesRequest')
101
+ ListArchivesResponse = Shapes::StructureShape.new(name: 'ListArchivesResponse')
79
102
  ListEventBusesRequest = Shapes::StructureShape.new(name: 'ListEventBusesRequest')
80
103
  ListEventBusesResponse = Shapes::StructureShape.new(name: 'ListEventBusesResponse')
81
104
  ListEventSourcesRequest = Shapes::StructureShape.new(name: 'ListEventSourcesRequest')
@@ -84,6 +107,8 @@ module Aws::CloudWatchEvents
84
107
  ListPartnerEventSourceAccountsResponse = Shapes::StructureShape.new(name: 'ListPartnerEventSourceAccountsResponse')
85
108
  ListPartnerEventSourcesRequest = Shapes::StructureShape.new(name: 'ListPartnerEventSourcesRequest')
86
109
  ListPartnerEventSourcesResponse = Shapes::StructureShape.new(name: 'ListPartnerEventSourcesResponse')
110
+ ListReplaysRequest = Shapes::StructureShape.new(name: 'ListReplaysRequest')
111
+ ListReplaysResponse = Shapes::StructureShape.new(name: 'ListReplaysResponse')
87
112
  ListRuleNamesByTargetRequest = Shapes::StructureShape.new(name: 'ListRuleNamesByTargetRequest')
88
113
  ListRuleNamesByTargetResponse = Shapes::StructureShape.new(name: 'ListRuleNamesByTargetResponse')
89
114
  ListRulesRequest = Shapes::StructureShape.new(name: 'ListRulesRequest')
@@ -92,12 +117,16 @@ module Aws::CloudWatchEvents
92
117
  ListTagsForResourceResponse = Shapes::StructureShape.new(name: 'ListTagsForResourceResponse')
93
118
  ListTargetsByRuleRequest = Shapes::StructureShape.new(name: 'ListTargetsByRuleRequest')
94
119
  ListTargetsByRuleResponse = Shapes::StructureShape.new(name: 'ListTargetsByRuleResponse')
120
+ Long = Shapes::IntegerShape.new(name: 'Long')
95
121
  ManagedBy = Shapes::StringShape.new(name: 'ManagedBy')
96
122
  ManagedRuleException = Shapes::StructureShape.new(name: 'ManagedRuleException')
123
+ MaximumEventAgeInSeconds = Shapes::IntegerShape.new(name: 'MaximumEventAgeInSeconds')
124
+ MaximumRetryAttempts = Shapes::IntegerShape.new(name: 'MaximumRetryAttempts')
97
125
  MessageGroupId = Shapes::StringShape.new(name: 'MessageGroupId')
98
126
  NetworkConfiguration = Shapes::StructureShape.new(name: 'NetworkConfiguration')
99
127
  NextToken = Shapes::StringShape.new(name: 'NextToken')
100
128
  NonPartnerEventBusName = Shapes::StringShape.new(name: 'NonPartnerEventBusName')
129
+ NonPartnerEventBusNameOrArn = Shapes::StringShape.new(name: 'NonPartnerEventBusNameOrArn')
101
130
  OperationDisabledException = Shapes::StructureShape.new(name: 'OperationDisabledException')
102
131
  PartnerEventSource = Shapes::StructureShape.new(name: 'PartnerEventSource')
103
132
  PartnerEventSourceAccount = Shapes::StructureShape.new(name: 'PartnerEventSourceAccount')
@@ -137,8 +166,20 @@ module Aws::CloudWatchEvents
137
166
  RemoveTargetsResponse = Shapes::StructureShape.new(name: 'RemoveTargetsResponse')
138
167
  RemoveTargetsResultEntry = Shapes::StructureShape.new(name: 'RemoveTargetsResultEntry')
139
168
  RemoveTargetsResultEntryList = Shapes::ListShape.new(name: 'RemoveTargetsResultEntryList')
169
+ Replay = Shapes::StructureShape.new(name: 'Replay')
170
+ ReplayArn = Shapes::StringShape.new(name: 'ReplayArn')
171
+ ReplayDescription = Shapes::StringShape.new(name: 'ReplayDescription')
172
+ ReplayDestination = Shapes::StructureShape.new(name: 'ReplayDestination')
173
+ ReplayDestinationFilters = Shapes::ListShape.new(name: 'ReplayDestinationFilters')
174
+ ReplayList = Shapes::ListShape.new(name: 'ReplayList')
175
+ ReplayName = Shapes::StringShape.new(name: 'ReplayName')
176
+ ReplayState = Shapes::StringShape.new(name: 'ReplayState')
177
+ ReplayStateReason = Shapes::StringShape.new(name: 'ReplayStateReason')
140
178
  ResourceAlreadyExistsException = Shapes::StructureShape.new(name: 'ResourceAlreadyExistsException')
179
+ ResourceArn = Shapes::StringShape.new(name: 'ResourceArn')
141
180
  ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
181
+ RetentionDays = Shapes::IntegerShape.new(name: 'RetentionDays')
182
+ RetryPolicy = Shapes::StructureShape.new(name: 'RetryPolicy')
142
183
  RoleArn = Shapes::StringShape.new(name: 'RoleArn')
143
184
  Rule = Shapes::StructureShape.new(name: 'Rule')
144
185
  RuleArn = Shapes::StringShape.new(name: 'RuleArn')
@@ -156,6 +197,8 @@ module Aws::CloudWatchEvents
156
197
  ScheduleExpression = Shapes::StringShape.new(name: 'ScheduleExpression')
157
198
  Sql = Shapes::StringShape.new(name: 'Sql')
158
199
  SqsParameters = Shapes::StructureShape.new(name: 'SqsParameters')
200
+ StartReplayRequest = Shapes::StructureShape.new(name: 'StartReplayRequest')
201
+ StartReplayResponse = Shapes::StructureShape.new(name: 'StartReplayResponse')
159
202
  StatementId = Shapes::StringShape.new(name: 'StatementId')
160
203
  StatementName = Shapes::StringShape.new(name: 'StatementName')
161
204
  String = Shapes::StringShape.new(name: 'String')
@@ -182,10 +225,24 @@ module Aws::CloudWatchEvents
182
225
  TransformerPaths = Shapes::MapShape.new(name: 'TransformerPaths')
183
226
  UntagResourceRequest = Shapes::StructureShape.new(name: 'UntagResourceRequest')
184
227
  UntagResourceResponse = Shapes::StructureShape.new(name: 'UntagResourceResponse')
228
+ UpdateArchiveRequest = Shapes::StructureShape.new(name: 'UpdateArchiveRequest')
229
+ UpdateArchiveResponse = Shapes::StructureShape.new(name: 'UpdateArchiveResponse')
185
230
 
186
231
  ActivateEventSourceRequest.add_member(:name, Shapes::ShapeRef.new(shape: EventSourceName, required: true, location_name: "Name"))
187
232
  ActivateEventSourceRequest.struct_class = Types::ActivateEventSourceRequest
188
233
 
234
+ Archive.add_member(:archive_name, Shapes::ShapeRef.new(shape: ArchiveName, location_name: "ArchiveName"))
235
+ Archive.add_member(:event_source_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "EventSourceArn"))
236
+ Archive.add_member(:state, Shapes::ShapeRef.new(shape: ArchiveState, location_name: "State"))
237
+ Archive.add_member(:state_reason, Shapes::ShapeRef.new(shape: ArchiveStateReason, location_name: "StateReason"))
238
+ Archive.add_member(:retention_days, Shapes::ShapeRef.new(shape: RetentionDays, location_name: "RetentionDays"))
239
+ Archive.add_member(:size_bytes, Shapes::ShapeRef.new(shape: Long, location_name: "SizeBytes"))
240
+ Archive.add_member(:event_count, Shapes::ShapeRef.new(shape: Long, location_name: "EventCount"))
241
+ Archive.add_member(:creation_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "CreationTime"))
242
+ Archive.struct_class = Types::Archive
243
+
244
+ ArchiveResponseList.member = Shapes::ShapeRef.new(shape: Archive)
245
+
189
246
  AwsVpcConfiguration.add_member(:subnets, Shapes::ShapeRef.new(shape: StringList, required: true, location_name: "Subnets"))
190
247
  AwsVpcConfiguration.add_member(:security_groups, Shapes::ShapeRef.new(shape: StringList, location_name: "SecurityGroups"))
191
248
  AwsVpcConfiguration.add_member(:assign_public_ip, Shapes::ShapeRef.new(shape: AssignPublicIp, location_name: "AssignPublicIp"))
@@ -203,6 +260,14 @@ module Aws::CloudWatchEvents
203
260
  BatchRetryStrategy.add_member(:attempts, Shapes::ShapeRef.new(shape: Integer, location_name: "Attempts"))
204
261
  BatchRetryStrategy.struct_class = Types::BatchRetryStrategy
205
262
 
263
+ CancelReplayRequest.add_member(:replay_name, Shapes::ShapeRef.new(shape: ReplayName, required: true, location_name: "ReplayName"))
264
+ CancelReplayRequest.struct_class = Types::CancelReplayRequest
265
+
266
+ CancelReplayResponse.add_member(:replay_arn, Shapes::ShapeRef.new(shape: ReplayArn, location_name: "ReplayArn"))
267
+ CancelReplayResponse.add_member(:state, Shapes::ShapeRef.new(shape: ReplayState, location_name: "State"))
268
+ CancelReplayResponse.add_member(:state_reason, Shapes::ShapeRef.new(shape: ReplayStateReason, location_name: "StateReason"))
269
+ CancelReplayResponse.struct_class = Types::CancelReplayResponse
270
+
206
271
  ConcurrentModificationException.struct_class = Types::ConcurrentModificationException
207
272
 
208
273
  Condition.add_member(:type, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Type"))
@@ -210,6 +275,19 @@ module Aws::CloudWatchEvents
210
275
  Condition.add_member(:value, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Value"))
211
276
  Condition.struct_class = Types::Condition
212
277
 
278
+ CreateArchiveRequest.add_member(:archive_name, Shapes::ShapeRef.new(shape: ArchiveName, required: true, location_name: "ArchiveName"))
279
+ CreateArchiveRequest.add_member(:event_source_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "EventSourceArn"))
280
+ CreateArchiveRequest.add_member(:description, Shapes::ShapeRef.new(shape: ArchiveDescription, location_name: "Description"))
281
+ CreateArchiveRequest.add_member(:event_pattern, Shapes::ShapeRef.new(shape: EventPattern, location_name: "EventPattern"))
282
+ CreateArchiveRequest.add_member(:retention_days, Shapes::ShapeRef.new(shape: RetentionDays, location_name: "RetentionDays"))
283
+ CreateArchiveRequest.struct_class = Types::CreateArchiveRequest
284
+
285
+ CreateArchiveResponse.add_member(:archive_arn, Shapes::ShapeRef.new(shape: ArchiveArn, location_name: "ArchiveArn"))
286
+ CreateArchiveResponse.add_member(:state, Shapes::ShapeRef.new(shape: ArchiveState, location_name: "State"))
287
+ CreateArchiveResponse.add_member(:state_reason, Shapes::ShapeRef.new(shape: ArchiveStateReason, location_name: "StateReason"))
288
+ CreateArchiveResponse.add_member(:creation_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "CreationTime"))
289
+ CreateArchiveResponse.struct_class = Types::CreateArchiveResponse
290
+
213
291
  CreateEventBusRequest.add_member(:name, Shapes::ShapeRef.new(shape: EventBusName, required: true, location_name: "Name"))
214
292
  CreateEventBusRequest.add_member(:event_source_name, Shapes::ShapeRef.new(shape: EventSourceName, location_name: "EventSourceName"))
215
293
  CreateEventBusRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
@@ -228,6 +306,14 @@ module Aws::CloudWatchEvents
228
306
  DeactivateEventSourceRequest.add_member(:name, Shapes::ShapeRef.new(shape: EventSourceName, required: true, location_name: "Name"))
229
307
  DeactivateEventSourceRequest.struct_class = Types::DeactivateEventSourceRequest
230
308
 
309
+ DeadLetterConfig.add_member(:arn, Shapes::ShapeRef.new(shape: ResourceArn, location_name: "Arn"))
310
+ DeadLetterConfig.struct_class = Types::DeadLetterConfig
311
+
312
+ DeleteArchiveRequest.add_member(:archive_name, Shapes::ShapeRef.new(shape: ArchiveName, required: true, location_name: "ArchiveName"))
313
+ DeleteArchiveRequest.struct_class = Types::DeleteArchiveRequest
314
+
315
+ DeleteArchiveResponse.struct_class = Types::DeleteArchiveResponse
316
+
231
317
  DeleteEventBusRequest.add_member(:name, Shapes::ShapeRef.new(shape: EventBusName, required: true, location_name: "Name"))
232
318
  DeleteEventBusRequest.struct_class = Types::DeleteEventBusRequest
233
319
 
@@ -236,11 +322,27 @@ module Aws::CloudWatchEvents
236
322
  DeletePartnerEventSourceRequest.struct_class = Types::DeletePartnerEventSourceRequest
237
323
 
238
324
  DeleteRuleRequest.add_member(:name, Shapes::ShapeRef.new(shape: RuleName, required: true, location_name: "Name"))
239
- DeleteRuleRequest.add_member(:event_bus_name, Shapes::ShapeRef.new(shape: EventBusName, location_name: "EventBusName"))
325
+ DeleteRuleRequest.add_member(:event_bus_name, Shapes::ShapeRef.new(shape: EventBusNameOrArn, location_name: "EventBusName"))
240
326
  DeleteRuleRequest.add_member(:force, Shapes::ShapeRef.new(shape: Boolean, location_name: "Force"))
241
327
  DeleteRuleRequest.struct_class = Types::DeleteRuleRequest
242
328
 
243
- DescribeEventBusRequest.add_member(:name, Shapes::ShapeRef.new(shape: EventBusName, location_name: "Name"))
329
+ DescribeArchiveRequest.add_member(:archive_name, Shapes::ShapeRef.new(shape: ArchiveName, required: true, location_name: "ArchiveName"))
330
+ DescribeArchiveRequest.struct_class = Types::DescribeArchiveRequest
331
+
332
+ DescribeArchiveResponse.add_member(:archive_arn, Shapes::ShapeRef.new(shape: ArchiveArn, location_name: "ArchiveArn"))
333
+ DescribeArchiveResponse.add_member(:archive_name, Shapes::ShapeRef.new(shape: ArchiveName, location_name: "ArchiveName"))
334
+ DescribeArchiveResponse.add_member(:event_source_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "EventSourceArn"))
335
+ DescribeArchiveResponse.add_member(:description, Shapes::ShapeRef.new(shape: ArchiveDescription, location_name: "Description"))
336
+ DescribeArchiveResponse.add_member(:event_pattern, Shapes::ShapeRef.new(shape: EventPattern, location_name: "EventPattern"))
337
+ DescribeArchiveResponse.add_member(:state, Shapes::ShapeRef.new(shape: ArchiveState, location_name: "State"))
338
+ DescribeArchiveResponse.add_member(:state_reason, Shapes::ShapeRef.new(shape: ArchiveStateReason, location_name: "StateReason"))
339
+ DescribeArchiveResponse.add_member(:retention_days, Shapes::ShapeRef.new(shape: RetentionDays, location_name: "RetentionDays"))
340
+ DescribeArchiveResponse.add_member(:size_bytes, Shapes::ShapeRef.new(shape: Long, location_name: "SizeBytes"))
341
+ DescribeArchiveResponse.add_member(:event_count, Shapes::ShapeRef.new(shape: Long, location_name: "EventCount"))
342
+ DescribeArchiveResponse.add_member(:creation_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "CreationTime"))
343
+ DescribeArchiveResponse.struct_class = Types::DescribeArchiveResponse
344
+
345
+ DescribeEventBusRequest.add_member(:name, Shapes::ShapeRef.new(shape: EventBusNameOrArn, location_name: "Name"))
244
346
  DescribeEventBusRequest.struct_class = Types::DescribeEventBusRequest
245
347
 
246
348
  DescribeEventBusResponse.add_member(:name, Shapes::ShapeRef.new(shape: String, location_name: "Name"))
@@ -266,8 +368,25 @@ module Aws::CloudWatchEvents
266
368
  DescribePartnerEventSourceResponse.add_member(:name, Shapes::ShapeRef.new(shape: String, location_name: "Name"))
267
369
  DescribePartnerEventSourceResponse.struct_class = Types::DescribePartnerEventSourceResponse
268
370
 
371
+ DescribeReplayRequest.add_member(:replay_name, Shapes::ShapeRef.new(shape: ReplayName, required: true, location_name: "ReplayName"))
372
+ DescribeReplayRequest.struct_class = Types::DescribeReplayRequest
373
+
374
+ DescribeReplayResponse.add_member(:replay_name, Shapes::ShapeRef.new(shape: ReplayName, location_name: "ReplayName"))
375
+ DescribeReplayResponse.add_member(:replay_arn, Shapes::ShapeRef.new(shape: ReplayArn, location_name: "ReplayArn"))
376
+ DescribeReplayResponse.add_member(:description, Shapes::ShapeRef.new(shape: ReplayDescription, location_name: "Description"))
377
+ DescribeReplayResponse.add_member(:state, Shapes::ShapeRef.new(shape: ReplayState, location_name: "State"))
378
+ DescribeReplayResponse.add_member(:state_reason, Shapes::ShapeRef.new(shape: ReplayStateReason, location_name: "StateReason"))
379
+ DescribeReplayResponse.add_member(:event_source_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "EventSourceArn"))
380
+ DescribeReplayResponse.add_member(:destination, Shapes::ShapeRef.new(shape: ReplayDestination, location_name: "Destination"))
381
+ DescribeReplayResponse.add_member(:event_start_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "EventStartTime"))
382
+ DescribeReplayResponse.add_member(:event_end_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "EventEndTime"))
383
+ DescribeReplayResponse.add_member(:event_last_replayed_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "EventLastReplayedTime"))
384
+ DescribeReplayResponse.add_member(:replay_start_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "ReplayStartTime"))
385
+ DescribeReplayResponse.add_member(:replay_end_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "ReplayEndTime"))
386
+ DescribeReplayResponse.struct_class = Types::DescribeReplayResponse
387
+
269
388
  DescribeRuleRequest.add_member(:name, Shapes::ShapeRef.new(shape: RuleName, required: true, location_name: "Name"))
270
- DescribeRuleRequest.add_member(:event_bus_name, Shapes::ShapeRef.new(shape: EventBusName, location_name: "EventBusName"))
389
+ DescribeRuleRequest.add_member(:event_bus_name, Shapes::ShapeRef.new(shape: EventBusNameOrArn, location_name: "EventBusName"))
271
390
  DescribeRuleRequest.struct_class = Types::DescribeRuleRequest
272
391
 
273
392
  DescribeRuleResponse.add_member(:name, Shapes::ShapeRef.new(shape: RuleName, location_name: "Name"))
@@ -279,10 +398,11 @@ module Aws::CloudWatchEvents
279
398
  DescribeRuleResponse.add_member(:role_arn, Shapes::ShapeRef.new(shape: RoleArn, location_name: "RoleArn"))
280
399
  DescribeRuleResponse.add_member(:managed_by, Shapes::ShapeRef.new(shape: ManagedBy, location_name: "ManagedBy"))
281
400
  DescribeRuleResponse.add_member(:event_bus_name, Shapes::ShapeRef.new(shape: EventBusName, location_name: "EventBusName"))
401
+ DescribeRuleResponse.add_member(:created_by, Shapes::ShapeRef.new(shape: CreatedBy, location_name: "CreatedBy"))
282
402
  DescribeRuleResponse.struct_class = Types::DescribeRuleResponse
283
403
 
284
404
  DisableRuleRequest.add_member(:name, Shapes::ShapeRef.new(shape: RuleName, required: true, location_name: "Name"))
285
- DisableRuleRequest.add_member(:event_bus_name, Shapes::ShapeRef.new(shape: EventBusName, location_name: "EventBusName"))
405
+ DisableRuleRequest.add_member(:event_bus_name, Shapes::ShapeRef.new(shape: EventBusNameOrArn, location_name: "EventBusName"))
286
406
  DisableRuleRequest.struct_class = Types::DisableRuleRequest
287
407
 
288
408
  EcsParameters.add_member(:task_definition_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "TaskDefinitionArn"))
@@ -294,7 +414,7 @@ module Aws::CloudWatchEvents
294
414
  EcsParameters.struct_class = Types::EcsParameters
295
415
 
296
416
  EnableRuleRequest.add_member(:name, Shapes::ShapeRef.new(shape: RuleName, required: true, location_name: "Name"))
297
- EnableRuleRequest.add_member(:event_bus_name, Shapes::ShapeRef.new(shape: EventBusName, location_name: "EventBusName"))
417
+ EnableRuleRequest.add_member(:event_bus_name, Shapes::ShapeRef.new(shape: EventBusNameOrArn, location_name: "EventBusName"))
298
418
  EnableRuleRequest.struct_class = Types::EnableRuleRequest
299
419
 
300
420
  EventBus.add_member(:name, Shapes::ShapeRef.new(shape: String, location_name: "Name"))
@@ -324,6 +444,8 @@ module Aws::CloudWatchEvents
324
444
  HttpParameters.add_member(:query_string_parameters, Shapes::ShapeRef.new(shape: QueryStringParametersMap, location_name: "QueryStringParameters"))
325
445
  HttpParameters.struct_class = Types::HttpParameters
326
446
 
447
+ IllegalStatusException.struct_class = Types::IllegalStatusException
448
+
327
449
  InputTransformer.add_member(:input_paths_map, Shapes::ShapeRef.new(shape: TransformerPaths, location_name: "InputPathsMap"))
328
450
  InputTransformer.add_member(:input_template, Shapes::ShapeRef.new(shape: TransformerInput, required: true, location_name: "InputTemplate"))
329
451
  InputTransformer.struct_class = Types::InputTransformer
@@ -339,6 +461,17 @@ module Aws::CloudWatchEvents
339
461
 
340
462
  LimitExceededException.struct_class = Types::LimitExceededException
341
463
 
464
+ ListArchivesRequest.add_member(:name_prefix, Shapes::ShapeRef.new(shape: ArchiveName, location_name: "NamePrefix"))
465
+ ListArchivesRequest.add_member(:event_source_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "EventSourceArn"))
466
+ ListArchivesRequest.add_member(:state, Shapes::ShapeRef.new(shape: ArchiveState, location_name: "State"))
467
+ ListArchivesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
468
+ ListArchivesRequest.add_member(:limit, Shapes::ShapeRef.new(shape: LimitMax100, location_name: "Limit"))
469
+ ListArchivesRequest.struct_class = Types::ListArchivesRequest
470
+
471
+ ListArchivesResponse.add_member(:archives, Shapes::ShapeRef.new(shape: ArchiveResponseList, location_name: "Archives"))
472
+ ListArchivesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
473
+ ListArchivesResponse.struct_class = Types::ListArchivesResponse
474
+
342
475
  ListEventBusesRequest.add_member(:name_prefix, Shapes::ShapeRef.new(shape: EventBusName, location_name: "NamePrefix"))
343
476
  ListEventBusesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
344
477
  ListEventBusesRequest.add_member(:limit, Shapes::ShapeRef.new(shape: LimitMax100, location_name: "Limit"))
@@ -375,8 +508,19 @@ module Aws::CloudWatchEvents
375
508
  ListPartnerEventSourcesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
376
509
  ListPartnerEventSourcesResponse.struct_class = Types::ListPartnerEventSourcesResponse
377
510
 
511
+ ListReplaysRequest.add_member(:name_prefix, Shapes::ShapeRef.new(shape: ReplayName, location_name: "NamePrefix"))
512
+ ListReplaysRequest.add_member(:state, Shapes::ShapeRef.new(shape: ReplayState, location_name: "State"))
513
+ ListReplaysRequest.add_member(:event_source_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "EventSourceArn"))
514
+ ListReplaysRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
515
+ ListReplaysRequest.add_member(:limit, Shapes::ShapeRef.new(shape: LimitMax100, location_name: "Limit"))
516
+ ListReplaysRequest.struct_class = Types::ListReplaysRequest
517
+
518
+ ListReplaysResponse.add_member(:replays, Shapes::ShapeRef.new(shape: ReplayList, location_name: "Replays"))
519
+ ListReplaysResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
520
+ ListReplaysResponse.struct_class = Types::ListReplaysResponse
521
+
378
522
  ListRuleNamesByTargetRequest.add_member(:target_arn, Shapes::ShapeRef.new(shape: TargetArn, required: true, location_name: "TargetArn"))
379
- ListRuleNamesByTargetRequest.add_member(:event_bus_name, Shapes::ShapeRef.new(shape: EventBusName, location_name: "EventBusName"))
523
+ ListRuleNamesByTargetRequest.add_member(:event_bus_name, Shapes::ShapeRef.new(shape: EventBusNameOrArn, location_name: "EventBusName"))
380
524
  ListRuleNamesByTargetRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
381
525
  ListRuleNamesByTargetRequest.add_member(:limit, Shapes::ShapeRef.new(shape: LimitMax100, location_name: "Limit"))
382
526
  ListRuleNamesByTargetRequest.struct_class = Types::ListRuleNamesByTargetRequest
@@ -386,7 +530,7 @@ module Aws::CloudWatchEvents
386
530
  ListRuleNamesByTargetResponse.struct_class = Types::ListRuleNamesByTargetResponse
387
531
 
388
532
  ListRulesRequest.add_member(:name_prefix, Shapes::ShapeRef.new(shape: RuleName, location_name: "NamePrefix"))
389
- ListRulesRequest.add_member(:event_bus_name, Shapes::ShapeRef.new(shape: EventBusName, location_name: "EventBusName"))
533
+ ListRulesRequest.add_member(:event_bus_name, Shapes::ShapeRef.new(shape: EventBusNameOrArn, location_name: "EventBusName"))
390
534
  ListRulesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
391
535
  ListRulesRequest.add_member(:limit, Shapes::ShapeRef.new(shape: LimitMax100, location_name: "Limit"))
392
536
  ListRulesRequest.struct_class = Types::ListRulesRequest
@@ -402,7 +546,7 @@ module Aws::CloudWatchEvents
402
546
  ListTagsForResourceResponse.struct_class = Types::ListTagsForResourceResponse
403
547
 
404
548
  ListTargetsByRuleRequest.add_member(:rule, Shapes::ShapeRef.new(shape: RuleName, required: true, location_name: "Rule"))
405
- ListTargetsByRuleRequest.add_member(:event_bus_name, Shapes::ShapeRef.new(shape: EventBusName, location_name: "EventBusName"))
549
+ ListTargetsByRuleRequest.add_member(:event_bus_name, Shapes::ShapeRef.new(shape: EventBusNameOrArn, location_name: "EventBusName"))
406
550
  ListTargetsByRuleRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
407
551
  ListTargetsByRuleRequest.add_member(:limit, Shapes::ShapeRef.new(shape: LimitMax100, location_name: "Limit"))
408
552
  ListTargetsByRuleRequest.struct_class = Types::ListTargetsByRuleRequest
@@ -444,7 +588,7 @@ module Aws::CloudWatchEvents
444
588
  PutEventsRequestEntry.add_member(:resources, Shapes::ShapeRef.new(shape: EventResourceList, location_name: "Resources"))
445
589
  PutEventsRequestEntry.add_member(:detail_type, Shapes::ShapeRef.new(shape: String, location_name: "DetailType"))
446
590
  PutEventsRequestEntry.add_member(:detail, Shapes::ShapeRef.new(shape: String, location_name: "Detail"))
447
- PutEventsRequestEntry.add_member(:event_bus_name, Shapes::ShapeRef.new(shape: NonPartnerEventBusName, location_name: "EventBusName"))
591
+ PutEventsRequestEntry.add_member(:event_bus_name, Shapes::ShapeRef.new(shape: NonPartnerEventBusNameOrArn, location_name: "EventBusName"))
448
592
  PutEventsRequestEntry.struct_class = Types::PutEventsRequestEntry
449
593
 
450
594
  PutEventsRequestEntryList.member = Shapes::ShapeRef.new(shape: PutEventsRequestEntry)
@@ -484,10 +628,11 @@ module Aws::CloudWatchEvents
484
628
  PutPartnerEventsResultEntryList.member = Shapes::ShapeRef.new(shape: PutPartnerEventsResultEntry)
485
629
 
486
630
  PutPermissionRequest.add_member(:event_bus_name, Shapes::ShapeRef.new(shape: NonPartnerEventBusName, location_name: "EventBusName"))
487
- PutPermissionRequest.add_member(:action, Shapes::ShapeRef.new(shape: Action, required: true, location_name: "Action"))
488
- PutPermissionRequest.add_member(:principal, Shapes::ShapeRef.new(shape: Principal, required: true, location_name: "Principal"))
489
- PutPermissionRequest.add_member(:statement_id, Shapes::ShapeRef.new(shape: StatementId, required: true, location_name: "StatementId"))
631
+ PutPermissionRequest.add_member(:action, Shapes::ShapeRef.new(shape: Action, location_name: "Action"))
632
+ PutPermissionRequest.add_member(:principal, Shapes::ShapeRef.new(shape: Principal, location_name: "Principal"))
633
+ PutPermissionRequest.add_member(:statement_id, Shapes::ShapeRef.new(shape: StatementId, location_name: "StatementId"))
490
634
  PutPermissionRequest.add_member(:condition, Shapes::ShapeRef.new(shape: Condition, location_name: "Condition"))
635
+ PutPermissionRequest.add_member(:policy, Shapes::ShapeRef.new(shape: String, location_name: "Policy"))
491
636
  PutPermissionRequest.struct_class = Types::PutPermissionRequest
492
637
 
493
638
  PutRuleRequest.add_member(:name, Shapes::ShapeRef.new(shape: RuleName, required: true, location_name: "Name"))
@@ -497,14 +642,14 @@ module Aws::CloudWatchEvents
497
642
  PutRuleRequest.add_member(:description, Shapes::ShapeRef.new(shape: RuleDescription, location_name: "Description"))
498
643
  PutRuleRequest.add_member(:role_arn, Shapes::ShapeRef.new(shape: RoleArn, location_name: "RoleArn"))
499
644
  PutRuleRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
500
- PutRuleRequest.add_member(:event_bus_name, Shapes::ShapeRef.new(shape: EventBusName, location_name: "EventBusName"))
645
+ PutRuleRequest.add_member(:event_bus_name, Shapes::ShapeRef.new(shape: EventBusNameOrArn, location_name: "EventBusName"))
501
646
  PutRuleRequest.struct_class = Types::PutRuleRequest
502
647
 
503
648
  PutRuleResponse.add_member(:rule_arn, Shapes::ShapeRef.new(shape: RuleArn, location_name: "RuleArn"))
504
649
  PutRuleResponse.struct_class = Types::PutRuleResponse
505
650
 
506
651
  PutTargetsRequest.add_member(:rule, Shapes::ShapeRef.new(shape: RuleName, required: true, location_name: "Rule"))
507
- PutTargetsRequest.add_member(:event_bus_name, Shapes::ShapeRef.new(shape: EventBusName, location_name: "EventBusName"))
652
+ PutTargetsRequest.add_member(:event_bus_name, Shapes::ShapeRef.new(shape: EventBusNameOrArn, location_name: "EventBusName"))
508
653
  PutTargetsRequest.add_member(:targets, Shapes::ShapeRef.new(shape: TargetList, required: true, location_name: "Targets"))
509
654
  PutTargetsRequest.struct_class = Types::PutTargetsRequest
510
655
 
@@ -530,12 +675,13 @@ module Aws::CloudWatchEvents
530
675
  RedshiftDataParameters.add_member(:with_event, Shapes::ShapeRef.new(shape: Boolean, location_name: "WithEvent"))
531
676
  RedshiftDataParameters.struct_class = Types::RedshiftDataParameters
532
677
 
533
- RemovePermissionRequest.add_member(:statement_id, Shapes::ShapeRef.new(shape: StatementId, required: true, location_name: "StatementId"))
678
+ RemovePermissionRequest.add_member(:statement_id, Shapes::ShapeRef.new(shape: StatementId, location_name: "StatementId"))
679
+ RemovePermissionRequest.add_member(:remove_all_permissions, Shapes::ShapeRef.new(shape: Boolean, location_name: "RemoveAllPermissions"))
534
680
  RemovePermissionRequest.add_member(:event_bus_name, Shapes::ShapeRef.new(shape: NonPartnerEventBusName, location_name: "EventBusName"))
535
681
  RemovePermissionRequest.struct_class = Types::RemovePermissionRequest
536
682
 
537
683
  RemoveTargetsRequest.add_member(:rule, Shapes::ShapeRef.new(shape: RuleName, required: true, location_name: "Rule"))
538
- RemoveTargetsRequest.add_member(:event_bus_name, Shapes::ShapeRef.new(shape: EventBusName, location_name: "EventBusName"))
684
+ RemoveTargetsRequest.add_member(:event_bus_name, Shapes::ShapeRef.new(shape: EventBusNameOrArn, location_name: "EventBusName"))
539
685
  RemoveTargetsRequest.add_member(:ids, Shapes::ShapeRef.new(shape: TargetIdList, required: true, location_name: "Ids"))
540
686
  RemoveTargetsRequest.add_member(:force, Shapes::ShapeRef.new(shape: Boolean, location_name: "Force"))
541
687
  RemoveTargetsRequest.struct_class = Types::RemoveTargetsRequest
@@ -551,10 +697,33 @@ module Aws::CloudWatchEvents
551
697
 
552
698
  RemoveTargetsResultEntryList.member = Shapes::ShapeRef.new(shape: RemoveTargetsResultEntry)
553
699
 
700
+ Replay.add_member(:replay_name, Shapes::ShapeRef.new(shape: ReplayName, location_name: "ReplayName"))
701
+ Replay.add_member(:event_source_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "EventSourceArn"))
702
+ Replay.add_member(:state, Shapes::ShapeRef.new(shape: ReplayState, location_name: "State"))
703
+ Replay.add_member(:state_reason, Shapes::ShapeRef.new(shape: ReplayStateReason, location_name: "StateReason"))
704
+ Replay.add_member(:event_start_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "EventStartTime"))
705
+ Replay.add_member(:event_end_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "EventEndTime"))
706
+ Replay.add_member(:event_last_replayed_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "EventLastReplayedTime"))
707
+ Replay.add_member(:replay_start_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "ReplayStartTime"))
708
+ Replay.add_member(:replay_end_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "ReplayEndTime"))
709
+ Replay.struct_class = Types::Replay
710
+
711
+ ReplayDestination.add_member(:arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "Arn"))
712
+ ReplayDestination.add_member(:filter_arns, Shapes::ShapeRef.new(shape: ReplayDestinationFilters, location_name: "FilterArns"))
713
+ ReplayDestination.struct_class = Types::ReplayDestination
714
+
715
+ ReplayDestinationFilters.member = Shapes::ShapeRef.new(shape: Arn)
716
+
717
+ ReplayList.member = Shapes::ShapeRef.new(shape: Replay)
718
+
554
719
  ResourceAlreadyExistsException.struct_class = Types::ResourceAlreadyExistsException
555
720
 
556
721
  ResourceNotFoundException.struct_class = Types::ResourceNotFoundException
557
722
 
723
+ RetryPolicy.add_member(:maximum_retry_attempts, Shapes::ShapeRef.new(shape: MaximumRetryAttempts, location_name: "MaximumRetryAttempts"))
724
+ RetryPolicy.add_member(:maximum_event_age_in_seconds, Shapes::ShapeRef.new(shape: MaximumEventAgeInSeconds, location_name: "MaximumEventAgeInSeconds"))
725
+ RetryPolicy.struct_class = Types::RetryPolicy
726
+
558
727
  Rule.add_member(:name, Shapes::ShapeRef.new(shape: RuleName, location_name: "Name"))
559
728
  Rule.add_member(:arn, Shapes::ShapeRef.new(shape: RuleArn, location_name: "Arn"))
560
729
  Rule.add_member(:event_pattern, Shapes::ShapeRef.new(shape: EventPattern, location_name: "EventPattern"))
@@ -584,6 +753,20 @@ module Aws::CloudWatchEvents
584
753
  SqsParameters.add_member(:message_group_id, Shapes::ShapeRef.new(shape: MessageGroupId, location_name: "MessageGroupId"))
585
754
  SqsParameters.struct_class = Types::SqsParameters
586
755
 
756
+ StartReplayRequest.add_member(:replay_name, Shapes::ShapeRef.new(shape: ReplayName, required: true, location_name: "ReplayName"))
757
+ StartReplayRequest.add_member(:description, Shapes::ShapeRef.new(shape: ReplayDescription, location_name: "Description"))
758
+ StartReplayRequest.add_member(:event_source_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "EventSourceArn"))
759
+ StartReplayRequest.add_member(:event_start_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "EventStartTime"))
760
+ StartReplayRequest.add_member(:event_end_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "EventEndTime"))
761
+ StartReplayRequest.add_member(:destination, Shapes::ShapeRef.new(shape: ReplayDestination, required: true, location_name: "Destination"))
762
+ StartReplayRequest.struct_class = Types::StartReplayRequest
763
+
764
+ StartReplayResponse.add_member(:replay_arn, Shapes::ShapeRef.new(shape: ReplayArn, location_name: "ReplayArn"))
765
+ StartReplayResponse.add_member(:state, Shapes::ShapeRef.new(shape: ReplayState, location_name: "State"))
766
+ StartReplayResponse.add_member(:state_reason, Shapes::ShapeRef.new(shape: ReplayStateReason, location_name: "StateReason"))
767
+ StartReplayResponse.add_member(:replay_start_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "ReplayStartTime"))
768
+ StartReplayResponse.struct_class = Types::StartReplayResponse
769
+
587
770
  StringList.member = Shapes::ShapeRef.new(shape: String)
588
771
 
589
772
  Tag.add_member(:key, Shapes::ShapeRef.new(shape: TagKey, required: true, location_name: "Key"))
@@ -613,6 +796,8 @@ module Aws::CloudWatchEvents
613
796
  Target.add_member(:sqs_parameters, Shapes::ShapeRef.new(shape: SqsParameters, location_name: "SqsParameters"))
614
797
  Target.add_member(:http_parameters, Shapes::ShapeRef.new(shape: HttpParameters, location_name: "HttpParameters"))
615
798
  Target.add_member(:redshift_data_parameters, Shapes::ShapeRef.new(shape: RedshiftDataParameters, location_name: "RedshiftDataParameters"))
799
+ Target.add_member(:dead_letter_config, Shapes::ShapeRef.new(shape: DeadLetterConfig, location_name: "DeadLetterConfig"))
800
+ Target.add_member(:retry_policy, Shapes::ShapeRef.new(shape: RetryPolicy, location_name: "RetryPolicy"))
616
801
  Target.struct_class = Types::Target
617
802
 
618
803
  TargetIdList.member = Shapes::ShapeRef.new(shape: TargetId)
@@ -635,6 +820,18 @@ module Aws::CloudWatchEvents
635
820
 
636
821
  UntagResourceResponse.struct_class = Types::UntagResourceResponse
637
822
 
823
+ UpdateArchiveRequest.add_member(:archive_name, Shapes::ShapeRef.new(shape: ArchiveName, required: true, location_name: "ArchiveName"))
824
+ UpdateArchiveRequest.add_member(:description, Shapes::ShapeRef.new(shape: ArchiveDescription, location_name: "Description"))
825
+ UpdateArchiveRequest.add_member(:event_pattern, Shapes::ShapeRef.new(shape: EventPattern, location_name: "EventPattern"))
826
+ UpdateArchiveRequest.add_member(:retention_days, Shapes::ShapeRef.new(shape: RetentionDays, location_name: "RetentionDays"))
827
+ UpdateArchiveRequest.struct_class = Types::UpdateArchiveRequest
828
+
829
+ UpdateArchiveResponse.add_member(:archive_arn, Shapes::ShapeRef.new(shape: ArchiveArn, location_name: "ArchiveArn"))
830
+ UpdateArchiveResponse.add_member(:state, Shapes::ShapeRef.new(shape: ArchiveState, location_name: "State"))
831
+ UpdateArchiveResponse.add_member(:state_reason, Shapes::ShapeRef.new(shape: ArchiveStateReason, location_name: "StateReason"))
832
+ UpdateArchiveResponse.add_member(:creation_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "CreationTime"))
833
+ UpdateArchiveResponse.struct_class = Types::UpdateArchiveResponse
834
+
638
835
 
639
836
  # @api private
640
837
  API = Seahorse::Model::Api.new.tap do |api|
@@ -666,6 +863,32 @@ module Aws::CloudWatchEvents
666
863
  o.errors << Shapes::ShapeRef.new(shape: OperationDisabledException)
667
864
  end)
668
865
 
866
+ api.add_operation(:cancel_replay, Seahorse::Model::Operation.new.tap do |o|
867
+ o.name = "CancelReplay"
868
+ o.http_method = "POST"
869
+ o.http_request_uri = "/"
870
+ o.input = Shapes::ShapeRef.new(shape: CancelReplayRequest)
871
+ o.output = Shapes::ShapeRef.new(shape: CancelReplayResponse)
872
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
873
+ o.errors << Shapes::ShapeRef.new(shape: ConcurrentModificationException)
874
+ o.errors << Shapes::ShapeRef.new(shape: IllegalStatusException)
875
+ o.errors << Shapes::ShapeRef.new(shape: InternalException)
876
+ end)
877
+
878
+ api.add_operation(:create_archive, Seahorse::Model::Operation.new.tap do |o|
879
+ o.name = "CreateArchive"
880
+ o.http_method = "POST"
881
+ o.http_request_uri = "/"
882
+ o.input = Shapes::ShapeRef.new(shape: CreateArchiveRequest)
883
+ o.output = Shapes::ShapeRef.new(shape: CreateArchiveResponse)
884
+ o.errors << Shapes::ShapeRef.new(shape: ConcurrentModificationException)
885
+ o.errors << Shapes::ShapeRef.new(shape: ResourceAlreadyExistsException)
886
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
887
+ o.errors << Shapes::ShapeRef.new(shape: InternalException)
888
+ o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
889
+ o.errors << Shapes::ShapeRef.new(shape: InvalidEventPatternException)
890
+ end)
891
+
669
892
  api.add_operation(:create_event_bus, Seahorse::Model::Operation.new.tap do |o|
670
893
  o.name = "CreateEventBus"
671
894
  o.http_method = "POST"
@@ -707,6 +930,17 @@ module Aws::CloudWatchEvents
707
930
  o.errors << Shapes::ShapeRef.new(shape: OperationDisabledException)
708
931
  end)
709
932
 
933
+ api.add_operation(:delete_archive, Seahorse::Model::Operation.new.tap do |o|
934
+ o.name = "DeleteArchive"
935
+ o.http_method = "POST"
936
+ o.http_request_uri = "/"
937
+ o.input = Shapes::ShapeRef.new(shape: DeleteArchiveRequest)
938
+ o.output = Shapes::ShapeRef.new(shape: DeleteArchiveResponse)
939
+ o.errors << Shapes::ShapeRef.new(shape: ConcurrentModificationException)
940
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
941
+ o.errors << Shapes::ShapeRef.new(shape: InternalException)
942
+ end)
943
+
710
944
  api.add_operation(:delete_event_bus, Seahorse::Model::Operation.new.tap do |o|
711
945
  o.name = "DeleteEventBus"
712
946
  o.http_method = "POST"
@@ -740,6 +974,17 @@ module Aws::CloudWatchEvents
740
974
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
741
975
  end)
742
976
 
977
+ api.add_operation(:describe_archive, Seahorse::Model::Operation.new.tap do |o|
978
+ o.name = "DescribeArchive"
979
+ o.http_method = "POST"
980
+ o.http_request_uri = "/"
981
+ o.input = Shapes::ShapeRef.new(shape: DescribeArchiveRequest)
982
+ o.output = Shapes::ShapeRef.new(shape: DescribeArchiveResponse)
983
+ o.errors << Shapes::ShapeRef.new(shape: ResourceAlreadyExistsException)
984
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
985
+ o.errors << Shapes::ShapeRef.new(shape: InternalException)
986
+ end)
987
+
743
988
  api.add_operation(:describe_event_bus, Seahorse::Model::Operation.new.tap do |o|
744
989
  o.name = "DescribeEventBus"
745
990
  o.http_method = "POST"
@@ -772,6 +1017,16 @@ module Aws::CloudWatchEvents
772
1017
  o.errors << Shapes::ShapeRef.new(shape: OperationDisabledException)
773
1018
  end)
774
1019
 
1020
+ api.add_operation(:describe_replay, Seahorse::Model::Operation.new.tap do |o|
1021
+ o.name = "DescribeReplay"
1022
+ o.http_method = "POST"
1023
+ o.http_request_uri = "/"
1024
+ o.input = Shapes::ShapeRef.new(shape: DescribeReplayRequest)
1025
+ o.output = Shapes::ShapeRef.new(shape: DescribeReplayResponse)
1026
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1027
+ o.errors << Shapes::ShapeRef.new(shape: InternalException)
1028
+ end)
1029
+
775
1030
  api.add_operation(:describe_rule, Seahorse::Model::Operation.new.tap do |o|
776
1031
  o.name = "DescribeRule"
777
1032
  o.http_method = "POST"
@@ -806,6 +1061,16 @@ module Aws::CloudWatchEvents
806
1061
  o.errors << Shapes::ShapeRef.new(shape: InternalException)
807
1062
  end)
808
1063
 
1064
+ api.add_operation(:list_archives, Seahorse::Model::Operation.new.tap do |o|
1065
+ o.name = "ListArchives"
1066
+ o.http_method = "POST"
1067
+ o.http_request_uri = "/"
1068
+ o.input = Shapes::ShapeRef.new(shape: ListArchivesRequest)
1069
+ o.output = Shapes::ShapeRef.new(shape: ListArchivesResponse)
1070
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1071
+ o.errors << Shapes::ShapeRef.new(shape: InternalException)
1072
+ end)
1073
+
809
1074
  api.add_operation(:list_event_buses, Seahorse::Model::Operation.new.tap do |o|
810
1075
  o.name = "ListEventBuses"
811
1076
  o.http_method = "POST"
@@ -846,6 +1111,15 @@ module Aws::CloudWatchEvents
846
1111
  o.errors << Shapes::ShapeRef.new(shape: OperationDisabledException)
847
1112
  end)
848
1113
 
1114
+ api.add_operation(:list_replays, Seahorse::Model::Operation.new.tap do |o|
1115
+ o.name = "ListReplays"
1116
+ o.http_method = "POST"
1117
+ o.http_request_uri = "/"
1118
+ o.input = Shapes::ShapeRef.new(shape: ListReplaysRequest)
1119
+ o.output = Shapes::ShapeRef.new(shape: ListReplaysResponse)
1120
+ o.errors << Shapes::ShapeRef.new(shape: InternalException)
1121
+ end)
1122
+
849
1123
  api.add_operation(:list_rule_names_by_target, Seahorse::Model::Operation.new.tap do |o|
850
1124
  o.name = "ListRuleNamesByTarget"
851
1125
  o.http_method = "POST"
@@ -915,6 +1189,7 @@ module Aws::CloudWatchEvents
915
1189
  o.errors << Shapes::ShapeRef.new(shape: PolicyLengthExceededException)
916
1190
  o.errors << Shapes::ShapeRef.new(shape: InternalException)
917
1191
  o.errors << Shapes::ShapeRef.new(shape: ConcurrentModificationException)
1192
+ o.errors << Shapes::ShapeRef.new(shape: OperationDisabledException)
918
1193
  end)
919
1194
 
920
1195
  api.add_operation(:put_rule, Seahorse::Model::Operation.new.tap do |o|
@@ -953,6 +1228,7 @@ module Aws::CloudWatchEvents
953
1228
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
954
1229
  o.errors << Shapes::ShapeRef.new(shape: InternalException)
955
1230
  o.errors << Shapes::ShapeRef.new(shape: ConcurrentModificationException)
1231
+ o.errors << Shapes::ShapeRef.new(shape: OperationDisabledException)
956
1232
  end)
957
1233
 
958
1234
  api.add_operation(:remove_targets, Seahorse::Model::Operation.new.tap do |o|
@@ -967,6 +1243,19 @@ module Aws::CloudWatchEvents
967
1243
  o.errors << Shapes::ShapeRef.new(shape: InternalException)
968
1244
  end)
969
1245
 
1246
+ api.add_operation(:start_replay, Seahorse::Model::Operation.new.tap do |o|
1247
+ o.name = "StartReplay"
1248
+ o.http_method = "POST"
1249
+ o.http_request_uri = "/"
1250
+ o.input = Shapes::ShapeRef.new(shape: StartReplayRequest)
1251
+ o.output = Shapes::ShapeRef.new(shape: StartReplayResponse)
1252
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1253
+ o.errors << Shapes::ShapeRef.new(shape: ResourceAlreadyExistsException)
1254
+ o.errors << Shapes::ShapeRef.new(shape: InvalidEventPatternException)
1255
+ o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
1256
+ o.errors << Shapes::ShapeRef.new(shape: InternalException)
1257
+ end)
1258
+
970
1259
  api.add_operation(:tag_resource, Seahorse::Model::Operation.new.tap do |o|
971
1260
  o.name = "TagResource"
972
1261
  o.http_method = "POST"
@@ -1000,6 +1289,19 @@ module Aws::CloudWatchEvents
1000
1289
  o.errors << Shapes::ShapeRef.new(shape: ConcurrentModificationException)
1001
1290
  o.errors << Shapes::ShapeRef.new(shape: ManagedRuleException)
1002
1291
  end)
1292
+
1293
+ api.add_operation(:update_archive, Seahorse::Model::Operation.new.tap do |o|
1294
+ o.name = "UpdateArchive"
1295
+ o.http_method = "POST"
1296
+ o.http_request_uri = "/"
1297
+ o.input = Shapes::ShapeRef.new(shape: UpdateArchiveRequest)
1298
+ o.output = Shapes::ShapeRef.new(shape: UpdateArchiveResponse)
1299
+ o.errors << Shapes::ShapeRef.new(shape: ConcurrentModificationException)
1300
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1301
+ o.errors << Shapes::ShapeRef.new(shape: InternalException)
1302
+ o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
1303
+ o.errors << Shapes::ShapeRef.new(shape: InvalidEventPatternException)
1304
+ end)
1003
1305
  end
1004
1306
 
1005
1307
  end