aws-sdk-cloudwatchevents 1.39.0 → 1.44.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -3,7 +3,7 @@
3
3
  # WARNING ABOUT GENERATED CODE
4
4
  #
5
5
  # This file is generated. See the contributing guide for more information:
6
- # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
7
  #
8
8
  # WARNING ABOUT GENERATED CODE
9
9
 
@@ -16,6 +16,14 @@ 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
+ ApiDestination = Shapes::StructureShape.new(name: 'ApiDestination')
20
+ ApiDestinationArn = Shapes::StringShape.new(name: 'ApiDestinationArn')
21
+ ApiDestinationDescription = Shapes::StringShape.new(name: 'ApiDestinationDescription')
22
+ ApiDestinationHttpMethod = Shapes::StringShape.new(name: 'ApiDestinationHttpMethod')
23
+ ApiDestinationInvocationRateLimitPerSecond = Shapes::IntegerShape.new(name: 'ApiDestinationInvocationRateLimitPerSecond')
24
+ ApiDestinationName = Shapes::StringShape.new(name: 'ApiDestinationName')
25
+ ApiDestinationResponseList = Shapes::ListShape.new(name: 'ApiDestinationResponseList')
26
+ ApiDestinationState = Shapes::StringShape.new(name: 'ApiDestinationState')
19
27
  Archive = Shapes::StructureShape.new(name: 'Archive')
20
28
  ArchiveArn = Shapes::StringShape.new(name: 'ArchiveArn')
21
29
  ArchiveDescription = Shapes::StringShape.new(name: 'ArchiveDescription')
@@ -25,6 +33,7 @@ module Aws::CloudWatchEvents
25
33
  ArchiveStateReason = Shapes::StringShape.new(name: 'ArchiveStateReason')
26
34
  Arn = Shapes::StringShape.new(name: 'Arn')
27
35
  AssignPublicIp = Shapes::StringShape.new(name: 'AssignPublicIp')
36
+ AuthHeaderParameters = Shapes::StringShape.new(name: 'AuthHeaderParameters')
28
37
  AwsVpcConfiguration = Shapes::StructureShape.new(name: 'AwsVpcConfiguration')
29
38
  BatchArrayProperties = Shapes::StructureShape.new(name: 'BatchArrayProperties')
30
39
  BatchParameters = Shapes::StructureShape.new(name: 'BatchParameters')
@@ -34,23 +43,64 @@ module Aws::CloudWatchEvents
34
43
  CancelReplayResponse = Shapes::StructureShape.new(name: 'CancelReplayResponse')
35
44
  ConcurrentModificationException = Shapes::StructureShape.new(name: 'ConcurrentModificationException')
36
45
  Condition = Shapes::StructureShape.new(name: 'Condition')
46
+ Connection = Shapes::StructureShape.new(name: 'Connection')
47
+ ConnectionApiKeyAuthResponseParameters = Shapes::StructureShape.new(name: 'ConnectionApiKeyAuthResponseParameters')
48
+ ConnectionArn = Shapes::StringShape.new(name: 'ConnectionArn')
49
+ ConnectionAuthResponseParameters = Shapes::StructureShape.new(name: 'ConnectionAuthResponseParameters')
50
+ ConnectionAuthorizationType = Shapes::StringShape.new(name: 'ConnectionAuthorizationType')
51
+ ConnectionBasicAuthResponseParameters = Shapes::StructureShape.new(name: 'ConnectionBasicAuthResponseParameters')
52
+ ConnectionBodyParameter = Shapes::StructureShape.new(name: 'ConnectionBodyParameter')
53
+ ConnectionBodyParametersList = Shapes::ListShape.new(name: 'ConnectionBodyParametersList')
54
+ ConnectionDescription = Shapes::StringShape.new(name: 'ConnectionDescription')
55
+ ConnectionHeaderParameter = Shapes::StructureShape.new(name: 'ConnectionHeaderParameter')
56
+ ConnectionHeaderParametersList = Shapes::ListShape.new(name: 'ConnectionHeaderParametersList')
57
+ ConnectionHttpParameters = Shapes::StructureShape.new(name: 'ConnectionHttpParameters')
58
+ ConnectionName = Shapes::StringShape.new(name: 'ConnectionName')
59
+ ConnectionOAuthClientResponseParameters = Shapes::StructureShape.new(name: 'ConnectionOAuthClientResponseParameters')
60
+ ConnectionOAuthHttpMethod = Shapes::StringShape.new(name: 'ConnectionOAuthHttpMethod')
61
+ ConnectionOAuthResponseParameters = Shapes::StructureShape.new(name: 'ConnectionOAuthResponseParameters')
62
+ ConnectionQueryStringParameter = Shapes::StructureShape.new(name: 'ConnectionQueryStringParameter')
63
+ ConnectionQueryStringParametersList = Shapes::ListShape.new(name: 'ConnectionQueryStringParametersList')
64
+ ConnectionResponseList = Shapes::ListShape.new(name: 'ConnectionResponseList')
65
+ ConnectionState = Shapes::StringShape.new(name: 'ConnectionState')
66
+ ConnectionStateReason = Shapes::StringShape.new(name: 'ConnectionStateReason')
67
+ CreateApiDestinationRequest = Shapes::StructureShape.new(name: 'CreateApiDestinationRequest')
68
+ CreateApiDestinationResponse = Shapes::StructureShape.new(name: 'CreateApiDestinationResponse')
37
69
  CreateArchiveRequest = Shapes::StructureShape.new(name: 'CreateArchiveRequest')
38
70
  CreateArchiveResponse = Shapes::StructureShape.new(name: 'CreateArchiveResponse')
71
+ CreateConnectionApiKeyAuthRequestParameters = Shapes::StructureShape.new(name: 'CreateConnectionApiKeyAuthRequestParameters')
72
+ CreateConnectionAuthRequestParameters = Shapes::StructureShape.new(name: 'CreateConnectionAuthRequestParameters')
73
+ CreateConnectionBasicAuthRequestParameters = Shapes::StructureShape.new(name: 'CreateConnectionBasicAuthRequestParameters')
74
+ CreateConnectionOAuthClientRequestParameters = Shapes::StructureShape.new(name: 'CreateConnectionOAuthClientRequestParameters')
75
+ CreateConnectionOAuthRequestParameters = Shapes::StructureShape.new(name: 'CreateConnectionOAuthRequestParameters')
76
+ CreateConnectionRequest = Shapes::StructureShape.new(name: 'CreateConnectionRequest')
77
+ CreateConnectionResponse = Shapes::StructureShape.new(name: 'CreateConnectionResponse')
39
78
  CreateEventBusRequest = Shapes::StructureShape.new(name: 'CreateEventBusRequest')
40
79
  CreateEventBusResponse = Shapes::StructureShape.new(name: 'CreateEventBusResponse')
41
80
  CreatePartnerEventSourceRequest = Shapes::StructureShape.new(name: 'CreatePartnerEventSourceRequest')
42
81
  CreatePartnerEventSourceResponse = Shapes::StructureShape.new(name: 'CreatePartnerEventSourceResponse')
82
+ CreatedBy = Shapes::StringShape.new(name: 'CreatedBy')
43
83
  Database = Shapes::StringShape.new(name: 'Database')
44
84
  DbUser = Shapes::StringShape.new(name: 'DbUser')
45
85
  DeactivateEventSourceRequest = Shapes::StructureShape.new(name: 'DeactivateEventSourceRequest')
46
86
  DeadLetterConfig = Shapes::StructureShape.new(name: 'DeadLetterConfig')
87
+ DeauthorizeConnectionRequest = Shapes::StructureShape.new(name: 'DeauthorizeConnectionRequest')
88
+ DeauthorizeConnectionResponse = Shapes::StructureShape.new(name: 'DeauthorizeConnectionResponse')
89
+ DeleteApiDestinationRequest = Shapes::StructureShape.new(name: 'DeleteApiDestinationRequest')
90
+ DeleteApiDestinationResponse = Shapes::StructureShape.new(name: 'DeleteApiDestinationResponse')
47
91
  DeleteArchiveRequest = Shapes::StructureShape.new(name: 'DeleteArchiveRequest')
48
92
  DeleteArchiveResponse = Shapes::StructureShape.new(name: 'DeleteArchiveResponse')
93
+ DeleteConnectionRequest = Shapes::StructureShape.new(name: 'DeleteConnectionRequest')
94
+ DeleteConnectionResponse = Shapes::StructureShape.new(name: 'DeleteConnectionResponse')
49
95
  DeleteEventBusRequest = Shapes::StructureShape.new(name: 'DeleteEventBusRequest')
50
96
  DeletePartnerEventSourceRequest = Shapes::StructureShape.new(name: 'DeletePartnerEventSourceRequest')
51
97
  DeleteRuleRequest = Shapes::StructureShape.new(name: 'DeleteRuleRequest')
98
+ DescribeApiDestinationRequest = Shapes::StructureShape.new(name: 'DescribeApiDestinationRequest')
99
+ DescribeApiDestinationResponse = Shapes::StructureShape.new(name: 'DescribeApiDestinationResponse')
52
100
  DescribeArchiveRequest = Shapes::StructureShape.new(name: 'DescribeArchiveRequest')
53
101
  DescribeArchiveResponse = Shapes::StructureShape.new(name: 'DescribeArchiveResponse')
102
+ DescribeConnectionRequest = Shapes::StructureShape.new(name: 'DescribeConnectionRequest')
103
+ DescribeConnectionResponse = Shapes::StructureShape.new(name: 'DescribeConnectionResponse')
54
104
  DescribeEventBusRequest = Shapes::StructureShape.new(name: 'DescribeEventBusRequest')
55
105
  DescribeEventBusResponse = Shapes::StructureShape.new(name: 'DescribeEventBusResponse')
