aws-sdk-cloudwatchevents 1.42.0 → 1.43.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -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,8 +43,38 @@ 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')
@@ -45,13 +84,23 @@ module Aws::CloudWatchEvents
45
84
  DbUser = Shapes::StringShape.new(name: 'DbUser')
46
85
  DeactivateEventSourceRequest = Shapes::StructureShape.new(name: 'DeactivateEventSourceRequest')
47
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')
48
91
  DeleteArchiveRequest = Shapes::StructureShape.new(name: 'DeleteArchiveRequest')
49
92
  DeleteArchiveResponse = Shapes::StructureShape.new(name: 'DeleteArchiveResponse')
93
+ DeleteConnectionRequest = Shapes::StructureShape.new(name: 'DeleteConnectionRequest')
94
+ DeleteConnectionResponse = Shapes::StructureShape.new(name: 'DeleteConnectionResponse')
50
95
  DeleteEventBusRequest = Shapes::StructureShape.new(name: 'DeleteEventBusRequest')
51
96
  DeletePartnerEventSourceRequest = Shapes::StructureShape.new(name: 'DeletePartnerEventSourceRequest')
52
97
  DeleteRuleRequest = Shapes::StructureShape.new(name: 'DeleteRuleRequest')
98
+ DescribeApiDestinationRequest = Shapes::StructureShape.new(name: 'DescribeApiDestinationRequest')
99
+ DescribeApiDestinationResponse = Shapes::StructureShape.new(name: 'DescribeApiDestinationResponse')
53
100
  DescribeArchiveRequest = Shapes::StructureShape.new(name: 'DescribeArchiveRequest')
54
101
  DescribeArchiveResponse = Shapes::StructureShape.new(name: 'DescribeArchiveResponse')
102
+ DescribeConnectionRequest = Shapes::StructureShape.new(name: 'DescribeConnectionRequest')
103
+ DescribeConnectionResponse = Shapes::StructureShape.new(name: 'DescribeConnectionResponse')
55
104
  DescribeEventBusRequest = Shapes::StructureShape.new(name: 'DescribeEventBusRequest')
56
105
  DescribeEventBusResponse = Shapes::StructureShape.new(name: 'DescribeEventBusResponse')
57
106
  DescribeEventSourceRequest = Shapes::StructureShape.new(name: 'DescribeEventSourceRequest')
@@ -85,6 +134,7 @@ module Aws::CloudWatchEvents
85
134
  HeaderParametersMap = Shapes::MapShape.new(name: 'HeaderParametersMap')
86
135
  HeaderValue = Shapes::StringShape.new(name: 'HeaderValue')
87
136
  HttpParameters = Shapes::StructureShape.new(name: 'HttpParameters')
137
+ HttpsEndpoint = Shapes::StringShape.new(name: 'HttpsEndpoint')
88
138
  IllegalStatusException = Shapes::StructureShape.new(name: 'IllegalStatusException')
89
139
  InputTransformer = Shapes::StructureShape.new(name: 'InputTransformer')
90
140
  InputTransformerPathKey = Shapes::StringShape.new(name: 'InputTransformerPathKey')
@@ -97,8 +147,12 @@ module Aws::CloudWatchEvents
97
147
  LimitExceededException = Shapes::StructureShape.new(name: 'LimitExceededException')
98
148
  LimitMax100 = Shapes::IntegerShape.new(name: 'LimitMax100')
99
149
  LimitMin1 = Shapes::IntegerShape.new(name: 'LimitMin1')
150
+ ListApiDestinationsRequest = Shapes::StructureShape.new(name: 'ListApiDestinationsRequest')
151
+ ListApiDestinationsResponse = Shapes::StructureShape.new(name: 'ListApiDestinationsResponse')
100
152
  ListArchivesRequest = Shapes::StructureShape.new(name: 'ListArchivesRequest')
101
153
  ListArchivesResponse = Shapes::StructureShape.new(name: 'ListArchivesResponse')
