aws-sdk-globalaccelerator 1.23.0 → 1.24.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: 8229543138641374a275c6e1cd2d43bd872da5fad828b13e007a82ec663b3eae
4
- data.tar.gz: aca05867635639a359d489fe4146a48a9424becc44af1ef7702d4d3ccf9923e3
3
+ metadata.gz: 98bc6a701bfa10579b74d7e783c9f3913a21a9840f19c2fde23422acb443be53
4
+ data.tar.gz: d95cdb55da920a8e7ef8a781aacdf92b68382c0ba09356b4eb08b08c0e3bb499
5
5
  SHA512:
6
- metadata.gz: 914bd3df7311b03bb93699aabf819196241aaf2a3bcb7b54cffaa5a6bc222c542ea0c71dcfad8e0e57875ea0c951767be8e632597a60ec6dd2f106aae76c4fff
7
- data.tar.gz: 67cf386d140a9a903b7911af0fc6f56f0104fc7f91f92bfa03f5d044486d6af3455d2bb6b76566223498756119e8598ea56724369e09782abb18bec98f884574
6
+ metadata.gz: d9358b2379ac0289a92193a53e63658734c6e37cd4bf8c054bd71c9a690f922e9f0e1e4f8bb5bd574f68a1f36c13f611f1fe1522b324d2fc161a16b3d2b4833d
7
+ data.tar.gz: dc89393ca26cde38b5c8c8eaf4105c60fd5db0608ec63384ad4613c5cb7e82e041ebb8a3f01ca6f5a1cf0a9b72b1d46072f1fea7743805c18f9f953e72868ecd
@@ -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.23.0'
51
+ GEM_VERSION = '1.24.0'
52
52
 
53
53
  end
@@ -392,13 +392,9 @@ module Aws::GlobalAccelerator
392
392
  # Load Balancers. To see an AWS CLI example of creating an accelerator,
393
393
  # scroll down to **Example**.
394
394
  #
395
- # If you bring your own IP address ranges to AWS Global Accelerator
396
- # (BYOIP), you can assign IP addresses from your own pool to your
397
- # accelerator as the static IP address entry points. Only one IP address
398
- # from each of your IP address ranges can be used for each accelerator.
399
- #
400
- # You must specify the US West (Oregon) Region to create or update
401
- # accelerators.
395
+ # Global Accelerator is a global service that supports endpoints in
396
+ # multiple AWS Regions but you must specify the US West (Oregon) Region
397
+ # to create or update accelerators.
402
398
  #
403
399
  # @option params [required, String] :name
404
400
  # The name of an accelerator. The name can have a maximum of 32
@@ -410,13 +406,19 @@ module Aws::GlobalAccelerator
410
406
  #
411
407
  # @option params [Array<String>] :ip_addresses
412
408
  # Optionally, if you've added your own IP address pool to Global
413
- # Accelerator, you can choose IP addresses from your own pool to use for
414
- # the accelerator's static IP addresses. You can specify one or two
415
- # addresses, separated by a comma. Do not include the /32 suffix.
409
+ # Accelerator (BYOIP), you can choose IP addresses from your own pool to
410
+ # use for the accelerator's static IP addresses when you create an
411
+ # accelerator. You can specify one or two addresses, separated by a
412
+ # comma. Do not include the /32 suffix.
413
+ #
414
+ # Only one IP address from each of your IP address ranges can be used
415
+ # for each accelerator. If you specify only one IP address from your IP
416
+ # address range, Global Accelerator assigns a second static IP address
417
+ # for the accelerator from the AWS IP address pool.
416
418
  #
417
- # If you specify only one IP address from your IP address range, Global
418
- # Accelerator assigns a second static IP address for the accelerator
419
- # from the AWS IP address pool.
419
+ # Note that you can't update IP addresses for an existing accelerator.
420
+ # To change them, you must create a new accelerator with the new
421
+ # addresses.
420
422
  #
421
423
  # For more information, see [Bring Your Own IP Addresses (BYOIP)][1] in
422
424
  # the *AWS Global Accelerator Developer Guide*.
@@ -494,15 +496,18 @@ module Aws::GlobalAccelerator
494
496
  end
