aws-sdk-eventbridge 1.16.0 → 1.17.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -16,6 +16,13 @@ module Aws::EventBridge
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,8 +30,12 @@ module Aws::EventBridge
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')
@@ -33,15 +44,21 @@ module Aws::EventBridge
33
44
  DbUser = Shapes::StringShape.new(name: 'DbUser')
34
45
  DeactivateEventSourceRequest = Shapes::StructureShape.new(name: 'DeactivateEventSourceRequest')
35
46
  DeadLetterConfig = Shapes::StructureShape.new(name: 'DeadLetterConfig')
47
+ DeleteArchiveRequest = Shapes::StructureShape.new(name: 'DeleteArchiveRequest')
48
+ DeleteArchiveResponse = Shapes::StructureShape.new(name: 'DeleteArchiveResponse')
36
49
  DeleteEventBusRequest = Shapes::StructureShape.new(name: 'DeleteEventBusRequest')
37
50
  DeletePartnerEventSourceRequest = Shapes::StructureShape.new(name: 'DeletePartnerEventSourceRequest')
38
51
  DeleteRuleRequest = Shapes::StructureShape.new(name: 'DeleteRuleRequest')
52
+ DescribeArchiveRequest = Shapes::StructureShape.new(name: 'DescribeArchiveRequest')
53
+ DescribeArchiveResponse = Shapes::StructureShape.new(name: 'DescribeArchiveResponse')
39
54
  DescribeEventBusRequest = Shapes::StructureShape.new(name: 'DescribeEventBusRequest')
40
55
  DescribeEventBusResponse = Shapes::StructureShape.new(name: 'DescribeEventBusResponse')
41
56
  DescribeEventSourceRequest = Shapes::StructureShape.new(name: 'DescribeEventSourceRequest')
42
57
  DescribeEventSourceResponse = Shapes::StructureShape.new(name: 'DescribeEventSourceResponse')
43
58
  DescribePartnerEventSourceRequest = Shapes::StructureShape.new(name: 'DescribePartnerEventSourceRequest')
44
59
  DescribePartnerEventSourceResponse = Shapes::StructureShape.new(name: 'DescribePartnerEventSourceResponse')
60
+ DescribeReplayRequest = Shapes::StructureShape.new(name: 'DescribeReplayRequest')
61
+ DescribeReplayResponse = Shapes::StructureShape.new(name: 'DescribeReplayResponse')
45
62
  DescribeRuleRequest = Shapes::StructureShape.new(name: 'DescribeRuleRequest')
46
63
  DescribeRuleResponse = Shapes::StructureShape.new(name: 'DescribeRuleResponse')
47
64
  DisableRuleRequest = Shapes::StructureShape.new(name: 'DisableRuleRequest')
@@ -66,6 +83,7 @@ module Aws::EventBridge
66
83
  HeaderParametersMap = Shapes::MapShape.new(name: 'HeaderParametersMap')
67
84
  HeaderValue = Shapes::StringShape.new(name: 'HeaderValue')
68
85
  HttpParameters = Shapes::StructureShape.new(name: 'HttpParameters')
86
+ IllegalStatusException = Shapes::StructureShape.new(name: 'IllegalStatusException')
69
87
  InputTransformer = Shapes::StructureShape.new(name: 'InputTransformer')
70
88
  InputTransformerPathKey = Shapes::StringShape.new(name: 'InputTransformerPathKey')
71
89
  Integer = Shapes::IntegerShape.new(name: 'Integer')
@@ -77,6 +95,8 @@ module Aws::EventBridge
77
95
  LimitExceededException = Shapes::StructureShape.new(name: 'LimitExceededException')
78
96
  LimitMax100 = Shapes::IntegerShape.new(name: 'LimitMax100')
79
97
  LimitMin1 = Shapes::IntegerShape.new(name: 'LimitMin1')
98
+ ListArchivesRequest = Shapes::StructureShape.new(name: 'ListArchivesRequest')
99
+ ListArchivesResponse = Shapes::StructureShape.new(name: 'ListArchivesResponse')
80
100
  ListEventBusesRequest = Shapes::StructureShape.new(name: 'ListEventBusesRequest')
81
101
  ListEventBusesResponse = Shapes::StructureShape.new(name: 'ListEventBusesResponse')
82
102
  ListEventSourcesRequest = Shapes::StructureShape.new(name: 'ListEventSourcesRequest')
@@ -85,6 +105,8 @@ module Aws::EventBridge
85
105
  ListPartnerEventSourceAccountsResponse = Shapes::StructureShape.new(name: 'ListPartnerEventSourceAccountsResponse')
86
106
  ListPartnerEventSourcesRequest = Shapes::StructureShape.new(name: 'ListPartnerEventSourcesRequest')
87
107
  ListPartnerEventSourcesResponse = Shapes::StructureShape.new(name: 'ListPartnerEventSourcesResponse')
