aws-sdk-globalaccelerator 1.39.0 → 1.41.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -15,6 +15,8 @@ module Aws::GlobalAccelerator
15
15
 
16
16
  Accelerator = Shapes::StructureShape.new(name: 'Accelerator')
17
17
  AcceleratorAttributes = Shapes::StructureShape.new(name: 'AcceleratorAttributes')
18
+ AcceleratorEvent = Shapes::StructureShape.new(name: 'AcceleratorEvent')
19
+ AcceleratorEvents = Shapes::ListShape.new(name: 'AcceleratorEvents')
18
20
  AcceleratorNotDisabledException = Shapes::StructureShape.new(name: 'AcceleratorNotDisabledException')
19
21
  AcceleratorNotFoundException = Shapes::StructureShape.new(name: 'AcceleratorNotFoundException')
20
22
  AcceleratorStatus = Shapes::StringShape.new(name: 'AcceleratorStatus')
@@ -22,6 +24,8 @@ module Aws::GlobalAccelerator
22
24
  AccessDeniedException = Shapes::StructureShape.new(name: 'AccessDeniedException')
23
25
  AddCustomRoutingEndpointsRequest = Shapes::StructureShape.new(name: 'AddCustomRoutingEndpointsRequest')
24
26
  AddCustomRoutingEndpointsResponse = Shapes::StructureShape.new(name: 'AddCustomRoutingEndpointsResponse')
27
+ AddEndpointsRequest = Shapes::StructureShape.new(name: 'AddEndpointsRequest')
28
+ AddEndpointsResponse = Shapes::StructureShape.new(name: 'AddEndpointsResponse')
25
29
  AdvertiseByoipCidrRequest = Shapes::StructureShape.new(name: 'AdvertiseByoipCidrRequest')
26
30
  AdvertiseByoipCidrResponse = Shapes::StructureShape.new(name: 'AdvertiseByoipCidrResponse')
27
31
  AllowCustomRoutingTrafficRequest = Shapes::StructureShape.new(name: 'AllowCustomRoutingTrafficRequest')
@@ -105,6 +109,8 @@ module Aws::GlobalAccelerator
105
109
  EndpointGroupAlreadyExistsException = Shapes::StructureShape.new(name: 'EndpointGroupAlreadyExistsException')
106
110
  EndpointGroupNotFoundException = Shapes::StructureShape.new(name: 'EndpointGroupNotFoundException')
107
111
  EndpointGroups = Shapes::ListShape.new(name: 'EndpointGroups')
112
+ EndpointIdentifier = Shapes::StructureShape.new(name: 'EndpointIdentifier')
113
+ EndpointIdentifiers = Shapes::ListShape.new(name: 'EndpointIdentifiers')
108
114
  EndpointIds = Shapes::ListShape.new(name: 'EndpointIds')
109
115
  EndpointNotFoundException = Shapes::StructureShape.new(name: 'EndpointNotFoundException')
110
116
  EndpointWeight = Shapes::IntegerShape.new(name: 'EndpointWeight')
@@ -123,6 +129,7 @@ module Aws::GlobalAccelerator
123
129
  InvalidNextTokenException = Shapes::StructureShape.new(name: 'InvalidNextTokenException')
124
130
  InvalidPortRangeException = Shapes::StructureShape.new(name: 'InvalidPortRangeException')
125
131
  IpAddress = Shapes::StringShape.new(name: 'IpAddress')
132
+ IpAddressFamily = Shapes::StringShape.new(name: 'IpAddressFamily')
126
133
  IpAddressType = Shapes::StringShape.new(name: 'IpAddressType')
127
134
  IpAddresses = Shapes::ListShape.new(name: 'IpAddresses')
128
135
  IpSet = Shapes::StructureShape.new(name: 'IpSet')
@@ -165,6 +172,7 @@ module Aws::GlobalAccelerator
165
172
  ProvisionByoipCidrRequest = Shapes::StructureShape.new(name: 'ProvisionByoipCidrRequest')
166
173
  ProvisionByoipCidrResponse = Shapes::StructureShape.new(name: 'ProvisionByoipCidrResponse')
167
174
  RemoveCustomRoutingEndpointsRequest = Shapes::StructureShape.new(name: 'RemoveCustomRoutingEndpointsRequest')
175
+ RemoveEndpointsRequest = Shapes::StructureShape.new(name: 'RemoveEndpointsRequest')
168
176
  ResourceArn = Shapes::StringShape.new(name: 'ResourceArn')
169
177
  SocketAddress = Shapes::StructureShape.new(name: 'SocketAddress')