56
106
  DescribeEventSourceRequest = Shapes::StructureShape.new(name: 'DescribeEventSourceRequest')
@@ -69,6 +119,7 @@ module Aws::CloudWatchEvents
69
119
  EventBus = Shapes::StructureShape.new(name: 'EventBus')
70
120
  EventBusList = Shapes::ListShape.new(name: 'EventBusList')
71
121
  EventBusName = Shapes::StringShape.new(name: 'EventBusName')
122
+ EventBusNameOrArn = Shapes::StringShape.new(name: 'EventBusNameOrArn')
72
123
  EventId = Shapes::StringShape.new(name: 'EventId')
73
124
  EventPattern = Shapes::StringShape.new(name: 'EventPattern')
74
125
  EventResource = Shapes::StringShape.new(name: 'EventResource')
@@ -83,6 +134,7 @@ module Aws::CloudWatchEvents
83
134
  HeaderParametersMap = Shapes::MapShape.new(name: 'HeaderParametersMap')
84
135
  HeaderValue = Shapes::StringShape.new(name: 'HeaderValue')
85
136
  HttpParameters = Shapes::StructureShape.new(name: 'HttpParameters')
137
+ HttpsEndpoint = Shapes::StringShape.new(name: 'HttpsEndpoint')
86
138
  IllegalStatusException = Shapes::StructureShape.new(name: 'IllegalStatusException')
87
139
  InputTransformer = Shapes::StructureShape.new(name: 'InputTransformer')
88
140
  InputTransformerPathKey = Shapes::StringShape.new(name: 'InputTransformerPathKey')
@@ -95,8 +147,12 @@ module Aws::CloudWatchEvents
95
147
  LimitExceededException = Shapes::StructureShape.new(name: 'LimitExceededException')
96
148
  LimitMax100 = Shapes::IntegerShape.new(name: 'LimitMax100')
97
149
  LimitMin1 = Shapes::IntegerShape.new(name: 'LimitMin1')
150
+ ListApiDestinationsRequest = Shapes::StructureShape.new(name: 'ListApiDestinationsRequest')
151
+ ListApiDestinationsResponse = Shapes::StructureShape.new(name: 'ListApiDestinationsResponse')
98
152
  ListArchivesRequest = Shapes::StructureShape.new(name: 'ListArchivesRequest')
99
153
  ListArchivesResponse = Shapes::StructureShape.new(name: 'ListArchivesResponse')
154
+ ListConnectionsRequest = Shapes::StructureShape.new(name: 'ListConnectionsRequest')
155
+ ListConnectionsResponse = Shapes::StructureShape.new(name: 'ListConnectionsResponse')
100
156
  ListEventBusesRequest = Shapes::StructureShape.new(name: 'ListEventBusesRequest')
101
157
  ListEventBusesResponse = Shapes::StructureShape.new(name: 'ListEventBusesResponse')
102
158
  ListEventSourcesRequest = Shapes::StructureShape.new(name: 'ListEventSourcesRequest')
@@ -124,6 +180,7 @@ module Aws::CloudWatchEvents
124
180
  NetworkConfiguration = Shapes::StructureShape.new(name: 'NetworkConfiguration')
125
181
  NextToken = Shapes::StringShape.new(name: 'NextToken')
126
182
  NonPartnerEventBusName = Shapes::StringShape.new(name: 'NonPartnerEventBusName')
183
+ NonPartnerEventBusNameOrArn = Shapes::StringShape.new(name: 'NonPartnerEventBusNameOrArn')
127
184
  OperationDisabledException = Shapes::StructureShape.new(name: 'OperationDisabledException')
128
185
  PartnerEventSource = Shapes::StructureShape.new(name: 'PartnerEventSource')
129
186
  PartnerEventSourceAccount = Shapes::StructureShape.new(name: 'PartnerEventSourceAccount')
@@ -192,6 +249,7 @@ module Aws::CloudWatchEvents
192
249
  RunCommandTargetValues = Shapes::ListShape.new(name: 'RunCommandTargetValues')
193
250
  RunCommandTargets = Shapes::ListShape.new(name: 'RunCommandTargets')
194
251
  ScheduleExpression = Shapes::StringShape.new(name: 'ScheduleExpression')
252
+ SecretsManagerSecretArn = Shapes::StringShape.new(name: 'SecretsManagerSecretArn')
195
253
  Sql = Shapes::StringShape.new(name: 'Sql')
196
254
  SqsParameters = Shapes::StructureShape.new(name: 'SqsParameters')
197
255
  StartReplayRequest = Shapes::StructureShape.new(name: 'StartReplayRequest')
@@ -218,16 +276,39 @@ module Aws::CloudWatchEvents
218
276
  TestEventPatternRequest = Shapes::StructureShape.new(name: 'TestEventPatternRequest')
219
277
  TestEventPatternResponse = Shapes::StructureShape.new(name: 'TestEventPatternResponse')
220
278
  Timestamp = Shapes::TimestampShape.new(name: 'Timestamp')
279
+ TraceHeader = Shapes::StringShape.new(name: 'TraceHeader')
221
280
  TransformerInput = Shapes::StringShape.new(name: 'TransformerInput')
222
281
  TransformerPaths = Shapes::MapShape.new(name: 'TransformerPaths')
223
282
  UntagResourceRequest = Shapes::StructureShape.new(name: 'UntagResourceRequest')
224
283
  UntagResourceResponse = Shapes::StructureShape.new(name: 'UntagResourceResponse')
284
+ UpdateApiDestinationRequest = Shapes::StructureShape.new(name: 'UpdateApiDestinationRequest')
285
+ UpdateApiDestinationResponse = Shapes::StructureShape.new(name: 'UpdateApiDestinationResponse')
225
286
  UpdateArchiveRequest = Shapes::StructureShape.new(name: 'UpdateArchiveRequest')
226
287
  UpdateArchiveResponse = Shapes::StructureShape.new(name: 'UpdateArchiveResponse')
288
+ UpdateConnectionApiKeyAuthRequestParameters = Shapes::StructureShape.new(name: 'UpdateConnectionApiKeyAuthRequestParameters')
289
+ UpdateConnectionAuthRequestParameters = Shapes::StructureShape.new(name: 'UpdateConnectionAuthRequestParameters')
290
+ UpdateConnectionBasicAuthRequestParameters = Shapes::StructureShape.new(name: 'UpdateConnectionBasicAuthRequestParameters')
291
+ UpdateConnectionOAuthClientRequestParameters = Shapes::StructureShape.new(name: 'UpdateConnectionOAuthClientRequestParameters')
292
+ UpdateConnectionOAuthRequestParameters = Shapes::StructureShape.new(name: 'UpdateConnectionOAuthRequestParameters')
293
+ UpdateConnectionRequest = Shapes::StructureShape.new(name: 'UpdateConnectionRequest')
294
+ UpdateConnectionResponse = Shapes::StructureShape.new(name: 'UpdateConnectionResponse')
227
295
 
228
296
  ActivateEventSourceRequest.add_member(:name, Shapes::ShapeRef.new(shape: EventSourceName, required: true, location_name: "Name"))
229
297
  ActivateEventSourceRequest.struct_class = Types::ActivateEventSourceRequest
230
298
 
299
+ ApiDestination.add_member(:api_destination_arn, Shapes::ShapeRef.new(shape: ApiDestinationArn, location_name: "ApiDestinationArn"))
300
+ ApiDestination.add_member(:name, Shapes::ShapeRef.new(shape: ApiDestinationName, location_name: "Name"))
301
+ ApiDestination.add_member(:api_destination_state, Shapes::ShapeRef.new(shape: ApiDestinationState, location_name: "ApiDestinationState"))
302
+ ApiDestination.add_member(:connection_arn, Shapes::ShapeRef.new(shape: ConnectionArn, location_name: "ConnectionArn"))
303
+ ApiDestination.add_member(:invocation_endpoint, Shapes::ShapeRef.new(shape: HttpsEndpoint, location_name: "InvocationEndpoint"))
304
+ ApiDestination.add_member(:http_method, Shapes::ShapeRef.new(shape: ApiDestinationHttpMethod, location_name: "HttpMethod"))
305
+ ApiDestination.add_member(:invocation_rate_limit_per_second, Shapes::ShapeRef.new(shape: ApiDestinationInvocationRateLimitPerSecond, location_name: "InvocationRateLimitPerSecond"))
306
+ ApiDestination.add_member(:creation_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "CreationTime"))
307
+ ApiDestination.add_member(:last_modified_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "LastModifiedTime"))
308
+ ApiDestination.struct_class = Types::ApiDestination
309
+
310
+ ApiDestinationResponseList.member = Shapes::ShapeRef.new(shape: ApiDestination)
311
+
231
312
  Archive.add_member(:archive_name, Shapes::ShapeRef.new(shape: ArchiveName, location_name: "ArchiveName"))
232
313
  Archive.add_member(:event_source_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "EventSourceArn"))
233
314
  Archive.add_member(:state, Shapes::ShapeRef.new(shape: ArchiveState, location_name: "State"))
