aws-sdk-cloudwatchevents 1.35.0 → 1.40.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::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,22 +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')
44
+ Database = Shapes::StringShape.new(name: 'Database')
45
+ DbUser = Shapes::StringShape.new(name: 'DbUser')
32
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')
33
50
  DeleteEventBusRequest = Shapes::StructureShape.new(name: 'DeleteEventBusRequest')
34
51
  DeletePartnerEventSourceRequest = Shapes::StructureShape.new(name: 'DeletePartnerEventSourceRequest')
35
52
  DeleteRuleRequest = Shapes::StructureShape.new(name: 'DeleteRuleRequest')
53
+ DescribeArchiveRequest = Shapes::StructureShape.new(name: 'DescribeArchiveRequest')
54
+ DescribeArchiveResponse = Shapes::StructureShape.new(name: 'DescribeArchiveResponse')
36
55
  DescribeEventBusRequest = Shapes::StructureShape.new(name: 'DescribeEventBusRequest')
37
56
  DescribeEventBusResponse = Shapes::StructureShape.new(name: 'DescribeEventBusResponse')
38
57
  DescribeEventSourceRequest = Shapes::StructureShape.new(name: 'DescribeEventSourceRequest')
39
58
  DescribeEventSourceResponse = Shapes::StructureShape.new(name: 'DescribeEventSourceResponse')
40
59
  DescribePartnerEventSourceRequest = Shapes::StructureShape.new(name: 'DescribePartnerEventSourceRequest')
41
60
  DescribePartnerEventSourceResponse = Shapes::StructureShape.new(name: 'DescribePartnerEventSourceResponse')
61
+ DescribeReplayRequest = Shapes::StructureShape.new(name: 'DescribeReplayRequest')
62
+ DescribeReplayResponse = Shapes::StructureShape.new(name: 'DescribeReplayResponse')
42
63
  DescribeRuleRequest = Shapes::StructureShape.new(name: 'DescribeRuleRequest')
43
64
  DescribeRuleResponse = Shapes::StructureShape.new(name: 'DescribeRuleResponse')
44
65
  DisableRuleRequest = Shapes::StructureShape.new(name: 'DisableRuleRequest')
@@ -49,6 +70,7 @@ module Aws::CloudWatchEvents
49
70
  EventBus = Shapes::StructureShape.new(name: 'EventBus')
50
71
  EventBusList = Shapes::ListShape.new(name: 'EventBusList')
51
72
  EventBusName = Shapes::StringShape.new(name: 'EventBusName')
73
+ EventBusNameOrArn = Shapes::StringShape.new(name: 'EventBusNameOrArn')
52
74
  EventId = Shapes::StringShape.new(name: 'EventId')
53
75
  EventPattern = Shapes::StringShape.new(name: 'EventPattern')
54
76
  EventResource = Shapes::StringShape.new(name: 'EventResource')
@@ -63,6 +85,7 @@ module Aws::CloudWatchEvents
63
85
  HeaderParametersMap = Shapes::MapShape.new(name: 'HeaderParametersMap')
64
86
  HeaderValue = Shapes::StringShape.new(name: 'HeaderValue')
65
87
  HttpParameters = Shapes::StructureShape.new(name: 'HttpParameters')
88
+ IllegalStatusException = Shapes::StructureShape.new(name: 'IllegalStatusException')
66
89
  InputTransformer = Shapes::StructureShape.new(name: 'InputTransformer')
67
90
  InputTransformerPathKey = Shapes::StringShape.new(name: 'InputTransformerPathKey')
68
91
  Integer = Shapes::IntegerShape.new(name: 'Integer')
@@ -74,6 +97,8 @@ module Aws::CloudWatchEvents
74
97
  LimitExceededException = Shapes::StructureShape.new(name: 'LimitExceededException')
75
98
  LimitMax100 = Shapes::IntegerShape.new(name: 'LimitMax100')
76
99
  LimitMin1 = Shapes::IntegerShape.new(name: 'LimitMin1')