170
178
  SocketAddresses = Shapes::ListShape.new(name: 'SocketAddresses')
@@ -178,6 +186,7 @@ module Aws::GlobalAccelerator
178
186
  ThresholdCount = Shapes::IntegerShape.new(name: 'ThresholdCount')
179
187
  Timestamp = Shapes::TimestampShape.new(name: 'Timestamp')
180
188
  TrafficDialPercentage = Shapes::FloatShape.new(name: 'TrafficDialPercentage')
189
+ TransactionInProgressException = Shapes::StructureShape.new(name: 'TransactionInProgressException')
181
190
  UntagResourceRequest = Shapes::StructureShape.new(name: 'UntagResourceRequest')
182
191
  UntagResourceResponse = Shapes::StructureShape.new(name: 'UntagResourceResponse')
183
192
  UpdateAcceleratorAttributesRequest = Shapes::StructureShape.new(name: 'UpdateAcceleratorAttributesRequest')
@@ -206,6 +215,8 @@ module Aws::GlobalAccelerator
206
215
  Accelerator.add_member(:status, Shapes::ShapeRef.new(shape: AcceleratorStatus, location_name: "Status"))
207
216
  Accelerator.add_member(:created_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "CreatedTime"))
208
217
  Accelerator.add_member(:last_modified_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "LastModifiedTime"))
218
+ Accelerator.add_member(:dual_stack_dns_name, Shapes::ShapeRef.new(shape: GenericString, location_name: "DualStackDnsName"))
219
+ Accelerator.add_member(:events, Shapes::ShapeRef.new(shape: AcceleratorEvents, location_name: "Events"))
209
220
  Accelerator.struct_class = Types::Accelerator
210
221
 
211
222
  AcceleratorAttributes.add_member(:flow_logs_enabled, Shapes::ShapeRef.new(shape: GenericBoolean, location_name: "FlowLogsEnabled"))
@@ -213,6 +224,12 @@ module Aws::GlobalAccelerator
213
224
  AcceleratorAttributes.add_member(:flow_logs_s3_prefix, Shapes::ShapeRef.new(shape: GenericString, location_name: "FlowLogsS3Prefix"))
214
225
  AcceleratorAttributes.struct_class = Types::AcceleratorAttributes
215
226
 
227
+ AcceleratorEvent.add_member(:message, Shapes::ShapeRef.new(shape: GenericString, location_name: "Message"))
228
+ AcceleratorEvent.add_member(:timestamp, Shapes::ShapeRef.new(shape: Timestamp, location_name: "Timestamp"))
229
+ AcceleratorEvent.struct_class = Types::AcceleratorEvent
230
+
231
+ AcceleratorEvents.member = Shapes::ShapeRef.new(shape: AcceleratorEvent)
232
+
216
233
  AcceleratorNotDisabledException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
217
234
  AcceleratorNotDisabledException.struct_class = Types::AcceleratorNotDisabledException
218
235
 
@@ -232,6 +249,14 @@ module Aws::GlobalAccelerator
232
249
  AddCustomRoutingEndpointsResponse.add_member(:endpoint_group_arn, Shapes::ShapeRef.new(shape: GenericString, location_name: "EndpointGroupArn"))
233
250
  AddCustomRoutingEndpointsResponse.struct_class = Types::AddCustomRoutingEndpointsResponse
234
251
 
252
+ AddEndpointsRequest.add_member(:endpoint_configurations, Shapes::ShapeRef.new(shape: EndpointConfigurations, required: true, location_name: "EndpointConfigurations"))
253
+ AddEndpointsRequest.add_member(:endpoint_group_arn, Shapes::ShapeRef.new(shape: GenericString, required: true, location_name: "EndpointGroupArn"))
254
+ AddEndpointsRequest.struct_class = Types::AddEndpointsRequest
255
+
256
+ AddEndpointsResponse.add_member(:endpoint_descriptions, Shapes::ShapeRef.new(shape: EndpointDescriptions, location_name: "EndpointDescriptions"))
257
+ AddEndpointsResponse.add_member(:endpoint_group_arn, Shapes::ShapeRef.new(shape: GenericString, location_name: "EndpointGroupArn"))
258
+ AddEndpointsResponse.struct_class = Types::AddEndpointsResponse
259
+
235
260
  AdvertiseByoipCidrRequest.add_member(:cidr, Shapes::ShapeRef.new(shape: GenericString, required: true, location_name: "Cidr"))
236
261
  AdvertiseByoipCidrRequest.struct_class = Types::AdvertiseByoipCidrRequest
237
262
 