154
+ ListConnectionsRequest = Shapes::StructureShape.new(name: 'ListConnectionsRequest')
155
+ ListConnectionsResponse = Shapes::StructureShape.new(name: 'ListConnectionsResponse')
102
156
  ListEventBusesRequest = Shapes::StructureShape.new(name: 'ListEventBusesRequest')
103
157
  ListEventBusesResponse = Shapes::StructureShape.new(name: 'ListEventBusesResponse')
104
158
  ListEventSourcesRequest = Shapes::StructureShape.new(name: 'ListEventSourcesRequest')
@@ -195,6 +249,7 @@ module Aws::CloudWatchEvents
195
249
  RunCommandTargetValues = Shapes::ListShape.new(name: 'RunCommandTargetValues')
196
250
  RunCommandTargets = Shapes::ListShape.new(name: 'RunCommandTargets')
197
251
  ScheduleExpression = Shapes::StringShape.new(name: 'ScheduleExpression')
252
+ SecretsManagerSecretArn = Shapes::StringShape.new(name: 'SecretsManagerSecretArn')
198
253
  Sql = Shapes::StringShape.new(name: 'Sql')
199
254
  SqsParameters = Shapes::StructureShape.new(name: 'SqsParameters')
200
255
  StartReplayRequest = Shapes::StructureShape.new(name: 'StartReplayRequest')
@@ -226,12 +281,34 @@ module Aws::CloudWatchEvents
226
281
  TransformerPaths = Shapes::MapShape.new(name: 'TransformerPaths')
227
282
  UntagResourceRequest = Shapes::StructureShape.new(name: 'UntagResourceRequest')
228
283
  UntagResourceResponse = Shapes::StructureShape.new(name: 'UntagResourceResponse')
284
+ UpdateApiDestinationRequest = Shapes::StructureShape.new(name: 'UpdateApiDestinationRequest')
285
+ UpdateApiDestinationResponse = Shapes::StructureShape.new(name: 'UpdateApiDestinationResponse')
229
286
  UpdateArchiveRequest = Shapes::StructureShape.new(name: 'UpdateArchiveRequest')
230
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')
231
295
 
232
296
  ActivateEventSourceRequest.add_member(:name, Shapes::ShapeRef.new(shape: EventSourceName, required: true, location_name: "Name"))
233
297
  ActivateEventSourceRequest.struct_class = Types::ActivateEventSourceRequest
234
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
+
235
312
  Archive.add_member(:archive_name, Shapes::ShapeRef.new(shape: ArchiveName, location_name: "ArchiveName"))
236
313
  Archive.add_member(:event_source_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "EventSourceArn"))
237
314
  Archive.add_member(:state, Shapes::ShapeRef.new(shape: ArchiveState, location_name: "State"))
@@ -276,6 +353,79 @@ module Aws::CloudWatchEvents
276
353
  Condition.add_member(:value, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Value"))
277
354
  Condition.struct_class = Types::Condition
278
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
+
279
429
  CreateArchiveRequest.add_member(:archive_name, Shapes::ShapeRef.new(shape: ArchiveName, required: true, location_name: "ArchiveName"))
280
430
  CreateArchiveRequest.add_member(:event_source_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "EventSourceArn"))
281
431
  CreateArchiveRequest.add_member(:description, Shapes::ShapeRef.new(shape: ArchiveDescription, location_name: "Description"))
@@ -289,6 +439,42 @@ module Aws::CloudWatchEvents
289
439
  CreateArchiveResponse.add_member(:creation_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "CreationTime"))
290
440
  CreateArchiveResponse.struct_class = Types::CreateArchiveResponse
291
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
+
292
478
  CreateEventBusRequest.add_member(:name, Shapes::ShapeRef.new(shape: EventBusName, required: true, location_name: "Name"))
293
479
  CreateEventBusRequest.add_member(:event_source_name, Shapes::ShapeRef.new(shape: EventSourceName, location_name: "EventSourceName"))
294
480
  CreateEventBusRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
@@ -310,11 +496,36 @@ module Aws::CloudWatchEvents
310
496
  DeadLetterConfig.add_member(:arn, Shapes::ShapeRef.new(shape: ResourceArn, location_name: "Arn"))
