aws-sdk-globalaccelerator 1.40.0 → 1.41.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 0fc851ea3192808b15ecde042d8f37ec0ba71fd71cb0afc0c3b7e872228858cc
4
- data.tar.gz: fe793782c6f80db5258035c9e5c4f447a63e78370db2e71888e2e63faf33ac6f
3
+ metadata.gz: 656e58d757c53a4bf701b0c403e53a46a81e786540c285115475257bbfcb95fc
4
+ data.tar.gz: 7a3ad9f507349f8a5bf3e2fc36d75980aa5c3b886f266ae50faa6f732ec988bc
5
5
  SHA512:
6
- metadata.gz: 69cebe1c8edca2c312bb39fee855e76c866ae664b1172326716434bc01e9c221ece703aea6ace6d7c0d4879b39a77e2c6964fbf6356ceefdb5a6e1d7905e0dc0
7
- data.tar.gz: 282f554443d873a91138f5b947a72a251a006987d9aa5672e83468ba9273f44c2943fbdab688a45fa708962b783998b28e8116b82caea7760943a755f000c649
6
+ metadata.gz: 85c718bb8c3ae030d83cbd59dc2ac433717e3ff3ef51066396d5f552d40085f987dfc55cae79b1a0d2a4db4ad50a1d0c0aec9ca1c7a0f15ae8e1f384d62e65a4
7
+ data.tar.gz: 1a990c7aead125d24dbdd28db6a9ceda52a0df5c7009b84ccab33b80ec1b4cf911845e88db0f9e2c2947f596ec82d8c6941a84c192737c388d5add5f202d9752
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.41.0 (2022-10-20)
5
+ ------------------
6
+
7
+ * Feature - Global Accelerator now supports AddEndpoints and RemoveEndpoints operations for standard endpoint groups.
8
+
4
9
  1.40.0 (2022-07-27)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.40.0
1
+ 1.41.0
@@ -421,6 +421,69 @@ module Aws::GlobalAccelerator
421
421
  req.send_request(options)
422
422
  end
423
423
 
424
+ # Add endpoints to an endpoint group. The `AddEndpoints` API operation
425
+ # is the recommended option for adding endpoints. The alternative
426
+ # options are to add endpoints when you create an endpoint group (with
427
+ # the [CreateEndpointGroup][1] API) or when you update an endpoint group
428
+ # (with the [UpdateEndpointGroup][2] API).
429
+ #
430
+ # There are two advantages to using `AddEndpoints` to add endpoints:
431
+ #
432
+ # * It's faster, because Global Accelerator only has to resolve the new
433
+ # endpoints that you're adding.
434
+ #
435
+ # * It's more convenient, because you don't need to specify all of the
436
+ # current endpoints that are already in the endpoint group in addition
437
+ # to the new endpoints that you want to add.
438
+ #
439
+ #
440
+ #
441
+ # [1]: https://docs.aws.amazon.com/global-accelerator/latest/api/API_CreateEndpointGroup.html
442
+ # [2]: https://docs.aws.amazon.com/global-accelerator/latest/api/API_UpdateEndpointGroup.html
443
+ #
444
+ # @option params [required, Array<Types::EndpointConfiguration>] :endpoint_configurations
445
+ # The list of endpoint objects.
446
+ #
447
+ # @option params [required, String] :endpoint_group_arn
448
+ # The Amazon Resource Name (ARN) of the endpoint group.
449
+ #
450
+ # @return [Types::AddEndpointsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
451
+ #
452
+ # * {Types::AddEndpointsResponse#endpoint_descriptions #endpoint_descriptions} => Array&lt;Types::EndpointDescription&gt;
453
+ # * {Types::AddEndpointsResponse#endpoint_group_arn #endpoint_group_arn} => String
454
+ #
455
+ # @example Request syntax with placeholder values
456
+ #
457
+ # resp = client.add_endpoints({
458
+ # endpoint_configurations: [ # required
459
+ # {
460
+ # endpoint_id: "GenericString",
461
+ # weight: 1,
462
+ # client_ip_preservation_enabled: false,
463
+ # },
464
+ # ],
465
+ # endpoint_group_arn: "GenericString", # required
466
+ # })
467
+ #
468
+ # @example Response structure
469
+ #
470
+ # resp.endpoint_descriptions #=> Array
471
+ # resp.endpoint_descriptions[0].endpoint_id #=> String
472
+ # resp.endpoint_descriptions[0].weight #=> Integer
473
+ # resp.endpoint_descriptions[0].health_state #=> String, one of "INITIAL", "HEALTHY", "UNHEALTHY"
474
+ # resp.endpoint_descriptions[0].health_reason #=> String
475
+ # resp.endpoint_descriptions[0].client_ip_preservation_enabled #=> Boolean
476
+ # resp.endpoint_group_arn #=> String
477
+ #
478
+ # @see http://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/AddEndpoints AWS API Documentation
479
+ #
480
+ # @overload add_endpoints(params = {})
481
+ # @param [Hash] params ({})
482
+ def add_endpoints(params = {}, options = {})
483
+ req = build_request(:add_endpoints, params)
484
+ req.send_request(options)
485
+ end
486
+
424
487
  # Advertises an IPv4 address range that is provisioned for use with your
