aws-sdk-eventbridge 1.72.0 → 1.74.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -14,6 +14,7 @@ module Aws::EventBridge
14
14
 
15
15
  include Seahorse::Model
16
16
 
17
+ AccessDeniedException = Shapes::StructureShape.new(name: 'AccessDeniedException')
17
18
  AccountId = Shapes::StringShape.new(name: 'AccountId')
18
19
  Action = Shapes::StringShape.new(name: 'Action')
19
20
  ActivateEventSourceRequest = Shapes::StructureShape.new(name: 'ActivateEventSourceRequest')
@@ -72,6 +73,8 @@ module Aws::EventBridge
72
73
  ConnectionResponseList = Shapes::ListShape.new(name: 'ConnectionResponseList')
73
74
  ConnectionState = Shapes::StringShape.new(name: 'ConnectionState')
74
75
  ConnectionStateReason = Shapes::StringShape.new(name: 'ConnectionStateReason')
76
+ ConnectivityResourceConfigurationArn = Shapes::StructureShape.new(name: 'ConnectivityResourceConfigurationArn')
77
+ ConnectivityResourceParameters = Shapes::StructureShape.new(name: 'ConnectivityResourceParameters')
75
78
  CreateApiDestinationRequest = Shapes::StructureShape.new(name: 'CreateApiDestinationRequest')
76
79
  CreateApiDestinationResponse = Shapes::StructureShape.new(name: 'CreateApiDestinationResponse')
77
80
  CreateArchiveRequest = Shapes::StructureShape.new(name: 'CreateArchiveRequest')
@@ -111,7 +114,9 @@ module Aws::EventBridge
111
114
  DescribeApiDestinationResponse = Shapes::StructureShape.new(name: 'DescribeApiDestinationResponse')
112
115
  DescribeArchiveRequest = Shapes::StructureShape.new(name: 'DescribeArchiveRequest')
113
116
  DescribeArchiveResponse = Shapes::StructureShape.new(name: 'DescribeArchiveResponse')
117
+ DescribeConnectionConnectivityParameters = Shapes::StructureShape.new(name: 'DescribeConnectionConnectivityParameters')
114
118
  DescribeConnectionRequest = Shapes::StructureShape.new(name: 'DescribeConnectionRequest')
119
+ DescribeConnectionResourceParameters = Shapes::StructureShape.new(name: 'DescribeConnectionResourceParameters')
115
120
  DescribeConnectionResponse = Shapes::StructureShape.new(name: 'DescribeConnectionResponse')
116
121
  DescribeEndpointRequest = Shapes::StructureShape.new(name: 'DescribeEndpointRequest')
117
122
  DescribeEndpointResponse = Shapes::StructureShape.new(name: 'DescribeEndpointResponse')
@@ -281,6 +286,8 @@ module Aws::EventBridge
281
286
  ReplicationState = Shapes::StringShape.new(name: 'ReplicationState')
282
287
  ResourceAlreadyExistsException = Shapes::StructureShape.new(name: 'ResourceAlreadyExistsException')
283
288
  ResourceArn = Shapes::StringShape.new(name: 'ResourceArn')
289
+ ResourceAssociationArn = Shapes::StringShape.new(name: 'ResourceAssociationArn')
290
+ ResourceConfigurationArn = Shapes::StringShape.new(name: 'ResourceConfigurationArn')
284
291
  ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
285
292
  RetentionDays = Shapes::IntegerShape.new(name: 'RetentionDays')
286
293
  RetryPolicy = Shapes::StructureShape.new(name: 'RetryPolicy')
@@ -335,6 +342,7 @@ module Aws::EventBridge
335
342
  TargetPartitionKeyPath = Shapes::StringShape.new(name: 'TargetPartitionKeyPath')
336
343
  TestEventPatternRequest = Shapes::StructureShape.new(name: 'TestEventPatternRequest')
337
344
  TestEventPatternResponse = Shapes::StructureShape.new(name: 'TestEventPatternResponse')
345
+ ThrottlingException = Shapes::StructureShape.new(name: 'ThrottlingException')
338
346
  Timestamp = Shapes::TimestampShape.new(name: 'Timestamp')
339
347
  TraceHeader = Shapes::StringShape.new(name: 'TraceHeader')
340
348
  TransformerInput = Shapes::StringShape.new(name: 'TransformerInput')
@@ -357,6 +365,8 @@ module Aws::EventBridge
357
365
  UpdateEventBusRequest = Shapes::StructureShape.new(name: 'UpdateEventBusRequest')
358
366
  UpdateEventBusResponse = Shapes::StructureShape.new(name: 'UpdateEventBusResponse')
359
367
 
