aws-sdk-eventbridge 1.15.0 → 1.20.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -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,24 +30,36 @@ 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')
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::EventBridge
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::EventBridge
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::EventBridge
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::EventBridge
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::EventBridge
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::EventBridge
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::EventBridge
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')
@@ -178,14 +221,29 @@ module Aws::EventBridge
178
221
  TestEventPatternRequest = Shapes::StructureShape.new(name: 'TestEventPatternRequest')
179
222
  TestEventPatternResponse = Shapes::StructureShape.new(name: 'TestEventPatternResponse')
180
223
  Timestamp = Shapes::TimestampShape.new(name: 'Timestamp')
224
+ TraceHeader = Shapes::StringShape.new(name: 'TraceHeader')
181
225
  TransformerInput = Shapes::StringShape.new(name: 'TransformerInput')
182
226
  TransformerPaths = Shapes::MapShape.new(name: 'TransformerPaths')
183
227
  UntagResourceRequest = Shapes::StructureShape.new(name: 'UntagResourceRequest')
184
228
  UntagResourceResponse = Shapes::StructureShape.new(name: 'UntagResourceResponse')
229
+ UpdateArchiveRequest = Shapes::StructureShape.new(name: 'UpdateArchiveRequest')
230
+ UpdateArchiveResponse = Shapes::StructureShape.new(name: 'UpdateArchiveResponse')
185
231
 
186
232
  ActivateEventSourceRequest.add_member(:name, Shapes::ShapeRef.new(shape: EventSourceName, required: true, location_name: "Name"))
187
233
  ActivateEventSourceRequest.struct_class = Types::ActivateEventSourceRequest
188
234
 
235
+ Archive.add_member(:archive_name, Shapes::ShapeRef.new(shape: ArchiveName, location_name: "ArchiveName"))
236
+ Archive.add_member(:event_source_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "EventSourceArn"))
237
+ Archive.add_member(:state, Shapes::ShapeRef.new(shape: ArchiveState, location_name: "State"))
238
+ Archive.add_member(:state_reason, Shapes::ShapeRef.new(shape: ArchiveStateReason, location_name: "StateReason"))
239
+ Archive.add_member(:retention_days, Shapes::ShapeRef.new(shape: RetentionDays, location_name: "RetentionDays"))
240
+ Archive.add_member(:size_bytes, Shapes::ShapeRef.new(shape: Long, location_name: "SizeBytes"))
241
+ Archive.add_member(:event_count, Shapes::ShapeRef.new(shape: Long, location_name: "EventCount"))
242
+ Archive.add_member(:creation_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "CreationTime"))
243
+ Archive.struct_class = Types::Archive
244
+
245
+ ArchiveResponseList.member = Shapes::ShapeRef.new(shape: Archive)
246
+
189
247
  AwsVpcConfiguration.add_member(:subnets, Shapes::ShapeRef.new(shape: StringList, required: true, location_name: "Subnets"))
190
248
  AwsVpcConfiguration.add_member(:security_groups, Shapes::ShapeRef.new(shape: StringList, location_name: "SecurityGroups"))
191
249
  AwsVpcConfiguration.add_member(:assign_public_ip, Shapes::ShapeRef.new(shape: AssignPublicIp, location_name: "AssignPublicIp"))
@@ -203,6 +261,14 @@ module Aws::EventBridge
203
261
  BatchRetryStrategy.add_member(:attempts, Shapes::ShapeRef.new(shape: Integer, location_name: "Attempts"))
204
262
  BatchRetryStrategy.struct_class = Types::BatchRetryStrategy
205
263
 
264
+ CancelReplayRequest.add_member(:replay_name, Shapes::ShapeRef.new(shape: ReplayName, required: true, location_name: "ReplayName"))
265
+ CancelReplayRequest.struct_class = Types::CancelReplayRequest
266
+
267
+ CancelReplayResponse.add_member(:replay_arn, Shapes::ShapeRef.new(shape: ReplayArn, location_name: "ReplayArn"))
268
+ CancelReplayResponse.add_member(:state, Shapes::ShapeRef.new(shape: ReplayState, location_name: "State"))
269
+ CancelReplayResponse.add_member(:state_reason, Shapes::ShapeRef.new(shape: ReplayStateReason, location_name: "StateReason"))
270
+ CancelReplayResponse.struct_class = Types::CancelReplayResponse
271
+
206
272
  ConcurrentModificationException.struct_class = Types::ConcurrentModificationException
207
273
 