100
+ ListArchivesRequest = Shapes::StructureShape.new(name: 'ListArchivesRequest')
101
+ ListArchivesResponse = Shapes::StructureShape.new(name: 'ListArchivesResponse')
77
102
  ListEventBusesRequest = Shapes::StructureShape.new(name: 'ListEventBusesRequest')
78
103
  ListEventBusesResponse = Shapes::StructureShape.new(name: 'ListEventBusesResponse')
79
104
  ListEventSourcesRequest = Shapes::StructureShape.new(name: 'ListEventSourcesRequest')
@@ -82,6 +107,8 @@ module Aws::CloudWatchEvents
82
107
  ListPartnerEventSourceAccountsResponse = Shapes::StructureShape.new(name: 'ListPartnerEventSourceAccountsResponse')
83
108
  ListPartnerEventSourcesRequest = Shapes::StructureShape.new(name: 'ListPartnerEventSourcesRequest')
84
109
  ListPartnerEventSourcesResponse = Shapes::StructureShape.new(name: 'ListPartnerEventSourcesResponse')
110
+ ListReplaysRequest = Shapes::StructureShape.new(name: 'ListReplaysRequest')
111
+ ListReplaysResponse = Shapes::StructureShape.new(name: 'ListReplaysResponse')
85
112
  ListRuleNamesByTargetRequest = Shapes::StructureShape.new(name: 'ListRuleNamesByTargetRequest')
86
113
  ListRuleNamesByTargetResponse = Shapes::StructureShape.new(name: 'ListRuleNamesByTargetResponse')
87
114
  ListRulesRequest = Shapes::StructureShape.new(name: 'ListRulesRequest')
@@ -90,12 +117,16 @@ module Aws::CloudWatchEvents
90
117
  ListTagsForResourceResponse = Shapes::StructureShape.new(name: 'ListTagsForResourceResponse')
91
118
  ListTargetsByRuleRequest = Shapes::StructureShape.new(name: 'ListTargetsByRuleRequest')
92
119
  ListTargetsByRuleResponse = Shapes::StructureShape.new(name: 'ListTargetsByRuleResponse')
120
+ Long = Shapes::IntegerShape.new(name: 'Long')
93
121
  ManagedBy = Shapes::StringShape.new(name: 'ManagedBy')
94
122
  ManagedRuleException = Shapes::StructureShape.new(name: 'ManagedRuleException')
123
+ MaximumEventAgeInSeconds = Shapes::IntegerShape.new(name: 'MaximumEventAgeInSeconds')
124
+ MaximumRetryAttempts = Shapes::IntegerShape.new(name: 'MaximumRetryAttempts')
95
125
  MessageGroupId = Shapes::StringShape.new(name: 'MessageGroupId')
96
126
  NetworkConfiguration = Shapes::StructureShape.new(name: 'NetworkConfiguration')
97
127
  NextToken = Shapes::StringShape.new(name: 'NextToken')
98
128
  NonPartnerEventBusName = Shapes::StringShape.new(name: 'NonPartnerEventBusName')
129
+ NonPartnerEventBusNameOrArn = Shapes::StringShape.new(name: 'NonPartnerEventBusNameOrArn')
99
130
  OperationDisabledException = Shapes::StructureShape.new(name: 'OperationDisabledException')
100
131
  PartnerEventSource = Shapes::StructureShape.new(name: 'PartnerEventSource')
101
132
  PartnerEventSourceAccount = Shapes::StructureShape.new(name: 'PartnerEventSourceAccount')
@@ -128,13 +159,27 @@ module Aws::CloudWatchEvents
128
159
  QueryStringKey = Shapes::StringShape.new(name: 'QueryStringKey')
129
160
  QueryStringParametersMap = Shapes::MapShape.new(name: 'QueryStringParametersMap')
130
161
  QueryStringValue = Shapes::StringShape.new(name: 'QueryStringValue')
