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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3a121965d576d49f8a6379cd43989632c0010a47b84353a148c133ccc12d18e4
|
4
|
+
data.tar.gz: f3766e496a1af11fc446c972617de25a8b68715fb737d4a9038dd26cce831eed
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2ec1c67583aa9a9afef704e764a41466808993f040290c080fd18ef2ce2eef4c034e355d1531fb0b9c2ccbb27841d49e98fdd5dbf74eb1987453e3212e866283
|
7
|
+
data.tar.gz: 7e62b4e20c30646441f50a97b6bf9347ef085903d592e72f18bd685f18c4b553a8ca26199ec58ca5e28c1d5173c927a88e2cdaf4014fc0f5b3d9827871aa515b
|
data/CHANGELOG.md
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
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.
|
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", "
|
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
|
28
|
-
return Aws::Endpoints::Endpoint.new(url: "https://networkmanager.us-
|
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.#{
|
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.#{
|
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.#{
|
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.#{
|
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"
|
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.
|
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-
|
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
|