108
+ ListReplaysRequest = Shapes::StructureShape.new(name: 'ListReplaysRequest')
109
+ ListReplaysResponse = Shapes::StructureShape.new(name: 'ListReplaysResponse')
88
110
  ListRuleNamesByTargetRequest = Shapes::StructureShape.new(name: 'ListRuleNamesByTargetRequest')
89
111
  ListRuleNamesByTargetResponse = Shapes::StructureShape.new(name: 'ListRuleNamesByTargetResponse')
90
112
  ListRulesRequest = Shapes::StructureShape.new(name: 'ListRulesRequest')
@@ -93,6 +115,7 @@ module Aws::EventBridge
93
115
  ListTagsForResourceResponse = Shapes::StructureShape.new(name: 'ListTagsForResourceResponse')
94
116
  ListTargetsByRuleRequest = Shapes::StructureShape.new(name: 'ListTargetsByRuleRequest')
95
117
  ListTargetsByRuleResponse = Shapes::StructureShape.new(name: 'ListTargetsByRuleResponse')
118
+ Long = Shapes::IntegerShape.new(name: 'Long')
96
119
  ManagedBy = Shapes::StringShape.new(name: 'ManagedBy')
97
120
  ManagedRuleException = Shapes::StructureShape.new(name: 'ManagedRuleException')
98
121
  MaximumEventAgeInSeconds = Shapes::IntegerShape.new(name: 'MaximumEventAgeInSeconds')
@@ -140,9 +163,19 @@ module Aws::EventBridge
140
163
  RemoveTargetsResponse = Shapes::StructureShape.new(name: 'RemoveTargetsResponse')
141
164
  RemoveTargetsResultEntry = Shapes::StructureShape.new(name: 'RemoveTargetsResultEntry')
142
165
  RemoveTargetsResultEntryList = Shapes::ListShape.new(name: 'RemoveTargetsResultEntryList')
166
+ Replay = Shapes::StructureShape.new(name: 'Replay')
167
+ ReplayArn = Shapes::StringShape.new(name: 'ReplayArn')
168
+ ReplayDescription = Shapes::StringShape.new(name: 'ReplayDescription')
169
+ ReplayDestination = Shapes::StructureShape.new(name: 'ReplayDestination')
170
+ ReplayDestinationFilters = Shapes::ListShape.new(name: 'ReplayDestinationFilters')
171
+ ReplayList = Shapes::ListShape.new(name: 'ReplayList')
172
+ ReplayName = Shapes::StringShape.new(name: 'ReplayName')
173
+ ReplayState = Shapes::StringShape.new(name: 'ReplayState')
174
+ ReplayStateReason = Shapes::StringShape.new(name: 'ReplayStateReason')
143
175
  ResourceAlreadyExistsException = Shapes::StructureShape.new(name: 'ResourceAlreadyExistsException')
144
176
  ResourceArn = Shapes::StringShape.new(name: 'ResourceArn')
145
177
  ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
178
+ RetentionDays = Shapes::IntegerShape.new(name: 'RetentionDays')
146
179
  RetryPolicy = Shapes::StructureShape.new(name: 'RetryPolicy')
147
180
  RoleArn = Shapes::StringShape.new(name: 'RoleArn')
148
181
  Rule = Shapes::StructureShape.new(name: 'Rule')
@@ -161,6 +194,8 @@ module Aws::EventBridge
161
194
  ScheduleExpression = Shapes::StringShape.new(name: 'ScheduleExpression')
162
195
  Sql = Shapes::StringShape.new(name: 'Sql')
163
196
  SqsParameters = Shapes::StructureShape.new(name: 'SqsParameters')
197
+ StartReplayRequest = Shapes::StructureShape.new(name: 'StartReplayRequest')
198
+ StartReplayResponse = Shapes::StructureShape.new(name: 'StartReplayResponse')
164
199
  StatementId = Shapes::StringShape.new(name: 'StatementId')
165
200
  StatementName = Shapes::StringShape.new(name: 'StatementName')
166
201
  String = Shapes::StringShape.new(name: 'String')
@@ -187,10 +222,24 @@ module Aws::EventBridge
187
222
  TransformerPaths = Shapes::MapShape.new(name: 'TransformerPaths')
188
223
  UntagResourceRequest = Shapes::StructureShape.new(name: 'UntagResourceRequest')
189
224
  UntagResourceResponse = Shapes::StructureShape.new(name: 'UntagResourceResponse')
225
+ UpdateArchiveRequest = Shapes::StructureShape.new(name: 'UpdateArchiveRequest')
226
+ UpdateArchiveResponse = Shapes::StructureShape.new(name: 'UpdateArchiveResponse')
190
227
 
191
228
  ActivateEventSourceRequest.add_member(:name, Shapes::ShapeRef.new(shape: EventSourceName, required: true, location_name: "Name"))