208
274
  Condition.add_member(:type, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Type"))
@@ -210,6 +276,19 @@ module Aws::EventBridge
210
276
  Condition.add_member(:value, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Value"))
211
277
  Condition.struct_class = Types::Condition
212
278
 
279
+ CreateArchiveRequest.add_member(:archive_name, Shapes::ShapeRef.new(shape: ArchiveName, required: true, location_name: "ArchiveName"))
280
+ CreateArchiveRequest.add_member(:event_source_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "EventSourceArn"))
281
+ CreateArchiveRequest.add_member(:description, Shapes::ShapeRef.new(shape: ArchiveDescription, location_name: "Description"))
282
+ CreateArchiveRequest.add_member(:event_pattern, Shapes::ShapeRef.new(shape: EventPattern, location_name: "EventPattern"))
283
+ CreateArchiveRequest.add_member(:retention_days, Shapes::ShapeRef.new(shape: RetentionDays, location_name: "RetentionDays"))
284
+ CreateArchiveRequest.struct_class = Types::CreateArchiveRequest
285
+
286
+ CreateArchiveResponse.add_member(:archive_arn, Shapes::ShapeRef.new(shape: ArchiveArn, location_name: "ArchiveArn"))
287
+ CreateArchiveResponse.add_member(:state, Shapes::ShapeRef.new(shape: ArchiveState, location_name: "State"))
288
+ CreateArchiveResponse.add_member(:state_reason, Shapes::ShapeRef.new(shape: ArchiveStateReason, location_name: "StateReason"))
289
+ CreateArchiveResponse.add_member(:creation_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "CreationTime"))
290
+ CreateArchiveResponse.struct_class = Types::CreateArchiveResponse
291
+
213
292
  CreateEventBusRequest.add_member(:name, Shapes::ShapeRef.new(shape: EventBusName, required: true, location_name: "Name"))
214
293
  CreateEventBusRequest.add_member(:event_source_name, Shapes::ShapeRef.new(shape: EventSourceName, location_name: "EventSourceName"))
215
294
  CreateEventBusRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
@@ -228,6 +307,14 @@ module Aws::EventBridge
228
307
  DeactivateEventSourceRequest.add_member(:name, Shapes::ShapeRef.new(shape: EventSourceName, required: true, location_name: "Name"))
229
308
  DeactivateEventSourceRequest.struct_class = Types::DeactivateEventSourceRequest
230
309
 
310
+ DeadLetterConfig.add_member(:arn, Shapes::ShapeRef.new(shape: ResourceArn, location_name: "Arn"))
311
+ DeadLetterConfig.struct_class = Types::DeadLetterConfig
312
+
313
+ DeleteArchiveRequest.add_member(:archive_name, Shapes::ShapeRef.new(shape: ArchiveName, required: true, location_name: "ArchiveName"))
314
+ DeleteArchiveRequest.struct_class = Types::DeleteArchiveRequest
315
+
316
+ DeleteArchiveResponse.struct_class = Types::DeleteArchiveResponse
317
+
231
318
  DeleteEventBusRequest.add_member(:name, Shapes::ShapeRef.new(shape: EventBusName, required: true, location_name: "Name"))
232
319
  DeleteEventBusRequest.struct_class = Types::DeleteEventBusRequest
233
320
 
@@ -236,11 +323,27 @@ module Aws::EventBridge
236
323
  DeletePartnerEventSourceRequest.struct_class = Types::DeletePartnerEventSourceRequest
237
324
 
238
325
  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"))
326
+ DeleteRuleRequest.add_member(:event_bus_name, Shapes::ShapeRef.new(shape: EventBusNameOrArn, location_name: "EventBusName"))
240
327
  DeleteRuleRequest.add_member(:force, Shapes::ShapeRef.new(shape: Boolean, location_name: "Force"))
241
328
  DeleteRuleRequest.struct_class = Types::DeleteRuleRequest
242
329
 
243
- DescribeEventBusRequest.add_member(:name, Shapes::ShapeRef.new(shape: EventBusName, location_name: "Name"))
330
+ DescribeArchiveRequest.add_member(:archive_name, Shapes::ShapeRef.new(shape: ArchiveName, required: true, location_name: "ArchiveName"))
331
+ DescribeArchiveRequest.struct_class = Types::DescribeArchiveRequest
332
+
333
+ DescribeArchiveResponse.add_member(:archive_arn, Shapes::ShapeRef.new(shape: ArchiveArn, location_name: "ArchiveArn"))
334
+ DescribeArchiveResponse.add_member(:archive_name, Shapes::ShapeRef.new(shape: ArchiveName, location_name: "ArchiveName"))
335
+ DescribeArchiveResponse.add_member(:event_source_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "EventSourceArn"))
336
+ DescribeArchiveResponse.add_member(:description, Shapes::ShapeRef.new(shape: ArchiveDescription, location_name: "Description"))
337
+ DescribeArchiveResponse.add_member(:event_pattern, Shapes::ShapeRef.new(shape: EventPattern, location_name: "EventPattern"))
338
+ DescribeArchiveResponse.add_member(:state, Shapes::ShapeRef.new(shape: ArchiveState, location_name: "State"))
339
+ DescribeArchiveResponse.add_member(:state_reason, Shapes::ShapeRef.new(shape: ArchiveStateReason, location_name: "StateReason"))
340
+ DescribeArchiveResponse.add_member(:retention_days, Shapes::ShapeRef.new(shape: RetentionDays, location_name: "RetentionDays"))
341
+ DescribeArchiveResponse.add_member(:size_bytes, Shapes::ShapeRef.new(shape: Long, location_name: "SizeBytes"))
342
+ DescribeArchiveResponse.add_member(:event_count, Shapes::ShapeRef.new(shape: Long, location_name: "EventCount"))
343
+ DescribeArchiveResponse.add_member(:creation_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "CreationTime"))
344
+ DescribeArchiveResponse.struct_class = Types::DescribeArchiveResponse
345
+
346
+ DescribeEventBusRequest.add_member(:name, Shapes::ShapeRef.new(shape: EventBusNameOrArn, location_name: "Name"))
244
347
  DescribeEventBusRequest.struct_class = Types::DescribeEventBusRequest
245
348
 