@@ -272,6 +353,79 @@ module Aws::CloudWatchEvents
272
353
  Condition.add_member(:value, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Value"))
273
354
  Condition.struct_class = Types::Condition
274
355
 
356
+ Connection.add_member(:connection_arn, Shapes::ShapeRef.new(shape: ConnectionArn, location_name: "ConnectionArn"))
357
+ Connection.add_member(:name, Shapes::ShapeRef.new(shape: ConnectionName, location_name: "Name"))
358
+ Connection.add_member(:connection_state, Shapes::ShapeRef.new(shape: ConnectionState, location_name: "ConnectionState"))
359
+ Connection.add_member(:state_reason, Shapes::ShapeRef.new(shape: ConnectionStateReason, location_name: "StateReason"))
360
+ Connection.add_member(:authorization_type, Shapes::ShapeRef.new(shape: ConnectionAuthorizationType, location_name: "AuthorizationType"))
361
+ Connection.add_member(:creation_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "CreationTime"))
362
+ Connection.add_member(:last_modified_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "LastModifiedTime"))
363
+ Connection.add_member(:last_authorized_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "LastAuthorizedTime"))
364
+ Connection.struct_class = Types::Connection
365
+
366
+ ConnectionApiKeyAuthResponseParameters.add_member(:api_key_name, Shapes::ShapeRef.new(shape: AuthHeaderParameters, location_name: "ApiKeyName"))
367
+ ConnectionApiKeyAuthResponseParameters.struct_class = Types::ConnectionApiKeyAuthResponseParameters
368
+
369
+ ConnectionAuthResponseParameters.add_member(:basic_auth_parameters, Shapes::ShapeRef.new(shape: ConnectionBasicAuthResponseParameters, location_name: "BasicAuthParameters"))
370
+ ConnectionAuthResponseParameters.add_member(:o_auth_parameters, Shapes::ShapeRef.new(shape: ConnectionOAuthResponseParameters, location_name: "OAuthParameters"))
371
+ ConnectionAuthResponseParameters.add_member(:api_key_auth_parameters, Shapes::ShapeRef.new(shape: ConnectionApiKeyAuthResponseParameters, location_name: "ApiKeyAuthParameters"))
372
+ ConnectionAuthResponseParameters.add_member(:invocation_http_parameters, Shapes::ShapeRef.new(shape: ConnectionHttpParameters, location_name: "InvocationHttpParameters"))
373
+ ConnectionAuthResponseParameters.struct_class = Types::ConnectionAuthResponseParameters
374
+
375
+ ConnectionBasicAuthResponseParameters.add_member(:username, Shapes::ShapeRef.new(shape: AuthHeaderParameters, location_name: "Username"))
376
+ ConnectionBasicAuthResponseParameters.struct_class = Types::ConnectionBasicAuthResponseParameters
377
+
378
+ ConnectionBodyParameter.add_member(:key, Shapes::ShapeRef.new(shape: String, location_name: "Key"))
379
+ ConnectionBodyParameter.add_member(:value, Shapes::ShapeRef.new(shape: String, location_name: "Value"))
380
+ ConnectionBodyParameter.add_member(:is_value_secret, Shapes::ShapeRef.new(shape: Boolean, location_name: "IsValueSecret"))
381
+ ConnectionBodyParameter.struct_class = Types::ConnectionBodyParameter
382
+
383
+ ConnectionBodyParametersList.member = Shapes::ShapeRef.new(shape: ConnectionBodyParameter)
384
+
385
+ ConnectionHeaderParameter.add_member(:key, Shapes::ShapeRef.new(shape: HeaderKey, location_name: "Key"))
386
+ ConnectionHeaderParameter.add_member(:value, Shapes::ShapeRef.new(shape: HeaderValue, location_name: "Value"))
387
+ ConnectionHeaderParameter.add_member(:is_value_secret, Shapes::ShapeRef.new(shape: Boolean, location_name: "IsValueSecret"))
388
+ ConnectionHeaderParameter.struct_class = Types::ConnectionHeaderParameter
389
+
390
+ ConnectionHeaderParametersList.member = Shapes::ShapeRef.new(shape: ConnectionHeaderParameter)
391
+
392
+ ConnectionHttpParameters.add_member(:header_parameters, Shapes::ShapeRef.new(shape: ConnectionHeaderParametersList, location_name: "HeaderParameters"))
393
+ ConnectionHttpParameters.add_member(:query_string_parameters, Shapes::ShapeRef.new(shape: ConnectionQueryStringParametersList, location_name: "QueryStringParameters"))
394
+ ConnectionHttpParameters.add_member(:body_parameters, Shapes::ShapeRef.new(shape: ConnectionBodyParametersList, location_name: "BodyParameters"))
395
+ ConnectionHttpParameters.struct_class = Types::ConnectionHttpParameters
396
+
397
+ ConnectionOAuthClientResponseParameters.add_member(:client_id, Shapes::ShapeRef.new(shape: AuthHeaderParameters, location_name: "ClientID"))
398
+ ConnectionOAuthClientResponseParameters.struct_class = Types::ConnectionOAuthClientResponseParameters
399
+
400
+ ConnectionOAuthResponseParameters.add_member(:client_parameters, Shapes::ShapeRef.new(shape: ConnectionOAuthClientResponseParameters, location_name: "ClientParameters"))
401
+ ConnectionOAuthResponseParameters.add_member(:authorization_endpoint, Shapes::ShapeRef.new(shape: HttpsEndpoint, location_name: "AuthorizationEndpoint"))
402
+ ConnectionOAuthResponseParameters.add_member(:http_method, Shapes::ShapeRef.new(shape: ConnectionOAuthHttpMethod, location_name: "HttpMethod"))
403
+ ConnectionOAuthResponseParameters.add_member(:o_auth_http_parameters, Shapes::ShapeRef.new(shape: ConnectionHttpParameters, location_name: "OAuthHttpParameters"))
404
+ ConnectionOAuthResponseParameters.struct_class = Types::ConnectionOAuthResponseParameters
405
+
406
+ ConnectionQueryStringParameter.add_member(:key, Shapes::ShapeRef.new(shape: QueryStringKey, location_name: "Key"))
407
+ ConnectionQueryStringParameter.add_member(:value, Shapes::ShapeRef.new(shape: QueryStringValue, location_name: "Value"))
408
+ ConnectionQueryStringParameter.add_member(:is_value_secret, Shapes::ShapeRef.new(shape: Boolean, location_name: "IsValueSecret"))
409
+ ConnectionQueryStringParameter.struct_class = Types::ConnectionQueryStringParameter
410
+
411
+ ConnectionQueryStringParametersList.member = Shapes::ShapeRef.new(shape: ConnectionQueryStringParameter)
412
+
413
+ ConnectionResponseList.member = Shapes::ShapeRef.new(shape: Connection)
414
+
415
+ CreateApiDestinationRequest.add_member(:name, Shapes::ShapeRef.new(shape: ApiDestinationName, required: true, location_name: "Name"))
416
+ CreateApiDestinationRequest.add_member(:description, Shapes::ShapeRef.new(shape: ApiDestinationDescription, location_name: "Description"))
417
+ CreateApiDestinationRequest.add_member(:connection_arn, Shapes::ShapeRef.new(shape: ConnectionArn, required: true, location_name: "ConnectionArn"))
418
+ CreateApiDestinationRequest.add_member(:invocation_endpoint, Shapes::ShapeRef.new(shape: HttpsEndpoint, required: true, location_name: "InvocationEndpoint"))
419
+ CreateApiDestinationRequest.add_member(:http_method, Shapes::ShapeRef.new(shape: ApiDestinationHttpMethod, required: true, location_name: "HttpMethod"))
420
+ CreateApiDestinationRequest.add_member(:invocation_rate_limit_per_second, Shapes::ShapeRef.new(shape: ApiDestinationInvocationRateLimitPerSecond, location_name: "InvocationRateLimitPerSecond"))
421
+ CreateApiDestinationRequest.struct_class = Types::CreateApiDestinationRequest
422
+
423
+ CreateApiDestinationResponse.add_member(:api_destination_arn, Shapes::ShapeRef.new(shape: ApiDestinationArn, location_name: "ApiDestinationArn"))
424
+ CreateApiDestinationResponse.add_member(:api_destination_state, Shapes::ShapeRef.new(shape: ApiDestinationState, location_name: "ApiDestinationState"))
425
+ CreateApiDestinationResponse.add_member(:creation_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "CreationTime"))
426
+ CreateApiDestinationResponse.add_member(:last_modified_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "LastModifiedTime"))
427
+ CreateApiDestinationResponse.struct_class = Types::CreateApiDestinationResponse
428
+
275
429
  CreateArchiveRequest.add_member(:archive_name, Shapes::ShapeRef.new(shape: ArchiveName, required: true, location_name: "ArchiveName"))
276
430
  CreateArchiveRequest.add_member(:event_source_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "EventSourceArn"))
277
431
  CreateArchiveRequest.add_member(:description, Shapes::ShapeRef.new(shape: ArchiveDescription, location_name: "Description"))
@@ -285,6 +439,42 @@ module Aws::CloudWatchEvents
285
439
  CreateArchiveResponse.add_member(:creation_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "CreationTime"))
286
440
  CreateArchiveResponse.struct_class = Types::CreateArchiveResponse
287
441
 