192
229
  ActivateEventSourceRequest.struct_class = Types::ActivateEventSourceRequest
193
230
 
231
+ Archive.add_member(:archive_name, Shapes::ShapeRef.new(shape: ArchiveName, location_name: "ArchiveName"))
232
+ Archive.add_member(:event_source_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "EventSourceArn"))
233
+ Archive.add_member(:state, Shapes::ShapeRef.new(shape: ArchiveState, location_name: "State"))
234
+ Archive.add_member(:state_reason, Shapes::ShapeRef.new(shape: ArchiveStateReason, location_name: "StateReason"))
235
+ Archive.add_member(:retention_days, Shapes::ShapeRef.new(shape: RetentionDays, location_name: "RetentionDays"))
236
+ Archive.add_member(:size_bytes, Shapes::ShapeRef.new(shape: Long, location_name: "SizeBytes"))
237
+ Archive.add_member(:event_count, Shapes::ShapeRef.new(shape: Long, location_name: "EventCount"))
238
+ Archive.add_member(:creation_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "CreationTime"))
239
+ Archive.struct_class = Types::Archive
240
+
241
+ ArchiveResponseList.member = Shapes::ShapeRef.new(shape: Archive)
242
+
194
243
  AwsVpcConfiguration.add_member(:subnets, Shapes::ShapeRef.new(shape: StringList, required: true, location_name: "Subnets"))
195
244
  AwsVpcConfiguration.add_member(:security_groups, Shapes::ShapeRef.new(shape: StringList, location_name: "SecurityGroups"))
196
245
  AwsVpcConfiguration.add_member(:assign_public_ip, Shapes::ShapeRef.new(shape: AssignPublicIp, location_name: "AssignPublicIp"))
@@ -208,6 +257,14 @@ module Aws::EventBridge
208
257
  BatchRetryStrategy.add_member(:attempts, Shapes::ShapeRef.new(shape: Integer, location_name: "Attempts"))
209
258
  BatchRetryStrategy.struct_class = Types::BatchRetryStrategy
210
259
 
260
+ CancelReplayRequest.add_member(:replay_name, Shapes::ShapeRef.new(shape: ReplayName, required: true, location_name: "ReplayName"))
261
+ CancelReplayRequest.struct_class = Types::CancelReplayRequest
262
+
263
+ CancelReplayResponse.add_member(:replay_arn, Shapes::ShapeRef.new(shape: ReplayArn, location_name: "ReplayArn"))
264
+ CancelReplayResponse.add_member(:state, Shapes::ShapeRef.new(shape: ReplayState, location_name: "State"))
265
+ CancelReplayResponse.add_member(:state_reason, Shapes::ShapeRef.new(shape: ReplayStateReason, location_name: "StateReason"))
266
+ CancelReplayResponse.struct_class = Types::CancelReplayResponse
267
+
211
268
  ConcurrentModificationException.struct_class = Types::ConcurrentModificationException
212
269
 
213
270
  Condition.add_member(:type, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Type"))
@@ -215,6 +272,19 @@ module Aws::EventBridge
215
272
  Condition.add_member(:value, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Value"))
216
273
  Condition.struct_class = Types::Condition
217
274
 
275
+ CreateArchiveRequest.add_member(:archive_name, Shapes::ShapeRef.new(shape: ArchiveName, required: true, location_name: "ArchiveName"))
276
+ CreateArchiveRequest.add_member(:event_source_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "EventSourceArn"))
277
+ CreateArchiveRequest.add_member(:description, Shapes::ShapeRef.new(shape: ArchiveDescription, location_name: "Description"))
278
+ CreateArchiveRequest.add_member(:event_pattern, Shapes::ShapeRef.new(shape: EventPattern, location_name: "EventPattern"))
279
+ CreateArchiveRequest.add_member(:retention_days, Shapes::ShapeRef.new(shape: RetentionDays, location_name: "RetentionDays"))
280
+ CreateArchiveRequest.struct_class = Types::CreateArchiveRequest
281
+
282
+ CreateArchiveResponse.add_member(:archive_arn, Shapes::ShapeRef.new(shape: ArchiveArn, location_name: "ArchiveArn"))
283
+ CreateArchiveResponse.add_member(:state, Shapes::ShapeRef.new(shape: ArchiveState, location_name: "State"))
284
+ CreateArchiveResponse.add_member(:state_reason, Shapes::ShapeRef.new(shape: ArchiveStateReason, location_name: "StateReason"))
285
+ CreateArchiveResponse.add_member(:creation_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "CreationTime"))
286
+ CreateArchiveResponse.struct_class = Types::CreateArchiveResponse
287
+
218
288
  CreateEventBusRequest.add_member(:name, Shapes::ShapeRef.new(shape: EventBusName, required: true, location_name: "Name"))
219
289
  CreateEventBusRequest.add_member(:event_source_name, Shapes::ShapeRef.new(shape: EventSourceName, location_name: "EventSourceName"))
