aws-sdk-eventbridge 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,929 @@
1
+ # WARNING ABOUT GENERATED CODE
2
+ #
3
+ # This file is generated. See the contributing guide for more information:
4
+ # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
5
+ #
6
+ # WARNING ABOUT GENERATED CODE
7
+
8
+ module Aws::EventBridge
9
+ # @api private
10
+ module ClientApi
11
+
12
+ include Seahorse::Model
13
+
14
+ AccountId = Shapes::StringShape.new(name: 'AccountId')
15
+ Action = Shapes::StringShape.new(name: 'Action')
16
+ ActivateEventSourceRequest = Shapes::StructureShape.new(name: 'ActivateEventSourceRequest')
17
+ Arn = Shapes::StringShape.new(name: 'Arn')
18
+ AssignPublicIp = Shapes::StringShape.new(name: 'AssignPublicIp')
19
+ AwsVpcConfiguration = Shapes::StructureShape.new(name: 'AwsVpcConfiguration')
20
+ BatchArrayProperties = Shapes::StructureShape.new(name: 'BatchArrayProperties')
21
+ BatchParameters = Shapes::StructureShape.new(name: 'BatchParameters')
22
+ BatchRetryStrategy = Shapes::StructureShape.new(name: 'BatchRetryStrategy')
23
+ Boolean = Shapes::BooleanShape.new(name: 'Boolean')
24
+ ConcurrentModificationException = Shapes::StructureShape.new(name: 'ConcurrentModificationException')
25
+ Condition = Shapes::StructureShape.new(name: 'Condition')
26
+ CreateEventBusRequest = Shapes::StructureShape.new(name: 'CreateEventBusRequest')
27
+ CreateEventBusResponse = Shapes::StructureShape.new(name: 'CreateEventBusResponse')
28
+ CreatePartnerEventSourceRequest = Shapes::StructureShape.new(name: 'CreatePartnerEventSourceRequest')
29
+ CreatePartnerEventSourceResponse = Shapes::StructureShape.new(name: 'CreatePartnerEventSourceResponse')
30
+ DeactivateEventSourceRequest = Shapes::StructureShape.new(name: 'DeactivateEventSourceRequest')
31
+ DeleteEventBusRequest = Shapes::StructureShape.new(name: 'DeleteEventBusRequest')
32
+ DeletePartnerEventSourceRequest = Shapes::StructureShape.new(name: 'DeletePartnerEventSourceRequest')
33
+ DeleteRuleRequest = Shapes::StructureShape.new(name: 'DeleteRuleRequest')
34
+ DescribeEventBusRequest = Shapes::StructureShape.new(name: 'DescribeEventBusRequest')
35
+ DescribeEventBusResponse = Shapes::StructureShape.new(name: 'DescribeEventBusResponse')
36
+ DescribeEventSourceRequest = Shapes::StructureShape.new(name: 'DescribeEventSourceRequest')
37
+ DescribeEventSourceResponse = Shapes::StructureShape.new(name: 'DescribeEventSourceResponse')
38
+ DescribePartnerEventSourceRequest = Shapes::StructureShape.new(name: 'DescribePartnerEventSourceRequest')
39
+ DescribePartnerEventSourceResponse = Shapes::StructureShape.new(name: 'DescribePartnerEventSourceResponse')
40
+ DescribeRuleRequest = Shapes::StructureShape.new(name: 'DescribeRuleRequest')
41
+ DescribeRuleResponse = Shapes::StructureShape.new(name: 'DescribeRuleResponse')
42
+ DisableRuleRequest = Shapes::StructureShape.new(name: 'DisableRuleRequest')
43
+ EcsParameters = Shapes::StructureShape.new(name: 'EcsParameters')
44
+ EnableRuleRequest = Shapes::StructureShape.new(name: 'EnableRuleRequest')
45
+ ErrorCode = Shapes::StringShape.new(name: 'ErrorCode')
46
+ ErrorMessage = Shapes::StringShape.new(name: 'ErrorMessage')
47
+ EventBus = Shapes::StructureShape.new(name: 'EventBus')
48
+ EventBusList = Shapes::ListShape.new(name: 'EventBusList')
49
+ EventBusName = Shapes::StringShape.new(name: 'EventBusName')
50
+ EventId = Shapes::StringShape.new(name: 'EventId')
51
+ EventPattern = Shapes::StringShape.new(name: 'EventPattern')
52
+ EventResource = Shapes::StringShape.new(name: 'EventResource')
53
+ EventResourceList = Shapes::ListShape.new(name: 'EventResourceList')
54
+ EventSource = Shapes::StructureShape.new(name: 'EventSource')
55
+ EventSourceList = Shapes::ListShape.new(name: 'EventSourceList')
56
+ EventSourceName = Shapes::StringShape.new(name: 'EventSourceName')
57
+ EventSourceNamePrefix = Shapes::StringShape.new(name: 'EventSourceNamePrefix')
58
+ EventSourceState = Shapes::StringShape.new(name: 'EventSourceState')
59
+ EventTime = Shapes::TimestampShape.new(name: 'EventTime')
60
+ InputTransformer = Shapes::StructureShape.new(name: 'InputTransformer')
61
+ InputTransformerPathKey = Shapes::StringShape.new(name: 'InputTransformerPathKey')
62
+ Integer = Shapes::IntegerShape.new(name: 'Integer')
63
+ InternalException = Shapes::StructureShape.new(name: 'InternalException')
64
+ InvalidEventPatternException = Shapes::StructureShape.new(name: 'InvalidEventPatternException')
65
+ InvalidStateException = Shapes::StructureShape.new(name: 'InvalidStateException')
66
+ KinesisParameters = Shapes::StructureShape.new(name: 'KinesisParameters')
67
+ LaunchType = Shapes::StringShape.new(name: 'LaunchType')
68
+ LimitExceededException = Shapes::StructureShape.new(name: 'LimitExceededException')
69
+ LimitMax100 = Shapes::IntegerShape.new(name: 'LimitMax100')
70
+ LimitMin1 = Shapes::IntegerShape.new(name: 'LimitMin1')
71
+ ListEventBusesRequest = Shapes::StructureShape.new(name: 'ListEventBusesRequest')
72
+ ListEventBusesResponse = Shapes::StructureShape.new(name: 'ListEventBusesResponse')
73
+ ListEventSourcesRequest = Shapes::StructureShape.new(name: 'ListEventSourcesRequest')
74
+ ListEventSourcesResponse = Shapes::StructureShape.new(name: 'ListEventSourcesResponse')
75
+ ListPartnerEventSourceAccountsRequest = Shapes::StructureShape.new(name: 'ListPartnerEventSourceAccountsRequest')
76
+ ListPartnerEventSourceAccountsResponse = Shapes::StructureShape.new(name: 'ListPartnerEventSourceAccountsResponse')
77
+ ListPartnerEventSourcesRequest = Shapes::StructureShape.new(name: 'ListPartnerEventSourcesRequest')
78
+ ListPartnerEventSourcesResponse = Shapes::StructureShape.new(name: 'ListPartnerEventSourcesResponse')
79
+ ListRuleNamesByTargetRequest = Shapes::StructureShape.new(name: 'ListRuleNamesByTargetRequest')
80
+ ListRuleNamesByTargetResponse = Shapes::StructureShape.new(name: 'ListRuleNamesByTargetResponse')
81
+ ListRulesRequest = Shapes::StructureShape.new(name: 'ListRulesRequest')
82
+ ListRulesResponse = Shapes::StructureShape.new(name: 'ListRulesResponse')
83
+ ListTagsForResourceRequest = Shapes::StructureShape.new(name: 'ListTagsForResourceRequest')
84
+ ListTagsForResourceResponse = Shapes::StructureShape.new(name: 'ListTagsForResourceResponse')
85
+ ListTargetsByRuleRequest = Shapes::StructureShape.new(name: 'ListTargetsByRuleRequest')
86
+ ListTargetsByRuleResponse = Shapes::StructureShape.new(name: 'ListTargetsByRuleResponse')
87
+ ManagedBy = Shapes::StringShape.new(name: 'ManagedBy')
88
+ ManagedRuleException = Shapes::StructureShape.new(name: 'ManagedRuleException')
89
+ MessageGroupId = Shapes::StringShape.new(name: 'MessageGroupId')
90
+ NetworkConfiguration = Shapes::StructureShape.new(name: 'NetworkConfiguration')
91
+ NextToken = Shapes::StringShape.new(name: 'NextToken')
92
+ NonPartnerEventBusName = Shapes::StringShape.new(name: 'NonPartnerEventBusName')
93
+ PartnerEventSource = Shapes::StructureShape.new(name: 'PartnerEventSource')
94
+ PartnerEventSourceAccount = Shapes::StructureShape.new(name: 'PartnerEventSourceAccount')
95
+ PartnerEventSourceAccountList = Shapes::ListShape.new(name: 'PartnerEventSourceAccountList')
96
+ PartnerEventSourceList = Shapes::ListShape.new(name: 'PartnerEventSourceList')
97
+ PartnerEventSourceNamePrefix = Shapes::StringShape.new(name: 'PartnerEventSourceNamePrefix')
98
+ PolicyLengthExceededException = Shapes::StructureShape.new(name: 'PolicyLengthExceededException')
99
+ Principal = Shapes::StringShape.new(name: 'Principal')
100
+ PutEventsRequest = Shapes::StructureShape.new(name: 'PutEventsRequest')
101
+ PutEventsRequestEntry = Shapes::StructureShape.new(name: 'PutEventsRequestEntry')
102
+ PutEventsRequestEntryList = Shapes::ListShape.new(name: 'PutEventsRequestEntryList')
103
+ PutEventsResponse = Shapes::StructureShape.new(name: 'PutEventsResponse')
104
+ PutEventsResultEntry = Shapes::StructureShape.new(name: 'PutEventsResultEntry')
105
+ PutEventsResultEntryList = Shapes::ListShape.new(name: 'PutEventsResultEntryList')
106
+ PutPartnerEventsRequest = Shapes::StructureShape.new(name: 'PutPartnerEventsRequest')
107
+ PutPartnerEventsRequestEntry = Shapes::StructureShape.new(name: 'PutPartnerEventsRequestEntry')
108
+ PutPartnerEventsRequestEntryList = Shapes::ListShape.new(name: 'PutPartnerEventsRequestEntryList')
109
+ PutPartnerEventsResponse = Shapes::StructureShape.new(name: 'PutPartnerEventsResponse')
110
+ PutPartnerEventsResultEntry = Shapes::StructureShape.new(name: 'PutPartnerEventsResultEntry')
111
+ PutPartnerEventsResultEntryList = Shapes::ListShape.new(name: 'PutPartnerEventsResultEntryList')
112
+ PutPermissionRequest = Shapes::StructureShape.new(name: 'PutPermissionRequest')
113
+ PutRuleRequest = Shapes::StructureShape.new(name: 'PutRuleRequest')
114
+ PutRuleResponse = Shapes::StructureShape.new(name: 'PutRuleResponse')
115
+ PutTargetsRequest = Shapes::StructureShape.new(name: 'PutTargetsRequest')
116
+ PutTargetsResponse = Shapes::StructureShape.new(name: 'PutTargetsResponse')
117
+ PutTargetsResultEntry = Shapes::StructureShape.new(name: 'PutTargetsResultEntry')
118
+ PutTargetsResultEntryList = Shapes::ListShape.new(name: 'PutTargetsResultEntryList')
119
+ RemovePermissionRequest = Shapes::StructureShape.new(name: 'RemovePermissionRequest')
120
+ RemoveTargetsRequest = Shapes::StructureShape.new(name: 'RemoveTargetsRequest')
121
+ RemoveTargetsResponse = Shapes::StructureShape.new(name: 'RemoveTargetsResponse')
122
+ RemoveTargetsResultEntry = Shapes::StructureShape.new(name: 'RemoveTargetsResultEntry')
123
+ RemoveTargetsResultEntryList = Shapes::ListShape.new(name: 'RemoveTargetsResultEntryList')
124
+ ResourceAlreadyExistsException = Shapes::StructureShape.new(name: 'ResourceAlreadyExistsException')
125
+ ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
126
+ RoleArn = Shapes::StringShape.new(name: 'RoleArn')
127
+ Rule = Shapes::StructureShape.new(name: 'Rule')
128
+ RuleArn = Shapes::StringShape.new(name: 'RuleArn')
129
+ RuleDescription = Shapes::StringShape.new(name: 'RuleDescription')
130
+ RuleName = Shapes::StringShape.new(name: 'RuleName')
131
+ RuleNameList = Shapes::ListShape.new(name: 'RuleNameList')
132
+ RuleResponseList = Shapes::ListShape.new(name: 'RuleResponseList')
133
+ RuleState = Shapes::StringShape.new(name: 'RuleState')
134
+ RunCommandParameters = Shapes::StructureShape.new(name: 'RunCommandParameters')
135
+ RunCommandTarget = Shapes::StructureShape.new(name: 'RunCommandTarget')
136
+ RunCommandTargetKey = Shapes::StringShape.new(name: 'RunCommandTargetKey')
137
+ RunCommandTargetValue = Shapes::StringShape.new(name: 'RunCommandTargetValue')
138
+ RunCommandTargetValues = Shapes::ListShape.new(name: 'RunCommandTargetValues')
139
+ RunCommandTargets = Shapes::ListShape.new(name: 'RunCommandTargets')
140
+ ScheduleExpression = Shapes::StringShape.new(name: 'ScheduleExpression')
141
+ SqsParameters = Shapes::StructureShape.new(name: 'SqsParameters')
142
+ StatementId = Shapes::StringShape.new(name: 'StatementId')
143
+ String = Shapes::StringShape.new(name: 'String')
144
+ StringList = Shapes::ListShape.new(name: 'StringList')
145
+ Tag = Shapes::StructureShape.new(name: 'Tag')
146
+ TagKey = Shapes::StringShape.new(name: 'TagKey')
147
+ TagKeyList = Shapes::ListShape.new(name: 'TagKeyList')
148
+ TagList = Shapes::ListShape.new(name: 'TagList')
149
+ TagResourceRequest = Shapes::StructureShape.new(name: 'TagResourceRequest')
150
+ TagResourceResponse = Shapes::StructureShape.new(name: 'TagResourceResponse')
151
+ TagValue = Shapes::StringShape.new(name: 'TagValue')
152
+ Target = Shapes::StructureShape.new(name: 'Target')
153
+ TargetArn = Shapes::StringShape.new(name: 'TargetArn')
154
+ TargetId = Shapes::StringShape.new(name: 'TargetId')
155
+ TargetIdList = Shapes::ListShape.new(name: 'TargetIdList')
156
+ TargetInput = Shapes::StringShape.new(name: 'TargetInput')
157
+ TargetInputPath = Shapes::StringShape.new(name: 'TargetInputPath')
158
+ TargetList = Shapes::ListShape.new(name: 'TargetList')
159
+ TargetPartitionKeyPath = Shapes::StringShape.new(name: 'TargetPartitionKeyPath')
160
+ TestEventPatternRequest = Shapes::StructureShape.new(name: 'TestEventPatternRequest')
161
+ TestEventPatternResponse = Shapes::StructureShape.new(name: 'TestEventPatternResponse')
162
+ Timestamp = Shapes::TimestampShape.new(name: 'Timestamp')
163
+ TransformerInput = Shapes::StringShape.new(name: 'TransformerInput')
164
+ TransformerPaths = Shapes::MapShape.new(name: 'TransformerPaths')
165
+ UntagResourceRequest = Shapes::StructureShape.new(name: 'UntagResourceRequest')
166
+ UntagResourceResponse = Shapes::StructureShape.new(name: 'UntagResourceResponse')
167
+
168
+ ActivateEventSourceRequest.add_member(:name, Shapes::ShapeRef.new(shape: EventSourceName, required: true, location_name: "Name"))
169
+ ActivateEventSourceRequest.struct_class = Types::ActivateEventSourceRequest
170
+
171
+ AwsVpcConfiguration.add_member(:subnets, Shapes::ShapeRef.new(shape: StringList, required: true, location_name: "Subnets"))
172
+ AwsVpcConfiguration.add_member(:security_groups, Shapes::ShapeRef.new(shape: StringList, location_name: "SecurityGroups"))
173
+ AwsVpcConfiguration.add_member(:assign_public_ip, Shapes::ShapeRef.new(shape: AssignPublicIp, location_name: "AssignPublicIp"))
174
+ AwsVpcConfiguration.struct_class = Types::AwsVpcConfiguration
175
+
176
+ BatchArrayProperties.add_member(:size, Shapes::ShapeRef.new(shape: Integer, location_name: "Size"))
177
+ BatchArrayProperties.struct_class = Types::BatchArrayProperties
178
+
179
+ BatchParameters.add_member(:job_definition, Shapes::ShapeRef.new(shape: String, required: true, location_name: "JobDefinition"))
180
+ BatchParameters.add_member(:job_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "JobName"))
181
+ BatchParameters.add_member(:array_properties, Shapes::ShapeRef.new(shape: BatchArrayProperties, location_name: "ArrayProperties"))
182
+ BatchParameters.add_member(:retry_strategy, Shapes::ShapeRef.new(shape: BatchRetryStrategy, location_name: "RetryStrategy"))
183
+ BatchParameters.struct_class = Types::BatchParameters
184
+
185
+ BatchRetryStrategy.add_member(:attempts, Shapes::ShapeRef.new(shape: Integer, location_name: "Attempts"))
186
+ BatchRetryStrategy.struct_class = Types::BatchRetryStrategy
187
+
188
+ Condition.add_member(:type, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Type"))
189
+ Condition.add_member(:key, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Key"))
190
+ Condition.add_member(:value, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Value"))
191
+ Condition.struct_class = Types::Condition
192
+
193
+ CreateEventBusRequest.add_member(:name, Shapes::ShapeRef.new(shape: EventBusName, required: true, location_name: "Name"))
194
+ CreateEventBusRequest.add_member(:event_source_name, Shapes::ShapeRef.new(shape: EventSourceName, location_name: "EventSourceName"))
195
+ CreateEventBusRequest.struct_class = Types::CreateEventBusRequest
196
+
197
+ CreateEventBusResponse.add_member(:event_bus_arn, Shapes::ShapeRef.new(shape: String, location_name: "EventBusArn"))
198
+ CreateEventBusResponse.struct_class = Types::CreateEventBusResponse
199
+
200
+ CreatePartnerEventSourceRequest.add_member(:name, Shapes::ShapeRef.new(shape: EventSourceName, required: true, location_name: "Name"))
201
+ CreatePartnerEventSourceRequest.add_member(:account, Shapes::ShapeRef.new(shape: AccountId, required: true, location_name: "Account"))
202
+ CreatePartnerEventSourceRequest.struct_class = Types::CreatePartnerEventSourceRequest
203
+
204
+ CreatePartnerEventSourceResponse.add_member(:event_source_arn, Shapes::ShapeRef.new(shape: String, location_name: "EventSourceArn"))
205
+ CreatePartnerEventSourceResponse.struct_class = Types::CreatePartnerEventSourceResponse
206
+
207
+ DeactivateEventSourceRequest.add_member(:name, Shapes::ShapeRef.new(shape: EventSourceName, required: true, location_name: "Name"))
208
+ DeactivateEventSourceRequest.struct_class = Types::DeactivateEventSourceRequest
209
+
210
+ DeleteEventBusRequest.add_member(:name, Shapes::ShapeRef.new(shape: EventBusName, required: true, location_name: "Name"))
211
+ DeleteEventBusRequest.struct_class = Types::DeleteEventBusRequest
212
+
213
+ DeletePartnerEventSourceRequest.add_member(:name, Shapes::ShapeRef.new(shape: EventSourceName, required: true, location_name: "Name"))
214
+ DeletePartnerEventSourceRequest.add_member(:account, Shapes::ShapeRef.new(shape: AccountId, required: true, location_name: "Account"))
215
+ DeletePartnerEventSourceRequest.struct_class = Types::DeletePartnerEventSourceRequest
216
+
217
+ DeleteRuleRequest.add_member(:name, Shapes::ShapeRef.new(shape: RuleName, required: true, location_name: "Name"))
218
+ DeleteRuleRequest.add_member(:event_bus_name, Shapes::ShapeRef.new(shape: EventBusName, location_name: "EventBusName"))
219
+ DeleteRuleRequest.add_member(:force, Shapes::ShapeRef.new(shape: Boolean, location_name: "Force"))
220
+ DeleteRuleRequest.struct_class = Types::DeleteRuleRequest
221
+
222
+ DescribeEventBusRequest.add_member(:name, Shapes::ShapeRef.new(shape: EventBusName, location_name: "Name"))
223
+ DescribeEventBusRequest.struct_class = Types::DescribeEventBusRequest
224
+
225
+ DescribeEventBusResponse.add_member(:name, Shapes::ShapeRef.new(shape: String, location_name: "Name"))
226
+ DescribeEventBusResponse.add_member(:arn, Shapes::ShapeRef.new(shape: String, location_name: "Arn"))
227
+ DescribeEventBusResponse.add_member(:policy, Shapes::ShapeRef.new(shape: String, location_name: "Policy"))
228
+ DescribeEventBusResponse.struct_class = Types::DescribeEventBusResponse
229
+
230
+ DescribeEventSourceRequest.add_member(:name, Shapes::ShapeRef.new(shape: EventSourceName, required: true, location_name: "Name"))
231
+ DescribeEventSourceRequest.struct_class = Types::DescribeEventSourceRequest
232
+
233
+ DescribeEventSourceResponse.add_member(:arn, Shapes::ShapeRef.new(shape: String, location_name: "Arn"))
234
+ DescribeEventSourceResponse.add_member(:created_by, Shapes::ShapeRef.new(shape: String, location_name: "CreatedBy"))
235
+ DescribeEventSourceResponse.add_member(:creation_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "CreationTime"))
236
+ DescribeEventSourceResponse.add_member(:expiration_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "ExpirationTime"))
237
+ DescribeEventSourceResponse.add_member(:name, Shapes::ShapeRef.new(shape: String, location_name: "Name"))
238
+ DescribeEventSourceResponse.add_member(:state, Shapes::ShapeRef.new(shape: EventSourceState, location_name: "State"))
239
+ DescribeEventSourceResponse.struct_class = Types::DescribeEventSourceResponse
240
+
241
+ DescribePartnerEventSourceRequest.add_member(:name, Shapes::ShapeRef.new(shape: EventSourceName, required: true, location_name: "Name"))
242
+ DescribePartnerEventSourceRequest.struct_class = Types::DescribePartnerEventSourceRequest
243
+
244
+ DescribePartnerEventSourceResponse.add_member(:arn, Shapes::ShapeRef.new(shape: String, location_name: "Arn"))
245
+ DescribePartnerEventSourceResponse.add_member(:name, Shapes::ShapeRef.new(shape: String, location_name: "Name"))
246
+ DescribePartnerEventSourceResponse.struct_class = Types::DescribePartnerEventSourceResponse
247
+
248
+ DescribeRuleRequest.add_member(:name, Shapes::ShapeRef.new(shape: RuleName, required: true, location_name: "Name"))
249
+ DescribeRuleRequest.add_member(:event_bus_name, Shapes::ShapeRef.new(shape: EventBusName, location_name: "EventBusName"))
250
+ DescribeRuleRequest.struct_class = Types::DescribeRuleRequest
251
+
252
+ DescribeRuleResponse.add_member(:name, Shapes::ShapeRef.new(shape: RuleName, location_name: "Name"))
253
+ DescribeRuleResponse.add_member(:arn, Shapes::ShapeRef.new(shape: RuleArn, location_name: "Arn"))
254
+ DescribeRuleResponse.add_member(:event_pattern, Shapes::ShapeRef.new(shape: EventPattern, location_name: "EventPattern"))
255
+ DescribeRuleResponse.add_member(:schedule_expression, Shapes::ShapeRef.new(shape: ScheduleExpression, location_name: "ScheduleExpression"))
256
+ DescribeRuleResponse.add_member(:state, Shapes::ShapeRef.new(shape: RuleState, location_name: "State"))
257
+ DescribeRuleResponse.add_member(:description, Shapes::ShapeRef.new(shape: RuleDescription, location_name: "Description"))
258
+ DescribeRuleResponse.add_member(:role_arn, Shapes::ShapeRef.new(shape: RoleArn, location_name: "RoleArn"))
259
+ DescribeRuleResponse.add_member(:managed_by, Shapes::ShapeRef.new(shape: ManagedBy, location_name: "ManagedBy"))
260
+ DescribeRuleResponse.add_member(:event_bus_name, Shapes::ShapeRef.new(shape: EventBusName, location_name: "EventBusName"))
261
+ DescribeRuleResponse.struct_class = Types::DescribeRuleResponse
262
+
263
+ DisableRuleRequest.add_member(:name, Shapes::ShapeRef.new(shape: RuleName, required: true, location_name: "Name"))
264
+ DisableRuleRequest.add_member(:event_bus_name, Shapes::ShapeRef.new(shape: EventBusName, location_name: "EventBusName"))
265
+ DisableRuleRequest.struct_class = Types::DisableRuleRequest
266
+
267
+ EcsParameters.add_member(:task_definition_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "TaskDefinitionArn"))
268
+ EcsParameters.add_member(:task_count, Shapes::ShapeRef.new(shape: LimitMin1, location_name: "TaskCount"))
269
+ EcsParameters.add_member(:launch_type, Shapes::ShapeRef.new(shape: LaunchType, location_name: "LaunchType"))
270
+ EcsParameters.add_member(:network_configuration, Shapes::ShapeRef.new(shape: NetworkConfiguration, location_name: "NetworkConfiguration"))
271
+ EcsParameters.add_member(:platform_version, Shapes::ShapeRef.new(shape: String, location_name: "PlatformVersion"))
272
+ EcsParameters.add_member(:group, Shapes::ShapeRef.new(shape: String, location_name: "Group"))
273
+ EcsParameters.struct_class = Types::EcsParameters
274
+
275
+ EnableRuleRequest.add_member(:name, Shapes::ShapeRef.new(shape: RuleName, required: true, location_name: "Name"))
276
+ EnableRuleRequest.add_member(:event_bus_name, Shapes::ShapeRef.new(shape: EventBusName, location_name: "EventBusName"))
277
+ EnableRuleRequest.struct_class = Types::EnableRuleRequest
278
+
279
+ EventBus.add_member(:name, Shapes::ShapeRef.new(shape: String, location_name: "Name"))
280
+ EventBus.add_member(:arn, Shapes::ShapeRef.new(shape: String, location_name: "Arn"))
281
+ EventBus.add_member(:policy, Shapes::ShapeRef.new(shape: String, location_name: "Policy"))
282
+ EventBus.struct_class = Types::EventBus
283
+
284
+ EventBusList.member = Shapes::ShapeRef.new(shape: EventBus)
285
+
286
+ EventResourceList.member = Shapes::ShapeRef.new(shape: EventResource)
287
+
288
+ EventSource.add_member(:arn, Shapes::ShapeRef.new(shape: String, location_name: "Arn"))
289
+ EventSource.add_member(:created_by, Shapes::ShapeRef.new(shape: String, location_name: "CreatedBy"))
290
+ EventSource.add_member(:creation_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "CreationTime"))
291
+ EventSource.add_member(:expiration_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "ExpirationTime"))
292
+ EventSource.add_member(:name, Shapes::ShapeRef.new(shape: String, location_name: "Name"))
293
+ EventSource.add_member(:state, Shapes::ShapeRef.new(shape: EventSourceState, location_name: "State"))
294
+ EventSource.struct_class = Types::EventSource
295
+
296
+ EventSourceList.member = Shapes::ShapeRef.new(shape: EventSource)
297
+
298
+ InputTransformer.add_member(:input_paths_map, Shapes::ShapeRef.new(shape: TransformerPaths, location_name: "InputPathsMap"))
299
+ InputTransformer.add_member(:input_template, Shapes::ShapeRef.new(shape: TransformerInput, required: true, location_name: "InputTemplate"))
300
+ InputTransformer.struct_class = Types::InputTransformer
301
+
302
+ KinesisParameters.add_member(:partition_key_path, Shapes::ShapeRef.new(shape: TargetPartitionKeyPath, required: true, location_name: "PartitionKeyPath"))
303
+ KinesisParameters.struct_class = Types::KinesisParameters
304
+
305
+ ListEventBusesRequest.add_member(:name_prefix, Shapes::ShapeRef.new(shape: EventBusName, location_name: "NamePrefix"))
306
+ ListEventBusesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
307
+ ListEventBusesRequest.add_member(:limit, Shapes::ShapeRef.new(shape: LimitMax100, location_name: "Limit"))
308
+ ListEventBusesRequest.struct_class = Types::ListEventBusesRequest
309
+
310
+ ListEventBusesResponse.add_member(:event_buses, Shapes::ShapeRef.new(shape: EventBusList, location_name: "EventBuses"))
311
+ ListEventBusesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
312
+ ListEventBusesResponse.struct_class = Types::ListEventBusesResponse
313
+
314
+ ListEventSourcesRequest.add_member(:name_prefix, Shapes::ShapeRef.new(shape: EventSourceNamePrefix, location_name: "NamePrefix"))
315
+ ListEventSourcesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
316
+ ListEventSourcesRequest.add_member(:limit, Shapes::ShapeRef.new(shape: LimitMax100, location_name: "Limit"))
317
+ ListEventSourcesRequest.struct_class = Types::ListEventSourcesRequest
318
+
319
+ ListEventSourcesResponse.add_member(:event_sources, Shapes::ShapeRef.new(shape: EventSourceList, location_name: "EventSources"))
320
+ ListEventSourcesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
321
+ ListEventSourcesResponse.struct_class = Types::ListEventSourcesResponse
322
+
323
+ ListPartnerEventSourceAccountsRequest.add_member(:event_source_name, Shapes::ShapeRef.new(shape: EventSourceName, required: true, location_name: "EventSourceName"))
324
+ ListPartnerEventSourceAccountsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
325
+ ListPartnerEventSourceAccountsRequest.add_member(:limit, Shapes::ShapeRef.new(shape: LimitMax100, location_name: "Limit"))
326
+ ListPartnerEventSourceAccountsRequest.struct_class = Types::ListPartnerEventSourceAccountsRequest
327
+
328
+ ListPartnerEventSourceAccountsResponse.add_member(:partner_event_source_accounts, Shapes::ShapeRef.new(shape: PartnerEventSourceAccountList, location_name: "PartnerEventSourceAccounts"))
329
+ ListPartnerEventSourceAccountsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
330
+ ListPartnerEventSourceAccountsResponse.struct_class = Types::ListPartnerEventSourceAccountsResponse
331
+
332
+ ListPartnerEventSourcesRequest.add_member(:name_prefix, Shapes::ShapeRef.new(shape: PartnerEventSourceNamePrefix, required: true, location_name: "NamePrefix"))
333
+ ListPartnerEventSourcesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
334
+ ListPartnerEventSourcesRequest.add_member(:limit, Shapes::ShapeRef.new(shape: LimitMax100, location_name: "Limit"))
335
+ ListPartnerEventSourcesRequest.struct_class = Types::ListPartnerEventSourcesRequest
336
+
337
+ ListPartnerEventSourcesResponse.add_member(:partner_event_sources, Shapes::ShapeRef.new(shape: PartnerEventSourceList, location_name: "PartnerEventSources"))
338
+ ListPartnerEventSourcesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
339
+ ListPartnerEventSourcesResponse.struct_class = Types::ListPartnerEventSourcesResponse
340
+
341
+ ListRuleNamesByTargetRequest.add_member(:target_arn, Shapes::ShapeRef.new(shape: TargetArn, required: true, location_name: "TargetArn"))
342
+ ListRuleNamesByTargetRequest.add_member(:event_bus_name, Shapes::ShapeRef.new(shape: EventBusName, location_name: "EventBusName"))
343
+ ListRuleNamesByTargetRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
344
+ ListRuleNamesByTargetRequest.add_member(:limit, Shapes::ShapeRef.new(shape: LimitMax100, location_name: "Limit"))
345
+ ListRuleNamesByTargetRequest.struct_class = Types::ListRuleNamesByTargetRequest
346
+
347
+ ListRuleNamesByTargetResponse.add_member(:rule_names, Shapes::ShapeRef.new(shape: RuleNameList, location_name: "RuleNames"))
348
+ ListRuleNamesByTargetResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
349
+ ListRuleNamesByTargetResponse.struct_class = Types::ListRuleNamesByTargetResponse
350
+
351
+ ListRulesRequest.add_member(:name_prefix, Shapes::ShapeRef.new(shape: RuleName, location_name: "NamePrefix"))
352
+ ListRulesRequest.add_member(:event_bus_name, Shapes::ShapeRef.new(shape: EventBusName, location_name: "EventBusName"))
353
+ ListRulesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
354
+ ListRulesRequest.add_member(:limit, Shapes::ShapeRef.new(shape: LimitMax100, location_name: "Limit"))
355
+ ListRulesRequest.struct_class = Types::ListRulesRequest
356
+
357
+ ListRulesResponse.add_member(:rules, Shapes::ShapeRef.new(shape: RuleResponseList, location_name: "Rules"))
358
+ ListRulesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
359
+ ListRulesResponse.struct_class = Types::ListRulesResponse
360
+
361
+ ListTagsForResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "ResourceARN"))
362
+ ListTagsForResourceRequest.struct_class = Types::ListTagsForResourceRequest
363
+
364
+ ListTagsForResourceResponse.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
365
+ ListTagsForResourceResponse.struct_class = Types::ListTagsForResourceResponse
366
+
367
+ ListTargetsByRuleRequest.add_member(:rule, Shapes::ShapeRef.new(shape: RuleName, required: true, location_name: "Rule"))
368
+ ListTargetsByRuleRequest.add_member(:event_bus_name, Shapes::ShapeRef.new(shape: EventBusName, location_name: "EventBusName"))
369
+ ListTargetsByRuleRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
370
+ ListTargetsByRuleRequest.add_member(:limit, Shapes::ShapeRef.new(shape: LimitMax100, location_name: "Limit"))
371
+ ListTargetsByRuleRequest.struct_class = Types::ListTargetsByRuleRequest
372
+
373
+ ListTargetsByRuleResponse.add_member(:targets, Shapes::ShapeRef.new(shape: TargetList, location_name: "Targets"))
374
+ ListTargetsByRuleResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
375
+ ListTargetsByRuleResponse.struct_class = Types::ListTargetsByRuleResponse
376
+
377
+ NetworkConfiguration.add_member(:awsvpc_configuration, Shapes::ShapeRef.new(shape: AwsVpcConfiguration, location_name: "awsvpcConfiguration"))
378
+ NetworkConfiguration.struct_class = Types::NetworkConfiguration
379
+
380
+ PartnerEventSource.add_member(:arn, Shapes::ShapeRef.new(shape: String, location_name: "Arn"))
381
+ PartnerEventSource.add_member(:name, Shapes::ShapeRef.new(shape: String, location_name: "Name"))
382
+ PartnerEventSource.struct_class = Types::PartnerEventSource
383
+
384
+ PartnerEventSourceAccount.add_member(:account, Shapes::ShapeRef.new(shape: AccountId, location_name: "Account"))
385
+ PartnerEventSourceAccount.add_member(:creation_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "CreationTime"))
386
+ PartnerEventSourceAccount.add_member(:expiration_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "ExpirationTime"))
387
+ PartnerEventSourceAccount.add_member(:state, Shapes::ShapeRef.new(shape: EventSourceState, location_name: "State"))
388
+ PartnerEventSourceAccount.struct_class = Types::PartnerEventSourceAccount
389
+
390
+ PartnerEventSourceAccountList.member = Shapes::ShapeRef.new(shape: PartnerEventSourceAccount)
391
+
392
+ PartnerEventSourceList.member = Shapes::ShapeRef.new(shape: PartnerEventSource)
393
+
394
+ PutEventsRequest.add_member(:entries, Shapes::ShapeRef.new(shape: PutEventsRequestEntryList, required: true, location_name: "Entries"))
395
+ PutEventsRequest.struct_class = Types::PutEventsRequest
396
+
397
+ PutEventsRequestEntry.add_member(:time, Shapes::ShapeRef.new(shape: EventTime, location_name: "Time"))
398
+ PutEventsRequestEntry.add_member(:source, Shapes::ShapeRef.new(shape: String, location_name: "Source"))
399
+ PutEventsRequestEntry.add_member(:resources, Shapes::ShapeRef.new(shape: EventResourceList, location_name: "Resources"))
400
+ PutEventsRequestEntry.add_member(:detail_type, Shapes::ShapeRef.new(shape: String, location_name: "DetailType"))
401
+ PutEventsRequestEntry.add_member(:detail, Shapes::ShapeRef.new(shape: String, location_name: "Detail"))
402
+ PutEventsRequestEntry.add_member(:event_bus_name, Shapes::ShapeRef.new(shape: NonPartnerEventBusName, location_name: "EventBusName"))
403
+ PutEventsRequestEntry.struct_class = Types::PutEventsRequestEntry
404
+
405
+ PutEventsRequestEntryList.member = Shapes::ShapeRef.new(shape: PutEventsRequestEntry)
406
+
407
+ PutEventsResponse.add_member(:failed_entry_count, Shapes::ShapeRef.new(shape: Integer, location_name: "FailedEntryCount"))
408
+ PutEventsResponse.add_member(:entries, Shapes::ShapeRef.new(shape: PutEventsResultEntryList, location_name: "Entries"))
409
+ PutEventsResponse.struct_class = Types::PutEventsResponse
410
+
411
+ PutEventsResultEntry.add_member(:event_id, Shapes::ShapeRef.new(shape: EventId, location_name: "EventId"))
412
+ PutEventsResultEntry.add_member(:error_code, Shapes::ShapeRef.new(shape: ErrorCode, location_name: "ErrorCode"))
413
+ PutEventsResultEntry.add_member(:error_message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "ErrorMessage"))
414
+ PutEventsResultEntry.struct_class = Types::PutEventsResultEntry
415
+
416
+ PutEventsResultEntryList.member = Shapes::ShapeRef.new(shape: PutEventsResultEntry)
417
+
418
+ PutPartnerEventsRequest.add_member(:entries, Shapes::ShapeRef.new(shape: PutPartnerEventsRequestEntryList, required: true, location_name: "Entries"))
419
+ PutPartnerEventsRequest.struct_class = Types::PutPartnerEventsRequest
420
+
421
+ PutPartnerEventsRequestEntry.add_member(:time, Shapes::ShapeRef.new(shape: EventTime, location_name: "Time"))
422
+ PutPartnerEventsRequestEntry.add_member(:source, Shapes::ShapeRef.new(shape: String, location_name: "Source"))
423
+ PutPartnerEventsRequestEntry.add_member(:resources, Shapes::ShapeRef.new(shape: EventResourceList, location_name: "Resources"))
424
+ PutPartnerEventsRequestEntry.add_member(:detail_type, Shapes::ShapeRef.new(shape: String, location_name: "DetailType"))
425
+ PutPartnerEventsRequestEntry.add_member(:detail, Shapes::ShapeRef.new(shape: String, location_name: "Detail"))
426
+ PutPartnerEventsRequestEntry.struct_class = Types::PutPartnerEventsRequestEntry
427
+
428
+ PutPartnerEventsRequestEntryList.member = Shapes::ShapeRef.new(shape: PutPartnerEventsRequestEntry)
429
+
430
+ PutPartnerEventsResponse.add_member(:failed_entry_count, Shapes::ShapeRef.new(shape: Integer, location_name: "FailedEntryCount"))
431
+ PutPartnerEventsResponse.add_member(:entries, Shapes::ShapeRef.new(shape: PutPartnerEventsResultEntryList, location_name: "Entries"))
432
+ PutPartnerEventsResponse.struct_class = Types::PutPartnerEventsResponse
433
+
434
+ PutPartnerEventsResultEntry.add_member(:event_id, Shapes::ShapeRef.new(shape: EventId, location_name: "EventId"))
435
+ PutPartnerEventsResultEntry.add_member(:error_code, Shapes::ShapeRef.new(shape: ErrorCode, location_name: "ErrorCode"))
436
+ PutPartnerEventsResultEntry.add_member(:error_message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "ErrorMessage"))
437
+ PutPartnerEventsResultEntry.struct_class = Types::PutPartnerEventsResultEntry
438
+
439
+ PutPartnerEventsResultEntryList.member = Shapes::ShapeRef.new(shape: PutPartnerEventsResultEntry)
440
+
441
+ PutPermissionRequest.add_member(:event_bus_name, Shapes::ShapeRef.new(shape: NonPartnerEventBusName, location_name: "EventBusName"))
442
+ PutPermissionRequest.add_member(:action, Shapes::ShapeRef.new(shape: Action, required: true, location_name: "Action"))
443
+ PutPermissionRequest.add_member(:principal, Shapes::ShapeRef.new(shape: Principal, required: true, location_name: "Principal"))
444
+ PutPermissionRequest.add_member(:statement_id, Shapes::ShapeRef.new(shape: StatementId, required: true, location_name: "StatementId"))
445
+ PutPermissionRequest.add_member(:condition, Shapes::ShapeRef.new(shape: Condition, location_name: "Condition"))
446
+ PutPermissionRequest.struct_class = Types::PutPermissionRequest
447
+
448
+ PutRuleRequest.add_member(:name, Shapes::ShapeRef.new(shape: RuleName, required: true, location_name: "Name"))
449
+ PutRuleRequest.add_member(:schedule_expression, Shapes::ShapeRef.new(shape: ScheduleExpression, location_name: "ScheduleExpression"))
450
+ PutRuleRequest.add_member(:event_pattern, Shapes::ShapeRef.new(shape: EventPattern, location_name: "EventPattern"))
451
+ PutRuleRequest.add_member(:state, Shapes::ShapeRef.new(shape: RuleState, location_name: "State"))
452
+ PutRuleRequest.add_member(:description, Shapes::ShapeRef.new(shape: RuleDescription, location_name: "Description"))
453
+ PutRuleRequest.add_member(:role_arn, Shapes::ShapeRef.new(shape: RoleArn, location_name: "RoleArn"))
454
+ PutRuleRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
455
+ PutRuleRequest.add_member(:event_bus_name, Shapes::ShapeRef.new(shape: EventBusName, location_name: "EventBusName"))
456
+ PutRuleRequest.struct_class = Types::PutRuleRequest
457
+
458
+ PutRuleResponse.add_member(:rule_arn, Shapes::ShapeRef.new(shape: RuleArn, location_name: "RuleArn"))
459
+ PutRuleResponse.struct_class = Types::PutRuleResponse
460
+
461
+ PutTargetsRequest.add_member(:rule, Shapes::ShapeRef.new(shape: RuleName, required: true, location_name: "Rule"))
462
+ PutTargetsRequest.add_member(:event_bus_name, Shapes::ShapeRef.new(shape: EventBusName, location_name: "EventBusName"))
463
+ PutTargetsRequest.add_member(:targets, Shapes::ShapeRef.new(shape: TargetList, required: true, location_name: "Targets"))
464
+ PutTargetsRequest.struct_class = Types::PutTargetsRequest
465
+
466
+ PutTargetsResponse.add_member(:failed_entry_count, Shapes::ShapeRef.new(shape: Integer, location_name: "FailedEntryCount"))
467
+ PutTargetsResponse.add_member(:failed_entries, Shapes::ShapeRef.new(shape: PutTargetsResultEntryList, location_name: "FailedEntries"))
468
+ PutTargetsResponse.struct_class = Types::PutTargetsResponse
469
+
470
+ PutTargetsResultEntry.add_member(:target_id, Shapes::ShapeRef.new(shape: TargetId, location_name: "TargetId"))
471
+ PutTargetsResultEntry.add_member(:error_code, Shapes::ShapeRef.new(shape: ErrorCode, location_name: "ErrorCode"))
472
+ PutTargetsResultEntry.add_member(:error_message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "ErrorMessage"))
473
+ PutTargetsResultEntry.struct_class = Types::PutTargetsResultEntry
474
+
475
+ PutTargetsResultEntryList.member = Shapes::ShapeRef.new(shape: PutTargetsResultEntry)
476
+
477
+ RemovePermissionRequest.add_member(:statement_id, Shapes::ShapeRef.new(shape: StatementId, required: true, location_name: "StatementId"))
478
+ RemovePermissionRequest.add_member(:event_bus_name, Shapes::ShapeRef.new(shape: NonPartnerEventBusName, location_name: "EventBusName"))
479
+ RemovePermissionRequest.struct_class = Types::RemovePermissionRequest
480
+
481
+ RemoveTargetsRequest.add_member(:rule, Shapes::ShapeRef.new(shape: RuleName, required: true, location_name: "Rule"))
482
+ RemoveTargetsRequest.add_member(:event_bus_name, Shapes::ShapeRef.new(shape: EventBusName, location_name: "EventBusName"))
483
+ RemoveTargetsRequest.add_member(:ids, Shapes::ShapeRef.new(shape: TargetIdList, required: true, location_name: "Ids"))
484
+ RemoveTargetsRequest.add_member(:force, Shapes::ShapeRef.new(shape: Boolean, location_name: "Force"))
485
+ RemoveTargetsRequest.struct_class = Types::RemoveTargetsRequest
486
+
487
+ RemoveTargetsResponse.add_member(:failed_entry_count, Shapes::ShapeRef.new(shape: Integer, location_name: "FailedEntryCount"))
488
+ RemoveTargetsResponse.add_member(:failed_entries, Shapes::ShapeRef.new(shape: RemoveTargetsResultEntryList, location_name: "FailedEntries"))
489
+ RemoveTargetsResponse.struct_class = Types::RemoveTargetsResponse
490
+
491
+ RemoveTargetsResultEntry.add_member(:target_id, Shapes::ShapeRef.new(shape: TargetId, location_name: "TargetId"))
492
+ RemoveTargetsResultEntry.add_member(:error_code, Shapes::ShapeRef.new(shape: ErrorCode, location_name: "ErrorCode"))
493
+ RemoveTargetsResultEntry.add_member(:error_message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "ErrorMessage"))
494
+ RemoveTargetsResultEntry.struct_class = Types::RemoveTargetsResultEntry
495
+
496
+ RemoveTargetsResultEntryList.member = Shapes::ShapeRef.new(shape: RemoveTargetsResultEntry)
497
+
498
+ Rule.add_member(:name, Shapes::ShapeRef.new(shape: RuleName, location_name: "Name"))
499
+ Rule.add_member(:arn, Shapes::ShapeRef.new(shape: RuleArn, location_name: "Arn"))
500
+ Rule.add_member(:event_pattern, Shapes::ShapeRef.new(shape: EventPattern, location_name: "EventPattern"))
501
+ Rule.add_member(:state, Shapes::ShapeRef.new(shape: RuleState, location_name: "State"))
502
+ Rule.add_member(:description, Shapes::ShapeRef.new(shape: RuleDescription, location_name: "Description"))
503
+ Rule.add_member(:schedule_expression, Shapes::ShapeRef.new(shape: ScheduleExpression, location_name: "ScheduleExpression"))
504
+ Rule.add_member(:role_arn, Shapes::ShapeRef.new(shape: RoleArn, location_name: "RoleArn"))
505
+ Rule.add_member(:managed_by, Shapes::ShapeRef.new(shape: ManagedBy, location_name: "ManagedBy"))
506
+ Rule.add_member(:event_bus_name, Shapes::ShapeRef.new(shape: EventBusName, location_name: "EventBusName"))
507
+ Rule.struct_class = Types::Rule
508
+
509
+ RuleNameList.member = Shapes::ShapeRef.new(shape: RuleName)
510
+
511
+ RuleResponseList.member = Shapes::ShapeRef.new(shape: Rule)
512
+
513
+ RunCommandParameters.add_member(:run_command_targets, Shapes::ShapeRef.new(shape: RunCommandTargets, required: true, location_name: "RunCommandTargets"))
514
+ RunCommandParameters.struct_class = Types::RunCommandParameters
515
+
516
+ RunCommandTarget.add_member(:key, Shapes::ShapeRef.new(shape: RunCommandTargetKey, required: true, location_name: "Key"))
517
+ RunCommandTarget.add_member(:values, Shapes::ShapeRef.new(shape: RunCommandTargetValues, required: true, location_name: "Values"))
518
+ RunCommandTarget.struct_class = Types::RunCommandTarget
519
+
520
+ RunCommandTargetValues.member = Shapes::ShapeRef.new(shape: RunCommandTargetValue)
521
+
522
+ RunCommandTargets.member = Shapes::ShapeRef.new(shape: RunCommandTarget)
523
+
524
+ SqsParameters.add_member(:message_group_id, Shapes::ShapeRef.new(shape: MessageGroupId, location_name: "MessageGroupId"))
525
+ SqsParameters.struct_class = Types::SqsParameters
526
+
527
+ StringList.member = Shapes::ShapeRef.new(shape: String)
528
+
529
+ Tag.add_member(:key, Shapes::ShapeRef.new(shape: TagKey, required: true, location_name: "Key"))
530
+ Tag.add_member(:value, Shapes::ShapeRef.new(shape: TagValue, required: true, location_name: "Value"))
531
+ Tag.struct_class = Types::Tag
532
+
533
+ TagKeyList.member = Shapes::ShapeRef.new(shape: TagKey)
534
+
535
+ TagList.member = Shapes::ShapeRef.new(shape: Tag)
536
+
537
+ TagResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "ResourceARN"))
538
+ TagResourceRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, required: true, location_name: "Tags"))
539
+ TagResourceRequest.struct_class = Types::TagResourceRequest
540
+
541
+ TagResourceResponse.struct_class = Types::TagResourceResponse
542
+
543
+ Target.add_member(:id, Shapes::ShapeRef.new(shape: TargetId, required: true, location_name: "Id"))
544
+ Target.add_member(:arn, Shapes::ShapeRef.new(shape: TargetArn, required: true, location_name: "Arn"))
545
+ Target.add_member(:role_arn, Shapes::ShapeRef.new(shape: RoleArn, location_name: "RoleArn"))
546
+ Target.add_member(:input, Shapes::ShapeRef.new(shape: TargetInput, location_name: "Input"))
547
+ Target.add_member(:input_path, Shapes::ShapeRef.new(shape: TargetInputPath, location_name: "InputPath"))
548
+ Target.add_member(:input_transformer, Shapes::ShapeRef.new(shape: InputTransformer, location_name: "InputTransformer"))
549
+ Target.add_member(:kinesis_parameters, Shapes::ShapeRef.new(shape: KinesisParameters, location_name: "KinesisParameters"))
550
+ Target.add_member(:run_command_parameters, Shapes::ShapeRef.new(shape: RunCommandParameters, location_name: "RunCommandParameters"))
551
+ Target.add_member(:ecs_parameters, Shapes::ShapeRef.new(shape: EcsParameters, location_name: "EcsParameters"))
552
+ Target.add_member(:batch_parameters, Shapes::ShapeRef.new(shape: BatchParameters, location_name: "BatchParameters"))
553
+ Target.add_member(:sqs_parameters, Shapes::ShapeRef.new(shape: SqsParameters, location_name: "SqsParameters"))
554
+ Target.struct_class = Types::Target
555
+
556
+ TargetIdList.member = Shapes::ShapeRef.new(shape: TargetId)
557
+
558
+ TargetList.member = Shapes::ShapeRef.new(shape: Target)
559
+
560
+ TestEventPatternRequest.add_member(:event_pattern, Shapes::ShapeRef.new(shape: EventPattern, required: true, location_name: "EventPattern"))
561
+ TestEventPatternRequest.add_member(:event, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Event"))
562
+ TestEventPatternRequest.struct_class = Types::TestEventPatternRequest
563
+
564
+ TestEventPatternResponse.add_member(:result, Shapes::ShapeRef.new(shape: Boolean, location_name: "Result"))
565
+ TestEventPatternResponse.struct_class = Types::TestEventPatternResponse
566
+
567
+ TransformerPaths.key = Shapes::ShapeRef.new(shape: InputTransformerPathKey)
568
+ TransformerPaths.value = Shapes::ShapeRef.new(shape: TargetInputPath)
569
+
570
+ UntagResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "ResourceARN"))
571
+ UntagResourceRequest.add_member(:tag_keys, Shapes::ShapeRef.new(shape: TagKeyList, required: true, location_name: "TagKeys"))
572
+ UntagResourceRequest.struct_class = Types::UntagResourceRequest
573
+
574
+ UntagResourceResponse.struct_class = Types::UntagResourceResponse
575
+
576
+
577
+ # @api private
578
+ API = Seahorse::Model::Api.new.tap do |api|
579
+
580
+ api.version = "2015-10-07"
581
+
582
+ api.metadata = {
583
+ "apiVersion" => "2015-10-07",
584
+ "endpointPrefix" => "events",
585
+ "jsonVersion" => "1.1",
586
+ "protocol" => "json",
587
+ "serviceFullName" => "Amazon EventBridge",
588
+ "serviceId" => "EventBridge",
589
+ "signatureVersion" => "v4",
590
+ "targetPrefix" => "AWSEvents",
591
+ "uid" => "eventbridge-2015-10-07",
592
+ }
593
+
594
+ api.add_operation(:activate_event_source, Seahorse::Model::Operation.new.tap do |o|
595
+ o.name = "ActivateEventSource"
596
+ o.http_method = "POST"
597
+ o.http_request_uri = "/"
598
+ o.input = Shapes::ShapeRef.new(shape: ActivateEventSourceRequest)
599
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
600
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
601
+ o.errors << Shapes::ShapeRef.new(shape: InvalidStateException)
602
+ o.errors << Shapes::ShapeRef.new(shape: InternalException)
603
+ end)
604
+
605
+ api.add_operation(:create_event_bus, Seahorse::Model::Operation.new.tap do |o|
606
+ o.name = "CreateEventBus"
607
+ o.http_method = "POST"
608
+ o.http_request_uri = "/"
609
+ o.input = Shapes::ShapeRef.new(shape: CreateEventBusRequest)
610
+ o.output = Shapes::ShapeRef.new(shape: CreateEventBusResponse)
611
+ o.errors << Shapes::ShapeRef.new(shape: ResourceAlreadyExistsException)
612
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
613
+ o.errors << Shapes::ShapeRef.new(shape: InvalidStateException)
614
+ o.errors << Shapes::ShapeRef.new(shape: InternalException)
615
+ o.errors << Shapes::ShapeRef.new(shape: ConcurrentModificationException)
616
+ o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
617
+ end)
618
+
619
+ api.add_operation(:create_partner_event_source, Seahorse::Model::Operation.new.tap do |o|
620
+ o.name = "CreatePartnerEventSource"
621
+ o.http_method = "POST"
622
+ o.http_request_uri = "/"
623
+ o.input = Shapes::ShapeRef.new(shape: CreatePartnerEventSourceRequest)
624
+ o.output = Shapes::ShapeRef.new(shape: CreatePartnerEventSourceResponse)
625
+ o.errors << Shapes::ShapeRef.new(shape: ResourceAlreadyExistsException)
626
+ o.errors << Shapes::ShapeRef.new(shape: InternalException)
627
+ o.errors << Shapes::ShapeRef.new(shape: ConcurrentModificationException)
628
+ o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
629
+ end)
630
+
631
+ api.add_operation(:deactivate_event_source, Seahorse::Model::Operation.new.tap do |o|
632
+ o.name = "DeactivateEventSource"
633
+ o.http_method = "POST"
634
+ o.http_request_uri = "/"
635
+ o.input = Shapes::ShapeRef.new(shape: DeactivateEventSourceRequest)
636
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
637
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
638
+ o.errors << Shapes::ShapeRef.new(shape: InvalidStateException)
639
+ o.errors << Shapes::ShapeRef.new(shape: InternalException)
640
+ end)
641
+
642
+ api.add_operation(:delete_event_bus, Seahorse::Model::Operation.new.tap do |o|
643
+ o.name = "DeleteEventBus"
644
+ o.http_method = "POST"
645
+ o.http_request_uri = "/"
646
+ o.input = Shapes::ShapeRef.new(shape: DeleteEventBusRequest)
647
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
648
+ o.errors << Shapes::ShapeRef.new(shape: InternalException)
649
+ end)
650
+
651
+ api.add_operation(:delete_partner_event_source, Seahorse::Model::Operation.new.tap do |o|
652
+ o.name = "DeletePartnerEventSource"
653
+ o.http_method = "POST"
654
+ o.http_request_uri = "/"
655
+ o.input = Shapes::ShapeRef.new(shape: DeletePartnerEventSourceRequest)
656
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
657
+ o.errors << Shapes::ShapeRef.new(shape: InternalException)
658
+ end)
659
+
660
+ api.add_operation(:delete_rule, Seahorse::Model::Operation.new.tap do |o|
661
+ o.name = "DeleteRule"
662
+ o.http_method = "POST"
663
+ o.http_request_uri = "/"
664
+ o.input = Shapes::ShapeRef.new(shape: DeleteRuleRequest)
665
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
666
+ o.errors << Shapes::ShapeRef.new(shape: ConcurrentModificationException)
667
+ o.errors << Shapes::ShapeRef.new(shape: ManagedRuleException)
668
+ o.errors << Shapes::ShapeRef.new(shape: InternalException)
669
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
670
+ end)
671
+
672
+ api.add_operation(:describe_event_bus, Seahorse::Model::Operation.new.tap do |o|
673
+ o.name = "DescribeEventBus"
674
+ o.http_method = "POST"
675
+ o.http_request_uri = "/"
676
+ o.input = Shapes::ShapeRef.new(shape: DescribeEventBusRequest)
677
+ o.output = Shapes::ShapeRef.new(shape: DescribeEventBusResponse)
678
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
679
+ o.errors << Shapes::ShapeRef.new(shape: InternalException)
680
+ end)
681
+
682
+ api.add_operation(:describe_event_source, Seahorse::Model::Operation.new.tap do |o|
683
+ o.name = "DescribeEventSource"
684
+ o.http_method = "POST"
685
+ o.http_request_uri = "/"
686
+ o.input = Shapes::ShapeRef.new(shape: DescribeEventSourceRequest)
687
+ o.output = Shapes::ShapeRef.new(shape: DescribeEventSourceResponse)
688
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
689
+ o.errors << Shapes::ShapeRef.new(shape: InternalException)
690
+ end)
691
+
692
+ api.add_operation(:describe_partner_event_source, Seahorse::Model::Operation.new.tap do |o|
693
+ o.name = "DescribePartnerEventSource"
694
+ o.http_method = "POST"
695
+ o.http_request_uri = "/"
696
+ o.input = Shapes::ShapeRef.new(shape: DescribePartnerEventSourceRequest)
697
+ o.output = Shapes::ShapeRef.new(shape: DescribePartnerEventSourceResponse)
698
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
699
+ o.errors << Shapes::ShapeRef.new(shape: InternalException)
700
+ end)
701
+
702
+ api.add_operation(:describe_rule, Seahorse::Model::Operation.new.tap do |o|
703
+ o.name = "DescribeRule"
704
+ o.http_method = "POST"
705
+ o.http_request_uri = "/"
706
+ o.input = Shapes::ShapeRef.new(shape: DescribeRuleRequest)
707
+ o.output = Shapes::ShapeRef.new(shape: DescribeRuleResponse)
708
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
709
+ o.errors << Shapes::ShapeRef.new(shape: InternalException)
710
+ end)
711
+
712
+ api.add_operation(:disable_rule, Seahorse::Model::Operation.new.tap do |o|
713
+ o.name = "DisableRule"
714
+ o.http_method = "POST"
715
+ o.http_request_uri = "/"
716
+ o.input = Shapes::ShapeRef.new(shape: DisableRuleRequest)
717
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
718
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
719
+ o.errors << Shapes::ShapeRef.new(shape: ConcurrentModificationException)
720
+ o.errors << Shapes::ShapeRef.new(shape: ManagedRuleException)
721
+ o.errors << Shapes::ShapeRef.new(shape: InternalException)
722
+ end)
723
+
724
+ api.add_operation(:enable_rule, Seahorse::Model::Operation.new.tap do |o|
725
+ o.name = "EnableRule"
726
+ o.http_method = "POST"
727
+ o.http_request_uri = "/"
728
+ o.input = Shapes::ShapeRef.new(shape: EnableRuleRequest)
729
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
730
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
731
+ o.errors << Shapes::ShapeRef.new(shape: ConcurrentModificationException)
732
+ o.errors << Shapes::ShapeRef.new(shape: ManagedRuleException)
733
+ o.errors << Shapes::ShapeRef.new(shape: InternalException)
734
+ end)
735
+
736
+ api.add_operation(:list_event_buses, Seahorse::Model::Operation.new.tap do |o|
737
+ o.name = "ListEventBuses"
738
+ o.http_method = "POST"
739
+ o.http_request_uri = "/"
740
+ o.input = Shapes::ShapeRef.new(shape: ListEventBusesRequest)
741
+ o.output = Shapes::ShapeRef.new(shape: ListEventBusesResponse)
742
+ o.errors << Shapes::ShapeRef.new(shape: InternalException)
743
+ end)
744
+
745
+ api.add_operation(:list_event_sources, Seahorse::Model::Operation.new.tap do |o|
746
+ o.name = "ListEventSources"
747
+ o.http_method = "POST"
748
+ o.http_request_uri = "/"
749
+ o.input = Shapes::ShapeRef.new(shape: ListEventSourcesRequest)
750
+ o.output = Shapes::ShapeRef.new(shape: ListEventSourcesResponse)
751
+ o.errors << Shapes::ShapeRef.new(shape: InternalException)
752
+ end)
753
+
754
+ api.add_operation(:list_partner_event_source_accounts, Seahorse::Model::Operation.new.tap do |o|
755
+ o.name = "ListPartnerEventSourceAccounts"
756
+ o.http_method = "POST"
757
+ o.http_request_uri = "/"
758
+ o.input = Shapes::ShapeRef.new(shape: ListPartnerEventSourceAccountsRequest)
759
+ o.output = Shapes::ShapeRef.new(shape: ListPartnerEventSourceAccountsResponse)
760
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
761
+ o.errors << Shapes::ShapeRef.new(shape: InternalException)
762
+ end)
763
+
764
+ api.add_operation(:list_partner_event_sources, Seahorse::Model::Operation.new.tap do |o|
765
+ o.name = "ListPartnerEventSources"
766
+ o.http_method = "POST"
767
+ o.http_request_uri = "/"
768
+ o.input = Shapes::ShapeRef.new(shape: ListPartnerEventSourcesRequest)
769
+ o.output = Shapes::ShapeRef.new(shape: ListPartnerEventSourcesResponse)
770
+ o.errors << Shapes::ShapeRef.new(shape: InternalException)
771
+ end)
772
+
773
+ api.add_operation(:list_rule_names_by_target, Seahorse::Model::Operation.new.tap do |o|
774
+ o.name = "ListRuleNamesByTarget"
775
+ o.http_method = "POST"
776
+ o.http_request_uri = "/"
777
+ o.input = Shapes::ShapeRef.new(shape: ListRuleNamesByTargetRequest)
778
+ o.output = Shapes::ShapeRef.new(shape: ListRuleNamesByTargetResponse)
779
+ o.errors << Shapes::ShapeRef.new(shape: InternalException)
780
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
781
+ end)
782
+
783
+ api.add_operation(:list_rules, Seahorse::Model::Operation.new.tap do |o|
784
+ o.name = "ListRules"
785
+ o.http_method = "POST"
786
+ o.http_request_uri = "/"
787
+ o.input = Shapes::ShapeRef.new(shape: ListRulesRequest)
788
+ o.output = Shapes::ShapeRef.new(shape: ListRulesResponse)
789
+ o.errors << Shapes::ShapeRef.new(shape: InternalException)
790
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
791
+ end)
792
+
793
+ api.add_operation(:list_tags_for_resource, Seahorse::Model::Operation.new.tap do |o|
794
+ o.name = "ListTagsForResource"
795
+ o.http_method = "POST"
796
+ o.http_request_uri = "/"
797
+ o.input = Shapes::ShapeRef.new(shape: ListTagsForResourceRequest)
798
+ o.output = Shapes::ShapeRef.new(shape: ListTagsForResourceResponse)
799
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
800
+ o.errors << Shapes::ShapeRef.new(shape: InternalException)
801
+ end)
802
+
803
+ api.add_operation(:list_targets_by_rule, Seahorse::Model::Operation.new.tap do |o|
804
+ o.name = "ListTargetsByRule"
805
+ o.http_method = "POST"
806
+ o.http_request_uri = "/"
807
+ o.input = Shapes::ShapeRef.new(shape: ListTargetsByRuleRequest)
808
+ o.output = Shapes::ShapeRef.new(shape: ListTargetsByRuleResponse)
809
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
810
+ o.errors << Shapes::ShapeRef.new(shape: InternalException)
811
+ end)
812
+
813
+ api.add_operation(:put_events, Seahorse::Model::Operation.new.tap do |o|
814
+ o.name = "PutEvents"
815
+ o.http_method = "POST"
816
+ o.http_request_uri = "/"
817
+ o.input = Shapes::ShapeRef.new(shape: PutEventsRequest)
818
+ o.output = Shapes::ShapeRef.new(shape: PutEventsResponse)
819
+ o.errors << Shapes::ShapeRef.new(shape: InternalException)
820
+ end)
821
+
822
+ api.add_operation(:put_partner_events, Seahorse::Model::Operation.new.tap do |o|
823
+ o.name = "PutPartnerEvents"
824
+ o.http_method = "POST"
825
+ o.http_request_uri = "/"
826
+ o.input = Shapes::ShapeRef.new(shape: PutPartnerEventsRequest)
827
+ o.output = Shapes::ShapeRef.new(shape: PutPartnerEventsResponse)
828
+ o.errors << Shapes::ShapeRef.new(shape: InternalException)
829
+ end)
830
+
831
+ api.add_operation(:put_permission, Seahorse::Model::Operation.new.tap do |o|
832
+ o.name = "PutPermission"
833
+ o.http_method = "POST"
834
+ o.http_request_uri = "/"
835
+ o.input = Shapes::ShapeRef.new(shape: PutPermissionRequest)
836
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
837
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
838
+ o.errors << Shapes::ShapeRef.new(shape: PolicyLengthExceededException)
839
+ o.errors << Shapes::ShapeRef.new(shape: InternalException)
840
+ o.errors << Shapes::ShapeRef.new(shape: ConcurrentModificationException)
841
+ end)
842
+
843
+ api.add_operation(:put_rule, Seahorse::Model::Operation.new.tap do |o|
844
+ o.name = "PutRule"
845
+ o.http_method = "POST"
846
+ o.http_request_uri = "/"
847
+ o.input = Shapes::ShapeRef.new(shape: PutRuleRequest)
848
+ o.output = Shapes::ShapeRef.new(shape: PutRuleResponse)
849
+ o.errors << Shapes::ShapeRef.new(shape: InvalidEventPatternException)
850
+ o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
851
+ o.errors << Shapes::ShapeRef.new(shape: ConcurrentModificationException)
852
+ o.errors << Shapes::ShapeRef.new(shape: ManagedRuleException)
853
+ o.errors << Shapes::ShapeRef.new(shape: InternalException)
854
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
855
+ end)
856
+
857
+ api.add_operation(:put_targets, Seahorse::Model::Operation.new.tap do |o|
858
+ o.name = "PutTargets"
859
+ o.http_method = "POST"
860
+ o.http_request_uri = "/"
861
+ o.input = Shapes::ShapeRef.new(shape: PutTargetsRequest)
862
+ o.output = Shapes::ShapeRef.new(shape: PutTargetsResponse)
863
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
864
+ o.errors << Shapes::ShapeRef.new(shape: ConcurrentModificationException)
865
+ o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
866
+ o.errors << Shapes::ShapeRef.new(shape: ManagedRuleException)
867
+ o.errors << Shapes::ShapeRef.new(shape: InternalException)
868
+ end)
869
+
870
+ api.add_operation(:remove_permission, Seahorse::Model::Operation.new.tap do |o|
871
+ o.name = "RemovePermission"
872
+ o.http_method = "POST"
873
+ o.http_request_uri = "/"
874
+ o.input = Shapes::ShapeRef.new(shape: RemovePermissionRequest)
875
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
876
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
877
+ o.errors << Shapes::ShapeRef.new(shape: InternalException)
878
+ o.errors << Shapes::ShapeRef.new(shape: ConcurrentModificationException)
879
+ end)
880
+
881
+ api.add_operation(:remove_targets, Seahorse::Model::Operation.new.tap do |o|
882
+ o.name = "RemoveTargets"
883
+ o.http_method = "POST"
884
+ o.http_request_uri = "/"
885
+ o.input = Shapes::ShapeRef.new(shape: RemoveTargetsRequest)
886
+ o.output = Shapes::ShapeRef.new(shape: RemoveTargetsResponse)
887
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
888
+ o.errors << Shapes::ShapeRef.new(shape: ConcurrentModificationException)
889
+ o.errors << Shapes::ShapeRef.new(shape: ManagedRuleException)
890
+ o.errors << Shapes::ShapeRef.new(shape: InternalException)
891
+ end)
892
+
893
+ api.add_operation(:tag_resource, Seahorse::Model::Operation.new.tap do |o|
894
+ o.name = "TagResource"
895
+ o.http_method = "POST"
896
+ o.http_request_uri = "/"
897
+ o.input = Shapes::ShapeRef.new(shape: TagResourceRequest)
898
+ o.output = Shapes::ShapeRef.new(shape: TagResourceResponse)
899
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
900
+ o.errors << Shapes::ShapeRef.new(shape: ConcurrentModificationException)
901
+ o.errors << Shapes::ShapeRef.new(shape: InternalException)
902
+ o.errors << Shapes::ShapeRef.new(shape: ManagedRuleException)
903
+ end)
904
+
905
+ api.add_operation(:test_event_pattern, Seahorse::Model::Operation.new.tap do |o|
906
+ o.name = "TestEventPattern"
907
+ o.http_method = "POST"
908
+ o.http_request_uri = "/"
909
+ o.input = Shapes::ShapeRef.new(shape: TestEventPatternRequest)
910
+ o.output = Shapes::ShapeRef.new(shape: TestEventPatternResponse)
911
+ o.errors << Shapes::ShapeRef.new(shape: InvalidEventPatternException)
912
+ o.errors << Shapes::ShapeRef.new(shape: InternalException)
913
+ end)
914
+
915
+ api.add_operation(:untag_resource, Seahorse::Model::Operation.new.tap do |o|
916
+ o.name = "UntagResource"
917
+ o.http_method = "POST"
918
+ o.http_request_uri = "/"
919
+ o.input = Shapes::ShapeRef.new(shape: UntagResourceRequest)
920
+ o.output = Shapes::ShapeRef.new(shape: UntagResourceResponse)
921
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
922
+ o.errors << Shapes::ShapeRef.new(shape: InternalException)
923
+ o.errors << Shapes::ShapeRef.new(shape: ConcurrentModificationException)
924
+ o.errors << Shapes::ShapeRef.new(shape: ManagedRuleException)
925
+ end)
926
+ end
927
+
928
+ end
929
+ end