442
+ CreateConnectionApiKeyAuthRequestParameters.add_member(:api_key_name, Shapes::ShapeRef.new(shape: AuthHeaderParameters, required: true, location_name: "ApiKeyName"))
443
+ CreateConnectionApiKeyAuthRequestParameters.add_member(:api_key_value, Shapes::ShapeRef.new(shape: AuthHeaderParameters, required: true, location_name: "ApiKeyValue"))
444
+ CreateConnectionApiKeyAuthRequestParameters.struct_class = Types::CreateConnectionApiKeyAuthRequestParameters
445
+
446
+ CreateConnectionAuthRequestParameters.add_member(:basic_auth_parameters, Shapes::ShapeRef.new(shape: CreateConnectionBasicAuthRequestParameters, location_name: "BasicAuthParameters"))
447
+ CreateConnectionAuthRequestParameters.add_member(:o_auth_parameters, Shapes::ShapeRef.new(shape: CreateConnectionOAuthRequestParameters, location_name: "OAuthParameters"))
448
+ CreateConnectionAuthRequestParameters.add_member(:api_key_auth_parameters, Shapes::ShapeRef.new(shape: CreateConnectionApiKeyAuthRequestParameters, location_name: "ApiKeyAuthParameters"))
449
+ CreateConnectionAuthRequestParameters.add_member(:invocation_http_parameters, Shapes::ShapeRef.new(shape: ConnectionHttpParameters, location_name: "InvocationHttpParameters"))
450
+ CreateConnectionAuthRequestParameters.struct_class = Types::CreateConnectionAuthRequestParameters
451
+
452
+ CreateConnectionBasicAuthRequestParameters.add_member(:username, Shapes::ShapeRef.new(shape: AuthHeaderParameters, required: true, location_name: "Username"))
453
+ CreateConnectionBasicAuthRequestParameters.add_member(:password, Shapes::ShapeRef.new(shape: AuthHeaderParameters, required: true, location_name: "Password"))
454
+ CreateConnectionBasicAuthRequestParameters.struct_class = Types::CreateConnectionBasicAuthRequestParameters
455
+
456
+ CreateConnectionOAuthClientRequestParameters.add_member(:client_id, Shapes::ShapeRef.new(shape: AuthHeaderParameters, required: true, location_name: "ClientID"))
457
+ CreateConnectionOAuthClientRequestParameters.add_member(:client_secret, Shapes::ShapeRef.new(shape: AuthHeaderParameters, required: true, location_name: "ClientSecret"))
458
+ CreateConnectionOAuthClientRequestParameters.struct_class = Types::CreateConnectionOAuthClientRequestParameters
459
+
460
+ CreateConnectionOAuthRequestParameters.add_member(:client_parameters, Shapes::ShapeRef.new(shape: CreateConnectionOAuthClientRequestParameters, required: true, location_name: "ClientParameters"))
461
+ CreateConnectionOAuthRequestParameters.add_member(:authorization_endpoint, Shapes::ShapeRef.new(shape: HttpsEndpoint, required: true, location_name: "AuthorizationEndpoint"))
462
+ CreateConnectionOAuthRequestParameters.add_member(:http_method, Shapes::ShapeRef.new(shape: ConnectionOAuthHttpMethod, required: true, location_name: "HttpMethod"))
463
+ CreateConnectionOAuthRequestParameters.add_member(:o_auth_http_parameters, Shapes::ShapeRef.new(shape: ConnectionHttpParameters, location_name: "OAuthHttpParameters"))
464
+ CreateConnectionOAuthRequestParameters.struct_class = Types::CreateConnectionOAuthRequestParameters
465
+
466
+ CreateConnectionRequest.add_member(:name, Shapes::ShapeRef.new(shape: ConnectionName, required: true, location_name: "Name"))
467
+ CreateConnectionRequest.add_member(:description, Shapes::ShapeRef.new(shape: ConnectionDescription, location_name: "Description"))
468
+ CreateConnectionRequest.add_member(:authorization_type, Shapes::ShapeRef.new(shape: ConnectionAuthorizationType, required: true, location_name: "AuthorizationType"))
469
+ CreateConnectionRequest.add_member(:auth_parameters, Shapes::ShapeRef.new(shape: CreateConnectionAuthRequestParameters, required: true, location_name: "AuthParameters"))
470
+ CreateConnectionRequest.struct_class = Types::CreateConnectionRequest
471
+
472
+ CreateConnectionResponse.add_member(:connection_arn, Shapes::ShapeRef.new(shape: ConnectionArn, location_name: "ConnectionArn"))
473
+ CreateConnectionResponse.add_member(:connection_state, Shapes::ShapeRef.new(shape: ConnectionState, location_name: "ConnectionState"))
474
+ CreateConnectionResponse.add_member(:creation_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "CreationTime"))
475
+ CreateConnectionResponse.add_member(:last_modified_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "LastModifiedTime"))
476
+ CreateConnectionResponse.struct_class = Types::CreateConnectionResponse
477
+
288
478
  CreateEventBusRequest.add_member(:name, Shapes::ShapeRef.new(shape: EventBusName, required: true, location_name: "Name"))
289
479
  CreateEventBusRequest.add_member(:event_source_name, Shapes::ShapeRef.new(shape: EventSourceName, location_name: "EventSourceName"))
290
480
  CreateEventBusRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
@@ -306,11 +496,36 @@ module Aws::CloudWatchEvents
306
496
  DeadLetterConfig.add_member(:arn, Shapes::ShapeRef.new(shape: ResourceArn, location_name: "Arn"))
307
497
  DeadLetterConfig.struct_class = Types::DeadLetterConfig
308
498
 
499
+ DeauthorizeConnectionRequest.add_member(:name, Shapes::ShapeRef.new(shape: ConnectionName, required: true, location_name: "Name"))
500
+ DeauthorizeConnectionRequest.struct_class = Types::DeauthorizeConnectionRequest
501
+
502
+ DeauthorizeConnectionResponse.add_member(:connection_arn, Shapes::ShapeRef.new(shape: ConnectionArn, location_name: "ConnectionArn"))
503
+ DeauthorizeConnectionResponse.add_member(:connection_state, Shapes::ShapeRef.new(shape: ConnectionState, location_name: "ConnectionState"))
504
+ DeauthorizeConnectionResponse.add_member(:creation_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "CreationTime"))
505
+ DeauthorizeConnectionResponse.add_member(:last_modified_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "LastModifiedTime"))
506
+ DeauthorizeConnectionResponse.add_member(:last_authorized_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "LastAuthorizedTime"))
507
+ DeauthorizeConnectionResponse.struct_class = Types::DeauthorizeConnectionResponse
508
+
509
+ DeleteApiDestinationRequest.add_member(:name, Shapes::ShapeRef.new(shape: ApiDestinationName, required: true, location_name: "Name"))
510
+ DeleteApiDestinationRequest.struct_class = Types::DeleteApiDestinationRequest
511
+
512
+ DeleteApiDestinationResponse.struct_class = Types::DeleteApiDestinationResponse
513
+
309
514
  DeleteArchiveRequest.add_member(:archive_name, Shapes::ShapeRef.new(shape: ArchiveName, required: true, location_name: "ArchiveName"))
310
515
  DeleteArchiveRequest.struct_class = Types::DeleteArchiveRequest
311
516
 
312
517
  DeleteArchiveResponse.struct_class = Types::DeleteArchiveResponse
313
518
 
519
+ DeleteConnectionRequest.add_member(:name, Shapes::ShapeRef.new(shape: ConnectionName, required: true, location_name: "Name"))
520
+ DeleteConnectionRequest.struct_class = Types::DeleteConnectionRequest
521
+
522
+ DeleteConnectionResponse.add_member(:connection_arn, Shapes::ShapeRef.new(shape: ConnectionArn, location_name: "ConnectionArn"))
523
+ DeleteConnectionResponse.add_member(:connection_state, Shapes::ShapeRef.new(shape: ConnectionState, location_name: "ConnectionState"))
524
+ DeleteConnectionResponse.add_member(:creation_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "CreationTime"))
525
+ DeleteConnectionResponse.add_member(:last_modified_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "LastModifiedTime"))
526
+ DeleteConnectionResponse.add_member(:last_authorized_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "LastAuthorizedTime"))
527
+ DeleteConnectionResponse.struct_class = Types::DeleteConnectionResponse
528
+
314
529
  DeleteEventBusRequest.add_member(:name, Shapes::ShapeRef.new(shape: EventBusName, required: true, location_name: "Name"))
315
530
  DeleteEventBusRequest.struct_class = Types::DeleteEventBusRequest
316
531
 
@@ -319,10 +534,25 @@ module Aws::CloudWatchEvents
319
534
  DeletePartnerEventSourceRequest.struct_class = Types::DeletePartnerEventSourceRequest
320
535
 
321
536
  DeleteRuleRequest.add_member(:name, Shapes::ShapeRef.new(shape: RuleName, required: true, location_name: "Name"))
322
- DeleteRuleRequest.add_member(:event_bus_name, Shapes::ShapeRef.new(shape: EventBusName, location_name: "EventBusName"))
537
+ DeleteRuleRequest.add_member(:event_bus_name, Shapes::ShapeRef.new(shape: EventBusNameOrArn, location_name: "EventBusName"))
323
538
  DeleteRuleRequest.add_member(:force, Shapes::ShapeRef.new(shape: Boolean, location_name: "Force"))
324
539
  DeleteRuleRequest.struct_class = Types::DeleteRuleRequest
325
540
 
541
+ DescribeApiDestinationRequest.add_member(:name, Shapes::ShapeRef.new(shape: ApiDestinationName, required: true, location_name: "Name"))
542
+ DescribeApiDestinationRequest.struct_class = Types::DescribeApiDestinationRequest
543
+
544
+ DescribeApiDestinationResponse.add_member(:api_destination_arn, Shapes::ShapeRef.new(shape: ApiDestinationArn, location_name: "ApiDestinationArn"))
545
+ DescribeApiDestinationResponse.add_member(:name, Shapes::ShapeRef.new(shape: ApiDestinationName, location_name: "Name"))
546
+ DescribeApiDestinationResponse.add_member(:description, Shapes::ShapeRef.new(shape: ApiDestinationDescription, location_name: "Description"))
547
+ DescribeApiDestinationResponse.add_member(:api_destination_state, Shapes::ShapeRef.new(shape: ApiDestinationState, location_name: "ApiDestinationState"))
548
+ DescribeApiDestinationResponse.add_member(:connection_arn, Shapes::ShapeRef.new(shape: ConnectionArn, location_name: "ConnectionArn"))
549
+ DescribeApiDestinationResponse.add_member(:invocation_endpoint, Shapes::ShapeRef.new(shape: HttpsEndpoint, location_name: "InvocationEndpoint"))
550
+ DescribeApiDestinationResponse.add_member(:http_method, Shapes::ShapeRef.new(shape: ApiDestinationHttpMethod, location_name: "HttpMethod"))
551
+ DescribeApiDestinationResponse.add_member(:invocation_rate_limit_per_second, Shapes::ShapeRef.new(shape: ApiDestinationInvocationRateLimitPerSecond, location_name: "InvocationRateLimitPerSecond"))
552
+ DescribeApiDestinationResponse.add_member(:creation_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "CreationTime"))
553
+ DescribeApiDestinationResponse.add_member(:last_modified_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "LastModifiedTime"))
554
+ DescribeApiDestinationResponse.struct_class = Types::DescribeApiDestinationResponse
555
+
326
556
  DescribeArchiveRequest.add_member(:archive_name, Shapes::ShapeRef.new(shape: ArchiveName, required: true, location_name: "ArchiveName"))