220
290
  CreateEventBusRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
@@ -236,6 +306,11 @@ module Aws::EventBridge
236
306
  DeadLetterConfig.add_member(:arn, Shapes::ShapeRef.new(shape: ResourceArn, location_name: "Arn"))
237
307
  DeadLetterConfig.struct_class = Types::DeadLetterConfig
238
308
 
309
+ DeleteArchiveRequest.add_member(:archive_name, Shapes::ShapeRef.new(shape: ArchiveName, required: true, location_name: "ArchiveName"))
310
+ DeleteArchiveRequest.struct_class = Types::DeleteArchiveRequest
311
+
312
+ DeleteArchiveResponse.struct_class = Types::DeleteArchiveResponse
313
+
239
314
  DeleteEventBusRequest.add_member(:name, Shapes::ShapeRef.new(shape: EventBusName, required: true, location_name: "Name"))
240
315
  DeleteEventBusRequest.struct_class = Types::DeleteEventBusRequest
241
316
 
@@ -248,6 +323,22 @@ module Aws::EventBridge
248
323
  DeleteRuleRequest.add_member(:force, Shapes::ShapeRef.new(shape: Boolean, location_name: "Force"))
249
324
  DeleteRuleRequest.struct_class = Types::DeleteRuleRequest
250
325
 
326
+ DescribeArchiveRequest.add_member(:archive_name, Shapes::ShapeRef.new(shape: ArchiveName, required: true, location_name: "ArchiveName"))
327
+ DescribeArchiveRequest.struct_class = Types::DescribeArchiveRequest
328
+
329
+ DescribeArchiveResponse.add_member(:archive_arn, Shapes::ShapeRef.new(shape: ArchiveArn, location_name: "ArchiveArn"))
330
+ DescribeArchiveResponse.add_member(:archive_name, Shapes::ShapeRef.new(shape: ArchiveName, location_name: "ArchiveName"))
331
+ DescribeArchiveResponse.add_member(:event_source_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "EventSourceArn"))
332
+ DescribeArchiveResponse.add_member(:description, Shapes::ShapeRef.new(shape: ArchiveDescription, location_name: "Description"))
333
+ DescribeArchiveResponse.add_member(:event_pattern, Shapes::ShapeRef.new(shape: EventPattern, location_name: "EventPattern"))
334
+ DescribeArchiveResponse.add_member(:state, Shapes::ShapeRef.new(shape: ArchiveState, location_name: "State"))
335
+ DescribeArchiveResponse.add_member(:state_reason, Shapes::ShapeRef.new(shape: ArchiveStateReason, location_name: "StateReason"))
336
+ DescribeArchiveResponse.add_member(:retention_days, Shapes::ShapeRef.new(shape: RetentionDays, location_name: "RetentionDays"))
337
+ DescribeArchiveResponse.add_member(:size_bytes, Shapes::ShapeRef.new(shape: Long, location_name: "SizeBytes"))
338
+ DescribeArchiveResponse.add_member(:event_count, Shapes::ShapeRef.new(shape: Long, location_name: "EventCount"))
339
+ DescribeArchiveResponse.add_member(:creation_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "CreationTime"))
340
+ DescribeArchiveResponse.struct_class = Types::DescribeArchiveResponse
341
+
251
342
  DescribeEventBusRequest.add_member(:name, Shapes::ShapeRef.new(shape: EventBusName, location_name: "Name"))
252
343
  DescribeEventBusRequest.struct_class = Types::DescribeEventBusRequest
253
344
 
@@ -274,6 +365,23 @@ module Aws::EventBridge
274
365
  DescribePartnerEventSourceResponse.add_member(:name, Shapes::ShapeRef.new(shape: String, location_name: "Name"))
275
366
  DescribePartnerEventSourceResponse.struct_class = Types::DescribePartnerEventSourceResponse
276
367
 
368
+ DescribeReplayRequest.add_member(:replay_name, Shapes::ShapeRef.new(shape: ReplayName, required: true, location_name: "ReplayName"))
369
+ DescribeReplayRequest.struct_class = Types::DescribeReplayRequest
370
+
371
+ DescribeReplayResponse.add_member(:replay_name, Shapes::ShapeRef.new(shape: ReplayName, location_name: "ReplayName"))
372
+ DescribeReplayResponse.add_member(:replay_arn, Shapes::ShapeRef.new(shape: ReplayArn, location_name: "ReplayArn"))
373
+ DescribeReplayResponse.add_member(:description, Shapes::ShapeRef.new(shape: ReplayDescription, location_name: "Description"))
374
+ DescribeReplayResponse.add_member(:state, Shapes::ShapeRef.new(shape: ReplayState, location_name: "State"))
375
+ DescribeReplayResponse.add_member(:state_reason, Shapes::ShapeRef.new(shape: ReplayStateReason, location_name: "StateReason"))
376
+ DescribeReplayResponse.add_member(:event_source_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "EventSourceArn"))
377
+ DescribeReplayResponse.add_member(:destination, Shapes::ShapeRef.new(shape: ReplayDestination, location_name: "Destination"))
378
+ DescribeReplayResponse.add_member(:event_start_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "EventStartTime"))
379
+ DescribeReplayResponse.add_member(:event_end_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "EventEndTime"))
380
+ DescribeReplayResponse.add_member(:event_last_replayed_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "EventLastReplayedTime"))
381
+ DescribeReplayResponse.add_member(:replay_start_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "ReplayStartTime"))
382
+ DescribeReplayResponse.add_member(:replay_end_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "ReplayEndTime"))
383
+ DescribeReplayResponse.struct_class = Types::DescribeReplayResponse
384
+
277
385
  DescribeRuleRequest.add_member(:name, Shapes::ShapeRef.new(shape: RuleName, required: true, location_name: "Name"))