495
497
 
496
498
  # Create an endpoint group for the specified listener. An endpoint group
497
- # is a collection of endpoints in one AWS Region. To see an AWS CLI
498
- # example of creating an endpoint group, scroll down to **Example**.
499
+ # is a collection of endpoints in one AWS Region. A resource must be
500
+ # valid and active when you add it as an endpoint.
501
+ #
502
+ # To see an AWS CLI example of creating an endpoint group, scroll down
503
+ # to **Example**.
499
504
  #
500
505
  # @option params [required, String] :listener_arn
501
506
  # The Amazon Resource Name (ARN) of the listener.
502
507
  #
503
508
  # @option params [required, String] :endpoint_group_region
504
- # The name of the AWS Region where the endpoint group is located. A
505
- # listener can have only one endpoint group in a specific Region.
509
+ # The AWS Region where the endpoint group is located. A listener can
510
+ # have only one endpoint group in a specific Region.
506
511
  #
507
512
  # @option params [Array<Types::EndpointConfiguration>] :endpoint_configurations
508
513
  # The list of endpoint objects.
@@ -550,6 +555,20 @@ module Aws::GlobalAccelerator
550
555
  # **A suitable default value is auto-generated.** You should normally
551
556
  # not need to pass this option.**
552
557
  #
558
+ # @option params [Array<Types::PortOverride>] :port_overrides
559
+ # Override specific listener ports used to route traffic to endpoints
560
+ # that are part of this endpoint group. For example, you can create a
561
+ # port override in which the listener receives user traffic on ports 80
562
+ # and 443, but your accelerator routes that traffic to ports 1080 and
563
+ # 1443, respectively, on the endpoints.
564
+ #
565
+ # For more information, see [ Port overrides][1] in the *AWS Global
566
+ # Accelerator Developer Guide*.
567
+ #
568
+ #
569
+ #
570
+ # [1]: https://docs.aws.amazon.com/global-accelerator/latest/dg/about-endpoint-groups-port-override.html
571
+ #
553
572
  # @return [Types::CreateEndpointGroupResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
554
573
  #
555
574
  # * {Types::CreateEndpointGroupResponse#endpoint_group #endpoint_group} => Types::EndpointGroup
@@ -573,6 +592,12 @@ module Aws::GlobalAccelerator
573
592
  # health_check_interval_seconds: 1,
574
593
  # threshold_count: 1,
575
594
  # idempotency_token: "IdempotencyToken", # required
595
+ # port_overrides: [
596
+ # {
597
+ # listener_port: 1,
598
+ # endpoint_port: 1,
599
+ # },
600
+ # ],
576
601
  # })
577
602
  #
578
603
  # @example Response structure
@@ -591,6 +616,9 @@ module Aws::GlobalAccelerator
591
616
  # resp.endpoint_group.health_check_path #=> String
592
617
  # resp.endpoint_group.health_check_interval_seconds #=> Integer
593
618
  # resp.endpoint_group.threshold_count #=> Integer
619
+ # resp.endpoint_group.port_overrides #=> Array
620
+ # resp.endpoint_group.port_overrides[0].listener_port #=> Integer
621
+ # resp.endpoint_group.port_overrides[0].endpoint_port #=> Integer
594
622
  #
595
623
  # @see http://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/CreateEndpointGroup AWS API Documentation
596
624
  #
@@ -619,7 +647,7 @@ module Aws::GlobalAccelerator
619
647
  # @option params [String] :client_affinity
620
648
  # Client affinity lets you direct all requests from a user to the same
621
649
  # endpoint, if you have stateful applications, regardless of the port
622
- # and protocol of the client request. Clienty affinity gives you control
650
+ # and protocol of the client request. Client affinity gives you control
623
651
  # over whether to always route each client to the same specific
624
652
  # endpoint.
625
653
  #
@@ -927,6 +955,9 @@ module Aws::GlobalAccelerator
927
955
  # resp.endpoint_group.health_check_path #=> String
928
956
  # resp.endpoint_group.health_check_interval_seconds #=> Integer
929
957
  # resp.endpoint_group.threshold_count #=> Integer