368
+ AccessDeniedException.struct_class = Types::AccessDeniedException
369
+
360
370
  ActivateEventSourceRequest.add_member(:name, Shapes::ShapeRef.new(shape: EventSourceName, required: true, location_name: "Name"))
361
371
  ActivateEventSourceRequest.struct_class = Types::ActivateEventSourceRequest
362
372
 
@@ -444,6 +454,7 @@ module Aws::EventBridge
444
454
  ConnectionAuthResponseParameters.add_member(:o_auth_parameters, Shapes::ShapeRef.new(shape: ConnectionOAuthResponseParameters, location_name: "OAuthParameters"))
445
455
  ConnectionAuthResponseParameters.add_member(:api_key_auth_parameters, Shapes::ShapeRef.new(shape: ConnectionApiKeyAuthResponseParameters, location_name: "ApiKeyAuthParameters"))
446
456
  ConnectionAuthResponseParameters.add_member(:invocation_http_parameters, Shapes::ShapeRef.new(shape: ConnectionHttpParameters, location_name: "InvocationHttpParameters"))
457
+ ConnectionAuthResponseParameters.add_member(:connectivity_parameters, Shapes::ShapeRef.new(shape: DescribeConnectionConnectivityParameters, location_name: "ConnectivityParameters"))
447
458
  ConnectionAuthResponseParameters.struct_class = Types::ConnectionAuthResponseParameters
448
459
 
449
460
  ConnectionBasicAuthResponseParameters.add_member(:username, Shapes::ShapeRef.new(shape: AuthHeaderParameters, location_name: "Username"))
@@ -486,6 +497,12 @@ module Aws::EventBridge
486
497
 
487
498
  ConnectionResponseList.member = Shapes::ShapeRef.new(shape: Connection)
488
499
 
500
+ ConnectivityResourceConfigurationArn.add_member(:resource_configuration_arn, Shapes::ShapeRef.new(shape: ResourceConfigurationArn, required: true, location_name: "ResourceConfigurationArn"))
501
+ ConnectivityResourceConfigurationArn.struct_class = Types::ConnectivityResourceConfigurationArn
502
+
503
+ ConnectivityResourceParameters.add_member(:resource_parameters, Shapes::ShapeRef.new(shape: ConnectivityResourceConfigurationArn, required: true, location_name: "ResourceParameters"))
504
+ ConnectivityResourceParameters.struct_class = Types::ConnectivityResourceParameters
505
+
489
506
  CreateApiDestinationRequest.add_member(:name, Shapes::ShapeRef.new(shape: ApiDestinationName, required: true, location_name: "Name"))
490
507
  CreateApiDestinationRequest.add_member(:description, Shapes::ShapeRef.new(shape: ApiDestinationDescription, location_name: "Description"))
491
508
  CreateApiDestinationRequest.add_member(:connection_arn, Shapes::ShapeRef.new(shape: ConnectionArn, required: true, location_name: "ConnectionArn"))
@@ -521,6 +538,7 @@ module Aws::EventBridge
521
538
  CreateConnectionAuthRequestParameters.add_member(:o_auth_parameters, Shapes::ShapeRef.new(shape: CreateConnectionOAuthRequestParameters, location_name: "OAuthParameters"))
522
539
  CreateConnectionAuthRequestParameters.add_member(:api_key_auth_parameters, Shapes::ShapeRef.new(shape: CreateConnectionApiKeyAuthRequestParameters, location_name: "ApiKeyAuthParameters"))
523
540
  CreateConnectionAuthRequestParameters.add_member(:invocation_http_parameters, Shapes::ShapeRef.new(shape: ConnectionHttpParameters, location_name: "InvocationHttpParameters"))
541
+ CreateConnectionAuthRequestParameters.add_member(:connectivity_parameters, Shapes::ShapeRef.new(shape: ConnectivityResourceParameters, location_name: "ConnectivityParameters"))
524
542
  CreateConnectionAuthRequestParameters.struct_class = Types::CreateConnectionAuthRequestParameters
525
543
 
526
544
  CreateConnectionBasicAuthRequestParameters.add_member(:username, Shapes::ShapeRef.new(shape: AuthHeaderParameters, required: true, location_name: "Username"))
@@ -541,6 +559,7 @@ module Aws::EventBridge
541
559
  CreateConnectionRequest.add_member(:description, Shapes::ShapeRef.new(shape: ConnectionDescription, location_name: "Description"))
542
560
  CreateConnectionRequest.add_member(:authorization_type, Shapes::ShapeRef.new(shape: ConnectionAuthorizationType, required: true, location_name: "AuthorizationType"))