246
349
  DescribeEventBusResponse.add_member(:name, Shapes::ShapeRef.new(shape: String, location_name: "Name"))
@@ -266,8 +369,25 @@ module Aws::EventBridge
266
369
  DescribePartnerEventSourceResponse.add_member(:name, Shapes::ShapeRef.new(shape: String, location_name: "Name"))
267
370
  DescribePartnerEventSourceResponse.struct_class = Types::DescribePartnerEventSourceResponse
268
371
 
372
+ DescribeReplayRequest.add_member(:replay_name, Shapes::ShapeRef.new(shape: ReplayName, required: true, location_name: "ReplayName"))
373
+ DescribeReplayRequest.struct_class = Types::DescribeReplayRequest
374
+
375
+ DescribeReplayResponse.add_member(:replay_name, Shapes::ShapeRef.new(shape: ReplayName, location_name: "ReplayName"))
376
+ DescribeReplayResponse.add_member(:replay_arn, Shapes::ShapeRef.new(shape: ReplayArn, location_name: "ReplayArn"))
377
+ DescribeReplayResponse.add_member(:description, Shapes::ShapeRef.new(shape: ReplayDescription, location_name: "Description"))
378
+ DescribeReplayResponse.add_member(:state, Shapes::ShapeRef.new(shape: ReplayState, location_name: "State"))
379
+ DescribeReplayResponse.add_member(:state_reason, Shapes::ShapeRef.new(shape: ReplayStateReason, location_name: "StateReason"))
380
+ DescribeReplayResponse.add_member(:event_source_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "EventSourceArn"))
381
+ DescribeReplayResponse.add_member(:destination, Shapes::ShapeRef.new(shape: ReplayDestination, location_name: "Destination"))
382
+ DescribeReplayResponse.add_member(:event_start_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "EventStartTime"))
383
+ DescribeReplayResponse.add_member(:event_end_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "EventEndTime"))
384
+ DescribeReplayResponse.add_member(:event_last_replayed_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "EventLastReplayedTime"))
385
+ DescribeReplayResponse.add_member(:replay_start_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "ReplayStartTime"))
386
+ DescribeReplayResponse.add_member(:replay_end_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "ReplayEndTime"))
387
+ DescribeReplayResponse.struct_class = Types::DescribeReplayResponse
388
+
269
389
  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"))
390
+ DescribeRuleRequest.add_member(:event_bus_name, Shapes::ShapeRef.new(shape: EventBusNameOrArn, location_name: "EventBusName"))
271
391
  DescribeRuleRequest.struct_class = Types::DescribeRuleRequest
272
392
 
273
393
  DescribeRuleResponse.add_member(:name, Shapes::ShapeRef.new(shape: RuleName, location_name: "Name"))
@@ -279,10 +399,11 @@ module Aws::EventBridge
279
399
  DescribeRuleResponse.add_member(:role_arn, Shapes::ShapeRef.new(shape: RoleArn, location_name: "RoleArn"))
280
400
  DescribeRuleResponse.add_member(:managed_by, Shapes::ShapeRef.new(shape: ManagedBy, location_name: "ManagedBy"))
281
401
  DescribeRuleResponse.add_member(:event_bus_name, Shapes::ShapeRef.new(shape: EventBusName, location_name: "EventBusName"))
402
+ DescribeRuleResponse.add_member(:created_by, Shapes::ShapeRef.new(shape: CreatedBy, location_name: "CreatedBy"))
282
403
  DescribeRuleResponse.struct_class = Types::DescribeRuleResponse
283
404
 
284
405
  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"))
406
+ DisableRuleRequest.add_member(:event_bus_name, Shapes::ShapeRef.new(shape: EventBusNameOrArn, location_name: "EventBusName"))
286
407
  DisableRuleRequest.struct_class = Types::DisableRuleRequest
287
408
 
288
409
  EcsParameters.add_member(:task_definition_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "TaskDefinitionArn"))
@@ -294,7 +415,7 @@ module Aws::EventBridge
294
415
  EcsParameters.struct_class = Types::EcsParameters
295
416
 
296
417
  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"))
418
+ EnableRuleRequest.add_member(:event_bus_name, Shapes::ShapeRef.new(shape: EventBusNameOrArn, location_name: "EventBusName"))
298
419
  EnableRuleRequest.struct_class = Types::EnableRuleRequest
299
420
 
300
421
  EventBus.add_member(:name, Shapes::ShapeRef.new(shape: String, location_name: "Name"))
@@ -324,6 +445,8 @@ module Aws::EventBridge
324
445
  HttpParameters.add_member(:query_string_parameters, Shapes::ShapeRef.new(shape: QueryStringParametersMap, location_name: "QueryStringParameters"))
325
446
  HttpParameters.struct_class = Types::HttpParameters
326
447
 
448
+ IllegalStatusException.struct_class = Types::IllegalStatusException
449
+
327
450
  InputTransformer.add_member(:input_paths_map, Shapes::ShapeRef.new(shape: TransformerPaths, location_name: "InputPathsMap"))
328
451
  InputTransformer.add_member(:input_template, Shapes::ShapeRef.new(shape: TransformerInput, required: true, location_name: "InputTemplate"))
329
452
  InputTransformer.struct_class = Types::InputTransformer
@@ -339,6 +462,17 @@ module Aws::EventBridge
339
462
 
340
463
  LimitExceededException.struct_class = Types::LimitExceededException
341
464
 