425
488
  # Amazon Web Services resources through bring your own IP addresses
426
489
  # (BYOIP). It can take a few minutes before traffic to the specified
@@ -2325,6 +2388,57 @@ module Aws::GlobalAccelerator
2325
2388
  req.send_request(options)
2326
2389
  end
2327
2390
 
2391
+ # Remove endpoints from an endpoint group.
2392
+ #
2393
+ # The `RemoveEndpoints` API operation is the recommended option for
2394
+ # removing endpoints. The alternative is to remove endpoints by updating
2395
+ # an endpoint group by using the [UpdateEndpointGroup][1] API operation.
2396
+ # There are two advantages to using `AddEndpoints` to remove endpoints
2397
+ # instead:
2398
+ #
2399
+ # * It's more convenient, because you only need to specify the
2400
+ # endpoints that you want to remove. With the `UpdateEndpointGroup`
2401
+ # API operation, you must specify all of the endpoints in the endpoint
2402
+ # group except the ones that you want to remove from the group.
2403
+ #
2404
+ # * It's faster, because Global Accelerator doesn't need to resolve
2405
+ # any endpoints. With the `UpdateEndpointGroup` API operation, Global
2406
+ # Accelerator must resolve all of the endpoints that remain in the
2407
+ # group.
2408
+ #
2409
+ #
2410
+ #
2411
+ # [1]: https://docs.aws.amazon.com/global-accelerator/latest/api/API_UpdateEndpointGroup.html
2412
+ #
2413
+ # @option params [required, Array<Types::EndpointIdentifier>] :endpoint_identifiers
2414
+ # The identifiers of the endpoints that you want to remove.
2415
+ #
2416
+ # @option params [required, String] :endpoint_group_arn
2417
+ # The Amazon Resource Name (ARN) of the endpoint group.
2418
+ #
2419
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
2420
+ #
2421
+ # @example Request syntax with placeholder values
2422
+ #
2423
+ # resp = client.remove_endpoints({
2424
+ # endpoint_identifiers: [ # required
2425
+ # {
2426
+ # endpoint_id: "GenericString", # required
2427
+ # client_ip_preservation_enabled: false,
2428
+ # },
2429
+ # ],
2430
+ # endpoint_group_arn: "GenericString", # required
2431
+ # })
2432
+ #
2433
+ # @see http://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/RemoveEndpoints AWS API Documentation
2434
+ #
2435
+ # @overload remove_endpoints(params = {})
2436
+ # @param [Hash] params ({})
2437
+ def remove_endpoints(params = {}, options = {})
2438
+ req = build_request(:remove_endpoints, params)
2439
+ req.send_request(options)
2440
+ end
2441
+
2328
2442
  # Add tags to an accelerator resource.
2329
2443
  #
2330
2444
  # For more information, see [Tagging in Global Accelerator][1] in the
@@ -2953,7 +3067,7 @@ module Aws::GlobalAccelerator
2953
3067
  params: params,
2954
3068
  config: config)
2955
3069
  context[:gem_name] = 'aws-sdk-globalaccelerator'
2956
- context[:gem_version] = '1.40.0'
3070
+ context[:gem_version] = '1.41.0'
2957
3071
  Seahorse::Client::Request.new(handlers, context)