@@ -531,6 +556,12 @@ module Aws::GlobalAccelerator
531
556
 
532
557
  EndpointGroups.member = Shapes::ShapeRef.new(shape: EndpointGroup)
533
558
 
559
+ EndpointIdentifier.add_member(:endpoint_id, Shapes::ShapeRef.new(shape: GenericString, required: true, location_name: "EndpointId"))
560
+ EndpointIdentifier.add_member(:client_ip_preservation_enabled, Shapes::ShapeRef.new(shape: GenericBoolean, location_name: "ClientIPPreservationEnabled"))
561
+ EndpointIdentifier.struct_class = Types::EndpointIdentifier
562
+
563
+ EndpointIdentifiers.member = Shapes::ShapeRef.new(shape: EndpointIdentifier)
564
+
534
565
  EndpointIds.member = Shapes::ShapeRef.new(shape: GenericString)
535
566
 
536
567
  EndpointNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
@@ -553,8 +584,9 @@ module Aws::GlobalAccelerator
553
584
 
554
585
  IpAddresses.member = Shapes::ShapeRef.new(shape: IpAddress)
555
586
 
556
- IpSet.add_member(:ip_family, Shapes::ShapeRef.new(shape: GenericString, location_name: "IpFamily"))
587
+ IpSet.add_member(:ip_family, Shapes::ShapeRef.new(shape: GenericString, deprecated: true, location_name: "IpFamily", metadata: {"deprecatedMessage"=>"IpFamily has been replaced by IpAddressFamily"}))
557
588
  IpSet.add_member(:ip_addresses, Shapes::ShapeRef.new(shape: IpAddresses, location_name: "IpAddresses"))
589
+ IpSet.add_member(:ip_address_family, Shapes::ShapeRef.new(shape: IpAddressFamily, location_name: "IpAddressFamily"))
558
590
  IpSet.struct_class = Types::IpSet
559
591
 
560
592
  IpSets.member = Shapes::ShapeRef.new(shape: IpSet)
@@ -694,6 +726,10 @@ module Aws::GlobalAccelerator
694
726
  RemoveCustomRoutingEndpointsRequest.add_member(:endpoint_group_arn, Shapes::ShapeRef.new(shape: GenericString, required: true, location_name: "EndpointGroupArn"))
695
727
  RemoveCustomRoutingEndpointsRequest.struct_class = Types::RemoveCustomRoutingEndpointsRequest
696
728
 
729
+ RemoveEndpointsRequest.add_member(:endpoint_identifiers, Shapes::ShapeRef.new(shape: EndpointIdentifiers, required: true, location_name: "EndpointIdentifiers"))
730
+ RemoveEndpointsRequest.add_member(:endpoint_group_arn, Shapes::ShapeRef.new(shape: GenericString, required: true, location_name: "EndpointGroupArn"))
731
+ RemoveEndpointsRequest.struct_class = Types::RemoveEndpointsRequest
732
+
697
733
  SocketAddress.add_member(:ip_address, Shapes::ShapeRef.new(shape: GenericString, location_name: "IpAddress"))
698
734
  SocketAddress.add_member(:port, Shapes::ShapeRef.new(shape: PortNumber, location_name: "Port"))
699
735
  SocketAddress.struct_class = Types::SocketAddress
@@ -714,6 +750,9 @@ module Aws::GlobalAccelerator
714
750
 
715
751
  Tags.member = Shapes::ShapeRef.new(shape: Tag)
716
752
 
753
+ TransactionInProgressException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
754
+ TransactionInProgressException.struct_class = Types::TransactionInProgressException
755
+
717
756
  UntagResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: ResourceArn, required: true, location_name: "ResourceArn"))
718
757
  UntagResourceRequest.add_member(:tag_keys, Shapes::ShapeRef.new(shape: TagKeys, required: true, location_name: "TagKeys"))
719
758
  UntagResourceRequest.struct_class = Types::UntagResourceRequest
@@ -826,6 +865,20 @@ module Aws::GlobalAccelerator
826
865
  o.errors << Shapes::ShapeRef.new(shape: ConflictException)
827
866
  end)
828
867
 