162
+ RedshiftDataParameters = Shapes::StructureShape.new(name: 'RedshiftDataParameters')
163
+ RedshiftSecretManagerArn = Shapes::StringShape.new(name: 'RedshiftSecretManagerArn')
131
164
  RemovePermissionRequest = Shapes::StructureShape.new(name: 'RemovePermissionRequest')
132
165
  RemoveTargetsRequest = Shapes::StructureShape.new(name: 'RemoveTargetsRequest')
133
166
  RemoveTargetsResponse = Shapes::StructureShape.new(name: 'RemoveTargetsResponse')
134
167
  RemoveTargetsResultEntry = Shapes::StructureShape.new(name: 'RemoveTargetsResultEntry')
135
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')
136
178
  ResourceAlreadyExistsException = Shapes::StructureShape.new(name: 'ResourceAlreadyExistsException')
179
+ ResourceArn = Shapes::StringShape.new(name: 'ResourceArn')
137
180
  ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
181
+ RetentionDays = Shapes::IntegerShape.new(name: 'RetentionDays')
182
+ RetryPolicy = Shapes::StructureShape.new(name: 'RetryPolicy')
138
183
  RoleArn = Shapes::StringShape.new(name: 'RoleArn')
139
184
  Rule = Shapes::StructureShape.new(name: 'Rule')
140
185
  RuleArn = Shapes::StringShape.new(name: 'RuleArn')
@@ -150,8 +195,12 @@ module Aws::CloudWatchEvents
150
195
  RunCommandTargetValues = Shapes::ListShape.new(name: 'RunCommandTargetValues')
151
196
  RunCommandTargets = Shapes::ListShape.new(name: 'RunCommandTargets')
152
197
  ScheduleExpression = Shapes::StringShape.new(name: 'ScheduleExpression')
198
+ Sql = Shapes::StringShape.new(name: 'Sql')
153
199
  SqsParameters = Shapes::StructureShape.new(name: 'SqsParameters')
200
+ StartReplayRequest = Shapes::StructureShape.new(name: 'StartReplayRequest')
201
+ StartReplayResponse = Shapes::StructureShape.new(name: 'StartReplayResponse')
154
202
  StatementId = Shapes::StringShape.new(name: 'StatementId')
203
+ StatementName = Shapes::StringShape.new(name: 'StatementName')
155
204
  String = Shapes::StringShape.new(name: 'String')
156
205
  StringList = Shapes::ListShape.new(name: 'StringList')
157
206
  Tag = Shapes::StructureShape.new(name: 'Tag')
@@ -176,10 +225,24 @@ module Aws::CloudWatchEvents
176
225
  TransformerPaths = Shapes::MapShape.new(name: 'TransformerPaths')
177
226
  UntagResourceRequest = Shapes::StructureShape.new(name: 'UntagResourceRequest')
178
227
  UntagResourceResponse = Shapes::StructureShape.new(name: 'UntagResourceResponse')
228
+ UpdateArchiveRequest = Shapes::StructureShape.new(name: 'UpdateArchiveRequest')
229
+ UpdateArchiveResponse = Shapes::StructureShape.new(name: 'UpdateArchiveResponse')
179
230
 
180
231
  ActivateEventSourceRequest.add_member(:name, Shapes::ShapeRef.new(shape: EventSourceName, required: true, location_name: "Name"))
181
232
  ActivateEventSourceRequest.struct_class = Types::ActivateEventSourceRequest
182
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
+
183
246
  AwsVpcConfiguration.add_member(:subnets, Shapes::ShapeRef.new(shape: StringList, required: true, location_name: "Subnets"))
184
247
  AwsVpcConfiguration.add_member(:security_groups, Shapes::ShapeRef.new(shape: StringList, location_name: "SecurityGroups"))
185
248
  AwsVpcConfiguration.add_member(:assign_public_ip, Shapes::ShapeRef.new(shape: AssignPublicIp, location_name: "AssignPublicIp"))
@@ -197,6 +260,14 @@ module Aws::CloudWatchEvents
197
260
  BatchRetryStrategy.add_member(:attempts, Shapes::ShapeRef.new(shape: Integer, location_name: "Attempts"))