2958
3072
  end
2959
3073
 
@@ -24,6 +24,8 @@ module Aws::GlobalAccelerator
24
24
  AccessDeniedException = Shapes::StructureShape.new(name: 'AccessDeniedException')
25
25
  AddCustomRoutingEndpointsRequest = Shapes::StructureShape.new(name: 'AddCustomRoutingEndpointsRequest')
26
26
  AddCustomRoutingEndpointsResponse = Shapes::StructureShape.new(name: 'AddCustomRoutingEndpointsResponse')
27
+ AddEndpointsRequest = Shapes::StructureShape.new(name: 'AddEndpointsRequest')
28
+ AddEndpointsResponse = Shapes::StructureShape.new(name: 'AddEndpointsResponse')
27
29
  AdvertiseByoipCidrRequest = Shapes::StructureShape.new(name: 'AdvertiseByoipCidrRequest')
28
30
  AdvertiseByoipCidrResponse = Shapes::StructureShape.new(name: 'AdvertiseByoipCidrResponse')
29
31
  AllowCustomRoutingTrafficRequest = Shapes::StructureShape.new(name: 'AllowCustomRoutingTrafficRequest')
@@ -107,6 +109,8 @@ module Aws::GlobalAccelerator
107
109
  EndpointGroupAlreadyExistsException = Shapes::StructureShape.new(name: 'EndpointGroupAlreadyExistsException')
108
110
  EndpointGroupNotFoundException = Shapes::StructureShape.new(name: 'EndpointGroupNotFoundException')
109
111
  EndpointGroups = Shapes::ListShape.new(name: 'EndpointGroups')
112
+ EndpointIdentifier = Shapes::StructureShape.new(name: 'EndpointIdentifier')
113
+ EndpointIdentifiers = Shapes::ListShape.new(name: 'EndpointIdentifiers')
110
114
  EndpointIds = Shapes::ListShape.new(name: 'EndpointIds')
111
115
  EndpointNotFoundException = Shapes::StructureShape.new(name: 'EndpointNotFoundException')
112
116
  EndpointWeight = Shapes::IntegerShape.new(name: 'EndpointWeight')
@@ -168,6 +172,7 @@ module Aws::GlobalAccelerator
168
172
  ProvisionByoipCidrRequest = Shapes::StructureShape.new(name: 'ProvisionByoipCidrRequest')
169
173
  ProvisionByoipCidrResponse = Shapes::StructureShape.new(name: 'ProvisionByoipCidrResponse')
170
174
  RemoveCustomRoutingEndpointsRequest = Shapes::StructureShape.new(name: 'RemoveCustomRoutingEndpointsRequest')
175
+ RemoveEndpointsRequest = Shapes::StructureShape.new(name: 'RemoveEndpointsRequest')
171
176
  ResourceArn = Shapes::StringShape.new(name: 'ResourceArn')
172
177
  SocketAddress = Shapes::StructureShape.new(name: 'SocketAddress')
173
178
  SocketAddresses = Shapes::ListShape.new(name: 'SocketAddresses')
@@ -181,6 +186,7 @@ module Aws::GlobalAccelerator
181
186
  ThresholdCount = Shapes::IntegerShape.new(name: 'ThresholdCount')
182
187
  Timestamp = Shapes::TimestampShape.new(name: 'Timestamp')
183
188
  TrafficDialPercentage = Shapes::FloatShape.new(name: 'TrafficDialPercentage')
189
+ TransactionInProgressException = Shapes::StructureShape.new(name: 'TransactionInProgressException')
184
190
  UntagResourceRequest = Shapes::StructureShape.new(name: 'UntagResourceRequest')
185
191
  UntagResourceResponse = Shapes::StructureShape.new(name: 'UntagResourceResponse')
186
192
  UpdateAcceleratorAttributesRequest = Shapes::StructureShape.new(name: 'UpdateAcceleratorAttributesRequest')
@@ -243,6 +249,14 @@ module Aws::GlobalAccelerator
243
249
  AddCustomRoutingEndpointsResponse.add_member(:endpoint_group_arn, Shapes::ShapeRef.new(shape: GenericString, location_name: "EndpointGroupArn"))
244
250
  AddCustomRoutingEndpointsResponse.struct_class = Types::AddCustomRoutingEndpointsResponse