311
497
  DeadLetterConfig.struct_class = Types::DeadLetterConfig
312
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
+
313
514
  DeleteArchiveRequest.add_member(:archive_name, Shapes::ShapeRef.new(shape: ArchiveName, required: true, location_name: "ArchiveName"))
314
515
  DeleteArchiveRequest.struct_class = Types::DeleteArchiveRequest
315
516
 
316
517
  DeleteArchiveResponse.struct_class = Types::DeleteArchiveResponse
317
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
+
318
529
  DeleteEventBusRequest.add_member(:name, Shapes::ShapeRef.new(shape: EventBusName, required: true, location_name: "Name"))
319
530
  DeleteEventBusRequest.struct_class = Types::DeleteEventBusRequest
320
531
 
@@ -327,6 +538,21 @@ module Aws::CloudWatchEvents
327
538
  DeleteRuleRequest.add_member(:force, Shapes::ShapeRef.new(shape: Boolean, location_name: "Force"))
328
539
  DeleteRuleRequest.struct_class = Types::DeleteRuleRequest
329
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
+
330
556
  DescribeArchiveRequest.add_member(:archive_name, Shapes::ShapeRef.new(shape: ArchiveName, required: true, location_name: "ArchiveName"))
331
557
  DescribeArchiveRequest.struct_class = Types::DescribeArchiveRequest
332
558
 
@@ -343,6 +569,22 @@ module Aws::CloudWatchEvents
343
569
  DescribeArchiveResponse.add_member(:creation_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "CreationTime"))
344
570
  DescribeArchiveResponse.struct_class = Types::DescribeArchiveResponse
345
571
 
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
+
346
588
  DescribeEventBusRequest.add_member(:name, Shapes::ShapeRef.new(shape: EventBusNameOrArn, location_name: "Name"))
347
589
  DescribeEventBusRequest.struct_class = Types::DescribeEventBusRequest
348
590
 
@@ -462,6 +704,16 @@ module Aws::CloudWatchEvents
462
704
 
463
705
  LimitExceededException.struct_class = Types::LimitExceededException
464
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
+
465
717
  ListArchivesRequest.add_member(:name_prefix, Shapes::ShapeRef.new(shape: ArchiveName, location_name: "NamePrefix"))
466
718
  ListArchivesRequest.add_member(:event_source_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "EventSourceArn"))
467
719
  ListArchivesRequest.add_member(:state, Shapes::ShapeRef.new(shape: ArchiveState, location_name: "State"))
@@ -473,6 +725,16 @@ module Aws::CloudWatchEvents
473
725
  ListArchivesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
474
726
  ListArchivesResponse.struct_class = Types::ListArchivesResponse
475
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
+
476
738
  ListEventBusesRequest.add_member(:name_prefix, Shapes::ShapeRef.new(shape: EventBusName, location_name: "NamePrefix"))
477
739
  ListEventBusesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
478
740
  ListEventBusesRequest.add_member(:limit, Shapes::ShapeRef.new(shape: LimitMax100, location_name: "Limit"))
@@ -822,6 +1084,20 @@ module Aws::CloudWatchEvents
822
1084
 
823
1085
  UntagResourceResponse.struct_class = Types::UntagResourceResponse
824
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
+
825
1101
  UpdateArchiveRequest.add_member(:archive_name, Shapes::ShapeRef.new(shape: ArchiveName, required: true, location_name: "ArchiveName"))
826
1102
  UpdateArchiveRequest.add_member(:description, Shapes::ShapeRef.new(shape: ArchiveDescription, location_name: "Description"))
827
1103
  UpdateArchiveRequest.add_member(:event_pattern, Shapes::ShapeRef.new(shape: EventPattern, location_name: "EventPattern"))
@@ -834,6 +1110,43 @@ module Aws::CloudWatchEvents
834
1110
  UpdateArchiveResponse.add_member(:creation_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "CreationTime"))
835
1111
  UpdateArchiveResponse.struct_class = Types::UpdateArchiveResponse
836
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
+
837
1150
 