327
557
  DescribeArchiveRequest.struct_class = Types::DescribeArchiveRequest
328
558
 
@@ -339,7 +569,23 @@ module Aws::CloudWatchEvents
339
569
  DescribeArchiveResponse.add_member(:creation_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "CreationTime"))
340
570
  DescribeArchiveResponse.struct_class = Types::DescribeArchiveResponse
341
571
 
342
- DescribeEventBusRequest.add_member(:name, Shapes::ShapeRef.new(shape: EventBusName, location_name: "Name"))
572
+ DescribeConnectionRequest.add_member(:name, Shapes::ShapeRef.new(shape: ConnectionName, required: true, location_name: "Name"))
573
+ DescribeConnectionRequest.struct_class = Types::DescribeConnectionRequest
574
+
575
+ DescribeConnectionResponse.add_member(:connection_arn, Shapes::ShapeRef.new(shape: ConnectionArn, location_name: "ConnectionArn"))
576
+ DescribeConnectionResponse.add_member(:name, Shapes::ShapeRef.new(shape: ConnectionName, location_name: "Name"))
577
+ DescribeConnectionResponse.add_member(:description, Shapes::ShapeRef.new(shape: ConnectionDescription, location_name: "Description"))
578
+ DescribeConnectionResponse.add_member(:connection_state, Shapes::ShapeRef.new(shape: ConnectionState, location_name: "ConnectionState"))
579
+ DescribeConnectionResponse.add_member(:state_reason, Shapes::ShapeRef.new(shape: ConnectionStateReason, location_name: "StateReason"))
580
+ DescribeConnectionResponse.add_member(:authorization_type, Shapes::ShapeRef.new(shape: ConnectionAuthorizationType, location_name: "AuthorizationType"))
581
+ DescribeConnectionResponse.add_member(:secret_arn, Shapes::ShapeRef.new(shape: SecretsManagerSecretArn, location_name: "SecretArn"))
582
+ DescribeConnectionResponse.add_member(:auth_parameters, Shapes::ShapeRef.new(shape: ConnectionAuthResponseParameters, location_name: "AuthParameters"))
583
+ DescribeConnectionResponse.add_member(:creation_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "CreationTime"))
584
+ DescribeConnectionResponse.add_member(:last_modified_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "LastModifiedTime"))
585
+ DescribeConnectionResponse.add_member(:last_authorized_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "LastAuthorizedTime"))
586
+ DescribeConnectionResponse.struct_class = Types::DescribeConnectionResponse
587
+
588
+ DescribeEventBusRequest.add_member(:name, Shapes::ShapeRef.new(shape: EventBusNameOrArn, location_name: "Name"))
343
589
  DescribeEventBusRequest.struct_class = Types::DescribeEventBusRequest
344
590
 
345
591
  DescribeEventBusResponse.add_member(:name, Shapes::ShapeRef.new(shape: String, location_name: "Name"))
@@ -383,7 +629,7 @@ module Aws::CloudWatchEvents
383
629
  DescribeReplayResponse.struct_class = Types::DescribeReplayResponse
384
630
 
385
631
  DescribeRuleRequest.add_member(:name, Shapes::ShapeRef.new(shape: RuleName, required: true, location_name: "Name"))
386
- DescribeRuleRequest.add_member(:event_bus_name, Shapes::ShapeRef.new(shape: EventBusName, location_name: "EventBusName"))
632
+ DescribeRuleRequest.add_member(:event_bus_name, Shapes::ShapeRef.new(shape: EventBusNameOrArn, location_name: "EventBusName"))
387
633
  DescribeRuleRequest.struct_class = Types::DescribeRuleRequest
388
634
 
389
635
  DescribeRuleResponse.add_member(:name, Shapes::ShapeRef.new(shape: RuleName, location_name: "Name"))
@@ -395,10 +641,11 @@ module Aws::CloudWatchEvents
395
641
  DescribeRuleResponse.add_member(:role_arn, Shapes::ShapeRef.new(shape: RoleArn, location_name: "RoleArn"))
396
642
  DescribeRuleResponse.add_member(:managed_by, Shapes::ShapeRef.new(shape: ManagedBy, location_name: "ManagedBy"))
397
643
  DescribeRuleResponse.add_member(:event_bus_name, Shapes::ShapeRef.new(shape: EventBusName, location_name: "EventBusName"))
644
+ DescribeRuleResponse.add_member(:created_by, Shapes::ShapeRef.new(shape: CreatedBy, location_name: "CreatedBy"))
398
645
  DescribeRuleResponse.struct_class = Types::DescribeRuleResponse
399
646
 
400
647
  DisableRuleRequest.add_member(:name, Shapes::ShapeRef.new(shape: RuleName, required: true, location_name: "Name"))
401
- DisableRuleRequest.add_member(:event_bus_name, Shapes::ShapeRef.new(shape: EventBusName, location_name: "EventBusName"))
648
+ DisableRuleRequest.add_member(:event_bus_name, Shapes::ShapeRef.new(shape: EventBusNameOrArn, location_name: "EventBusName"))
402
649
  DisableRuleRequest.struct_class = Types::DisableRuleRequest
403
650
 
404
651
  EcsParameters.add_member(:task_definition_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "TaskDefinitionArn"))
@@ -410,7 +657,7 @@ module Aws::CloudWatchEvents
410
657
  EcsParameters.struct_class = Types::EcsParameters
411
658
 
412
659
  EnableRuleRequest.add_member(:name, Shapes::ShapeRef.new(shape: RuleName, required: true, location_name: "Name"))
413
- EnableRuleRequest.add_member(:event_bus_name, Shapes::ShapeRef.new(shape: EventBusName, location_name: "EventBusName"))
660
+ EnableRuleRequest.add_member(:event_bus_name, Shapes::ShapeRef.new(shape: EventBusNameOrArn, location_name: "EventBusName"))
414
661
  EnableRuleRequest.struct_class = Types::EnableRuleRequest
415
662
 
416
663
  EventBus.add_member(:name, Shapes::ShapeRef.new(shape: String, location_name: "Name"))
@@ -457,6 +704,16 @@ module Aws::CloudWatchEvents
457
704
 
458
705
  LimitExceededException.struct_class = Types::LimitExceededException
459
706
 
707
+ ListApiDestinationsRequest.add_member(:name_prefix, Shapes::ShapeRef.new(shape: ApiDestinationName, location_name: "NamePrefix"))
708
+ ListApiDestinationsRequest.add_member(:connection_arn, Shapes::ShapeRef.new(shape: ConnectionArn, location_name: "ConnectionArn"))
709
+ ListApiDestinationsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
710
+ ListApiDestinationsRequest.add_member(:limit, Shapes::ShapeRef.new(shape: LimitMax100, location_name: "Limit"))
711
+ ListApiDestinationsRequest.struct_class = Types::ListApiDestinationsRequest
712
+
713
+ ListApiDestinationsResponse.add_member(:api_destinations, Shapes::ShapeRef.new(shape: ApiDestinationResponseList, location_name: "ApiDestinations"))
714
+ ListApiDestinationsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
715
+ ListApiDestinationsResponse.struct_class = Types::ListApiDestinationsResponse
716
+
460
717
  ListArchivesRequest.add_member(:name_prefix, Shapes::ShapeRef.new(shape: ArchiveName, location_name: "NamePrefix"))
461
718
  ListArchivesRequest.add_member(:event_source_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "EventSourceArn"))
462
719
  ListArchivesRequest.add_member(:state, Shapes::ShapeRef.new(shape: ArchiveState, location_name: "State"))
@@ -468,6 +725,16 @@ module Aws::CloudWatchEvents
468
725
  ListArchivesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
469
726
  ListArchivesResponse.struct_class = Types::ListArchivesResponse
470
727
 
728
+ ListConnectionsRequest.add_member(:name_prefix, Shapes::ShapeRef.new(shape: ConnectionName, location_name: "NamePrefix"))
729
+ ListConnectionsRequest.add_member(:connection_state, Shapes::ShapeRef.new(shape: ConnectionState, location_name: "ConnectionState"))
730
+ ListConnectionsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
731
+ ListConnectionsRequest.add_member(:limit, Shapes::ShapeRef.new(shape: LimitMax100, location_name: "Limit"))
732
+ ListConnectionsRequest.struct_class = Types::ListConnectionsRequest
733
+
734
+ ListConnectionsResponse.add_member(:connections, Shapes::ShapeRef.new(shape: ConnectionResponseList, location_name: "Connections"))
735
+ ListConnectionsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
736
+ ListConnectionsResponse.struct_class = Types::ListConnectionsResponse
737
+
471
738
  ListEventBusesRequest.add_member(:name_prefix, Shapes::ShapeRef.new(shape: EventBusName, location_name: "NamePrefix"))
472
739
  ListEventBusesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
473
740
  ListEventBusesRequest.add_member(:limit, Shapes::ShapeRef.new(shape: LimitMax100, location_name: "Limit"))
@@ -516,7 +783,7 @@ module Aws::CloudWatchEvents
516
783
  ListReplaysResponse.struct_class = Types::ListReplaysResponse
517
784
 