465
+ ListArchivesRequest.add_member(:name_prefix, Shapes::ShapeRef.new(shape: ArchiveName, location_name: "NamePrefix"))
466
+ ListArchivesRequest.add_member(:event_source_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "EventSourceArn"))
467
+ ListArchivesRequest.add_member(:state, Shapes::ShapeRef.new(shape: ArchiveState, location_name: "State"))
468
+ ListArchivesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
469
+ ListArchivesRequest.add_member(:limit, Shapes::ShapeRef.new(shape: LimitMax100, location_name: "Limit"))
470
+ ListArchivesRequest.struct_class = Types::ListArchivesRequest
471
+
472
+ ListArchivesResponse.add_member(:archives, Shapes::ShapeRef.new(shape: ArchiveResponseList, location_name: "Archives"))
473
+ ListArchivesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
474
+ ListArchivesResponse.struct_class = Types::ListArchivesResponse
475
+
342
476
  ListEventBusesRequest.add_member(:name_prefix, Shapes::ShapeRef.new(shape: EventBusName, location_name: "NamePrefix"))
343
477
  ListEventBusesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
344
478
  ListEventBusesRequest.add_member(:limit, Shapes::ShapeRef.new(shape: LimitMax100, location_name: "Limit"))
@@ -375,8 +509,19 @@ module Aws::EventBridge
375
509
  ListPartnerEventSourcesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
376
510
  ListPartnerEventSourcesResponse.struct_class = Types::ListPartnerEventSourcesResponse
377
511
 
512
+ ListReplaysRequest.add_member(:name_prefix, Shapes::ShapeRef.new(shape: ReplayName, location_name: "NamePrefix"))
513
+ ListReplaysRequest.add_member(:state, Shapes::ShapeRef.new(shape: ReplayState, location_name: "State"))
514
+ ListReplaysRequest.add_member(:event_source_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "EventSourceArn"))
515
+ ListReplaysRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
516
+ ListReplaysRequest.add_member(:limit, Shapes::ShapeRef.new(shape: LimitMax100, location_name: "Limit"))
517
+ ListReplaysRequest.struct_class = Types::ListReplaysRequest
518
+
519
+ ListReplaysResponse.add_member(:replays, Shapes::ShapeRef.new(shape: ReplayList, location_name: "Replays"))
520
+ ListReplaysResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
521
+ ListReplaysResponse.struct_class = Types::ListReplaysResponse
522
+
378
523
  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"))
524
+ ListRuleNamesByTargetRequest.add_member(:event_bus_name, Shapes::ShapeRef.new(shape: EventBusNameOrArn, location_name: "EventBusName"))
380
525
  ListRuleNamesByTargetRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
381
526
  ListRuleNamesByTargetRequest.add_member(:limit, Shapes::ShapeRef.new(shape: LimitMax100, location_name: "Limit"))
382
527
  ListRuleNamesByTargetRequest.struct_class = Types::ListRuleNamesByTargetRequest
@@ -386,7 +531,7 @@ module Aws::EventBridge
386
531
  ListRuleNamesByTargetResponse.struct_class = Types::ListRuleNamesByTargetResponse
387
532
 
388
533
  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"))
534
+ ListRulesRequest.add_member(:event_bus_name, Shapes::ShapeRef.new(shape: EventBusNameOrArn, location_name: "EventBusName"))
390
535
  ListRulesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
391
536
  ListRulesRequest.add_member(:limit, Shapes::ShapeRef.new(shape: LimitMax100, location_name: "Limit"))
392
537
  ListRulesRequest.struct_class = Types::ListRulesRequest
@@ -402,7 +547,7 @@ module Aws::EventBridge
402
547
  ListTagsForResourceResponse.struct_class = Types::ListTagsForResourceResponse
403
548
 
404
549
  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"))
550
+ ListTargetsByRuleRequest.add_member(:event_bus_name, Shapes::ShapeRef.new(shape: EventBusNameOrArn, location_name: "EventBusName"))
406
551
  ListTargetsByRuleRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
407
552
  ListTargetsByRuleRequest.add_member(:limit, Shapes::ShapeRef.new(shape: LimitMax100, location_name: "Limit"))
408
553
  ListTargetsByRuleRequest.struct_class = Types::ListTargetsByRuleRequest
@@ -444,7 +589,8 @@ module Aws::EventBridge
444
589
  PutEventsRequestEntry.add_member(:resources, Shapes::ShapeRef.new(shape: EventResourceList, location_name: "Resources"))
445
590
  PutEventsRequestEntry.add_member(:detail_type, Shapes::ShapeRef.new(shape: String, location_name: "DetailType"))
446
591
  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"))
592
+ PutEventsRequestEntry.add_member(:event_bus_name, Shapes::ShapeRef.new(shape: NonPartnerEventBusNameOrArn, location_name: "EventBusName"))
593
+ PutEventsRequestEntry.add_member(:trace_header, Shapes::ShapeRef.new(shape: TraceHeader, location_name: "TraceHeader"))
448
594
  PutEventsRequestEntry.struct_class = Types::PutEventsRequestEntry
449
595
 
450
596
  PutEventsRequestEntryList.member = Shapes::ShapeRef.new(shape: PutEventsRequestEntry)
@@ -484,10 +630,11 @@ module Aws::EventBridge
484
630
  PutPartnerEventsResultEntryList.member = Shapes::ShapeRef.new(shape: PutPartnerEventsResultEntry)
