aws-sdk-networkmanager 1.60.0 → 1.61.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: d32796363cc051802fbf9a02d1803f0d325e55c62449bc9e945eef588f7ac3bd
4
- data.tar.gz: a5329f7d43ed50e40c06cd9961db35884d7d9fc1b418f3da0dfacc0afa7ab8f1
3
+ metadata.gz: 3a121965d576d49f8a6379cd43989632c0010a47b84353a148c133ccc12d18e4
4
+ data.tar.gz: f3766e496a1af11fc446c972617de25a8b68715fb737d4a9038dd26cce831eed
5
5
  SHA512:
6
- metadata.gz: 1e54125dbd7deaed1ad3ffd0842cddc4f0cc03eda640c4dddb7c6becb43c217e9f8263e13dcf266845c3d60c6fb0d1ed7e488d22105e4eecd3ac00345e3acb01
7
- data.tar.gz: 8dc8aaf1da59e5fb7649247a4ec751467a83e749144c21e0ab3e5f1110e8a2048c60cf32c75789f2c63bf00a9639b389fefab2be12ea482934f16ad4a059b932
6
+ metadata.gz: 2ec1c67583aa9a9afef704e764a41466808993f040290c080fd18ef2ce2eef4c034e355d1531fb0b9c2ccbb27841d49e98fdd5dbf74eb1987453e3212e866283
7
+ data.tar.gz: 7e62b4e20c30646441f50a97b6bf9347ef085903d592e72f18bd685f18c4b553a8ca26199ec58ca5e28c1d5173c927a88e2cdaf4014fc0f5b3d9827871aa515b
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.61.0 (2025-03-28)
5
+ ------------------
6
+
7
+ * Feature - Add support for NetworkManager Dualstack endpoints.
8
+
4
9
  1.60.0 (2025-02-18)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.60.0
1
+ 1.61.0
@@ -5746,7 +5746,7 @@ module Aws::NetworkManager
5746
5746
  tracer: tracer
5747
5747
  )
5748
5748
  context[:gem_name] = 'aws-sdk-networkmanager'
5749
- context[:gem_version] = '1.60.0'
5749
+ context[:gem_version] = '1.61.0'
5750
5750
  Seahorse::Client::Request.new(handlers, context)
5751
5751
  end
5752
5752
 
@@ -10,11 +10,6 @@
10
10
  module Aws::NetworkManager
11
11
  # Endpoint parameters used to influence endpoints per request.
12
12
  #
13
- # @!attribute region
14
- # The AWS region used to dispatch the request.
15
- #
16
- # @return [String]
17
- #
18
13
  # @!attribute use_dual_stack
19
14
  # When true, use the dual-stack endpoint. If the configured endpoint does not support dual-stack, dispatching the request MAY return an error.
20
15
  #
@@ -30,39 +25,44 @@ module Aws::NetworkManager
30
25
  #
31
26
  # @return [String]
32
27
  #
28
+ # @!attribute region
29
+ # The AWS region used to dispatch the request.
30
+ #
31
+ # @return [String]
32
+ #
33
33
  EndpointParameters = Struct.new(
34
- :region,
35
34
  :use_dual_stack,
36
35
  :use_fips,
37
36
  :endpoint,
37
+ :region,
38
38
  ) do
39
39
  include Aws::Structure
40
40
 
41
41
  # @api private
42
42
  class << self
43
43
  PARAM_MAP = {
44
- 'Region' => :region,
45
44
  'UseDualStack' => :use_dual_stack,
46
45
  'UseFIPS' => :use_fips,
47
46
  'Endpoint' => :endpoint,
47
+ 'Region' => :region,
48
48
  }.freeze
49
49
  end
50
50
 
51
51
  def initialize(options = {})
52
- self[:region] = options[:region]
53
52
  self[:use_dual_stack] = options[:use_dual_stack]
54
53
  self[:use_dual_stack] = false if self[:use_dual_stack].nil?
55
54
  self[:use_fips] = options[:use_fips]
56
55
  self[:use_fips] = false if self[:use_fips].nil?
57
56
  self[:endpoint] = options[:endpoint]