518
785
  ListRuleNamesByTargetRequest.add_member(:target_arn, Shapes::ShapeRef.new(shape: TargetArn, required: true, location_name: "TargetArn"))
519
- ListRuleNamesByTargetRequest.add_member(:event_bus_name, Shapes::ShapeRef.new(shape: EventBusName, location_name: "EventBusName"))
786
+ ListRuleNamesByTargetRequest.add_member(:event_bus_name, Shapes::ShapeRef.new(shape: EventBusNameOrArn, location_name: "EventBusName"))
520
787
  ListRuleNamesByTargetRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
521
788
  ListRuleNamesByTargetRequest.add_member(:limit, Shapes::ShapeRef.new(shape: LimitMax100, location_name: "Limit"))
522
789
  ListRuleNamesByTargetRequest.struct_class = Types::ListRuleNamesByTargetRequest
@@ -526,7 +793,7 @@ module Aws::CloudWatchEvents
526
793
  ListRuleNamesByTargetResponse.struct_class = Types::ListRuleNamesByTargetResponse
527
794
 
528
795
  ListRulesRequest.add_member(:name_prefix, Shapes::ShapeRef.new(shape: RuleName, location_name: "NamePrefix"))
529
- ListRulesRequest.add_member(:event_bus_name, Shapes::ShapeRef.new(shape: EventBusName, location_name: "EventBusName"))
796
+ ListRulesRequest.add_member(:event_bus_name, Shapes::ShapeRef.new(shape: EventBusNameOrArn, location_name: "EventBusName"))
530
797
  ListRulesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
531
798
  ListRulesRequest.add_member(:limit, Shapes::ShapeRef.new(shape: LimitMax100, location_name: "Limit"))
532
799
  ListRulesRequest.struct_class = Types::ListRulesRequest
@@ -542,7 +809,7 @@ module Aws::CloudWatchEvents
542
809
  ListTagsForResourceResponse.struct_class = Types::ListTagsForResourceResponse
543
810
 
544
811
  ListTargetsByRuleRequest.add_member(:rule, Shapes::ShapeRef.new(shape: RuleName, required: true, location_name: "Rule"))
545
- ListTargetsByRuleRequest.add_member(:event_bus_name, Shapes::ShapeRef.new(shape: EventBusName, location_name: "EventBusName"))
812
+ ListTargetsByRuleRequest.add_member(:event_bus_name, Shapes::ShapeRef.new(shape: EventBusNameOrArn, location_name: "EventBusName"))
546
813
  ListTargetsByRuleRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
547
814
  ListTargetsByRuleRequest.add_member(:limit, Shapes::ShapeRef.new(shape: LimitMax100, location_name: "Limit"))
548
815
  ListTargetsByRuleRequest.struct_class = Types::ListTargetsByRuleRequest
@@ -584,7 +851,8 @@ module Aws::CloudWatchEvents
584
851
  PutEventsRequestEntry.add_member(:resources, Shapes::ShapeRef.new(shape: EventResourceList, location_name: "Resources"))
585
852
  PutEventsRequestEntry.add_member(:detail_type, Shapes::ShapeRef.new(shape: String, location_name: "DetailType"))
586
853
  PutEventsRequestEntry.add_member(:detail, Shapes::ShapeRef.new(shape: String, location_name: "Detail"))
587
- PutEventsRequestEntry.add_member(:event_bus_name, Shapes::ShapeRef.new(shape: NonPartnerEventBusName, location_name: "EventBusName"))
854
+ PutEventsRequestEntry.add_member(:event_bus_name, Shapes::ShapeRef.new(shape: NonPartnerEventBusNameOrArn, location_name: "EventBusName"))
855
+ PutEventsRequestEntry.add_member(:trace_header, Shapes::ShapeRef.new(shape: TraceHeader, location_name: "TraceHeader"))
588
856
  PutEventsRequestEntry.struct_class = Types::PutEventsRequestEntry
589
857
 
590
858
  PutEventsRequestEntryList.member = Shapes::ShapeRef.new(shape: PutEventsRequestEntry)
@@ -624,10 +892,11 @@ module Aws::CloudWatchEvents
624
892
  PutPartnerEventsResultEntryList.member = Shapes::ShapeRef.new(shape: PutPartnerEventsResultEntry)
625
893
 
626
894
  PutPermissionRequest.add_member(:event_bus_name, Shapes::ShapeRef.new(shape: NonPartnerEventBusName, location_name: "EventBusName"))
627
- PutPermissionRequest.add_member(:action, Shapes::ShapeRef.new(shape: Action, required: true, location_name: "Action"))
628
- PutPermissionRequest.add_member(:principal, Shapes::ShapeRef.new(shape: Principal, required: true, location_name: "Principal"))
629
- PutPermissionRequest.add_member(:statement_id, Shapes::ShapeRef.new(shape: StatementId, required: true, location_name: "StatementId"))
895
+ PutPermissionRequest.add_member(:action, Shapes::ShapeRef.new(shape: Action, location_name: "Action"))
896
+ PutPermissionRequest.add_member(:principal, Shapes::ShapeRef.new(shape: Principal, location_name: "Principal"))
897
+ PutPermissionRequest.add_member(:statement_id, Shapes::ShapeRef.new(shape: StatementId, location_name: "StatementId"))
630
898
  PutPermissionRequest.add_member(:condition, Shapes::ShapeRef.new(shape: Condition, location_name: "Condition"))
899
+ PutPermissionRequest.add_member(:policy, Shapes::ShapeRef.new(shape: String, location_name: "Policy"))
631
900
  PutPermissionRequest.struct_class = Types::PutPermissionRequest
632
901
 
633
902
  PutRuleRequest.add_member(:name, Shapes::ShapeRef.new(shape: RuleName, required: true, location_name: "Name"))
@@ -637,14 +906,14 @@ module Aws::CloudWatchEvents
637
906
  PutRuleRequest.add_member(:description, Shapes::ShapeRef.new(shape: RuleDescription, location_name: "Description"))
638
907
  PutRuleRequest.add_member(:role_arn, Shapes::ShapeRef.new(shape: RoleArn, location_name: "RoleArn"))
639
908
  PutRuleRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
640
- PutRuleRequest.add_member(:event_bus_name, Shapes::ShapeRef.new(shape: EventBusName, location_name: "EventBusName"))
909
+ PutRuleRequest.add_member(:event_bus_name, Shapes::ShapeRef.new(shape: EventBusNameOrArn, location_name: "EventBusName"))
641
910
  PutRuleRequest.struct_class = Types::PutRuleRequest
642
911
 
643
912
  PutRuleResponse.add_member(:rule_arn, Shapes::ShapeRef.new(shape: RuleArn, location_name: "RuleArn"))
644
913
  PutRuleResponse.struct_class = Types::PutRuleResponse
645
914
 
646
915
  PutTargetsRequest.add_member(:rule, Shapes::ShapeRef.new(shape: RuleName, required: true, location_name: "Rule"))
647
- PutTargetsRequest.add_member(:event_bus_name, Shapes::ShapeRef.new(shape: EventBusName, location_name: "EventBusName"))
916
+ PutTargetsRequest.add_member(:event_bus_name, Shapes::ShapeRef.new(shape: EventBusNameOrArn, location_name: "EventBusName"))
648
917
  PutTargetsRequest.add_member(:targets, Shapes::ShapeRef.new(shape: TargetList, required: true, location_name: "Targets"))
649
918
  PutTargetsRequest.struct_class = Types::PutTargetsRequest
650
919
 
@@ -670,12 +939,13 @@ module Aws::CloudWatchEvents
670
939
  RedshiftDataParameters.add_member(:with_event, Shapes::ShapeRef.new(shape: Boolean, location_name: "WithEvent"))
671
940
  RedshiftDataParameters.struct_class = Types::RedshiftDataParameters
672
941
 
673
- RemovePermissionRequest.add_member(:statement_id, Shapes::ShapeRef.new(shape: StatementId, required: true, location_name: "StatementId"))
942
+ RemovePermissionRequest.add_member(:statement_id, Shapes::ShapeRef.new(shape: StatementId, location_name: "StatementId"))
943
+ RemovePermissionRequest.add_member(:remove_all_permissions, Shapes::ShapeRef.new(shape: Boolean, location_name: "RemoveAllPermissions"))
674
944
  RemovePermissionRequest.add_member(:event_bus_name, Shapes::ShapeRef.new(shape: NonPartnerEventBusName, location_name: "EventBusName"))
675
945
  RemovePermissionRequest.struct_class = Types::RemovePermissionRequest
676
946
 
677
947
  RemoveTargetsRequest.add_member(:rule, Shapes::ShapeRef.new(shape: RuleName, required: true, location_name: "Rule"))
678
- RemoveTargetsRequest.add_member(:event_bus_name, Shapes::ShapeRef.new(shape: EventBusName, location_name: "EventBusName"))
948
+ RemoveTargetsRequest.add_member(:event_bus_name, Shapes::ShapeRef.new(shape: EventBusNameOrArn, location_name: "EventBusName"))
679
949
  RemoveTargetsRequest.add_member(:ids, Shapes::ShapeRef.new(shape: TargetIdList, required: true, location_name: "Ids"))
680
950
  RemoveTargetsRequest.add_member(:force, Shapes::ShapeRef.new(shape: Boolean, location_name: "Force"))
681
951
  RemoveTargetsRequest.struct_class = Types::RemoveTargetsRequest
@@ -814,6 +1084,20 @@ module Aws::CloudWatchEvents
814
1084
 
815
1085
  UntagResourceResponse.struct_class = Types::UntagResourceResponse
816
1086
 