485
631
 
486
632
  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"))
633
+ PutPermissionRequest.add_member(:action, Shapes::ShapeRef.new(shape: Action, location_name: "Action"))
634
+ PutPermissionRequest.add_member(:principal, Shapes::ShapeRef.new(shape: Principal, location_name: "Principal"))
635
+ PutPermissionRequest.add_member(:statement_id, Shapes::ShapeRef.new(shape: StatementId, location_name: "StatementId"))
490
636
  PutPermissionRequest.add_member(:condition, Shapes::ShapeRef.new(shape: Condition, location_name: "Condition"))
637
+ PutPermissionRequest.add_member(:policy, Shapes::ShapeRef.new(shape: String, location_name: "Policy"))
491
638
  PutPermissionRequest.struct_class = Types::PutPermissionRequest
492
639
 
493
640
  PutRuleRequest.add_member(:name, Shapes::ShapeRef.new(shape: RuleName, required: true, location_name: "Name"))
@@ -497,14 +644,14 @@ module Aws::EventBridge
497
644
  PutRuleRequest.add_member(:description, Shapes::ShapeRef.new(shape: RuleDescription, location_name: "Description"))
498
645
  PutRuleRequest.add_member(:role_arn, Shapes::ShapeRef.new(shape: RoleArn, location_name: "RoleArn"))
499
646
  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"))
647
+ PutRuleRequest.add_member(:event_bus_name, Shapes::ShapeRef.new(shape: EventBusNameOrArn, location_name: "EventBusName"))
501
648
  PutRuleRequest.struct_class = Types::PutRuleRequest
502
649
 
503
650
  PutRuleResponse.add_member(:rule_arn, Shapes::ShapeRef.new(shape: RuleArn, location_name: "RuleArn"))
504
651
  PutRuleResponse.struct_class = Types::PutRuleResponse
505
652
 
506
653
  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"))
654
+ PutTargetsRequest.add_member(:event_bus_name, Shapes::ShapeRef.new(shape: EventBusNameOrArn, location_name: "EventBusName"))
508
655
  PutTargetsRequest.add_member(:targets, Shapes::ShapeRef.new(shape: TargetList, required: true, location_name: "Targets"))
509
656
  PutTargetsRequest.struct_class = Types::PutTargetsRequest
510
657
 
@@ -530,12 +677,13 @@ module Aws::EventBridge
530
677
  RedshiftDataParameters.add_member(:with_event, Shapes::ShapeRef.new(shape: Boolean, location_name: "WithEvent"))
531
678
  RedshiftDataParameters.struct_class = Types::RedshiftDataParameters
532
679
 
533
- RemovePermissionRequest.add_member(:statement_id, Shapes::ShapeRef.new(shape: StatementId, required: true, location_name: "StatementId"))
680
+ RemovePermissionRequest.add_member(:statement_id, Shapes::ShapeRef.new(shape: StatementId, location_name: "StatementId"))
681
+ RemovePermissionRequest.add_member(:remove_all_permissions, Shapes::ShapeRef.new(shape: Boolean, location_name: "RemoveAllPermissions"))
534
682
  RemovePermissionRequest.add_member(:event_bus_name, Shapes::ShapeRef.new(shape: NonPartnerEventBusName, location_name: "EventBusName"))
535
683
  RemovePermissionRequest.struct_class = Types::RemovePermissionRequest
536
684
 
537
685
  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"))
686
+ RemoveTargetsRequest.add_member(:event_bus_name, Shapes::ShapeRef.new(shape: EventBusNameOrArn, location_name: "EventBusName"))
539
687
  RemoveTargetsRequest.add_member(:ids, Shapes::ShapeRef.new(shape: TargetIdList, required: true, location_name: "Ids"))
540
688
  RemoveTargetsRequest.add_member(:force, Shapes::ShapeRef.new(shape: Boolean, location_name: "Force"))
541
689
  RemoveTargetsRequest.struct_class = Types::RemoveTargetsRequest
@@ -551,10 +699,33 @@ module Aws::EventBridge
551
699
 
552
700
  RemoveTargetsResultEntryList.member = Shapes::ShapeRef.new(shape: RemoveTargetsResultEntry)
553
701
 
702
+ Replay.add_member(:replay_name, Shapes::ShapeRef.new(shape: ReplayName, location_name: "ReplayName"))
703
+ Replay.add_member(:event_source_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "EventSourceArn"))
704
+ Replay.add_member(:state, Shapes::ShapeRef.new(shape: ReplayState, location_name: "State"))
705
+ Replay.add_member(:state_reason, Shapes::ShapeRef.new(shape: ReplayStateReason, location_name: "StateReason"))
706
+ Replay.add_member(:event_start_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "EventStartTime"))
707
+ Replay.add_member(:event_end_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "EventEndTime"))
708
+ Replay.add_member(:event_last_replayed_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "EventLastReplayedTime"))
709
+ Replay.add_member(:replay_start_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "ReplayStartTime"))
710
+ Replay.add_member(:replay_end_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "ReplayEndTime"))
711
+ Replay.struct_class = Types::Replay
712
+
713
+ ReplayDestination.add_member(:arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "Arn"))
714
+ ReplayDestination.add_member(:filter_arns, Shapes::ShapeRef.new(shape: ReplayDestinationFilters, location_name: "FilterArns"))
715
+ ReplayDestination.struct_class = Types::ReplayDestination
716
+
717
+ ReplayDestinationFilters.member = Shapes::ShapeRef.new(shape: Arn)
718
+
719
+ ReplayList.member = Shapes::ShapeRef.new(shape: Replay)
720
+
554
721
  ResourceAlreadyExistsException.struct_class = Types::ResourceAlreadyExistsException