543
561
  CreateConnectionRequest.add_member(:auth_parameters, Shapes::ShapeRef.new(shape: CreateConnectionAuthRequestParameters, required: true, location_name: "AuthParameters"))
562
+ CreateConnectionRequest.add_member(:invocation_connectivity_parameters, Shapes::ShapeRef.new(shape: ConnectivityResourceParameters, location_name: "InvocationConnectivityParameters"))
544
563
  CreateConnectionRequest.struct_class = Types::CreateConnectionRequest
545
564
 
546
565
  CreateConnectionResponse.add_member(:connection_arn, Shapes::ShapeRef.new(shape: ConnectionArn, location_name: "ConnectionArn"))
@@ -671,12 +690,20 @@ module Aws::EventBridge
671
690
  DescribeArchiveResponse.add_member(:creation_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "CreationTime"))
672
691
  DescribeArchiveResponse.struct_class = Types::DescribeArchiveResponse
673
692
 
693
+ DescribeConnectionConnectivityParameters.add_member(:resource_parameters, Shapes::ShapeRef.new(shape: DescribeConnectionResourceParameters, required: true, location_name: "ResourceParameters"))
694
+ DescribeConnectionConnectivityParameters.struct_class = Types::DescribeConnectionConnectivityParameters
695
+
674
696
  DescribeConnectionRequest.add_member(:name, Shapes::ShapeRef.new(shape: ConnectionName, required: true, location_name: "Name"))
675
697
  DescribeConnectionRequest.struct_class = Types::DescribeConnectionRequest
676
698
 
699
+ DescribeConnectionResourceParameters.add_member(:resource_configuration_arn, Shapes::ShapeRef.new(shape: ResourceConfigurationArn, required: true, location_name: "ResourceConfigurationArn"))
700
+ DescribeConnectionResourceParameters.add_member(:resource_association_arn, Shapes::ShapeRef.new(shape: ResourceAssociationArn, required: true, location_name: "ResourceAssociationArn"))
701
+ DescribeConnectionResourceParameters.struct_class = Types::DescribeConnectionResourceParameters
702
+
677
703
  DescribeConnectionResponse.add_member(:connection_arn, Shapes::ShapeRef.new(shape: ConnectionArn, location_name: "ConnectionArn"))
678
704
  DescribeConnectionResponse.add_member(:name, Shapes::ShapeRef.new(shape: ConnectionName, location_name: "Name"))
679
705
  DescribeConnectionResponse.add_member(:description, Shapes::ShapeRef.new(shape: ConnectionDescription, location_name: "Description"))
706
+ DescribeConnectionResponse.add_member(:invocation_connectivity_parameters, Shapes::ShapeRef.new(shape: DescribeConnectionConnectivityParameters, location_name: "InvocationConnectivityParameters"))
680
707
  DescribeConnectionResponse.add_member(:connection_state, Shapes::ShapeRef.new(shape: ConnectionState, location_name: "ConnectionState"))
681
708
  DescribeConnectionResponse.add_member(:state_reason, Shapes::ShapeRef.new(shape: ConnectionStateReason, location_name: "StateReason"))
682
709
  DescribeConnectionResponse.add_member(:authorization_type, Shapes::ShapeRef.new(shape: ConnectionAuthorizationType, location_name: "AuthorizationType"))
@@ -1287,6 +1314,8 @@ module Aws::EventBridge
1287
1314
  TestEventPatternResponse.add_member(:result, Shapes::ShapeRef.new(shape: Boolean, location_name: "Result"))
1288
1315
  TestEventPatternResponse.struct_class = Types::TestEventPatternResponse
1289
1316
 
1317
+ ThrottlingException.struct_class = Types::ThrottlingException
1318
+
1290
1319
  TransformerPaths.key = Shapes::ShapeRef.new(shape: InputTransformerPathKey)
1291
1320
  TransformerPaths.value = Shapes::ShapeRef.new(shape: TargetInputPath)
1292
1321
 
@@ -1330,6 +1359,7 @@ module Aws::EventBridge
1330
1359
  UpdateConnectionAuthRequestParameters.add_member(:o_auth_parameters, Shapes::ShapeRef.new(shape: UpdateConnectionOAuthRequestParameters, location_name: "OAuthParameters"))
1331
1360
  UpdateConnectionAuthRequestParameters.add_member(:api_key_auth_parameters, Shapes::ShapeRef.new(shape: UpdateConnectionApiKeyAuthRequestParameters, location_name: "ApiKeyAuthParameters"))
1332
1361
  UpdateConnectionAuthRequestParameters.add_member(:invocation_http_parameters, Shapes::ShapeRef.new(shape: ConnectionHttpParameters, location_name: "InvocationHttpParameters"))