958
+ # resp.endpoint_group.port_overrides #=> Array
959
+ # resp.endpoint_group.port_overrides[0].listener_port #=> Integer
960
+ # resp.endpoint_group.port_overrides[0].endpoint_port #=> Integer
930
961
  #
931
962
  # @see http://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/DescribeEndpointGroup AWS API Documentation
932
963
  #
@@ -1116,6 +1147,9 @@ module Aws::GlobalAccelerator
1116
1147
  # resp.endpoint_groups[0].health_check_path #=> String
1117
1148
  # resp.endpoint_groups[0].health_check_interval_seconds #=> Integer
1118
1149
  # resp.endpoint_groups[0].threshold_count #=> Integer
1150
+ # resp.endpoint_groups[0].port_overrides #=> Array
1151
+ # resp.endpoint_groups[0].port_overrides[0].listener_port #=> Integer
1152
+ # resp.endpoint_groups[0].port_overrides[0].endpoint_port #=> Integer
1119
1153
  # resp.next_token #=> String
1120
1154
  #
1121
1155
  # @see http://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/ListEndpointGroups AWS API Documentation
@@ -1354,8 +1388,9 @@ module Aws::GlobalAccelerator
1354
1388
  # Update an accelerator. To see an AWS CLI example of updating an
1355
1389
  # accelerator, scroll down to **Example**.
1356
1390
  #
1357
- # You must specify the US West (Oregon) Region to create or update
1358
- # accelerators.
1391
+ # Global Accelerator is a global service that supports endpoints in
1392
+ # multiple AWS Regions but you must specify the US West (Oregon) Region
1393
+ # to create or update accelerators.
1359
1394
  #
1360
1395
  # @option params [required, String] :accelerator_arn
1361
1396
  # The Amazon Resource Name (ARN) of the accelerator to update.
@@ -1477,14 +1512,18 @@ module Aws::GlobalAccelerator
1477
1512
  req.send_request(options)
1478
1513
  end
1479
1514
 
1480
- # Update an endpoint group. To see an AWS CLI example of updating an
1481
- # endpoint group, scroll down to **Example**.
1515
+ # Update an endpoint group. A resource must be valid and active when you
1516
+ # add it as an endpoint.
1517
+ #
1518
+ # To see an AWS CLI example of updating an endpoint group, scroll down
1519
+ # to **Example**.
1482
1520
  #
1483
1521
  # @option params [required, String] :endpoint_group_arn
1484
1522
  # The Amazon Resource Name (ARN) of the endpoint group.
1485
1523
  #
1486
1524
  # @option params [Array<Types::EndpointConfiguration>] :endpoint_configurations
1487
- # The list of endpoint objects.
1525
+ # The list of endpoint objects. A resource must be valid and active when
1526
+ # you add it as an endpoint.
1488
1527
  #
1489
1528
  # @option params [Float] :traffic_dial_percentage
1490
1529
  # The percentage of traffic to send to an AWS Region. Additional traffic
@@ -1522,6 +1561,20 @@ module Aws::GlobalAccelerator
1522
1561
  # healthy endpoint to unhealthy, or to set an unhealthy endpoint to
1523
1562
  # healthy. The default value is 3.
1524
1563
  #
1564
+ # @option params [Array<Types::PortOverride>] :port_overrides
1565
+ # Override specific listener ports used to route traffic to endpoints
1566
+ # that are part of this endpoint group. For example, you can create a
1567
+ # port override in which the listener receives user traffic on ports 80
1568
+ # and 443, but your accelerator routes that traffic to ports 1080 and
1569
+ # 1443, respectively, on the endpoints.
1570
+ #
1571
+ # For more information, see [ Port overrides][1] in the *AWS Global
1572
+ # Accelerator Developer Guide*.
1573
+ #
1574
+ #
1575
+ #
1576
+ # [1]: https://docs.aws.amazon.com/global-accelerator/latest/dg/about-endpoint-groups-port-override.html
1577
+ #
1525
1578
  # @return [Types::UpdateEndpointGroupResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1526
1579
  #
1527
1580
  # * {Types::UpdateEndpointGroupResponse#endpoint_group #endpoint_group} => Types::EndpointGroup