198
261
  BatchRetryStrategy.struct_class = Types::BatchRetryStrategy
199
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
+
200
271
  ConcurrentModificationException.struct_class = Types::ConcurrentModificationException
201
272
 
202
273
  Condition.add_member(:type, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Type"))
@@ -204,6 +275,19 @@ module Aws::CloudWatchEvents
204
275
  Condition.add_member(:value, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Value"))
205
276
  Condition.struct_class = Types::Condition
206
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
+
207
291
  CreateEventBusRequest.add_member(:name, Shapes::ShapeRef.new(shape: EventBusName, required: true, location_name: "Name"))
208
292
  CreateEventBusRequest.add_member(:event_source_name, Shapes::ShapeRef.new(shape: EventSourceName, location_name: "EventSourceName"))
209
293
  CreateEventBusRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
@@ -222,6 +306,14 @@ module Aws::CloudWatchEvents
222
306
  DeactivateEventSourceRequest.add_member(:name, Shapes::ShapeRef.new(shape: EventSourceName, required: true, location_name: "Name"))
223
307
  DeactivateEventSourceRequest.struct_class = Types::DeactivateEventSourceRequest
224
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
+
225
317
  DeleteEventBusRequest.add_member(:name, Shapes::ShapeRef.new(shape: EventBusName, required: true, location_name: "Name"))
226
318
  DeleteEventBusRequest.struct_class = Types::DeleteEventBusRequest
227
319
 
@@ -230,11 +322,27 @@ module Aws::CloudWatchEvents
230
322
  DeletePartnerEventSourceRequest.struct_class = Types::DeletePartnerEventSourceRequest
231
323
 
232
324
  DeleteRuleRequest.add_member(:name, Shapes::ShapeRef.new(shape: RuleName, required: true, location_name: "Name"))
233
- 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"))
234
326
  DeleteRuleRequest.add_member(:force, Shapes::ShapeRef.new(shape: Boolean, location_name: "Force"))
235
327
  DeleteRuleRequest.struct_class = Types::DeleteRuleRequest
236
328
 
237
- 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"))
238
346
  DescribeEventBusRequest.struct_class = Types::DescribeEventBusRequest
239
347
 
240
348
  DescribeEventBusResponse.add_member(:name, Shapes::ShapeRef.new(shape: String, location_name: "Name"))
@@ -260,8 +368,25 @@ module Aws::CloudWatchEvents
260
368
  DescribePartnerEventSourceResponse.add_member(:name, Shapes::ShapeRef.new(shape: String, location_name: "Name"))
261
369
  DescribePartnerEventSourceResponse.struct_class = Types::DescribePartnerEventSourceResponse
262
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
+
263
388
  DescribeRuleRequest.add_member(:name, Shapes::ShapeRef.new(shape: RuleName, required: true, location_name: "Name"))
264
- 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"))
265
390
  DescribeRuleRequest.struct_class = Types::DescribeRuleRequest
266
391
 
267
392
  DescribeRuleResponse.add_member(:name, Shapes::ShapeRef.new(shape: RuleName, location_name: "Name"))
@@ -273,10 +398,11 @@ module Aws::CloudWatchEvents
273
398
  DescribeRuleResponse.add_member(:role_arn, Shapes::ShapeRef.new(shape: RoleArn, location_name: "RoleArn"))
274
399
  DescribeRuleResponse.add_member(:managed_by, Shapes::ShapeRef.new(shape: ManagedBy, location_name: "ManagedBy"))
275
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"))
276
402
  DescribeRuleResponse.struct_class = Types::DescribeRuleResponse
277
403
 
278
404
  DisableRuleRequest.add_member(:name, Shapes::ShapeRef.new(shape: RuleName, required: true, location_name: "Name"))
279
- 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"))
280
406
  DisableRuleRequest.struct_class = Types::DisableRuleRequest
281
407
 
282
408
  EcsParameters.add_member(:task_definition_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "TaskDefinitionArn"))
@@ -288,7 +414,7 @@ module Aws::CloudWatchEvents
288
414
  EcsParameters.struct_class = Types::EcsParameters
289
415
 
290
416
  EnableRuleRequest.add_member(:name, Shapes::ShapeRef.new(shape: RuleName, required: true, location_name: "Name"))
291
- 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"))
292
418
  EnableRuleRequest.struct_class = Types::EnableRuleRequest
293
419
 
294
420
  EventBus.add_member(:name, Shapes::ShapeRef.new(shape: String, location_name: "Name"))
@@ -318,6 +444,8 @@ module Aws::CloudWatchEvents
318
444
  HttpParameters.add_member(:query_string_parameters, Shapes::ShapeRef.new(shape: QueryStringParametersMap, location_name: "QueryStringParameters"))
319
445
  HttpParameters.struct_class = Types::HttpParameters
320
446
 
447
+ IllegalStatusException.struct_class = Types::IllegalStatusException
448
+
321
449
  InputTransformer.add_member(:input_paths_map, Shapes::ShapeRef.new(shape: TransformerPaths, location_name: "InputPathsMap"))
322
450
  InputTransformer.add_member(:input_template, Shapes::ShapeRef.new(shape: TransformerInput, required: true, location_name: "InputTemplate"))
323
451
  InputTransformer.struct_class = Types::InputTransformer
@@ -333,6 +461,17 @@ module Aws::CloudWatchEvents
333
461
 
334
462
  LimitExceededException.struct_class = Types::LimitExceededException
335
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
+
336
475
  ListEventBusesRequest.add_member(:name_prefix, Shapes::ShapeRef.new(shape: EventBusName, location_name: "NamePrefix"))
337
476
  ListEventBusesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
338
477
  ListEventBusesRequest.add_member(:limit, Shapes::ShapeRef.new(shape: LimitMax100, location_name: "Limit"))
@@ -369,8 +508,19 @@ module Aws::CloudWatchEvents
369
508
  ListPartnerEventSourcesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
370
509
  ListPartnerEventSourcesResponse.struct_class = Types::ListPartnerEventSourcesResponse
371
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
+
372
522
  ListRuleNamesByTargetRequest.add_member(:target_arn, Shapes::ShapeRef.new(shape: TargetArn, required: true, location_name: "TargetArn"))
373
- 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"))
374
524
  ListRuleNamesByTargetRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
375
525
  ListRuleNamesByTargetRequest.add_member(:limit, Shapes::ShapeRef.new(shape: LimitMax100, location_name: "Limit"))
376
526
  ListRuleNamesByTargetRequest.struct_class = Types::ListRuleNamesByTargetRequest
@@ -380,7 +530,7 @@ module Aws::CloudWatchEvents
380
530
  ListRuleNamesByTargetResponse.struct_class = Types::ListRuleNamesByTargetResponse
381
531
 
382
532
  ListRulesRequest.add_member(:name_prefix, Shapes::ShapeRef.new(shape: RuleName, location_name: "NamePrefix"))
383
- 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"))
384
534
  ListRulesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
385
535
  ListRulesRequest.add_member(:limit, Shapes::ShapeRef.new(shape: LimitMax100, location_name: "Limit"))
386
536
  ListRulesRequest.struct_class = Types::ListRulesRequest
@@ -396,7 +546,7 @@ module Aws::CloudWatchEvents
396
546
  ListTagsForResourceResponse.struct_class = Types::ListTagsForResourceResponse
397
547
 
398
548
  ListTargetsByRuleRequest.add_member(:rule, Shapes::ShapeRef.new(shape: RuleName, required: true, location_name: "Rule"))
399
- 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"))
400
550
  ListTargetsByRuleRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
401
551
  ListTargetsByRuleRequest.add_member(:limit, Shapes::ShapeRef.new(shape: LimitMax100, location_name: "Limit"))
402
552
  ListTargetsByRuleRequest.struct_class = Types::ListTargetsByRuleRequest
@@ -438,7 +588,7 @@ module Aws::CloudWatchEvents
438
588
  PutEventsRequestEntry.add_member(:resources, Shapes::ShapeRef.new(shape: EventResourceList, location_name: "Resources"))
439
589
  PutEventsRequestEntry.add_member(:detail_type, Shapes::ShapeRef.new(shape: String, location_name: "DetailType"))
440
590
  PutEventsRequestEntry.add_member(:detail, Shapes::ShapeRef.new(shape: String, location_name: "Detail"))
441
- 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"))
442
592
  PutEventsRequestEntry.struct_class = Types::PutEventsRequestEntry
443
593
 
444
594
  PutEventsRequestEntryList.member = Shapes::ShapeRef.new(shape: PutEventsRequestEntry)
@@ -478,10 +628,11 @@ module Aws::CloudWatchEvents
478
628
  PutPartnerEventsResultEntryList.member = Shapes::ShapeRef.new(shape: PutPartnerEventsResultEntry)
479
629
 
480
630
  PutPermissionRequest.add_member(:event_bus_name, Shapes::ShapeRef.new(shape: NonPartnerEventBusName, location_name: "EventBusName"))
481
- PutPermissionRequest.add_member(:action, Shapes::ShapeRef.new(shape: Action, required: true, location_name: "Action"))
482
- PutPermissionRequest.add_member(:principal, Shapes::ShapeRef.new(shape: Principal, required: true, location_name: "Principal"))
483
- 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"))
484
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"))
485
636
  PutPermissionRequest.struct_class = Types::PutPermissionRequest
486
637
 
487
638
  PutRuleRequest.add_member(:name, Shapes::ShapeRef.new(shape: RuleName, required: true, location_name: "Name"))
@@ -491,14 +642,14 @@ module Aws::CloudWatchEvents
491
642
  PutRuleRequest.add_member(:description, Shapes::ShapeRef.new(shape: RuleDescription, location_name: "Description"))
492
643
  PutRuleRequest.add_member(:role_arn, Shapes::ShapeRef.new(shape: RoleArn, location_name: "RoleArn"))
493
644
  PutRuleRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
494
- 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"))
495
646
  PutRuleRequest.struct_class = Types::PutRuleRequest
496
647
 
497
648
  PutRuleResponse.add_member(:rule_arn, Shapes::ShapeRef.new(shape: RuleArn, location_name: "RuleArn"))
498
649
  PutRuleResponse.struct_class = Types::PutRuleResponse
499
650
 
500
651
  PutTargetsRequest.add_member(:rule, Shapes::ShapeRef.new(shape: RuleName, required: true, location_name: "Rule"))
501
- 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"))
502
653
  PutTargetsRequest.add_member(:targets, Shapes::ShapeRef.new(shape: TargetList, required: true, location_name: "Targets"))
503
654
  PutTargetsRequest.struct_class = Types::PutTargetsRequest
504
655
 
@@ -516,12 +667,21 @@ module Aws::CloudWatchEvents
516
667
  QueryStringParametersMap.key = Shapes::ShapeRef.new(shape: QueryStringKey)
517
668
  QueryStringParametersMap.value = Shapes::ShapeRef.new(shape: QueryStringValue)
518
669
 
519
- RemovePermissionRequest.add_member(:statement_id, Shapes::ShapeRef.new(shape: StatementId, required: true, location_name: "StatementId"))
670
+ RedshiftDataParameters.add_member(:secret_manager_arn, Shapes::ShapeRef.new(shape: RedshiftSecretManagerArn, location_name: "SecretManagerArn"))
671
+ RedshiftDataParameters.add_member(:database, Shapes::ShapeRef.new(shape: Database, required: true, location_name: "Database"))
672
+ RedshiftDataParameters.add_member(:db_user, Shapes::ShapeRef.new(shape: DbUser, location_name: "DbUser"))
673
+ RedshiftDataParameters.add_member(:sql, Shapes::ShapeRef.new(shape: Sql, required: true, location_name: "Sql"))
674
+ RedshiftDataParameters.add_member(:statement_name, Shapes::ShapeRef.new(shape: StatementName, location_name: "StatementName"))
675
+ RedshiftDataParameters.add_member(:with_event, Shapes::ShapeRef.new(shape: Boolean, location_name: "WithEvent"))
676
+ RedshiftDataParameters.struct_class = Types::RedshiftDataParameters
677
+
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"))
520
680
  RemovePermissionRequest.add_member(:event_bus_name, Shapes::ShapeRef.new(shape: NonPartnerEventBusName, location_name: "EventBusName"))
521
681
  RemovePermissionRequest.struct_class = Types::RemovePermissionRequest
522
682
 
523
683
  RemoveTargetsRequest.add_member(:rule, Shapes::ShapeRef.new(shape: RuleName, required: true, location_name: "Rule"))
524
- 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"))
525
685
  RemoveTargetsRequest.add_member(:ids, Shapes::ShapeRef.new(shape: TargetIdList, required: true, location_name: "Ids"))
526
686
  RemoveTargetsRequest.add_member(:force, Shapes::ShapeRef.new(shape: Boolean, location_name: "Force"))
527
687
  RemoveTargetsRequest.struct_class = Types::RemoveTargetsRequest
@@ -537,10 +697,33 @@ module Aws::CloudWatchEvents
537
697
 
538
698
  RemoveTargetsResultEntryList.member = Shapes::ShapeRef.new(shape: RemoveTargetsResultEntry)
539
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
+
540
719
  ResourceAlreadyExistsException.struct_class = Types::ResourceAlreadyExistsException
541
720
 
542
721
  ResourceNotFoundException.struct_class = Types::ResourceNotFoundException
543
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
+
544
727
  Rule.add_member(:name, Shapes::ShapeRef.new(shape: RuleName, location_name: "Name"))
545
728
  Rule.add_member(:arn, Shapes::ShapeRef.new(shape: RuleArn, location_name: "Arn"))
546
729
  Rule.add_member(:event_pattern, Shapes::ShapeRef.new(shape: EventPattern, location_name: "EventPattern"))
@@ -570,6 +753,20 @@ module Aws::CloudWatchEvents
570
753
  SqsParameters.add_member(:message_group_id, Shapes::ShapeRef.new(shape: MessageGroupId, location_name: "MessageGroupId"))
571
754
  SqsParameters.struct_class = Types::SqsParameters
572
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
+
573
770
  StringList.member = Shapes::ShapeRef.new(shape: String)
574
771
 
575
772
  Tag.add_member(:key, Shapes::ShapeRef.new(shape: TagKey, required: true, location_name: "Key"))
@@ -598,6 +795,9 @@ module Aws::CloudWatchEvents
598
795
  Target.add_member(:batch_parameters, Shapes::ShapeRef.new(shape: BatchParameters, location_name: "BatchParameters"))
599
796
  Target.add_member(:sqs_parameters, Shapes::ShapeRef.new(shape: SqsParameters, location_name: "SqsParameters"))
600
797
  Target.add_member(:http_parameters, Shapes::ShapeRef.new(shape: HttpParameters, location_name: "HttpParameters"))
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"))
601
801
  Target.struct_class = Types::Target
602
802
 
603
803
  TargetIdList.member = Shapes::ShapeRef.new(shape: TargetId)
@@ -620,6 +820,18 @@ module Aws::CloudWatchEvents
620
820
 
621
821
  UntagResourceResponse.struct_class = Types::UntagResourceResponse
622
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
+
623
835
 
624
836
  # @api private
625
837
  API = Seahorse::Model::Api.new.tap do |api|
@@ -651,6 +863,32 @@ module Aws::CloudWatchEvents
651
863
  o.errors << Shapes::ShapeRef.new(shape: OperationDisabledException)
652
864
  end)