555
722
 
556
723
  ResourceNotFoundException.struct_class = Types::ResourceNotFoundException
557
724
 
725
+ RetryPolicy.add_member(:maximum_retry_attempts, Shapes::ShapeRef.new(shape: MaximumRetryAttempts, location_name: "MaximumRetryAttempts"))
726
+ RetryPolicy.add_member(:maximum_event_age_in_seconds, Shapes::ShapeRef.new(shape: MaximumEventAgeInSeconds, location_name: "MaximumEventAgeInSeconds"))
727
+ RetryPolicy.struct_class = Types::RetryPolicy
728
+
558
729
  Rule.add_member(:name, Shapes::ShapeRef.new(shape: RuleName, location_name: "Name"))
559
730
  Rule.add_member(:arn, Shapes::ShapeRef.new(shape: RuleArn, location_name: "Arn"))
560
731
  Rule.add_member(:event_pattern, Shapes::ShapeRef.new(shape: EventPattern, location_name: "EventPattern"))
@@ -584,6 +755,20 @@ module Aws::EventBridge
584
755
  SqsParameters.add_member(:message_group_id, Shapes::ShapeRef.new(shape: MessageGroupId, location_name: "MessageGroupId"))
585
756
  SqsParameters.struct_class = Types::SqsParameters
586
757
 
758
+ StartReplayRequest.add_member(:replay_name, Shapes::ShapeRef.new(shape: ReplayName, required: true, location_name: "ReplayName"))
759
+ StartReplayRequest.add_member(:description, Shapes::ShapeRef.new(shape: ReplayDescription, location_name: "Description"))
760
+ StartReplayRequest.add_member(:event_source_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "EventSourceArn"))
761
+ StartReplayRequest.add_member(:event_start_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "EventStartTime"))
762
+ StartReplayRequest.add_member(:event_end_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "EventEndTime"))
763
+ StartReplayRequest.add_member(:destination, Shapes::ShapeRef.new(shape: ReplayDestination, required: true, location_name: "Destination"))
764
+ StartReplayRequest.struct_class = Types::StartReplayRequest
765
+
766
+ StartReplayResponse.add_member(:replay_arn, Shapes::ShapeRef.new(shape: ReplayArn, location_name: "ReplayArn"))
767
+ StartReplayResponse.add_member(:state, Shapes::ShapeRef.new(shape: ReplayState, location_name: "State"))
768
+ StartReplayResponse.add_member(:state_reason, Shapes::ShapeRef.new(shape: ReplayStateReason, location_name: "StateReason"))
769
+ StartReplayResponse.add_member(:replay_start_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "ReplayStartTime"))
770
+ StartReplayResponse.struct_class = Types::StartReplayResponse
771
+
587
772
  StringList.member = Shapes::ShapeRef.new(shape: String)
588
773
 
589
774
  Tag.add_member(:key, Shapes::ShapeRef.new(shape: TagKey, required: true, location_name: "Key"))
@@ -613,6 +798,8 @@ module Aws::EventBridge
613
798
  Target.add_member(:sqs_parameters, Shapes::ShapeRef.new(shape: SqsParameters, location_name: "SqsParameters"))
614
799
  Target.add_member(:http_parameters, Shapes::ShapeRef.new(shape: HttpParameters, location_name: "HttpParameters"))
615
800
  Target.add_member(:redshift_data_parameters, Shapes::ShapeRef.new(shape: RedshiftDataParameters, location_name: "RedshiftDataParameters"))
801
+ Target.add_member(:dead_letter_config, Shapes::ShapeRef.new(shape: DeadLetterConfig, location_name: "DeadLetterConfig"))
802
+ Target.add_member(:retry_policy, Shapes::ShapeRef.new(shape: RetryPolicy, location_name: "RetryPolicy"))
616
803
  Target.struct_class = Types::Target
617
804
 
618
805
  TargetIdList.member = Shapes::ShapeRef.new(shape: TargetId)
@@ -635,6 +822,18 @@ module Aws::EventBridge
635
822
 
636
823
  UntagResourceResponse.struct_class = Types::UntagResourceResponse
637
824
 
825
+ UpdateArchiveRequest.add_member(:archive_name, Shapes::ShapeRef.new(shape: ArchiveName, required: true, location_name: "ArchiveName"))
826
+ UpdateArchiveRequest.add_member(:description, Shapes::ShapeRef.new(shape: ArchiveDescription, location_name: "Description"))
827
+ UpdateArchiveRequest.add_member(:event_pattern, Shapes::ShapeRef.new(shape: EventPattern, location_name: "EventPattern"))
828
+ UpdateArchiveRequest.add_member(:retention_days, Shapes::ShapeRef.new(shape: RetentionDays, location_name: "RetentionDays"))
829
+ UpdateArchiveRequest.struct_class = Types::UpdateArchiveRequest
830
+
831
+ UpdateArchiveResponse.add_member(:archive_arn, Shapes::ShapeRef.new(shape: ArchiveArn, location_name: "ArchiveArn"))
832
+ UpdateArchiveResponse.add_member(:state, Shapes::ShapeRef.new(shape: ArchiveState, location_name: "State"))
833
+ UpdateArchiveResponse.add_member(:state_reason, Shapes::ShapeRef.new(shape: ArchiveStateReason, location_name: "StateReason"))
834
+ UpdateArchiveResponse.add_member(:creation_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "CreationTime"))
835
+ UpdateArchiveResponse.struct_class = Types::UpdateArchiveResponse
836
+
638
837
 