@@ -1543,6 +1596,12 @@ module Aws::GlobalAccelerator
1543
1596
  # health_check_path: "GenericString",
1544
1597
  # health_check_interval_seconds: 1,
1545
1598
  # threshold_count: 1,
1599
+ # port_overrides: [
1600
+ # {
1601
+ # listener_port: 1,
1602
+ # endpoint_port: 1,
1603
+ # },
1604
+ # ],
1546
1605
  # })
1547
1606
  #
1548
1607
  # @example Response structure
@@ -1561,6 +1620,9 @@ module Aws::GlobalAccelerator
1561
1620
  # resp.endpoint_group.health_check_path #=> String
1562
1621
  # resp.endpoint_group.health_check_interval_seconds #=> Integer
1563
1622
  # resp.endpoint_group.threshold_count #=> Integer
1623
+ # resp.endpoint_group.port_overrides #=> Array
1624
+ # resp.endpoint_group.port_overrides[0].listener_port #=> Integer
1625
+ # resp.endpoint_group.port_overrides[0].endpoint_port #=> Integer
1564
1626
  #
1565
1627
  # @see http://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/UpdateEndpointGroup AWS API Documentation
1566
1628
  #
@@ -1588,7 +1650,7 @@ module Aws::GlobalAccelerator
1588
1650
  # @option params [String] :client_affinity
1589
1651
  # Client affinity lets you direct all requests from a user to the same
1590
1652
  # endpoint, if you have stateful applications, regardless of the port
1591
- # and protocol of the client request. Clienty affinity gives you control
1653
+ # and protocol of the client request. Client affinity gives you control
1592
1654
  # over whether to always route each client to the same specific
1593
1655
  # endpoint.
1594
1656
  #
@@ -1705,7 +1767,7 @@ module Aws::GlobalAccelerator
1705
1767
  params: params,
1706
1768
  config: config)
1707
1769
  context[:gem_name] = 'aws-sdk-globalaccelerator'
1708
- context[:gem_version] = '1.23.0'
1770
+ context[:gem_version] = '1.24.0'
1709
1771
  Seahorse::Client::Request.new(handlers, context)
1710
1772
  end
1711
1773
 
@@ -94,6 +94,8 @@ module Aws::GlobalAccelerator
94
94
  Listeners = Shapes::ListShape.new(name: 'Listeners')
95
95
  MaxResults = Shapes::IntegerShape.new(name: 'MaxResults')
96
96
  PortNumber = Shapes::IntegerShape.new(name: 'PortNumber')
97
+ PortOverride = Shapes::StructureShape.new(name: 'PortOverride')
98
+ PortOverrides = Shapes::ListShape.new(name: 'PortOverrides')
97
99
  PortRange = Shapes::StructureShape.new(name: 'PortRange')
98
100
  PortRanges = Shapes::ListShape.new(name: 'PortRanges')
99
101
  Protocol = Shapes::StringShape.new(name: 'Protocol')
@@ -203,6 +205,7 @@ module Aws::GlobalAccelerator
203
205
  CreateEndpointGroupRequest.add_member(:health_check_interval_seconds, Shapes::ShapeRef.new(shape: HealthCheckIntervalSeconds, location_name: "HealthCheckIntervalSeconds"))
204
206
  CreateEndpointGroupRequest.add_member(:threshold_count, Shapes::ShapeRef.new(shape: ThresholdCount, location_name: "ThresholdCount"))
205
207
  CreateEndpointGroupRequest.add_member(:idempotency_token, Shapes::ShapeRef.new(shape: IdempotencyToken, required: true, location_name: "IdempotencyToken", metadata: {"idempotencyToken"=>true}))
208
+ CreateEndpointGroupRequest.add_member(:port_overrides, Shapes::ShapeRef.new(shape: PortOverrides, location_name: "PortOverrides"))
206
209
  CreateEndpointGroupRequest.struct_class = Types::CreateEndpointGroupRequest
207
210
 
208
211
  CreateEndpointGroupResponse.add_member(:endpoint_group, Shapes::ShapeRef.new(shape: EndpointGroup, location_name: "EndpointGroup"))