653
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
+
654
892
  api.add_operation(:create_event_bus, Seahorse::Model::Operation.new.tap do |o|
655
893
  o.name = "CreateEventBus"
656
894
  o.http_method = "POST"
@@ -692,6 +930,17 @@ module Aws::CloudWatchEvents
692
930
  o.errors << Shapes::ShapeRef.new(shape: OperationDisabledException)
693
931
  end)
694
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
+
695
944
  api.add_operation(:delete_event_bus, Seahorse::Model::Operation.new.tap do |o|
696
945
  o.name = "DeleteEventBus"
697
946
  o.http_method = "POST"
@@ -725,6 +974,17 @@ module Aws::CloudWatchEvents
725
974
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
726
975
  end)
727
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
+
728
988
  api.add_operation(:describe_event_bus, Seahorse::Model::Operation.new.tap do |o|
729
989
  o.name = "DescribeEventBus"
730
990
  o.http_method = "POST"
@@ -757,6 +1017,16 @@ module Aws::CloudWatchEvents
757
1017
  o.errors << Shapes::ShapeRef.new(shape: OperationDisabledException)
758
1018
  end)
759
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
+
760
1030
  api.add_operation(:describe_rule, Seahorse::Model::Operation.new.tap do |o|
761
1031
  o.name = "DescribeRule"
762
1032
  o.http_method = "POST"
@@ -791,6 +1061,16 @@ module Aws::CloudWatchEvents
791
1061
  o.errors << Shapes::ShapeRef.new(shape: InternalException)
792
1062
  end)