639
838
  # @api private
640
839
  API = Seahorse::Model::Api.new.tap do |api|
@@ -666,6 +865,32 @@ module Aws::EventBridge
666
865
  o.errors << Shapes::ShapeRef.new(shape: OperationDisabledException)
667
866
  end)
668
867
 
868
+ api.add_operation(:cancel_replay, Seahorse::Model::Operation.new.tap do |o|
869
+ o.name = "CancelReplay"
870
+ o.http_method = "POST"
871
+ o.http_request_uri = "/"
872
+ o.input = Shapes::ShapeRef.new(shape: CancelReplayRequest)
873
+ o.output = Shapes::ShapeRef.new(shape: CancelReplayResponse)
874
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
875
+ o.errors << Shapes::ShapeRef.new(shape: ConcurrentModificationException)
876
+ o.errors << Shapes::ShapeRef.new(shape: IllegalStatusException)
877
+ o.errors << Shapes::ShapeRef.new(shape: InternalException)
878
+ end)
879
+
880
+ api.add_operation(:create_archive, Seahorse::Model::Operation.new.tap do |o|
881
+ o.name = "CreateArchive"
882
+ o.http_method = "POST"
883
+ o.http_request_uri = "/"
884
+ o.input = Shapes::ShapeRef.new(shape: CreateArchiveRequest)
885
+ o.output = Shapes::ShapeRef.new(shape: CreateArchiveResponse)
886
+ o.errors << Shapes::ShapeRef.new(shape: ConcurrentModificationException)
887
+ o.errors << Shapes::ShapeRef.new(shape: ResourceAlreadyExistsException)
888
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
889
+ o.errors << Shapes::ShapeRef.new(shape: InternalException)
890
+ o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
891
+ o.errors << Shapes::ShapeRef.new(shape: InvalidEventPatternException)
892
+ end)
893
+
669
894
  api.add_operation(:create_event_bus, Seahorse::Model::Operation.new.tap do |o|
670
895
  o.name = "CreateEventBus"
671
896
  o.http_method = "POST"
@@ -707,6 +932,17 @@ module Aws::EventBridge
707
932
  o.errors << Shapes::ShapeRef.new(shape: OperationDisabledException)
708
933
  end)
709
934
 
935
+ api.add_operation(:delete_archive, Seahorse::Model::Operation.new.tap do |o|
936
+ o.name = "DeleteArchive"
937
+ o.http_method = "POST"
938
+ o.http_request_uri = "/"
939
+ o.input = Shapes::ShapeRef.new(shape: DeleteArchiveRequest)
940
+ o.output = Shapes::ShapeRef.new(shape: DeleteArchiveResponse)
941
+ o.errors << Shapes::ShapeRef.new(shape: ConcurrentModificationException)
942
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
943
+ o.errors << Shapes::ShapeRef.new(shape: InternalException)
944
+ end)
945
+
710
946
  api.add_operation(:delete_event_bus, Seahorse::Model::Operation.new.tap do |o|
711
947
  o.name = "DeleteEventBus"
712
948
  o.http_method = "POST"
@@ -740,6 +976,17 @@ module Aws::EventBridge
740
976
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
741
977
  end)
742
978
 
979
+ api.add_operation(:describe_archive, Seahorse::Model::Operation.new.tap do |o|
980
+ o.name = "DescribeArchive"
981
+ o.http_method = "POST"
982
+ o.http_request_uri = "/"
983
+ o.input = Shapes::ShapeRef.new(shape: DescribeArchiveRequest)
984
+ o.output = Shapes::ShapeRef.new(shape: DescribeArchiveResponse)
985
+ o.errors << Shapes::ShapeRef.new(shape: ResourceAlreadyExistsException)
986
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
987
+ o.errors << Shapes::ShapeRef.new(shape: InternalException)
988
+ end)
989
+
743
990
  api.add_operation(:describe_event_bus, Seahorse::Model::Operation.new.tap do |o|
744
991
  o.name = "DescribeEventBus"
745
992
  o.http_method = "POST"
@@ -772,6 +1019,16 @@ module Aws::EventBridge
772
1019
  o.errors << Shapes::ShapeRef.new(shape: OperationDisabledException)
773
1020
  end)
774
1021
 
1022
+ api.add_operation(:describe_replay, Seahorse::Model::Operation.new.tap do |o|
1023
+ o.name = "DescribeReplay"
1024
+ o.http_method = "POST"
1025
+ o.http_request_uri = "/"
1026
+ o.input = Shapes::ShapeRef.new(shape: DescribeReplayRequest)
1027
+ o.output = Shapes::ShapeRef.new(shape: DescribeReplayResponse)
1028
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1029
+ o.errors << Shapes::ShapeRef.new(shape: InternalException)
1030
+ end)
1031
+
775
1032
  api.add_operation(:describe_rule, Seahorse::Model::Operation.new.tap do |o|
776
1033
  o.name = "DescribeRule"
777
1034
  o.http_method = "POST"
@@ -806,6 +1063,16 @@ module Aws::EventBridge
806
1063
  o.errors << Shapes::ShapeRef.new(shape: InternalException)
807
1064
  end)