@@ -282,6 +285,7 @@ module Aws::GlobalAccelerator
282
285
  EndpointGroup.add_member(:health_check_path, Shapes::ShapeRef.new(shape: GenericString, location_name: "HealthCheckPath"))
283
286
  EndpointGroup.add_member(:health_check_interval_seconds, Shapes::ShapeRef.new(shape: HealthCheckIntervalSeconds, location_name: "HealthCheckIntervalSeconds"))
284
287
  EndpointGroup.add_member(:threshold_count, Shapes::ShapeRef.new(shape: ThresholdCount, location_name: "ThresholdCount"))
288
+ EndpointGroup.add_member(:port_overrides, Shapes::ShapeRef.new(shape: PortOverrides, location_name: "PortOverrides"))
285
289
  EndpointGroup.struct_class = Types::EndpointGroup
286
290
 
287
291
  EndpointGroupAlreadyExistsException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
@@ -369,6 +373,12 @@ module Aws::GlobalAccelerator
369
373
 
370
374
  Listeners.member = Shapes::ShapeRef.new(shape: Listener)
371
375
 
376
+ PortOverride.add_member(:listener_port, Shapes::ShapeRef.new(shape: PortNumber, location_name: "ListenerPort"))
377
+ PortOverride.add_member(:endpoint_port, Shapes::ShapeRef.new(shape: PortNumber, location_name: "EndpointPort"))
378
+ PortOverride.struct_class = Types::PortOverride
379
+
380
+ PortOverrides.member = Shapes::ShapeRef.new(shape: PortOverride)
381
+
372
382
  PortRange.add_member(:from_port, Shapes::ShapeRef.new(shape: PortNumber, location_name: "FromPort"))
373
383
  PortRange.add_member(:to_port, Shapes::ShapeRef.new(shape: PortNumber, location_name: "ToPort"))
374
384
  PortRange.struct_class = Types::PortRange
@@ -428,6 +438,7 @@ module Aws::GlobalAccelerator
428
438
  UpdateEndpointGroupRequest.add_member(:health_check_path, Shapes::ShapeRef.new(shape: GenericString, location_name: "HealthCheckPath"))
429
439
  UpdateEndpointGroupRequest.add_member(:health_check_interval_seconds, Shapes::ShapeRef.new(shape: HealthCheckIntervalSeconds, location_name: "HealthCheckIntervalSeconds"))
430
440
  UpdateEndpointGroupRequest.add_member(:threshold_count, Shapes::ShapeRef.new(shape: ThresholdCount, location_name: "ThresholdCount"))
441
+ UpdateEndpointGroupRequest.add_member(:port_overrides, Shapes::ShapeRef.new(shape: PortOverrides, location_name: "PortOverrides"))
431
442
  UpdateEndpointGroupRequest.struct_class = Types::UpdateEndpointGroupRequest
432
443
 
433
444
  UpdateEndpointGroupResponse.add_member(:endpoint_group, Shapes::ShapeRef.new(shape: EndpointGroup, location_name: "EndpointGroup"))
@@ -294,9 +294,8 @@ module Aws::GlobalAccelerator
294
294
  # @return [String]
295
295
  #
296
296
  # @!attribute [rw] events
297
- # A history of status changes for an IP address range that that you
298
- # bring to AWS Global Accelerator through bring your own IP address
299
- # (BYOIP).
297
+ # A history of status changes for an IP address range that you bring
298
+ # to AWS Global Accelerator through bring your own IP address (BYOIP).
300
299
  # @return [Array<Types::ByoipCidrEvent>]
301
300
  #
302
301
  # @see http://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/ByoipCidr AWS API Documentation
@@ -411,13 +410,19 @@ module Aws::GlobalAccelerator
411
410
  #
412
411
  # @!attribute [rw] ip_addresses
413
412
  # Optionally, if you've added your own IP address pool to Global
414
- # Accelerator, you can choose IP addresses from your own pool to use
415
- # for the accelerator's static IP addresses. You can specify one or
416
- # two addresses, separated by a comma. Do not include the /32 suffix.
413
+ # Accelerator (BYOIP), you can choose IP addresses from your own pool
414
+ # to use for the accelerator's static IP addresses when you create an
415
+ # accelerator. You can specify one or two addresses, separated by a
416
+ # comma. Do not include the /32 suffix.
417
417
  #
