aws-sdk-globalaccelerator 1.48.0 → 1.50.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-globalaccelerator/client.rb +41 -10
- data/lib/aws-sdk-globalaccelerator/endpoint_provider.rb +27 -24
- data/lib/aws-sdk-globalaccelerator/types.rb +8 -4
- data/lib/aws-sdk-globalaccelerator.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 87421a31d47b363af48f190196fa45790d8a87938934a6f00562d1ad9ddcbbdc
|
4
|
+
data.tar.gz: f77945c34a6a5ffaec3e6e5cb61af8a409280979c2ac52bc936a6929df4bbd88
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 645e9ec7b5a12cc2e0c7da534ab55312aa9ca0ea210049940371b565b53c287cbe7df8d3008d90b76362494e961dd7f771b95a5b68be515e6d0d10292f1e78a0
|
7
|
+
data.tar.gz: 01d1be9d2bf1deedee424587297f7fe0054133fb33a52a322fa2e5f9ddddb26000dceedad2d77dde7779007ba8b2642a0cc280db262ba2310dcbd3dc48860d44
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.50.0 (2023-08-22)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Global Accelerator now supports Client Ip Preservation for Network Load Balancer endpoints.
|
8
|
+
|
9
|
+
1.49.0 (2023-08-09)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Documentation update for dualstack EC2 endpoint support
|
13
|
+
|
4
14
|
1.48.0 (2023-07-11)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.50.0
|
@@ -464,19 +464,26 @@ module Aws::GlobalAccelerator
|
|
464
464
|
# the [CreateEndpointGroup][1] API) or when you update an endpoint group
|
465
465
|
# (with the [UpdateEndpointGroup][2] API).
|
466
466
|
#
|
467
|
-
# There are two advantages to using `AddEndpoints` to add endpoints
|
467
|
+
# There are two advantages to using `AddEndpoints` to add endpoints in
|
468
|
+
# Global Accelerator:
|
468
469
|
#
|
469
470
|
# * It's faster, because Global Accelerator only has to resolve the new
|
470
|
-
# endpoints that you're adding
|
471
|
+
# endpoints that you're adding, rather than resolving new and
|
472
|
+
# existing endpoints.
|
471
473
|
#
|
472
|
-
# * It's more convenient, because you don't need to specify
|
473
|
-
# current endpoints that are already in the endpoint group in
|
474
|
-
# to the new endpoints that you want to add.
|
474
|
+
# * It's more convenient, because you don't need to specify the
|
475
|
+
# current endpoints that are already in the endpoint group, in
|
476
|
+
# addition to the new endpoints that you want to add.
|
477
|
+
#
|
478
|
+
# For information about endpoint types and requirements for endpoints
|
479
|
+
# that you can add to Global Accelerator, see [ Endpoints for standard
|
480
|
+
# accelerators][3] in the *Global Accelerator Developer Guide*.
|
475
481
|
#
|
476
482
|
#
|
477
483
|
#
|
478
484
|
# [1]: https://docs.aws.amazon.com/global-accelerator/latest/api/API_CreateEndpointGroup.html
|
479
485
|
# [2]: https://docs.aws.amazon.com/global-accelerator/latest/api/API_UpdateEndpointGroup.html
|
486
|
+
# [3]: https://docs.aws.amazon.com/global-accelerator/latest/dg/about-endpoints.html
|
480
487
|
#
|
481
488
|
# @option params [required, Array<Types::EndpointConfiguration>] :endpoint_configurations
|
482
489
|
# The list of endpoint objects.
|
@@ -649,7 +656,7 @@ module Aws::GlobalAccelerator
|
|
649
656
|
# multiple Amazon Web Services Regions but you must specify the US West
|
650
657
|
# (Oregon) Region to create, update, or otherwise work with
|
651
658
|
# accelerators. That is, for example, specify `--region us-west-2` on
|
652
|
-
#
|
659
|
+
# Amazon Web Services CLI commands.
|
653
660
|
#
|
654
661
|
# @option params [required, String] :name
|
655
662
|
# The name of the accelerator. The name can have a maximum of 64
|
@@ -776,7 +783,7 @@ module Aws::GlobalAccelerator
|
|
776
783
|
# multiple Amazon Web Services Regions but you must specify the US West
|
777
784
|
# (Oregon) Region to create, update, or otherwise work with
|
778
785
|
# accelerators. That is, for example, specify `--region us-west-2` on
|
779
|
-
#
|
786
|
+
# Amazon Web Services CLI commands.
|
780
787
|
#
|
781
788
|
#
|
782
789
|
#
|
@@ -1016,6 +1023,14 @@ module Aws::GlobalAccelerator
|
|
1016
1023
|
# is a collection of endpoints in one Amazon Web Services Region. A
|
1017
1024
|
# resource must be valid and active when you add it as an endpoint.
|
1018
1025
|
#
|
1026
|
+
# For more information about endpoint types and requirements for
|
1027
|
+
# endpoints that you can add to Global Accelerator, see [ Endpoints for
|
1028
|
+
# standard accelerators][1] in the *Global Accelerator Developer Guide*.
|
1029
|
+
#
|
1030
|
+
#
|
1031
|
+
#
|
1032
|
+
# [1]: https://docs.aws.amazon.com/global-accelerator/latest/dg/about-endpoints.html
|
1033
|
+
#
|
1019
1034
|
# @option params [required, String] :listener_arn
|
1020
1035
|
# The Amazon Resource Name (ARN) of the listener.
|
1021
1036
|
#
|
@@ -2554,13 +2569,29 @@ module Aws::GlobalAccelerator
|
|
2554
2569
|
req.send_request(options)
|
2555
2570
|
end
|
2556
2571
|
|
2557
|
-
# Update an accelerator
|
2572
|
+
# Update an accelerator to make changes, such as the following:
|
2573
|
+
#
|
2574
|
+
# * Change the name of the accelerator.
|
2575
|
+
#
|
2576
|
+
# * Disable the accelerator so that it no longer accepts or routes
|
2577
|
+
# traffic, or so that you can delete it.
|
2578
|
+
#
|
2579
|
+
# * Enable the accelerator, if it is disabled.
|
2580
|
+
#
|
2581
|
+
# * Change the IP address type to dual-stack if it is IPv4, or change
|
2582
|
+
# the IP address type to IPv4 if it's dual-stack.
|
2583
|
+
#
|
2584
|
+
# Be aware that static IP addresses remain assigned to your accelerator
|
2585
|
+
# for as long as it exists, even if you disable the accelerator and it
|
2586
|
+
# no longer accepts or routes traffic. However, when you delete the
|
2587
|
+
# accelerator, you lose the static IP addresses that are assigned to it,
|
2588
|
+
# so you can no longer route traffic by using them.
|
2558
2589
|
#
|
2559
2590
|
# Global Accelerator is a global service that supports endpoints in
|
2560
2591
|
# multiple Amazon Web Services Regions but you must specify the US West
|
2561
2592
|
# (Oregon) Region to create, update, or otherwise work with
|
2562
2593
|
# accelerators. That is, for example, specify `--region us-west-2` on
|
2563
|
-
#
|
2594
|
+
# Amazon Web Services CLI commands.
|
2564
2595
|
#
|
2565
2596
|
# @option params [required, String] :accelerator_arn
|
2566
2597
|
# The Amazon Resource Name (ARN) of the accelerator to update.
|
@@ -3104,7 +3135,7 @@ module Aws::GlobalAccelerator
|
|
3104
3135
|
params: params,
|
3105
3136
|
config: config)
|
3106
3137
|
context[:gem_name] = 'aws-sdk-globalaccelerator'
|
3107
|
-
context[:gem_version] = '1.
|
3138
|
+
context[:gem_version] = '1.50.0'
|
3108
3139
|
Seahorse::Client::Request.new(handlers, context)
|
3109
3140
|
end
|
3110
3141
|
|
@@ -14,36 +14,39 @@ module Aws::GlobalAccelerator
|
|
14
14
|
use_dual_stack = parameters.use_dual_stack
|
15
15
|
use_fips = parameters.use_fips
|
16
16
|
endpoint = parameters.endpoint
|
17
|
-
if
|
18
|
-
if Aws::Endpoints::Matchers.set?(endpoint) && (url = Aws::Endpoints::Matchers.parse_url(endpoint))
|
19
|
-
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
|
20
|
-
raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
|
21
|
-
end
|
22
|
-
if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
23
|
-
raise ArgumentError, "Invalid Configuration: Dualstack and custom endpoint are not supported"
|
24
|
-
end
|
25
|
-
return Aws::Endpoints::Endpoint.new(url: endpoint, headers: {}, properties: {})
|
26
|
-
end
|
27
|
-
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
28
|
-
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS")) && Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
|
29
|
-
return Aws::Endpoints::Endpoint.new(url: "https://globalaccelerator-fips.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
|
30
|
-
end
|
31
|
-
raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
|
32
|
-
end
|
17
|
+
if Aws::Endpoints::Matchers.set?(endpoint)
|
33
18
|
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
|
34
|
-
|
35
|
-
return Aws::Endpoints::Endpoint.new(url: "https://globalaccelerator-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
36
|
-
end
|
37
|
-
raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
|
19
|
+
raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
|
38
20
|
end
|
39
21
|
if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
40
|
-
|
41
|
-
|
22
|
+
raise ArgumentError, "Invalid Configuration: Dualstack and custom endpoint are not supported"
|
23
|
+
end
|
24
|
+
return Aws::Endpoints::Endpoint.new(url: endpoint, headers: {}, properties: {})
|
25
|
+
end
|
26
|
+
if Aws::Endpoints::Matchers.set?(region)
|
27
|
+
if (partition_result = Aws::Endpoints::Matchers.aws_partition(region))
|
28
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
29
|
+
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS")) && Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
|
30
|
+
return Aws::Endpoints::Endpoint.new(url: "https://globalaccelerator-fips.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
|
31
|
+
end
|
32
|
+
raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
|
33
|
+
end
|
34
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
|
35
|
+
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
|
36
|
+
return Aws::Endpoints::Endpoint.new(url: "https://globalaccelerator-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
37
|
+
end
|
38
|
+
raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
|
39
|
+
end
|
40
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
41
|
+
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
|
42
|
+
return Aws::Endpoints::Endpoint.new(url: "https://globalaccelerator.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
|
43
|
+
end
|
44
|
+
raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
|
42
45
|
end
|
43
|
-
|
46
|
+
return Aws::Endpoints::Endpoint.new(url: "https://globalaccelerator.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
44
47
|
end
|
45
|
-
return Aws::Endpoints::Endpoint.new(url: "https://globalaccelerator.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
46
48
|
end
|
49
|
+
raise ArgumentError, "Invalid Configuration: Missing Region"
|
47
50
|
raise ArgumentError, 'No endpoint could be resolved'
|
48
51
|
|
49
52
|
end
|
@@ -1761,8 +1761,10 @@ module Aws::GlobalAccelerator
|
|
1761
1761
|
# applications on the endpoint fronted by the accelerator.
|
1762
1762
|
#
|
1763
1763
|
# Client IP address preservation is supported, in specific Amazon Web
|
1764
|
-
# Services Regions, for endpoints that are Application Load Balancers
|
1765
|
-
#
|
1764
|
+
# Services Regions, for endpoints that are Application Load Balancers,
|
1765
|
+
# Amazon EC2 instances, and Network Load Balancers with Security
|
1766
|
+
# Groups. IMPORTANT: You cannot use client IP address preservation
|
1767
|
+
# with Network Load Balancers with TLS listeners.
|
1766
1768
|
#
|
1767
1769
|
# For more information, see [ Preserve client IP addresses in Global
|
1768
1770
|
# Accelerator][1] in the *Global Accelerator Developer Guide*.
|
@@ -1829,8 +1831,10 @@ module Aws::GlobalAccelerator
|
|
1829
1831
|
# applications on the endpoint fronted by the accelerator.
|
1830
1832
|
#
|
1831
1833
|
# Client IP address preservation is supported, in specific Amazon Web
|
1832
|
-
# Services Regions, for endpoints that are Application Load Balancers
|
1833
|
-
#
|
1834
|
+
# Services Regions, for endpoints that are Application Load Balancers,
|
1835
|
+
# Amazon EC2 instances, and Network Load Balancers with Security
|
1836
|
+
# Groups. IMPORTANT: You cannot use client IP address preservation
|
1837
|
+
# with Network Load Balancers with TLS listeners.
|
1834
1838
|
#
|
1835
1839
|
# For more information, see [ Preserve client IP addresses in Global
|
1836
1840
|
# Accelerator][1] in the *Global Accelerator Developer Guide*.
|
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.
|
4
|
+
version: 1.50.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: 2023-
|
11
|
+
date: 2023-08-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|