1087
+ UpdateApiDestinationRequest.add_member(:name, Shapes::ShapeRef.new(shape: ApiDestinationName, required: true, location_name: "Name"))
1088
+ UpdateApiDestinationRequest.add_member(:description, Shapes::ShapeRef.new(shape: ApiDestinationDescription, location_name: "Description"))
1089
+ UpdateApiDestinationRequest.add_member(:connection_arn, Shapes::ShapeRef.new(shape: ConnectionArn, location_name: "ConnectionArn"))
1090
+ UpdateApiDestinationRequest.add_member(:invocation_endpoint, Shapes::ShapeRef.new(shape: HttpsEndpoint, location_name: "InvocationEndpoint"))
1091
+ UpdateApiDestinationRequest.add_member(:http_method, Shapes::ShapeRef.new(shape: ApiDestinationHttpMethod, location_name: "HttpMethod"))
1092
+ UpdateApiDestinationRequest.add_member(:invocation_rate_limit_per_second, Shapes::ShapeRef.new(shape: ApiDestinationInvocationRateLimitPerSecond, location_name: "InvocationRateLimitPerSecond"))
1093
+ UpdateApiDestinationRequest.struct_class = Types::UpdateApiDestinationRequest
1094
+
1095
+ UpdateApiDestinationResponse.add_member(:api_destination_arn, Shapes::ShapeRef.new(shape: ApiDestinationArn, location_name: "ApiDestinationArn"))
1096
+ UpdateApiDestinationResponse.add_member(:api_destination_state, Shapes::ShapeRef.new(shape: ApiDestinationState, location_name: "ApiDestinationState"))
1097
+ UpdateApiDestinationResponse.add_member(:creation_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "CreationTime"))
1098
+ UpdateApiDestinationResponse.add_member(:last_modified_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "LastModifiedTime"))
1099
+ UpdateApiDestinationResponse.struct_class = Types::UpdateApiDestinationResponse
1100
+
817
1101
  UpdateArchiveRequest.add_member(:archive_name, Shapes::ShapeRef.new(shape: ArchiveName, required: true, location_name: "ArchiveName"))
818
1102
  UpdateArchiveRequest.add_member(:description, Shapes::ShapeRef.new(shape: ArchiveDescription, location_name: "Description"))
819
1103
  UpdateArchiveRequest.add_member(:event_pattern, Shapes::ShapeRef.new(shape: EventPattern, location_name: "EventPattern"))
@@ -826,6 +1110,43 @@ module Aws::CloudWatchEvents
826
1110
  UpdateArchiveResponse.add_member(:creation_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "CreationTime"))
827
1111
  UpdateArchiveResponse.struct_class = Types::UpdateArchiveResponse
828
1112
 
1113
+ UpdateConnectionApiKeyAuthRequestParameters.add_member(:api_key_name, Shapes::ShapeRef.new(shape: AuthHeaderParameters, location_name: "ApiKeyName"))
1114
+ UpdateConnectionApiKeyAuthRequestParameters.add_member(:api_key_value, Shapes::ShapeRef.new(shape: AuthHeaderParameters, location_name: "ApiKeyValue"))
1115
+ UpdateConnectionApiKeyAuthRequestParameters.struct_class = Types::UpdateConnectionApiKeyAuthRequestParameters
1116
+
1117
+ UpdateConnectionAuthRequestParameters.add_member(:basic_auth_parameters, Shapes::ShapeRef.new(shape: UpdateConnectionBasicAuthRequestParameters, location_name: "BasicAuthParameters"))
1118
+ UpdateConnectionAuthRequestParameters.add_member(:o_auth_parameters, Shapes::ShapeRef.new(shape: UpdateConnectionOAuthRequestParameters, location_name: "OAuthParameters"))
1119
+ UpdateConnectionAuthRequestParameters.add_member(:api_key_auth_parameters, Shapes::ShapeRef.new(shape: UpdateConnectionApiKeyAuthRequestParameters, location_name: "ApiKeyAuthParameters"))
1120
+ UpdateConnectionAuthRequestParameters.add_member(:invocation_http_parameters, Shapes::ShapeRef.new(shape: ConnectionHttpParameters, location_name: "InvocationHttpParameters"))
1121
+ UpdateConnectionAuthRequestParameters.struct_class = Types::UpdateConnectionAuthRequestParameters
1122
+
1123
+ UpdateConnectionBasicAuthRequestParameters.add_member(:username, Shapes::ShapeRef.new(shape: AuthHeaderParameters, location_name: "Username"))
1124
+ UpdateConnectionBasicAuthRequestParameters.add_member(:password, Shapes::ShapeRef.new(shape: AuthHeaderParameters, location_name: "Password"))
1125
+ UpdateConnectionBasicAuthRequestParameters.struct_class = Types::UpdateConnectionBasicAuthRequestParameters
1126
+
1127
+ UpdateConnectionOAuthClientRequestParameters.add_member(:client_id, Shapes::ShapeRef.new(shape: AuthHeaderParameters, location_name: "ClientID"))
1128
+ UpdateConnectionOAuthClientRequestParameters.add_member(:client_secret, Shapes::ShapeRef.new(shape: AuthHeaderParameters, location_name: "ClientSecret"))
1129
+ UpdateConnectionOAuthClientRequestParameters.struct_class = Types::UpdateConnectionOAuthClientRequestParameters
1130
+
1131
+ UpdateConnectionOAuthRequestParameters.add_member(:client_parameters, Shapes::ShapeRef.new(shape: UpdateConnectionOAuthClientRequestParameters, location_name: "ClientParameters"))
1132
+ UpdateConnectionOAuthRequestParameters.add_member(:authorization_endpoint, Shapes::ShapeRef.new(shape: HttpsEndpoint, location_name: "AuthorizationEndpoint"))
1133
+ UpdateConnectionOAuthRequestParameters.add_member(:http_method, Shapes::ShapeRef.new(shape: ConnectionOAuthHttpMethod, location_name: "HttpMethod"))
1134
+ UpdateConnectionOAuthRequestParameters.add_member(:o_auth_http_parameters, Shapes::ShapeRef.new(shape: ConnectionHttpParameters, location_name: "OAuthHttpParameters"))
1135
+ UpdateConnectionOAuthRequestParameters.struct_class = Types::UpdateConnectionOAuthRequestParameters
1136
+
1137
+ UpdateConnectionRequest.add_member(:name, Shapes::ShapeRef.new(shape: ConnectionName, required: true, location_name: "Name"))
1138
+ UpdateConnectionRequest.add_member(:description, Shapes::ShapeRef.new(shape: ConnectionDescription, location_name: "Description"))
1139
+ UpdateConnectionRequest.add_member(:authorization_type, Shapes::ShapeRef.new(shape: ConnectionAuthorizationType, location_name: "AuthorizationType"))
1140
+ UpdateConnectionRequest.add_member(:auth_parameters, Shapes::ShapeRef.new(shape: UpdateConnectionAuthRequestParameters, location_name: "AuthParameters"))
1141
+ UpdateConnectionRequest.struct_class = Types::UpdateConnectionRequest
1142
+
1143
+ UpdateConnectionResponse.add_member(:connection_arn, Shapes::ShapeRef.new(shape: ConnectionArn, location_name: "ConnectionArn"))
1144
+ UpdateConnectionResponse.add_member(:connection_state, Shapes::ShapeRef.new(shape: ConnectionState, location_name: "ConnectionState"))
1145
+ UpdateConnectionResponse.add_member(:creation_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "CreationTime"))
1146
+ UpdateConnectionResponse.add_member(:last_modified_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "LastModifiedTime"))
1147
+ UpdateConnectionResponse.add_member(:last_authorized_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "LastAuthorizedTime"))
1148
+ UpdateConnectionResponse.struct_class = Types::UpdateConnectionResponse
1149
+
829
1150
 
830
1151
  # @api private
831
1152
  API = Seahorse::Model::Api.new.tap do |api|
@@ -869,6 +1190,18 @@ module Aws::CloudWatchEvents
869
1190
  o.errors << Shapes::ShapeRef.new(shape: InternalException)
870
1191
  end)
871
1192
 
1193
+ api.add_operation(:create_api_destination, Seahorse::Model::Operation.new.tap do |o|
1194
+ o.name = "CreateApiDestination"
1195
+ o.http_method = "POST"
1196
+ o.http_request_uri = "/"
1197
+ o.input = Shapes::ShapeRef.new(shape: CreateApiDestinationRequest)
1198
+ o.output = Shapes::ShapeRef.new(shape: CreateApiDestinationResponse)
1199
+ o.errors << Shapes::ShapeRef.new(shape: ResourceAlreadyExistsException)
1200
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1201
+ o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
1202
+ o.errors << Shapes::ShapeRef.new(shape: InternalException)
1203
+ end)
1204
+
872
1205
  api.add_operation(:create_archive, Seahorse::Model::Operation.new.tap do |o|
873
1206
  o.name = "CreateArchive"
874
1207
  o.http_method = "POST"
@@ -883,6 +1216,17 @@ module Aws::CloudWatchEvents
883
1216
  o.errors << Shapes::ShapeRef.new(shape: InvalidEventPatternException)
884
1217
  end)
885
1218
 
1219
+ api.add_operation(:create_connection, Seahorse::Model::Operation.new.tap do |o|
1220
+ o.name = "CreateConnection"
1221
+ o.http_method = "POST"
1222
+ o.http_request_uri = "/"
1223
+ o.input = Shapes::ShapeRef.new(shape: CreateConnectionRequest)
1224
+ o.output = Shapes::ShapeRef.new(shape: CreateConnectionResponse)
1225
+ o.errors << Shapes::ShapeRef.new(shape: ResourceAlreadyExistsException)
1226
+ o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
1227
+ o.errors << Shapes::ShapeRef.new(shape: InternalException)
1228
+ end)
1229
+
886
1230
  api.add_operation(:create_event_bus, Seahorse::Model::Operation.new.tap do |o|
887
1231
  o.name = "CreateEventBus"
888
1232
  o.http_method = "POST"
@@ -924,6 +1268,28 @@ module Aws::CloudWatchEvents
924
1268
  o.errors << Shapes::ShapeRef.new(shape: OperationDisabledException)
925
1269
  end)