418
- # If you specify only one IP address from your IP address range,
419
- # Global Accelerator assigns a second static IP address for the
420
- # accelerator from the AWS IP address pool.
418
+ # Only one IP address from each of your IP address ranges can be used
419
+ # for each accelerator. If you specify only one IP address from your
420
+ # IP address range, Global Accelerator assigns a second static IP
421
+ # address for the accelerator from the AWS IP address pool.
422
+ #
423
+ # Note that you can't update IP addresses for an existing
424
+ # accelerator. To change them, you must create a new accelerator with
425
+ # the new addresses.
421
426
  #
422
427
  # For more information, see [Bring Your Own IP Addresses (BYOIP)][1]
423
428
  # in the *AWS Global Accelerator Developer Guide*.
@@ -500,6 +505,12 @@ module Aws::GlobalAccelerator
500
505
  # health_check_interval_seconds: 1,
501
506
  # threshold_count: 1,
502
507
  # idempotency_token: "IdempotencyToken", # required
508
+ # port_overrides: [
509
+ # {
510
+ # listener_port: 1,
511
+ # endpoint_port: 1,
512
+ # },
513
+ # ],
503
514
  # }
504
515
  #
505
516
  # @!attribute [rw] listener_arn
@@ -507,8 +518,8 @@ module Aws::GlobalAccelerator
507
518
  # @return [String]
508
519
  #
509
520
  # @!attribute [rw] endpoint_group_region
510
- # The name of the AWS Region where the endpoint group is located. A
511
- # listener can have only one endpoint group in a specific Region.
521
+ # The AWS Region where the endpoint group is located. A listener can
522
+ # have only one endpoint group in a specific Region.
512
523
  # @return [String]
513
524
  #
514
525
  # @!attribute [rw] endpoint_configurations
@@ -566,6 +577,21 @@ module Aws::GlobalAccelerator
566
577
  # not need to pass this option.
567
578
  # @return [String]
568
579
  #
580
+ # @!attribute [rw] port_overrides
581
+ # Override specific listener ports used to route traffic to endpoints
582
+ # that are part of this endpoint group. For example, you can create a
583
+ # port override in which the listener receives user traffic on ports
584
+ # 80 and 443, but your accelerator routes that traffic to ports 1080
585
+ # and 1443, respectively, on the endpoints.
586
+ #
587
+ # For more information, see [ Port overrides][1] in the *AWS Global
588
+ # Accelerator Developer Guide*.
589
+ #
590
+ #
591
+ #
592
+ # [1]: https://docs.aws.amazon.com/global-accelerator/latest/dg/about-endpoint-groups-port-override.html
593
+ # @return [Array<Types::PortOverride>]
594
+ #
569
595
  # @see http://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/CreateEndpointGroupRequest AWS API Documentation
570
596
  #
571
597
  class CreateEndpointGroupRequest < Struct.new(
@@ -578,7 +604,8 @@ module Aws::GlobalAccelerator
578
604
  :health_check_path,
579
605
  :health_check_interval_seconds,
580
606
  :threshold_count,
581
- :idempotency_token)
607
+ :idempotency_token,
608
+ :port_overrides)
582
609
  SENSITIVE = []
583
610
  include Aws::Structure
584
611
  end
@@ -627,7 +654,7 @@ module Aws::GlobalAccelerator
627
654
  # @!attribute [rw] client_affinity
628
655
  # Client affinity lets you direct all requests from a user to the same
629
656
  # endpoint, if you have stateful applications, regardless of the port
630
- # and protocol of the client request. Clienty affinity gives you
657
+ # and protocol of the client request. Client affinity gives you
631
658
  # control over whether to always route each client to the same
632
659
  # specific endpoint.
633
660
  #
@@ -896,7 +923,8 @@ module Aws::GlobalAccelerator
896
923
  include Aws::Structure
897
924
  end
898
925
 
899
- # A complex type for endpoints.
926
+ # A complex type for endpoints. A resource must be valid and active when
927
+ # you add it as an endpoint.
900
928
  #
901
929
  # @note When making an API call, you may pass EndpointConfiguration