278
386
  DescribeRuleRequest.add_member(:event_bus_name, Shapes::ShapeRef.new(shape: EventBusName, location_name: "EventBusName"))
279
387
  DescribeRuleRequest.struct_class = Types::DescribeRuleRequest
@@ -332,6 +440,8 @@ module Aws::EventBridge
332
440
  HttpParameters.add_member(:query_string_parameters, Shapes::ShapeRef.new(shape: QueryStringParametersMap, location_name: "QueryStringParameters"))
333
441
  HttpParameters.struct_class = Types::HttpParameters
334
442
 
443
+ IllegalStatusException.struct_class = Types::IllegalStatusException
444
+
335
445
  InputTransformer.add_member(:input_paths_map, Shapes::ShapeRef.new(shape: TransformerPaths, location_name: "InputPathsMap"))
336
446
  InputTransformer.add_member(:input_template, Shapes::ShapeRef.new(shape: TransformerInput, required: true, location_name: "InputTemplate"))
337
447
  InputTransformer.struct_class = Types::InputTransformer
@@ -347,6 +457,17 @@ module Aws::EventBridge
347
457
 
348
458
  LimitExceededException.struct_class = Types::LimitExceededException
349
459
 
460
+ ListArchivesRequest.add_member(:name_prefix, Shapes::ShapeRef.new(shape: ArchiveName, location_name: "NamePrefix"))
461
+ ListArchivesRequest.add_member(:event_source_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "EventSourceArn"))
462
+ ListArchivesRequest.add_member(:state, Shapes::ShapeRef.new(shape: ArchiveState, location_name: "State"))
463
+ ListArchivesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
464
+ ListArchivesRequest.add_member(:limit, Shapes::ShapeRef.new(shape: LimitMax100, location_name: "Limit"))
465
+ ListArchivesRequest.struct_class = Types::ListArchivesRequest
466
+
467
+ ListArchivesResponse.add_member(:archives, Shapes::ShapeRef.new(shape: ArchiveResponseList, location_name: "Archives"))
468
+ ListArchivesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
469
+ ListArchivesResponse.struct_class = Types::ListArchivesResponse
470
+
350
471
  ListEventBusesRequest.add_member(:name_prefix, Shapes::ShapeRef.new(shape: EventBusName, location_name: "NamePrefix"))
351
472
  ListEventBusesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
352
473
  ListEventBusesRequest.add_member(:limit, Shapes::ShapeRef.new(shape: LimitMax100, location_name: "Limit"))
@@ -383,6 +504,17 @@ module Aws::EventBridge
383
504
  ListPartnerEventSourcesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
384
505
  ListPartnerEventSourcesResponse.struct_class = Types::ListPartnerEventSourcesResponse
385
506
 
507
+ ListReplaysRequest.add_member(:name_prefix, Shapes::ShapeRef.new(shape: ReplayName, location_name: "NamePrefix"))
508
+ ListReplaysRequest.add_member(:state, Shapes::ShapeRef.new(shape: ReplayState, location_name: "State"))
509
+ ListReplaysRequest.add_member(:event_source_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "EventSourceArn"))
510
+ ListReplaysRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
511
+ ListReplaysRequest.add_member(:limit, Shapes::ShapeRef.new(shape: LimitMax100, location_name: "Limit"))
512
+ ListReplaysRequest.struct_class = Types::ListReplaysRequest
513
+
514
+ ListReplaysResponse.add_member(:replays, Shapes::ShapeRef.new(shape: ReplayList, location_name: "Replays"))
515
+ ListReplaysResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
516
+ ListReplaysResponse.struct_class = Types::ListReplaysResponse
517
+
386
518
  ListRuleNamesByTargetRequest.add_member(:target_arn, Shapes::ShapeRef.new(shape: TargetArn, required: true, location_name: "TargetArn"))
387
519
  ListRuleNamesByTargetRequest.add_member(:event_bus_name, Shapes::ShapeRef.new(shape: EventBusName, location_name: "EventBusName"))