1362
+ UpdateConnectionAuthRequestParameters.add_member(:connectivity_parameters, Shapes::ShapeRef.new(shape: ConnectivityResourceParameters, location_name: "ConnectivityParameters"))
1333
1363
  UpdateConnectionAuthRequestParameters.struct_class = Types::UpdateConnectionAuthRequestParameters
1334
1364
 
1335
1365
  UpdateConnectionBasicAuthRequestParameters.add_member(:username, Shapes::ShapeRef.new(shape: AuthHeaderParameters, location_name: "Username"))
@@ -1350,6 +1380,7 @@ module Aws::EventBridge
1350
1380
  UpdateConnectionRequest.add_member(:description, Shapes::ShapeRef.new(shape: ConnectionDescription, location_name: "Description"))
1351
1381
  UpdateConnectionRequest.add_member(:authorization_type, Shapes::ShapeRef.new(shape: ConnectionAuthorizationType, location_name: "AuthorizationType"))
1352
1382
  UpdateConnectionRequest.add_member(:auth_parameters, Shapes::ShapeRef.new(shape: UpdateConnectionAuthRequestParameters, location_name: "AuthParameters"))
1383
+ UpdateConnectionRequest.add_member(:invocation_connectivity_parameters, Shapes::ShapeRef.new(shape: ConnectivityResourceParameters, location_name: "InvocationConnectivityParameters"))
1353
1384
  UpdateConnectionRequest.struct_class = Types::UpdateConnectionRequest
1354
1385
 
1355
1386
  UpdateConnectionResponse.add_member(:connection_arn, Shapes::ShapeRef.new(shape: ConnectionArn, location_name: "ConnectionArn"))
@@ -1470,7 +1501,10 @@ module Aws::EventBridge
1470
1501
  o.output = Shapes::ShapeRef.new(shape: CreateConnectionResponse)
1471
1502
  o.errors << Shapes::ShapeRef.new(shape: ResourceAlreadyExistsException)
1472
1503
  o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
1504
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1473
1505
  o.errors << Shapes::ShapeRef.new(shape: InternalException)
1506
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1507
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1474
1508
  end)
1475
1509
 
1476
1510
  api.add_operation(:create_endpoint, Seahorse::Model::Operation.new.tap do |o|
@@ -2021,6 +2055,8 @@ module Aws::EventBridge
2021
2055
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2022
2056
  o.errors << Shapes::ShapeRef.new(shape: InternalException)
2023
2057
  o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
2058
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
2059
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
2024
2060
  end)
2025
2061
 
2026
2062
  api.add_operation(:update_endpoint, Seahorse::Model::Operation.new.tap do |o|
@@ -27,6 +27,7 @@ module Aws::EventBridge
27
27
  # See {Seahorse::Client::RequestContext} for more information.
28
28
  #
29
29
  # ## Error Classes
30
+ # * {AccessDeniedException}
30
31
  # * {ConcurrentModificationException}
31
32
  # * {IllegalStatusException}
32
33
  # * {InternalException}
@@ -38,6 +39,7 @@ module Aws::EventBridge
38
39
  # * {PolicyLengthExceededException}
39
40
  # * {ResourceAlreadyExistsException}
40
41
  # * {ResourceNotFoundException}
42
+ # * {ThrottlingException}
41
43
  #
42
44
  # Additionally, error classes are dynamically generated for service errors based on the error code
43
45
  # if they are not defined above.
@@ -45,6 +47,16 @@ module Aws::EventBridge
45
47
 
46
48
  extend Aws::Errors::DynamicErrors
47
49
 
50
+ class AccessDeniedException < ServiceError
51
+
52
+ # @param [Seahorse::Client::RequestContext] context
53
+ # @param [String] message
54
+ # @param [Aws::EventBridge::Types::AccessDeniedException] data
55
+ def initialize(context, message, data = Aws::EmptyStructure.new)
56
+ super(context, message, data)
57
+ end
58
+ end
59
+
48
60
  class ConcurrentModificationException < ServiceError
49
61
 
50
62
  # @param [Seahorse::Client::RequestContext] context
@@ -155,5 +167,15 @@ module Aws::EventBridge
155
167
  end
156
168
  end
157
169
 
170
+ class ThrottlingException < ServiceError
171
+
172
+ # @param [Seahorse::Client::RequestContext] context
173
+ # @param [String] message
174
+ # @param [Aws::EventBridge::Types::ThrottlingException] data
175
+ def initialize(context, message, data = Aws::EmptyStructure.new)
176
+ super(context, message, data)
177
+ end
178
+ end
179
+
158
180
  end
159
181
  end