902
930
  # data as a hash:
@@ -911,8 +939,9 @@ module Aws::GlobalAccelerator
911
939
  # An ID for the endpoint. If the endpoint is a Network Load Balancer
912
940
  # or Application Load Balancer, this is the Amazon Resource Name (ARN)
913
941
  # of the resource. If the endpoint is an Elastic IP address, this is
914
- # the Elastic IP address allocation ID. For EC2 instances, this is the
915
- # EC2 instance ID.
942
+ # the Elastic IP address allocation ID. For Amazon EC2 instances, this
943
+ # is the EC2 instance ID. A resource must be valid and active when you
944
+ # add it as an endpoint.
916
945
  #
917
946
  # An Application Load Balancer can be either internal or
918
947
  # internet-facing.
@@ -1060,7 +1089,7 @@ module Aws::GlobalAccelerator
1060
1089
  # @return [String]
1061
1090
  #
1062
1091
  # @!attribute [rw] endpoint_group_region
1063
- # The AWS Region that this endpoint group belongs.
1092
+ # The AWS Region where the endpoint group is located.
1064
1093
  # @return [String]
1065
1094
  #
1066
1095
  # @!attribute [rw] endpoint_descriptions
@@ -1111,6 +1140,14 @@ module Aws::GlobalAccelerator
1111
1140
  # healthy. The default value is 3.
1112
1141
  # @return [Integer]
1113
1142
  #
1143
+ # @!attribute [rw] port_overrides
1144
+ # Allows you to override the destination ports used to route traffic
1145
+ # to an endpoint. Using a port override lets you to map a list of
1146
+ # external destination ports (that your users send traffic to) to a
1147
+ # list of internal destination ports that you want an application
1148
+ # endpoint to receive traffic on.
1149
+ # @return [Array<Types::PortOverride>]
1150
+ #
1114
1151
  # @see http://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/EndpointGroup AWS API Documentation
1115
1152
  #
1116
1153
  class EndpointGroup < Struct.new(
@@ -1122,7 +1159,8 @@ module Aws::GlobalAccelerator
1122
1159
  :health_check_protocol,
1123
1160
  :health_check_path,
1124
1161
  :health_check_interval_seconds,
1125
- :threshold_count)
1162
+ :threshold_count,
1163
+ :port_overrides)
1126
1164
  SENSITIVE = []
1127
1165
  include Aws::Structure
1128
1166
  end
@@ -1496,7 +1534,7 @@ module Aws::GlobalAccelerator
1496
1534
  # @!attribute [rw] client_affinity
1497
1535
  # Client affinity lets you direct all requests from a user to the same
1498
1536
  # endpoint, if you have stateful applications, regardless of the port
1499
- # and protocol of the client request. Clienty affinity gives you
1537
+ # and protocol of the client request. Client affinity gives you
1500
1538
  # control over whether to always route each client to the same
1501
1539
  # specific endpoint.
1502
1540
  #
@@ -1543,6 +1581,48 @@ module Aws::GlobalAccelerator
1543
1581
  include Aws::Structure
1544
1582
  end
1545
1583
 
1584
+ # Override specific listener ports used to route traffic to endpoints
1585
+ # that are part of an endpoint group. For example, you can create a port
1586
+ # override in which the listener receives user traffic on ports 80 and
1587
+ # 443, but your accelerator routes that traffic to ports 1080 and 1443,
1588
+ # respectively, on the endpoints.
1589
+ #
1590
+ # For more information, see [ Port overrides][1] in the *AWS Global
1591
+ # Accelerator Developer Guide*.
1592
+ #
1593
+ #
1594
+ #
1595
+ # [1]: https://docs.aws.amazon.com/global-accelerator/latest/dg/about-endpoint-groups-port-override.html
1596
+ #
1597
+ # @note When making an API call, you may pass PortOverride
1598
+ # data as a hash:
1599
+ #
1600
+ # {
1601
+ # listener_port: 1,
1602
+ # endpoint_port: 1,
1603
+ # }
1604
+ #
1605
+ # @!attribute [rw] listener_port
1606
+ # The listener port that you want to map to a specific endpoint port.
1607
+ # This is the port that user traffic arrives to the Global Accelerator
1608
+ # on.
1609
+ # @return [Integer]
1610
+ #
1611
+ # @!attribute [rw] endpoint_port
1612
+ # The endpoint port that you want a listener port to be mapped to.
1613
+ # This is the port on the endpoint, such as the Application Load
1614
+ # Balancer or Amazon EC2 instance.
1615
+ # @return [Integer]
1616
+ #
1617
+ # @see http://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/PortOverride AWS API Documentation
1618
+ #
1619
+ class PortOverride < Struct.new(
1620
+ :listener_port,
1621
+ :endpoint_port)
1622
+ SENSITIVE = []
1623
+ include Aws::Structure
1624
+ end
1625
+
1546
1626
  # A complex type for a range of ports for a listener.