793
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
+
794
1074
  api.add_operation(:list_event_buses, Seahorse::Model::Operation.new.tap do |o|
795
1075
  o.name = "ListEventBuses"
796
1076
  o.http_method = "POST"
@@ -831,6 +1111,15 @@ module Aws::CloudWatchEvents
831
1111
  o.errors << Shapes::ShapeRef.new(shape: OperationDisabledException)
832
1112
  end)
833
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
+
834
1123
  api.add_operation(:list_rule_names_by_target, Seahorse::Model::Operation.new.tap do |o|
835
1124
  o.name = "ListRuleNamesByTarget"
836
1125
  o.http_method = "POST"
@@ -900,6 +1189,7 @@ module Aws::CloudWatchEvents
900
1189
  o.errors << Shapes::ShapeRef.new(shape: PolicyLengthExceededException)
901
1190
  o.errors << Shapes::ShapeRef.new(shape: InternalException)
902
1191
  o.errors << Shapes::ShapeRef.new(shape: ConcurrentModificationException)
1192
+ o.errors << Shapes::ShapeRef.new(shape: OperationDisabledException)
903
1193
  end)
904
1194
 
905
1195
  api.add_operation(:put_rule, Seahorse::Model::Operation.new.tap do |o|
@@ -938,6 +1228,7 @@ module Aws::CloudWatchEvents
938
1228
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
939
1229
  o.errors << Shapes::ShapeRef.new(shape: InternalException)
940
1230
  o.errors << Shapes::ShapeRef.new(shape: ConcurrentModificationException)
1231
+ o.errors << Shapes::ShapeRef.new(shape: OperationDisabledException)
941
1232
  end)
942
1233
 
943
1234
  api.add_operation(:remove_targets, Seahorse::Model::Operation.new.tap do |o|
@@ -952,6 +1243,19 @@ module Aws::CloudWatchEvents
952
1243
  o.errors << Shapes::ShapeRef.new(shape: InternalException)
953
1244
  end)
954
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
+
955
1259
  api.add_operation(:tag_resource, Seahorse::Model::Operation.new.tap do |o|
956
1260
  o.name = "TagResource"
957
1261
  o.http_method = "POST"
@@ -985,6 +1289,19 @@ module Aws::CloudWatchEvents
985
1289
  o.errors << Shapes::ShapeRef.new(shape: ConcurrentModificationException)
986
1290
  o.errors << Shapes::ShapeRef.new(shape: ManagedRuleException)
987
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)
988
1305
  end
989
1306
 
990
1307
  end