245
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
+
246
260
  AdvertiseByoipCidrRequest.add_member(:cidr, Shapes::ShapeRef.new(shape: GenericString, required: true, location_name: "Cidr"))
247
261
  AdvertiseByoipCidrRequest.struct_class = Types::AdvertiseByoipCidrRequest
248
262
 
@@ -542,6 +556,12 @@ module Aws::GlobalAccelerator
542
556
 
543
557
  EndpointGroups.member = Shapes::ShapeRef.new(shape: EndpointGroup)
544
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
+
545
565
  EndpointIds.member = Shapes::ShapeRef.new(shape: GenericString)
546
566
 
547
567
  EndpointNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
@@ -706,6 +726,10 @@ module Aws::GlobalAccelerator
706
726
  RemoveCustomRoutingEndpointsRequest.add_member(:endpoint_group_arn, Shapes::ShapeRef.new(shape: GenericString, required: true, location_name: "EndpointGroupArn"))
707
727
  RemoveCustomRoutingEndpointsRequest.struct_class = Types::RemoveCustomRoutingEndpointsRequest
708
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
+
709
733
  SocketAddress.add_member(:ip_address, Shapes::ShapeRef.new(shape: GenericString, location_name: "IpAddress"))
710
734
  SocketAddress.add_member(:port, Shapes::ShapeRef.new(shape: PortNumber, location_name: "Port"))
711
735
  SocketAddress.struct_class = Types::SocketAddress
@@ -726,6 +750,9 @@ module Aws::GlobalAccelerator
726
750
 
727
751
  Tags.member = Shapes::ShapeRef.new(shape: Tag)
728
752
 
753
+ TransactionInProgressException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
754
+ TransactionInProgressException.struct_class = Types::TransactionInProgressException
755
+
729
756
  UntagResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: ResourceArn, required: true, location_name: "ResourceArn"))
730
757
  UntagResourceRequest.add_member(:tag_keys, Shapes::ShapeRef.new(shape: TagKeys, required: true, location_name: "TagKeys"))
731
758
  UntagResourceRequest.struct_class = Types::UntagResourceRequest
@@ -838,6 +865,20 @@ module Aws::GlobalAccelerator
838
865
  o.errors << Shapes::ShapeRef.new(shape: ConflictException)
839
866
  end)
840
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
+
841
882
  api.add_operation(:advertise_byoip_cidr, Seahorse::Model::Operation.new.tap do |o|
842
883
  o.name = "AdvertiseByoipCidr"
843
884
  o.http_method = "POST"
@@ -1325,6 +1366,19 @@ module Aws::GlobalAccelerator
1325
1366
  o.errors << Shapes::ShapeRef.new(shape: ConflictException)
1326
1367
  end)