1547
1627
  #
1548
1628
  # @note When making an API call, you may pass PortRange
@@ -1851,6 +1931,12 @@ module Aws::GlobalAccelerator
1851
1931
  # health_check_path: "GenericString",
1852
1932
  # health_check_interval_seconds: 1,
1853
1933
  # threshold_count: 1,
1934
+ # port_overrides: [
1935
+ # {
1936
+ # listener_port: 1,
1937
+ # endpoint_port: 1,
1938
+ # },
1939
+ # ],
1854
1940
  # }
1855
1941
  #
1856
1942
  # @!attribute [rw] endpoint_group_arn
@@ -1858,7 +1944,8 @@ module Aws::GlobalAccelerator
1858
1944
  # @return [String]
1859
1945
  #
1860
1946
  # @!attribute [rw] endpoint_configurations
1861
- # The list of endpoint objects.
1947
+ # The list of endpoint objects. A resource must be valid and active
1948
+ # when you add it as an endpoint.
1862
1949
  # @return [Array<Types::EndpointConfiguration>]
1863
1950
  #
1864
1951
  # @!attribute [rw] traffic_dial_percentage
@@ -1904,6 +1991,21 @@ module Aws::GlobalAccelerator
1904
1991
  # healthy. The default value is 3.
1905
1992
  # @return [Integer]
1906
1993
  #
1994
+ # @!attribute [rw] port_overrides
1995
+ # Override specific listener ports used to route traffic to endpoints
1996
+ # that are part of this endpoint group. For example, you can create a
1997
+ # port override in which the listener receives user traffic on ports
1998
+ # 80 and 443, but your accelerator routes that traffic to ports 1080
1999
+ # and 1443, respectively, on the endpoints.
2000
+ #
2001
+ # For more information, see [ Port overrides][1] in the *AWS Global
2002
+ # Accelerator Developer Guide*.
2003
+ #
2004
+ #
2005
+ #
2006
+ # [1]: https://docs.aws.amazon.com/global-accelerator/latest/dg/about-endpoint-groups-port-override.html
2007
+ # @return [Array<Types::PortOverride>]
2008
+ #
1907
2009
  # @see http://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/UpdateEndpointGroupRequest AWS API Documentation
1908
2010
  #
1909
2011
  class UpdateEndpointGroupRequest < Struct.new(
@@ -1914,7 +2016,8 @@ module Aws::GlobalAccelerator
1914
2016
  :health_check_protocol,
1915
2017
  :health_check_path,
1916
2018
  :health_check_interval_seconds,
1917
- :threshold_count)
2019
+ :threshold_count,
2020
+ :port_overrides)
1918
2021
  SENSITIVE = []
1919
2022
  include Aws::Structure
1920
2023
  end
@@ -1963,7 +2066,7 @@ module Aws::GlobalAccelerator
1963
2066
  # @!attribute [rw] client_affinity
1964
2067
  # Client affinity lets you direct all requests from a user to the same
1965
2068
  # endpoint, if you have stateful applications, regardless of the port
1966
- # and protocol of the client request. Clienty affinity gives you
2069
+ # and protocol of the client request. Client affinity gives you
1967
2070
  # control over whether to always route each client to the same
1968
2071
  # specific endpoint.
1969
2072
  #
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.23.0
4
+ version: 1.24.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: 2020-09-30 00:00:00.000000000 Z
11
+ date: 2020-10-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core