868
+ api.add_operation(:add_endpoints, Seahorse::Model::Operation.new.tap do |o|
869
+ o.name = "AddEndpoints"
870
+ o.http_method = "POST"
871
+ o.http_request_uri = "/"
872
+ o.input = Shapes::ShapeRef.new(shape: AddEndpointsRequest)
873
+ o.output = Shapes::ShapeRef.new(shape: AddEndpointsResponse)
874
+ o.errors << Shapes::ShapeRef.new(shape: TransactionInProgressException)
875
+ o.errors << Shapes::ShapeRef.new(shape: EndpointGroupNotFoundException)
876
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceErrorException)
877
+ o.errors << Shapes::ShapeRef.new(shape: InvalidArgumentException)
878
+ o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
879
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
880
+ end)
881
+
829
882
  api.add_operation(:advertise_byoip_cidr, Seahorse::Model::Operation.new.tap do |o|
830
883
  o.name = "AdvertiseByoipCidr"
831
884
  o.http_method = "POST"
@@ -845,6 +898,7 @@ module Aws::GlobalAccelerator
845
898
  o.http_request_uri = "/"
846
899
  o.input = Shapes::ShapeRef.new(shape: AllowCustomRoutingTrafficRequest)
847
900
  o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
901
+ o.errors << Shapes::ShapeRef.new(shape: EndpointGroupNotFoundException)
848
902
  o.errors << Shapes::ShapeRef.new(shape: InvalidArgumentException)
849
903
  o.errors << Shapes::ShapeRef.new(shape: InternalServiceErrorException)
850
904
  end)
@@ -1007,6 +1061,7 @@ module Aws::GlobalAccelerator
1007
1061
  o.http_request_uri = "/"
1008
1062
  o.input = Shapes::ShapeRef.new(shape: DenyCustomRoutingTrafficRequest)
1009
1063
  o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
1064
+ o.errors << Shapes::ShapeRef.new(shape: EndpointGroupNotFoundException)
1010
1065
  o.errors << Shapes::ShapeRef.new(shape: InvalidArgumentException)
1011
1066
  o.errors << Shapes::ShapeRef.new(shape: InternalServiceErrorException)
1012
1067
  end)
@@ -1311,6 +1366,19 @@ module Aws::GlobalAccelerator
1311
1366
  o.errors << Shapes::ShapeRef.new(shape: ConflictException)
1312
1367
  end)
1313
1368
 
1369
+ api.add_operation(:remove_endpoints, Seahorse::Model::Operation.new.tap do |o|
1370
+ o.name = "RemoveEndpoints"
1371
+ o.http_method = "POST"
1372
+ o.http_request_uri = "/"
1373
+ o.input = Shapes::ShapeRef.new(shape: RemoveEndpointsRequest)
1374
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
1375
+ o.errors << Shapes::ShapeRef.new(shape: EndpointGroupNotFoundException)
1376
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceErrorException)
1377
+ o.errors << Shapes::ShapeRef.new(shape: InvalidArgumentException)
1378
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1379
+ o.errors << Shapes::ShapeRef.new(shape: TransactionInProgressException)
1380
+ end)
1381
+
1314
1382
  api.add_operation(:tag_resource, Seahorse::Model::Operation.new.tap do |o|
1315
1383
  o.name = "TagResource"
1316
1384
  o.http_method = "POST"
@@ -1340,6 +1408,7 @@ module Aws::GlobalAccelerator
1340
1408
  o.input = Shapes::ShapeRef.new(shape: UpdateAcceleratorRequest)
1341
1409
  o.output = Shapes::ShapeRef.new(shape: UpdateAcceleratorResponse)
1342
1410
  o.errors << Shapes::ShapeRef.new(shape: AcceleratorNotFoundException)
1411
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1343
1412
  o.errors << Shapes::ShapeRef.new(shape: InternalServiceErrorException)
1344
1413
  o.errors << Shapes::ShapeRef.new(shape: InvalidArgumentException)
1345
1414
  end)
@@ -45,6 +45,7 @@ module Aws::GlobalAccelerator
45
45
  # * {InvalidPortRangeException}
46
46
  # * {LimitExceededException}
47
47
  # * {ListenerNotFoundException}
48
+ # * {TransactionInProgressException}
48
49
  #
49
50
  # Additionally, error classes are dynamically generated for service errors based on the error code
50
51
  # if they are not defined above.
@@ -322,5 +323,20 @@ module Aws::GlobalAccelerator
322
323
  end
323
324
  end
324
325
 
326
+ class TransactionInProgressException < ServiceError
327
+
328
+ # @param [Seahorse::Client::RequestContext] context
329
+ # @param [String] message
330
+ # @param [Aws::GlobalAccelerator::Types::TransactionInProgressException] data
331
+ def initialize(context, message, data = Aws::EmptyStructure.new)
332
+ super(context, message, data)
333
+ end
334
+
335
+ # @return [String]
336
+ def message
337
+ @message || @data[:message]
338
+ end
339
+ end
340
+
325
341
  end
326
342
  end