388
520
  ListRuleNamesByTargetRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
@@ -559,6 +691,25 @@ module Aws::EventBridge
559
691
 
560
692
  RemoveTargetsResultEntryList.member = Shapes::ShapeRef.new(shape: RemoveTargetsResultEntry)
561
693
 
694
+ Replay.add_member(:replay_name, Shapes::ShapeRef.new(shape: ReplayName, location_name: "ReplayName"))
695
+ Replay.add_member(:event_source_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "EventSourceArn"))
696
+ Replay.add_member(:state, Shapes::ShapeRef.new(shape: ReplayState, location_name: "State"))
697
+ Replay.add_member(:state_reason, Shapes::ShapeRef.new(shape: ReplayStateReason, location_name: "StateReason"))
698
+ Replay.add_member(:event_start_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "EventStartTime"))
699
+ Replay.add_member(:event_end_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "EventEndTime"))
700
+ Replay.add_member(:event_last_replayed_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "EventLastReplayedTime"))
701
+ Replay.add_member(:replay_start_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "ReplayStartTime"))
702
+ Replay.add_member(:replay_end_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "ReplayEndTime"))
703
+ Replay.struct_class = Types::Replay
704
+
705
+ ReplayDestination.add_member(:arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "Arn"))
706
+ ReplayDestination.add_member(:filter_arns, Shapes::ShapeRef.new(shape: ReplayDestinationFilters, location_name: "FilterArns"))
707
+ ReplayDestination.struct_class = Types::ReplayDestination
708
+
709
+ ReplayDestinationFilters.member = Shapes::ShapeRef.new(shape: Arn)
710
+
711
+ ReplayList.member = Shapes::ShapeRef.new(shape: Replay)
712
+
562
713
  ResourceAlreadyExistsException.struct_class = Types::ResourceAlreadyExistsException
563
714
 
564
715
  ResourceNotFoundException.struct_class = Types::ResourceNotFoundException
@@ -596,6 +747,20 @@ module Aws::EventBridge
596
747
  SqsParameters.add_member(:message_group_id, Shapes::ShapeRef.new(shape: MessageGroupId, location_name: "MessageGroupId"))
597
748
  SqsParameters.struct_class = Types::SqsParameters
598
749
 
750
+ StartReplayRequest.add_member(:replay_name, Shapes::ShapeRef.new(shape: ReplayName, required: true, location_name: "ReplayName"))
751
+ StartReplayRequest.add_member(:description, Shapes::ShapeRef.new(shape: ReplayDescription, location_name: "Description"))
752
+ StartReplayRequest.add_member(:event_source_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "EventSourceArn"))
753
+ StartReplayRequest.add_member(:event_start_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "EventStartTime"))
754
+ StartReplayRequest.add_member(:event_end_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "EventEndTime"))
755
+ StartReplayRequest.add_member(:destination, Shapes::ShapeRef.new(shape: ReplayDestination, required: true, location_name: "Destination"))
756
+ StartReplayRequest.struct_class = Types::StartReplayRequest
757
+
758
+ StartReplayResponse.add_member(:replay_arn, Shapes::ShapeRef.new(shape: ReplayArn, location_name: "ReplayArn"))
759
+ StartReplayResponse.add_member(:state, Shapes::ShapeRef.new(shape: ReplayState, location_name: "State"))
760
+ StartReplayResponse.add_member(:state_reason, Shapes::ShapeRef.new(shape: ReplayStateReason, location_name: "StateReason"))
761
+ StartReplayResponse.add_member(:replay_start_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "ReplayStartTime"))
762
+ StartReplayResponse.struct_class = Types::StartReplayResponse
763
+
599
764
  StringList.member = Shapes::ShapeRef.new(shape: String)
600
765
 
601
766
  Tag.add_member(:key, Shapes::ShapeRef.new(shape: TagKey, required: true, location_name: "Key"))
@@ -649,6 +814,18 @@ module Aws::EventBridge
649
814
 
650
815
  UntagResourceResponse.struct_class = Types::UntagResourceResponse
651
816
 
817
+ UpdateArchiveRequest.add_member(:archive_name, Shapes::ShapeRef.new(shape: ArchiveName, required: true, location_name: "ArchiveName"))
818
+ UpdateArchiveRequest.add_member(:description, Shapes::ShapeRef.new(shape: ArchiveDescription, location_name: "Description"))
819
+ UpdateArchiveRequest.add_member(:event_pattern, Shapes::ShapeRef.new(shape: EventPattern, location_name: "EventPattern"))
820
+ UpdateArchiveRequest.add_member(:retention_days, Shapes::ShapeRef.new(shape: RetentionDays, location_name: "RetentionDays"))
821
+ UpdateArchiveRequest.struct_class = Types::UpdateArchiveRequest
822
+
823
+ UpdateArchiveResponse.add_member(:archive_arn, Shapes::ShapeRef.new(shape: ArchiveArn, location_name: "ArchiveArn"))
824
+ UpdateArchiveResponse.add_member(:state, Shapes::ShapeRef.new(shape: ArchiveState, location_name: "State"))
825
+ UpdateArchiveResponse.add_member(:state_reason, Shapes::ShapeRef.new(shape: ArchiveStateReason, location_name: "StateReason"))
826
+ UpdateArchiveResponse.add_member(:creation_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "CreationTime"))
827
+ UpdateArchiveResponse.struct_class = Types::UpdateArchiveResponse
828
+
652
829
 