57
+ self[:region] = options[:region]
58
58
  end
59
59
 
60
60
  def self.create(config, options={})
61
61
  new({
62
- region: config.region,
63
62
  use_dual_stack: config.use_dualstack_endpoint,
64
63
  use_fips: config.use_fips_endpoint,
65
64
  endpoint: (config.endpoint.to_s unless config.regional_endpoint),
65
+ region: config.region,
66
66
  }.merge(options))
67
67
  end
68
68
  end
@@ -22,30 +22,42 @@ module Aws::NetworkManager
22
22
  if Aws::Endpoints::Matchers.set?(parameters.region)
23
23
  if (partition_result = Aws::Endpoints::Matchers.aws_partition(parameters.region))
24
24
  if Aws::Endpoints::Matchers.string_equals?(Aws::Endpoints::Matchers.attr(partition_result, "name"), "aws") && Aws::Endpoints::Matchers.boolean_equals?(parameters.use_fips, false) && Aws::Endpoints::Matchers.boolean_equals?(parameters.use_dual_stack, false)
25
- return Aws::Endpoints::Endpoint.new(url: "https://networkmanager.us-west-2.amazonaws.com", headers: {}, properties: {"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"networkmanager", "signingRegion"=>"us-west-2"}]})
25
+ return Aws::Endpoints::Endpoint.new(url: "https://networkmanager.us-west-2.amazonaws.com", headers: {}, properties: {"authSchemes"=>[{"name"=>"sigv4", "signingRegion"=>"us-west-2"}]})
26
26
  end
27
- if Aws::Endpoints::Matchers.string_equals?(Aws::Endpoints::Matchers.attr(partition_result, "name"), "aws-us-gov") && Aws::Endpoints::Matchers.boolean_equals?(parameters.use_fips, false) && Aws::Endpoints::Matchers.boolean_equals?(parameters.use_dual_stack, false)
28
- return Aws::Endpoints::Endpoint.new(url: "https://networkmanager.us-gov-west-1.amazonaws.com", headers: {}, properties: {"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"networkmanager", "signingRegion"=>"us-gov-west-1"}]})
27
+ if Aws::Endpoints::Matchers.string_equals?(Aws::Endpoints::Matchers.attr(partition_result, "name"), "aws") && Aws::Endpoints::Matchers.boolean_equals?(parameters.use_fips, false) && Aws::Endpoints::Matchers.boolean_equals?(parameters.use_dual_stack, true)
28
+ return Aws::Endpoints::Endpoint.new(url: "https://networkmanager.us-west-2.api.aws", headers: {}, properties: {"authSchemes"=>[{"name"=>"sigv4", "signingRegion"=>"us-west-2"}]})
29
+ end
30
+ if Aws::Endpoints::Matchers.string_equals?(Aws::Endpoints::Matchers.attr(partition_result, "name"), "aws") && Aws::Endpoints::Matchers.boolean_equals?(parameters.use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(parameters.use_dual_stack, false)
31
+ return Aws::Endpoints::Endpoint.new(url: "https://networkmanager-fips.us-west-2.amazonaws.com", headers: {}, properties: {"authSchemes"=>[{"name"=>"sigv4", "signingRegion"=>"us-west-2"}]})
32
+ end
33
+ if Aws::Endpoints::Matchers.string_equals?(Aws::Endpoints::Matchers.attr(partition_result, "name"), "aws") && Aws::Endpoints::Matchers.boolean_equals?(parameters.use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(parameters.use_dual_stack, true)
34
+ return Aws::Endpoints::Endpoint.new(url: "https://networkmanager-fips.us-west-2.api.aws", headers: {}, properties: {"authSchemes"=>[{"name"=>"sigv4", "signingRegion"=>"us-west-2"}]})
35
+ end
36
+ if Aws::Endpoints::Matchers.string_equals?(Aws::Endpoints::Matchers.attr(partition_result, "name"), "aws-us-gov") && Aws::Endpoints::Matchers.boolean_equals?(parameters.use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(parameters.use_dual_stack, false)
37
+ return Aws::Endpoints::Endpoint.new(url: "https://networkmanager.us-gov-west-1.amazonaws.com", headers: {}, properties: {"authSchemes"=>[{"name"=>"sigv4", "signingRegion"=>"us-gov-west-1"}]})
38
+ end
39
+ if Aws::Endpoints::Matchers.string_equals?(Aws::Endpoints::Matchers.attr(partition_result, "name"), "aws-us-gov") && Aws::Endpoints::Matchers.boolean_equals?(parameters.use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(parameters.use_dual_stack, true)
40
+ return Aws::Endpoints::Endpoint.new(url: "https://networkmanager.us-gov-west-1.api.aws", headers: {}, properties: {"authSchemes"=>[{"name"=>"sigv4", "signingRegion"=>"us-gov-west-1"}]})
29
41
  end
30
42
  if Aws::Endpoints::Matchers.boolean_equals?(parameters.use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(parameters.use_dual_stack, true)
31
43
  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"))
32
- return Aws::Endpoints::Endpoint.new(url: "https://networkmanager-fips.#{parameters.region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
44
+ return Aws::Endpoints::Endpoint.new(url: "https://networkmanager-fips.#{partition_result['implicitGlobalRegion']}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {"authSchemes"=>[{"name"=>"sigv4", "signingRegion"=>"#{partition_result['implicitGlobalRegion']}"}]})
33
45
  end
34
46
  raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
35
47
  end
36
- if Aws::Endpoints::Matchers.boolean_equals?(parameters.use_fips, true)
48
+ if Aws::Endpoints::Matchers.boolean_equals?(parameters.use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(parameters.use_dual_stack, false)
37
49
  if Aws::Endpoints::Matchers.boolean_equals?(Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"), true)
38
- return Aws::Endpoints::Endpoint.new(url: "https://networkmanager-fips.#{parameters.region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
50
+ return Aws::Endpoints::Endpoint.new(url: "https://networkmanager-fips.#{partition_result['implicitGlobalRegion']}.#{partition_result['dnsSuffix']}", headers: {}, properties: {"authSchemes"=>[{"name"=>"sigv4", "signingRegion"=>"#{partition_result['implicitGlobalRegion']}"}]})
39
51
  end
40
52
  raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
41
53
  end
42
- if Aws::Endpoints::Matchers.boolean_equals?(parameters.use_dual_stack, true)
54
+ if Aws::Endpoints::Matchers.boolean_equals?(parameters.use_fips, false) && Aws::Endpoints::Matchers.boolean_equals?(parameters.use_dual_stack, true)
43
55
  if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
44
- return Aws::Endpoints::Endpoint.new(url: "https://networkmanager.#{parameters.region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
56
+ return Aws::Endpoints::Endpoint.new(url: "https://networkmanager.#{partition_result['implicitGlobalRegion']}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {"authSchemes"=>[{"name"=>"sigv4", "signingRegion"=>"#{partition_result['implicitGlobalRegion']}"}]})
45
57
  end
46
58
  raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
47
59
  end
48
- return Aws::Endpoints::Endpoint.new(url: "https://networkmanager.#{parameters.region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
60
+ return Aws::Endpoints::Endpoint.new(url: "https://networkmanager.#{partition_result['implicitGlobalRegion']}.#{partition_result['dnsSuffix']}", headers: {}, properties: {"authSchemes"=>[{"name"=>"sigv4", "signingRegion"=>"#{partition_result['implicitGlobalRegion']}"}]})
49
61
  end
50
62
  end
51
63
  raise ArgumentError, "Invalid Configuration: Missing Region"
@@ -54,7 +54,7 @@ module Aws::NetworkManager
54
54
  autoload :EndpointProvider, 'aws-sdk-networkmanager/endpoint_provider'
55
55
  autoload :Endpoints, 'aws-sdk-networkmanager/endpoints'
56
56
 
57
- GEM_VERSION = '1.60.0'
57
+ GEM_VERSION = '1.61.0'
58
58
 
59
59
  end
60
60
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-networkmanager
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.60.0
4
+ version: 1.61.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: 2025-02-18 00:00:00.000000000 Z
11
+ date: 2025-03-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core