838
1151
  # @api private
839
1152
  API = Seahorse::Model::Api.new.tap do |api|
@@ -877,6 +1190,18 @@ module Aws::CloudWatchEvents
877
1190
  o.errors << Shapes::ShapeRef.new(shape: InternalException)
878
1191
  end)
879
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
+
880
1205
  api.add_operation(:create_archive, Seahorse::Model::Operation.new.tap do |o|
881
1206
  o.name = "CreateArchive"
882
1207
  o.http_method = "POST"
@@ -891,6 +1216,17 @@ module Aws::CloudWatchEvents
891
1216
  o.errors << Shapes::ShapeRef.new(shape: InvalidEventPatternException)
892
1217
  end)
893
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
+
894
1230
  api.add_operation(:create_event_bus, Seahorse::Model::Operation.new.tap do |o|
895
1231
  o.name = "CreateEventBus"
896
1232
  o.http_method = "POST"
@@ -932,6 +1268,28 @@ module Aws::CloudWatchEvents
932
1268
  o.errors << Shapes::ShapeRef.new(shape: OperationDisabledException)
933
1269
  end)
934
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
+
935
1293
  api.add_operation(:delete_archive, Seahorse::Model::Operation.new.tap do |o|
936
1294
  o.name = "DeleteArchive"
937
1295
  o.http_method = "POST"
@@ -943,6 +1301,17 @@ module Aws::CloudWatchEvents
943
1301
  o.errors << Shapes::ShapeRef.new(shape: InternalException)
944
1302
  end)
945
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
+
946
1315
  api.add_operation(:delete_event_bus, Seahorse::Model::Operation.new.tap do |o|
947
1316
  o.name = "DeleteEventBus"
948
1317
  o.http_method = "POST"
@@ -976,6 +1345,16 @@ module Aws::CloudWatchEvents
976
1345
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
977
1346
  end)
978
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
+
979
1358
  api.add_operation(:describe_archive, Seahorse::Model::Operation.new.tap do |o|
980
1359
  o.name = "DescribeArchive"
981
1360
  o.http_method = "POST"
@@ -987,6 +1366,16 @@ module Aws::CloudWatchEvents
987
1366
  o.errors << Shapes::ShapeRef.new(shape: InternalException)
988
1367
  end)
989
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
+
990
1379
  api.add_operation(:describe_event_bus, Seahorse::Model::Operation.new.tap do |o|
991
1380
  o.name = "DescribeEventBus"
992
1381
  o.http_method = "POST"
@@ -1063,6 +1452,15 @@ module Aws::CloudWatchEvents
1063
1452
  o.errors << Shapes::ShapeRef.new(shape: InternalException)
1064
1453
  end)
1065
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
+
1066
1464
  api.add_operation(:list_archives, Seahorse::Model::Operation.new.tap do |o|
1067
1465
  o.name = "ListArchives"
1068
1466
  o.http_method = "POST"
@@ -1073,6 +1471,15 @@ module Aws::CloudWatchEvents
1073
1471
  o.errors << Shapes::ShapeRef.new(shape: InternalException)
1074
1472
  end)
1075
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
+
1076
1483
  api.add_operation(:list_event_buses, Seahorse::Model::Operation.new.tap do |o|
1077
1484
  o.name = "ListEventBuses"
1078
1485
  o.http_method = "POST"
@@ -1292,6 +1699,18 @@ module Aws::CloudWatchEvents
1292
1699
  o.errors << Shapes::ShapeRef.new(shape: ManagedRuleException)
1293
1700
  end)
1294
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
+
1295
1714
  api.add_operation(:update_archive, Seahorse::Model::Operation.new.tap do |o|
1296
1715
  o.name = "UpdateArchive"
1297
1716
  o.http_method = "POST"
@@ -1304,6 +1723,18 @@ module Aws::CloudWatchEvents
1304
1723
  o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
1305
1724
  o.errors << Shapes::ShapeRef.new(shape: InvalidEventPatternException)
1306
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)
1307
1738
  end
1308
1739
 
1309
1740
  end