653
830
  # @api private
654
831
  API = Seahorse::Model::Api.new.tap do |api|
@@ -680,6 +857,32 @@ module Aws::EventBridge
680
857
  o.errors << Shapes::ShapeRef.new(shape: OperationDisabledException)
681
858
  end)
682
859
 
860
+ api.add_operation(:cancel_replay, Seahorse::Model::Operation.new.tap do |o|
861
+ o.name = "CancelReplay"
862
+ o.http_method = "POST"
863
+ o.http_request_uri = "/"
864
+ o.input = Shapes::ShapeRef.new(shape: CancelReplayRequest)
865
+ o.output = Shapes::ShapeRef.new(shape: CancelReplayResponse)
866
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
867
+ o.errors << Shapes::ShapeRef.new(shape: ConcurrentModificationException)
868
+ o.errors << Shapes::ShapeRef.new(shape: IllegalStatusException)
869
+ o.errors << Shapes::ShapeRef.new(shape: InternalException)
870
+ end)
871
+
872
+ api.add_operation(:create_archive, Seahorse::Model::Operation.new.tap do |o|
873
+ o.name = "CreateArchive"
874
+ o.http_method = "POST"
875
+ o.http_request_uri = "/"
876
+ o.input = Shapes::ShapeRef.new(shape: CreateArchiveRequest)
877
+ o.output = Shapes::ShapeRef.new(shape: CreateArchiveResponse)
878
+ o.errors << Shapes::ShapeRef.new(shape: ConcurrentModificationException)
879
+ o.errors << Shapes::ShapeRef.new(shape: ResourceAlreadyExistsException)
880
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
881
+ o.errors << Shapes::ShapeRef.new(shape: InternalException)
882
+ o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
883
+ o.errors << Shapes::ShapeRef.new(shape: InvalidEventPatternException)
884
+ end)
885
+
683
886
  api.add_operation(:create_event_bus, Seahorse::Model::Operation.new.tap do |o|
684
887
  o.name = "CreateEventBus"
685
888
  o.http_method = "POST"
@@ -721,6 +924,17 @@ module Aws::EventBridge
721
924
  o.errors << Shapes::ShapeRef.new(shape: OperationDisabledException)
722
925
  end)
723
926
 
927
+ api.add_operation(:delete_archive, Seahorse::Model::Operation.new.tap do |o|
928
+ o.name = "DeleteArchive"
929
+ o.http_method = "POST"
930
+ o.http_request_uri = "/"
931
+ o.input = Shapes::ShapeRef.new(shape: DeleteArchiveRequest)
932
+ o.output = Shapes::ShapeRef.new(shape: DeleteArchiveResponse)
933
+ o.errors << Shapes::ShapeRef.new(shape: ConcurrentModificationException)
934
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
935
+ o.errors << Shapes::ShapeRef.new(shape: InternalException)
936
+ end)
937
+
724
938
  api.add_operation(:delete_event_bus, Seahorse::Model::Operation.new.tap do |o|
725
939
  o.name = "DeleteEventBus"
726
940
  o.http_method = "POST"
@@ -754,6 +968,17 @@ module Aws::EventBridge
754
968
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
755
969
  end)
756
970
 
971
+ api.add_operation(:describe_archive, Seahorse::Model::Operation.new.tap do |o|
972
+ o.name = "DescribeArchive"
973
+ o.http_method = "POST"
974
+ o.http_request_uri = "/"
975
+ o.input = Shapes::ShapeRef.new(shape: DescribeArchiveRequest)
976
+ o.output = Shapes::ShapeRef.new(shape: DescribeArchiveResponse)
977
+ o.errors << Shapes::ShapeRef.new(shape: ResourceAlreadyExistsException)
978
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
979
+ o.errors << Shapes::ShapeRef.new(shape: InternalException)
980
+ end)
981
+
757
982
  api.add_operation(:describe_event_bus, Seahorse::Model::Operation.new.tap do |o|
758
983
  o.name = "DescribeEventBus"
759
984
  o.http_method = "POST"
@@ -786,6 +1011,16 @@ module Aws::EventBridge
786
1011
  o.errors << Shapes::ShapeRef.new(shape: OperationDisabledException)
787
1012
  end)
788
1013
 
