aws-sdk-globalaccelerator 1.47.0 → 1.49.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: 8f624c21f37300c3c86469c8a35fdf7f0c1a1fe6cbbde15f0bdfb3b8f6ce64a6
4
- data.tar.gz: 9a85dc221ad909ac3fe1a0ccd08523e8e9d52ba295c405c4d0b53d0907155fc9
3
+ metadata.gz: 0b027e38e260d780acdde9e5b115adda9161bc546bd1d334738965c74ff77e40
4
+ data.tar.gz: 7d2a26e1dd9a97dea12d9d60a67da15e1d5779df009955d1047b4b7c41bec8cd
5
5
  SHA512:
6
- metadata.gz: efebbc4695d35c18587ea8e1382331364d3f196a0e3d56d685ef13a15d5af512468774be1a5f57a1101c37605279d4170f740d5ff956fff93e97910072e497eb
7
- data.tar.gz: a76aecc42052dbda58595635b477b2ccfaf54a82cc637bb334d6ae0455572f16f10f10939b37e6362c05925ef61bafd770c1757e049add74cd7aa4338f810ff2
6
+ metadata.gz: 10d1ae4b2d2d894b8482ad786cf05f7d3545f4fa07c363c3578c5df6c48a78589948941dea5c084c382334101e17981c999d2234ed5d667bfb91f9b2e00c5fae
7
+ data.tar.gz: af6ad0ae3063a59e3be792d274ccb9f4869d7f43c47ef839e73fd27e85f32a0b1175dbc41f6a1477f7126b14c303edf3772f28cbb2bbee62d708629a99e9f543
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.49.0 (2023-08-09)
5
+ ------------------
6
+
7
+ * Feature - Documentation update for dualstack EC2 endpoint support
8
+
9
+ 1.48.0 (2023-07-11)
10
+ ------------------
11
+
12
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
13
+
4
14
  1.47.0 (2023-07-06)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.47.0
1
+ 1.49.0
@@ -216,6 +216,10 @@ module Aws::GlobalAccelerator
216
216
  # @option options [Boolean] :endpoint_discovery (false)
217
217
  # When set to `true`, endpoint discovery will be enabled for operations when available.
218
218
  #
219
+ # @option options [Boolean] :ignore_configured_endpoint_urls
220
+ # Setting to true disables use of endpoint URLs provided via environment
221
+ # variables and the shared configuration file.
222
+ #
219
223
  # @option options [Aws::Log::Formatter] :log_formatter (Aws::Log::Formatter.default)
220
224
  # The log formatter.
221
225
  #
@@ -460,19 +464,26 @@ module Aws::GlobalAccelerator
460
464
  # the [CreateEndpointGroup][1] API) or when you update an endpoint group
461
465
  # (with the [UpdateEndpointGroup][2] API).
462
466
  #
463
- # 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:
464
469
  #
465
470
  # * It's faster, because Global Accelerator only has to resolve the new
466
- # endpoints that you're adding.
471
+ # endpoints that you're adding, rather than resolving new and
472
+ # existing endpoints.
473
+ #
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.
467
477
  #
468
- # * It's more convenient, because you don't need to specify all of the
469
- # current endpoints that are already in the endpoint group in addition
470
- # to the new endpoints that you want to add.
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*.
471
481
  #
472
482
  #
473
483
  #
474
484
  # [1]: https://docs.aws.amazon.com/global-accelerator/latest/api/API_CreateEndpointGroup.html
475
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
476
487
  #
477
488
  # @option params [required, Array<Types::EndpointConfiguration>] :endpoint_configurations
478
489
  # The list of endpoint objects.
@@ -645,7 +656,7 @@ module Aws::GlobalAccelerator
645
656
  # multiple Amazon Web Services Regions but you must specify the US West
646
657
  # (Oregon) Region to create, update, or otherwise work with
647
658
  # accelerators. That is, for example, specify `--region us-west-2` on
648
- # AWS CLI commands.
659
+ # Amazon Web Services CLI commands.
649
660
  #
650
661
  # @option params [required, String] :name
651
662
  # The name of the accelerator. The name can have a maximum of 64
@@ -772,7 +783,7 @@ module Aws::GlobalAccelerator
772
783
  # multiple Amazon Web Services Regions but you must specify the US West
773
784
  # (Oregon) Region to create, update, or otherwise work with
774
785
  # accelerators. That is, for example, specify `--region us-west-2` on
775
- # AWS CLI commands.
786
+ # Amazon Web Services CLI commands.
776
787
  #
777
788
  #
778
789
  #
@@ -1012,6 +1023,14 @@ module Aws::GlobalAccelerator
1012
1023
  # is a collection of endpoints in one Amazon Web Services Region. A
1013
1024
  # resource must be valid and active when you add it as an endpoint.
1014
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
+ #
1015
1034
  # @option params [required, String] :listener_arn
1016
1035
  # The Amazon Resource Name (ARN) of the listener.
1017
1036
  #
@@ -2550,13 +2569,29 @@ module Aws::GlobalAccelerator
2550
2569
  req.send_request(options)
2551
2570
  end
2552
2571
 
2553
- # 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.
2554
2589
  #
2555
2590
  # Global Accelerator is a global service that supports endpoints in
2556
2591
  # multiple Amazon Web Services Regions but you must specify the US West
2557
2592
  # (Oregon) Region to create, update, or otherwise work with
2558
2593
  # accelerators. That is, for example, specify `--region us-west-2` on
2559
- # AWS CLI commands.
2594
+ # Amazon Web Services CLI commands.
2560
2595
  #
2561
2596
  # @option params [required, String] :accelerator_arn
2562
2597
  # The Amazon Resource Name (ARN) of the accelerator to update.
@@ -3100,7 +3135,7 @@ module Aws::GlobalAccelerator
3100
3135
  params: params,
3101
3136
  config: config)
3102
3137
  context[:gem_name] = 'aws-sdk-globalaccelerator'
3103
- context[:gem_version] = '1.47.0'
3138
+ context[:gem_version] = '1.49.0'
3104
3139
  Seahorse::Client::Request.new(handlers, context)
3105
3140
  end
3106
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 (partition_result = Aws::Endpoints::Matchers.aws_partition(region))
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
- if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
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
- if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
41
- return Aws::Endpoints::Endpoint.new(url: "https://globalaccelerator.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
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
- raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
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
@@ -52,6 +52,6 @@ require_relative 'aws-sdk-globalaccelerator/customizations'
52
52
  # @!group service
53
53
  module Aws::GlobalAccelerator
54
54
 
55
- GEM_VERSION = '1.47.0'
55
+ GEM_VERSION = '1.49.0'
56
56
 
57
57
  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.47.0
4
+ version: 1.49.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-07-06 00:00:00.000000000 Z
11
+ date: 2023-08-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core