926
1270
 
1271
+ api.add_operation(:deauthorize_connection, Seahorse::Model::Operation.new.tap do |o|
1272
+ o.name = "DeauthorizeConnection"
1273
+ o.http_method = "POST"
1274
+ o.http_request_uri = "/"
1275
+ o.input = Shapes::ShapeRef.new(shape: DeauthorizeConnectionRequest)
1276
+ o.output = Shapes::ShapeRef.new(shape: DeauthorizeConnectionResponse)
1277
+ o.errors << Shapes::ShapeRef.new(shape: ConcurrentModificationException)
1278
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1279
+ o.errors << Shapes::ShapeRef.new(shape: InternalException)
1280
+ end)
1281
+
1282
+ api.add_operation(:delete_api_destination, Seahorse::Model::Operation.new.tap do |o|
1283
+ o.name = "DeleteApiDestination"
1284
+ o.http_method = "POST"
1285
+ o.http_request_uri = "/"
1286
+ o.input = Shapes::ShapeRef.new(shape: DeleteApiDestinationRequest)
1287
+ o.output = Shapes::ShapeRef.new(shape: DeleteApiDestinationResponse)
1288
+ o.errors << Shapes::ShapeRef.new(shape: ConcurrentModificationException)
1289
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1290
+ o.errors << Shapes::ShapeRef.new(shape: InternalException)
1291
+ end)
1292
+
927
1293
  api.add_operation(:delete_archive, Seahorse::Model::Operation.new.tap do |o|
928
1294
  o.name = "DeleteArchive"
929
1295
  o.http_method = "POST"
@@ -935,6 +1301,17 @@ module Aws::CloudWatchEvents
935
1301
  o.errors << Shapes::ShapeRef.new(shape: InternalException)
936
1302
  end)
937
1303
 
1304
+ api.add_operation(:delete_connection, Seahorse::Model::Operation.new.tap do |o|
1305
+ o.name = "DeleteConnection"
1306
+ o.http_method = "POST"
1307
+ o.http_request_uri = "/"
1308
+ o.input = Shapes::ShapeRef.new(shape: DeleteConnectionRequest)
1309
+ o.output = Shapes::ShapeRef.new(shape: DeleteConnectionResponse)
1310
+ o.errors << Shapes::ShapeRef.new(shape: ConcurrentModificationException)
1311
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1312
+ o.errors << Shapes::ShapeRef.new(shape: InternalException)
1313
+ end)
1314
+
938
1315
  api.add_operation(:delete_event_bus, Seahorse::Model::Operation.new.tap do |o|
939
1316
  o.name = "DeleteEventBus"
940
1317
  o.http_method = "POST"
@@ -968,6 +1345,16 @@ module Aws::CloudWatchEvents
968
1345
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
969
1346
  end)
970
1347
 
1348
+ api.add_operation(:describe_api_destination, Seahorse::Model::Operation.new.tap do |o|
1349
+ o.name = "DescribeApiDestination"
1350
+ o.http_method = "POST"
1351
+ o.http_request_uri = "/"
1352
+ o.input = Shapes::ShapeRef.new(shape: DescribeApiDestinationRequest)
1353
+ o.output = Shapes::ShapeRef.new(shape: DescribeApiDestinationResponse)
1354
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1355
+ o.errors << Shapes::ShapeRef.new(shape: InternalException)
1356
+ end)
1357
+
971
1358
  api.add_operation(:describe_archive, Seahorse::Model::Operation.new.tap do |o|
972
1359
  o.name = "DescribeArchive"
973
1360
  o.http_method = "POST"
@@ -979,6 +1366,16 @@ module Aws::CloudWatchEvents
979
1366
  o.errors << Shapes::ShapeRef.new(shape: InternalException)
980
1367
  end)
981
1368
 
1369
+ api.add_operation(:describe_connection, Seahorse::Model::Operation.new.tap do |o|
1370
+ o.name = "DescribeConnection"
1371
+ o.http_method = "POST"
1372
+ o.http_request_uri = "/"
1373
+ o.input = Shapes::ShapeRef.new(shape: DescribeConnectionRequest)
1374
+ o.output = Shapes::ShapeRef.new(shape: DescribeConnectionResponse)
1375
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1376
+ o.errors << Shapes::ShapeRef.new(shape: InternalException)
1377
+ end)
1378
+
982
1379
  api.add_operation(:describe_event_bus, Seahorse::Model::Operation.new.tap do |o|
983
1380
  o.name = "DescribeEventBus"
984
1381
  o.http_method = "POST"
@@ -1055,6 +1452,15 @@ module Aws::CloudWatchEvents
1055
1452
  o.errors << Shapes::ShapeRef.new(shape: InternalException)
1056
1453
  end)
1057
1454
 
1455
+ api.add_operation(:list_api_destinations, Seahorse::Model::Operation.new.tap do |o|
1456
+ o.name = "ListApiDestinations"
1457
+ o.http_method = "POST"
1458
+ o.http_request_uri = "/"
1459
+ o.input = Shapes::ShapeRef.new(shape: ListApiDestinationsRequest)
1460
+ o.output = Shapes::ShapeRef.new(shape: ListApiDestinationsResponse)
1461
+ o.errors << Shapes::ShapeRef.new(shape: InternalException)
1462
+ end)
1463
+
1058
1464
  api.add_operation(:list_archives, Seahorse::Model::Operation.new.tap do |o|
1059
1465
  o.name = "ListArchives"
1060
1466
  o.http_method = "POST"
@@ -1065,6 +1471,15 @@ module Aws::CloudWatchEvents
1065
1471
  o.errors << Shapes::ShapeRef.new(shape: InternalException)
1066
1472
  end)
1067
1473
 
1474
+ api.add_operation(:list_connections, Seahorse::Model::Operation.new.tap do |o|
1475
+ o.name = "ListConnections"
1476
+ o.http_method = "POST"
1477
+ o.http_request_uri = "/"
1478
+ o.input = Shapes::ShapeRef.new(shape: ListConnectionsRequest)
1479
+ o.output = Shapes::ShapeRef.new(shape: ListConnectionsResponse)
1480
+ o.errors << Shapes::ShapeRef.new(shape: InternalException)
1481
+ end)
1482
+
1068
1483
  api.add_operation(:list_event_buses, Seahorse::Model::Operation.new.tap do |o|
1069
1484
  o.name = "ListEventBuses"
1070
1485
  o.http_method = "POST"
@@ -1183,6 +1598,7 @@ module Aws::CloudWatchEvents
1183
1598
  o.errors << Shapes::ShapeRef.new(shape: PolicyLengthExceededException)
1184
1599
  o.errors << Shapes::ShapeRef.new(shape: InternalException)
1185
1600
  o.errors << Shapes::ShapeRef.new(shape: ConcurrentModificationException)
1601
+ o.errors << Shapes::ShapeRef.new(shape: OperationDisabledException)
1186
1602
  end)
1187
1603
 
1188
1604
  api.add_operation(:put_rule, Seahorse::Model::Operation.new.tap do |o|
@@ -1221,6 +1637,7 @@ module Aws::CloudWatchEvents
1221
1637
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1222
1638
  o.errors << Shapes::ShapeRef.new(shape: InternalException)
1223
1639
  o.errors << Shapes::ShapeRef.new(shape: ConcurrentModificationException)
1640
+ o.errors << Shapes::ShapeRef.new(shape: OperationDisabledException)
1224
1641
  end)
1225
1642
 
1226
1643
  api.add_operation(:remove_targets, Seahorse::Model::Operation.new.tap do |o|
@@ -1282,6 +1699,18 @@ module Aws::CloudWatchEvents
1282
1699
  o.errors << Shapes::ShapeRef.new(shape: ManagedRuleException)
1283
1700
  end)
1284
1701
 
1702
+ api.add_operation(:update_api_destination, Seahorse::Model::Operation.new.tap do |o|
1703
+ o.name = "UpdateApiDestination"
1704
+ o.http_method = "POST"
1705
+ o.http_request_uri = "/"
1706
+ o.input = Shapes::ShapeRef.new(shape: UpdateApiDestinationRequest)
1707
+ o.output = Shapes::ShapeRef.new(shape: UpdateApiDestinationResponse)
1708
+ o.errors << Shapes::ShapeRef.new(shape: ConcurrentModificationException)
1709
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1710
+ o.errors << Shapes::ShapeRef.new(shape: InternalException)
1711
+ o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
1712
+ end)
1713
+
1285
1714
  api.add_operation(:update_archive, Seahorse::Model::Operation.new.tap do |o|
1286
1715
  o.name = "UpdateArchive"
1287
1716
  o.http_method = "POST"
@@ -1294,6 +1723,18 @@ module Aws::CloudWatchEvents
1294
1723
  o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
1295
1724
  o.errors << Shapes::ShapeRef.new(shape: InvalidEventPatternException)
1296
1725
  end)
1726
+
1727
+ api.add_operation(:update_connection, Seahorse::Model::Operation.new.tap do |o|
1728
+ o.name = "UpdateConnection"
1729
+ o.http_method = "POST"
1730
+ o.http_request_uri = "/"
1731
+ o.input = Shapes::ShapeRef.new(shape: UpdateConnectionRequest)
1732
+ o.output = Shapes::ShapeRef.new(shape: UpdateConnectionResponse)
1733
+ o.errors << Shapes::ShapeRef.new(shape: ConcurrentModificationException)
1734
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1735
+ o.errors << Shapes::ShapeRef.new(shape: InternalException)
1736
+ o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
1737
+ end)
1297
1738
  end
1298
1739
 
1299
1740
  end