1014
+ api.add_operation(:describe_replay, Seahorse::Model::Operation.new.tap do |o|
1015
+ o.name = "DescribeReplay"
1016
+ o.http_method = "POST"
1017
+ o.http_request_uri = "/"
1018
+ o.input = Shapes::ShapeRef.new(shape: DescribeReplayRequest)
1019
+ o.output = Shapes::ShapeRef.new(shape: DescribeReplayResponse)
1020
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1021
+ o.errors << Shapes::ShapeRef.new(shape: InternalException)
1022
+ end)
1023
+
789
1024
  api.add_operation(:describe_rule, Seahorse::Model::Operation.new.tap do |o|
790
1025
  o.name = "DescribeRule"
791
1026
  o.http_method = "POST"
@@ -820,6 +1055,16 @@ module Aws::EventBridge
820
1055
  o.errors << Shapes::ShapeRef.new(shape: InternalException)
821
1056
  end)
822
1057
 
1058
+ api.add_operation(:list_archives, Seahorse::Model::Operation.new.tap do |o|
1059
+ o.name = "ListArchives"
1060
+ o.http_method = "POST"
1061
+ o.http_request_uri = "/"
1062
+ o.input = Shapes::ShapeRef.new(shape: ListArchivesRequest)
1063
+ o.output = Shapes::ShapeRef.new(shape: ListArchivesResponse)
1064
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1065
+ o.errors << Shapes::ShapeRef.new(shape: InternalException)
1066
+ end)
1067
+
823
1068
  api.add_operation(:list_event_buses, Seahorse::Model::Operation.new.tap do |o|
824
1069
  o.name = "ListEventBuses"
825
1070
  o.http_method = "POST"
@@ -860,6 +1105,15 @@ module Aws::EventBridge
860
1105
  o.errors << Shapes::ShapeRef.new(shape: OperationDisabledException)
861
1106
  end)
862
1107
 
1108
+ api.add_operation(:list_replays, Seahorse::Model::Operation.new.tap do |o|
1109
+ o.name = "ListReplays"
1110
+ o.http_method = "POST"
1111
+ o.http_request_uri = "/"
1112
+ o.input = Shapes::ShapeRef.new(shape: ListReplaysRequest)
1113
+ o.output = Shapes::ShapeRef.new(shape: ListReplaysResponse)
1114
+ o.errors << Shapes::ShapeRef.new(shape: InternalException)
1115
+ end)
1116
+
863
1117
  api.add_operation(:list_rule_names_by_target, Seahorse::Model::Operation.new.tap do |o|
864
1118
  o.name = "ListRuleNamesByTarget"
865
1119
  o.http_method = "POST"
@@ -981,6 +1235,19 @@ module Aws::EventBridge
981
1235
  o.errors << Shapes::ShapeRef.new(shape: InternalException)
982
1236
  end)
983
1237
 
1238
+ api.add_operation(:start_replay, Seahorse::Model::Operation.new.tap do |o|
1239
+ o.name = "StartReplay"
1240
+ o.http_method = "POST"
1241
+ o.http_request_uri = "/"
1242
+ o.input = Shapes::ShapeRef.new(shape: StartReplayRequest)
1243
+ o.output = Shapes::ShapeRef.new(shape: StartReplayResponse)
1244
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1245
+ o.errors << Shapes::ShapeRef.new(shape: ResourceAlreadyExistsException)
1246
+ o.errors << Shapes::ShapeRef.new(shape: InvalidEventPatternException)
1247
+ o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
1248
+ o.errors << Shapes::ShapeRef.new(shape: InternalException)
1249
+ end)
1250
+
984
1251
  api.add_operation(:tag_resource, Seahorse::Model::Operation.new.tap do |o|
985
1252
  o.name = "TagResource"
986
1253
  o.http_method = "POST"
@@ -1014,6 +1281,19 @@ module Aws::EventBridge
1014
1281
  o.errors << Shapes::ShapeRef.new(shape: ConcurrentModificationException)
1015
1282
  o.errors << Shapes::ShapeRef.new(shape: ManagedRuleException)
1016
1283
  end)
1284
+
1285
+ api.add_operation(:update_archive, Seahorse::Model::Operation.new.tap do |o|
1286
+ o.name = "UpdateArchive"
1287
+ o.http_method = "POST"
1288
+ o.http_request_uri = "/"
1289
+ o.input = Shapes::ShapeRef.new(shape: UpdateArchiveRequest)
1290
+ o.output = Shapes::ShapeRef.new(shape: UpdateArchiveResponse)
1291
+ o.errors << Shapes::ShapeRef.new(shape: ConcurrentModificationException)
1292
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1293
+ o.errors << Shapes::ShapeRef.new(shape: InternalException)
1294
+ o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
1295
+ o.errors << Shapes::ShapeRef.new(shape: InvalidEventPatternException)
1296
+ end)
1017
1297
  end
1018
1298
 
1019
1299
  end