1327
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
+
1328
1382
  api.add_operation(:tag_resource, Seahorse::Model::Operation.new.tap do |o|
1329
1383
  o.name = "TagResource"
1330
1384
  o.http_method = "POST"
@@ -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
@@ -52,12 +52,12 @@ module Aws::GlobalAccelerator
52
52
  # a1234567890abcdef.awsglobalaccelerator.com.
53
53
  #
54
54
  # If you have a dual-stack accelerator, you also have a second DNS
55
- # name, DualStackDnsName, that points to both the A record and the
56
- # AAAA record for all four static addresses for the accelerator (two
57
- # IPv4 addresses and two IPv6 addresses).
55
+ # name, `DualStackDnsName`, that points to both the A record and the
56
+ # AAAA record for all four static addresses for the accelerator: two
57
+ # IPv4 addresses and two IPv6 addresses.
58
58
  #
59
59
  # For more information about the default DNS name, see [ Support for
60
- # DNS Addressing in Global Accelerator][1] in the *Global Accelerator
60
+ # DNS addressing in Global Accelerator][1] in the *Global Accelerator
61
61
  # Developer Guide*.
62
62
  #
63
63
  #
@@ -87,10 +87,10 @@ module Aws::GlobalAccelerator
87
87
  # followed by .dualstack.awsglobalaccelerator.com. For example:
88
88
  # a1234567890abcdef.dualstack.awsglobalaccelerator.com.
89
89
  #
90
- # Note: Global Accelerator also assigns a default DNS name, DnsName,
90
+ # Note: Global Accelerator also assigns a default DNS name, `DnsName`,
91
91
  # to your accelerator that points just to the static IPv4 addresses.
92
92
  #
93
- # For more information, see [ Support for DNS Addressing in Global
93
+ # For more information, see [ Support for DNS addressing in Global
94
94
  # Accelerator][1] in the *Global Accelerator Developer Guide*.
95
95
  #
96
96
  #
@@ -277,6 +277,54 @@ module Aws::GlobalAccelerator
277
277
  include Aws::Structure
278
278
  end
279
279
 
280
+ # @note When making an API call, you may pass AddEndpointsRequest
281
+ # data as a hash:
282
+ #
283
+ # {
284
+ # endpoint_configurations: [ # required
285
+ # {
286
+ # endpoint_id: "GenericString",
287
+ # weight: 1,
288
+ # client_ip_preservation_enabled: false,
289
+ # },
290
+ # ],
291
+ # endpoint_group_arn: "GenericString", # required
292
+ # }
293
+ #
294
+ # @!attribute [rw] endpoint_configurations
295
+ # The list of endpoint objects.
296
+ # @return [Array<Types::EndpointConfiguration>]
297
+ #
298
+ # @!attribute [rw] endpoint_group_arn
299
+ # The Amazon Resource Name (ARN) of the endpoint group.
300
+ # @return [String]
301
+ #
302
+ # @see http://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/AddEndpointsRequest AWS API Documentation
303
+ #
304
+ class AddEndpointsRequest < Struct.new(
305
+ :endpoint_configurations,
306
+ :endpoint_group_arn)
307
+ SENSITIVE = []
308
+ include Aws::Structure
309
+ end
310
+
311
+ # @!attribute [rw] endpoint_descriptions
312
+ # The list of endpoint objects.
313
+ # @return [Array<Types::EndpointDescription>]
314
+ #
315
+ # @!attribute [rw] endpoint_group_arn
316
+ # The Amazon Resource Name (ARN) of the endpoint group.
317
+ # @return [String]
318
+ #
319
+ # @see http://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/AddEndpointsResponse AWS API Documentation
320
+ #
321
+ class AddEndpointsResponse < Struct.new(
322
+ :endpoint_descriptions,
323
+ :endpoint_group_arn)
324
+ SENSITIVE = []
325
+ include Aws::Structure
326
+ end
327
+
280
328
  # @note When making an API call, you may pass AdvertiseByoipCidrRequest
281
329
  # data as a hash:
282
330
  #
@@ -1183,12 +1231,12 @@ module Aws::GlobalAccelerator
1183
1231
  # a1234567890abcdef.awsglobalaccelerator.com.
1184
1232
  #
1185
1233
  # If you have a dual-stack accelerator, you also have a second DNS
1186
- # name, DualStackDnsName, that points to both the A record and the
1187
- # AAAA record for all four static addresses for the accelerator (two
1188
- # IPv4 addresses and two IPv6 addresses).
1234
+ # name, `DualStackDnsName`, that points to both the A record and the
1235
+ # AAAA record for all four static addresses for the accelerator: two
1236
+ # IPv4 addresses and two IPv6 addresses.
1189
1237
  #
1190
1238
  # For more information about the default DNS name, see [ Support for
1191
- # DNS Addressing in Global Accelerator][1] in the *Global Accelerator
1239
+ # DNS addressing in Global Accelerator][1] in the *Global Accelerator
1192
1240
  # Developer Guide*.
1193
1241
  #
1194
1242
  #
@@ -2216,6 +2264,46 @@ module Aws::GlobalAccelerator
2216
2264
  include Aws::Structure
2217
2265
  end
2218
2266
 
2267
+ # A complex type for an endpoint. Specifies information about the
2268
+ # endpoint to remove from the endpoint group.
2269
+ #
2270
+ # @note When making an API call, you may pass EndpointIdentifier
2271
+ # data as a hash:
2272
+ #
2273
+ # {
2274
+ # endpoint_id: "GenericString", # required
2275
+ # client_ip_preservation_enabled: false,
2276
+ # }
2277
+ #
2278
+ # @!attribute [rw] endpoint_id
2279
+ # An ID for the endpoint. If the endpoint is a Network Load Balancer
2280
+ # or Application Load Balancer, this is the Amazon Resource Name (ARN)
2281
+ # of the resource. If the endpoint is an Elastic IP address, this is
2282
+ # the Elastic IP address allocation ID. For Amazon EC2 instances, this
2283
+ # is the EC2 instance ID.
2284
+ #
2285
+ # An Application Load Balancer can be either internal or
2286
+ # internet-facing.
2287
+ # @return [String]
2288
+ #
2289
+ # @!attribute [rw] client_ip_preservation_enabled
2290
+ # Indicates whether client IP address preservation is enabled for an
2291
+ # endpoint. The value is true or false.
2292
+ #
2293
+ # If the value is set to true, the client's IP address is preserved
2294
+ # in the `X-Forwarded-For` request header as traffic travels to
2295
+ # applications on the endpoint fronted by the accelerator.
2296
+ # @return [Boolean]
2297
+ #
2298
+ # @see http://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/EndpointIdentifier AWS API Documentation
2299
+ #
2300
+ class EndpointIdentifier < Struct.new(
2301
+ :endpoint_id,
2302
+ :client_ip_preservation_enabled)
2303
+ SENSITIVE = []
2304
+ include Aws::Structure
2305
+ end
2306
+
2219
2307
  # The endpoint that you specified doesn't exist.
2220
2308
  #
2221
2309
  # @!attribute [rw] message
@@ -3079,6 +3167,36 @@ module Aws::GlobalAccelerator
3079
3167
  include Aws::Structure
3080
3168
  end
3081
3169
 
3170
+ # @note When making an API call, you may pass RemoveEndpointsRequest
3171
+ # data as a hash:
3172
+ #
3173
+ # {
3174
+ # endpoint_identifiers: [ # required
3175
+ # {
3176
+ # endpoint_id: "GenericString", # required
3177
+ # client_ip_preservation_enabled: false,
3178
+ # },
3179
+ # ],
3180
+ # endpoint_group_arn: "GenericString", # required
3181
+ # }
3182
+ #
3183
+ # @!attribute [rw] endpoint_identifiers
3184
+ # The identifiers of the endpoints that you want to remove.
3185
+ # @return [Array<Types::EndpointIdentifier>]
3186
+ #
3187
+ # @!attribute [rw] endpoint_group_arn
3188
+ # The Amazon Resource Name (ARN) of the endpoint group.
3189
+ # @return [String]
3190
+ #
3191
+ # @see http://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/RemoveEndpointsRequest AWS API Documentation
3192
+ #
3193
+ class RemoveEndpointsRequest < Struct.new(
3194
+ :endpoint_identifiers,
3195
+ :endpoint_group_arn)
3196
+ SENSITIVE = []
3197
+ include Aws::Structure
3198
+ end
3199
+
3082
3200
  # An IP address/port combination.
3083
3201
  #
3084
3202
  # @!attribute [rw] ip_address
@@ -3161,6 +3279,20 @@ module Aws::GlobalAccelerator
3161
3279
  #
3162
3280
  class TagResourceResponse < Aws::EmptyStructure; end
3163
3281
 
3282
+ # There's already a transaction in progress. Another transaction can't
3283
+ # be processed.
3284
+ #
3285
+ # @!attribute [rw] message
3286
+ # @return [String]
3287
+ #
3288
+ # @see http://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/TransactionInProgressException AWS API Documentation
3289
+ #
3290
+ class TransactionInProgressException < Struct.new(
3291
+ :message)
3292
+ SENSITIVE = []
3293
+ include Aws::Structure
3294
+ end
3295
+
3164
3296
  # @note When making an API call, you may pass UntagResourceRequest
3165
3297
  # data as a hash:
3166
3298
  #
@@ -48,6 +48,6 @@ require_relative 'aws-sdk-globalaccelerator/customizations'
48
48
  # @!group service
49
49
  module Aws::GlobalAccelerator
50
50
 
51
- GEM_VERSION = '1.40.0'
51
+ GEM_VERSION = '1.41.0'
52
52
 
53
53
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-globalaccelerator
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.40.0
4
+ version: 1.41.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-07-27 00:00:00.000000000 Z
11
+ date: 2022-10-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core