808
1065
 
1066
+ api.add_operation(:list_archives, Seahorse::Model::Operation.new.tap do |o|
1067
+ o.name = "ListArchives"
1068
+ o.http_method = "POST"
1069
+ o.http_request_uri = "/"
1070
+ o.input = Shapes::ShapeRef.new(shape: ListArchivesRequest)
1071
+ o.output = Shapes::ShapeRef.new(shape: ListArchivesResponse)
1072
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1073
+ o.errors << Shapes::ShapeRef.new(shape: InternalException)
1074
+ end)
1075
+
809
1076
  api.add_operation(:list_event_buses, Seahorse::Model::Operation.new.tap do |o|
810
1077
  o.name = "ListEventBuses"
811
1078
  o.http_method = "POST"
@@ -846,6 +1113,15 @@ module Aws::EventBridge
846
1113
  o.errors << Shapes::ShapeRef.new(shape: OperationDisabledException)
847
1114
  end)
848
1115
 
1116
+ api.add_operation(:list_replays, Seahorse::Model::Operation.new.tap do |o|
1117
+ o.name = "ListReplays"
1118
+ o.http_method = "POST"
1119
+ o.http_request_uri = "/"
1120
+ o.input = Shapes::ShapeRef.new(shape: ListReplaysRequest)
1121
+ o.output = Shapes::ShapeRef.new(shape: ListReplaysResponse)
1122
+ o.errors << Shapes::ShapeRef.new(shape: InternalException)
1123
+ end)
1124
+
849
1125
  api.add_operation(:list_rule_names_by_target, Seahorse::Model::Operation.new.tap do |o|
850
1126
  o.name = "ListRuleNamesByTarget"
851
1127
  o.http_method = "POST"
@@ -915,6 +1191,7 @@ module Aws::EventBridge
915
1191
  o.errors << Shapes::ShapeRef.new(shape: PolicyLengthExceededException)
916
1192
  o.errors << Shapes::ShapeRef.new(shape: InternalException)
917
1193
  o.errors << Shapes::ShapeRef.new(shape: ConcurrentModificationException)
1194
+ o.errors << Shapes::ShapeRef.new(shape: OperationDisabledException)
918
1195
  end)
919
1196
 
920
1197
  api.add_operation(:put_rule, Seahorse::Model::Operation.new.tap do |o|
@@ -953,6 +1230,7 @@ module Aws::EventBridge
953
1230
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
954
1231
  o.errors << Shapes::ShapeRef.new(shape: InternalException)
955
1232
  o.errors << Shapes::ShapeRef.new(shape: ConcurrentModificationException)
1233
+ o.errors << Shapes::ShapeRef.new(shape: OperationDisabledException)
956
1234
  end)
957
1235
 
958
1236
  api.add_operation(:remove_targets, Seahorse::Model::Operation.new.tap do |o|
@@ -967,6 +1245,19 @@ module Aws::EventBridge
967
1245
  o.errors << Shapes::ShapeRef.new(shape: InternalException)
968
1246
  end)
969
1247
 
1248
+ api.add_operation(:start_replay, Seahorse::Model::Operation.new.tap do |o|
1249
+ o.name = "StartReplay"
1250
+ o.http_method = "POST"
1251
+ o.http_request_uri = "/"
1252
+ o.input = Shapes::ShapeRef.new(shape: StartReplayRequest)
1253
+ o.output = Shapes::ShapeRef.new(shape: StartReplayResponse)
1254
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1255
+ o.errors << Shapes::ShapeRef.new(shape: ResourceAlreadyExistsException)
1256
+ o.errors << Shapes::ShapeRef.new(shape: InvalidEventPatternException)
1257
+ o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
1258
+ o.errors << Shapes::ShapeRef.new(shape: InternalException)
1259
+ end)
1260
+
970
1261
  api.add_operation(:tag_resource, Seahorse::Model::Operation.new.tap do |o|
971
1262
  o.name = "TagResource"
972
1263
  o.http_method = "POST"
@@ -1000,6 +1291,19 @@ module Aws::EventBridge
1000
1291
  o.errors << Shapes::ShapeRef.new(shape: ConcurrentModificationException)
1001
1292
  o.errors << Shapes::ShapeRef.new(shape: ManagedRuleException)
1002
1293
  end)
1294
+
1295
+ api.add_operation(:update_archive, Seahorse::Model::Operation.new.tap do |o|
1296
+ o.name = "UpdateArchive"
1297
+ o.http_method = "POST"
1298
+ o.http_request_uri = "/"
1299
+ o.input = Shapes::ShapeRef.new(shape: UpdateArchiveRequest)
1300
+ o.output = Shapes::ShapeRef.new(shape: UpdateArchiveResponse)
1301
+ o.errors << Shapes::ShapeRef.new(shape: ConcurrentModificationException)
1302
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1303
+ o.errors << Shapes::ShapeRef.new(shape: InternalException)
1304
+ o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
1305
+ o.errors << Shapes::ShapeRef.new(shape: InvalidEventPatternException)
1306
+ end)
1003
1307
  end
1004
1308
 
1005
1309
  end