aws-sdk-networkmanager 1.35.0 → 1.36.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 +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-networkmanager/client.rb +1 -1
- data/lib/aws-sdk-networkmanager/endpoint_provider.rb +2 -44
- data/lib/aws-sdk-networkmanager.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: aac160ab3ceb22db77c84b0c623f217b55ee57e0019916e6d95474e466890129
|
|
4
|
+
data.tar.gz: e2225933ca0fb6bc37606259585653f0b5a7b561a76954ba0506a7d08f708629
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: aafcb1835038c5abb52c8363f973a336726860d0878dcf6d8f94565c0750c1c583c49bf83d19be5719d65a9d6f8f3e20eb70c48c715de265148b5745533b0468
|
|
7
|
+
data.tar.gz: 613a1b0c4f6478188c7d8c1b528ff3079c8315e8a1632cfe994fe787b8b198dbf2c7b0543e2e226ccd14410ff06f7882e1cd55577b659895b555a00ecbe53d43
|
data/CHANGELOG.md
CHANGED
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.36.0
|
|
@@ -5175,7 +5175,7 @@ module Aws::NetworkManager
|
|
|
5175
5175
|
params: params,
|
|
5176
5176
|
config: config)
|
|
5177
5177
|
context[:gem_name] = 'aws-sdk-networkmanager'
|
|
5178
|
-
context[:gem_version] = '1.
|
|
5178
|
+
context[:gem_version] = '1.36.0'
|
|
5179
5179
|
Seahorse::Client::Request.new(handlers, context)
|
|
5180
5180
|
end
|
|
5181
5181
|
|
|
@@ -25,46 +25,10 @@ module Aws::NetworkManager
|
|
|
25
25
|
end
|
|
26
26
|
if Aws::Endpoints::Matchers.set?(region)
|
|
27
27
|
if (partition_result = Aws::Endpoints::Matchers.aws_partition(region))
|
|
28
|
-
if Aws::Endpoints::Matchers.string_equals?(Aws::Endpoints::Matchers.attr(partition_result, "name"), "aws")
|
|
29
|
-
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
|
30
|
-
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"))
|
|
31
|
-
return Aws::Endpoints::Endpoint.new(url: "https://networkmanager-fips.#{region}.api.aws", headers: {}, properties: {})
|
|
32
|
-
end
|
|
33
|
-
raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
|
|
34
|
-
end
|
|
35
|
-
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
|
|
36
|
-
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
|
|
37
|
-
return Aws::Endpoints::Endpoint.new(url: "https://networkmanager-fips.#{region}.amazonaws.com", headers: {}, properties: {})
|
|
38
|
-
end
|
|
39
|
-
raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
|
|
40
|
-
end
|
|
41
|
-
if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
|
42
|
-
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
|
|
43
|
-
return Aws::Endpoints::Endpoint.new(url: "https://networkmanager.#{region}.api.aws", headers: {}, properties: {})
|
|
44
|
-
end
|
|
45
|
-
raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
|
|
46
|
-
end
|
|
28
|
+
if Aws::Endpoints::Matchers.string_equals?(Aws::Endpoints::Matchers.attr(partition_result, "name"), "aws") && Aws::Endpoints::Matchers.boolean_equals?(use_fips, false) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, false)
|
|
47
29
|
return Aws::Endpoints::Endpoint.new(url: "https://networkmanager.us-west-2.amazonaws.com", headers: {}, properties: {"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"networkmanager", "signingRegion"=>"us-west-2"}]})
|
|
48
30
|
end
|
|
49
|
-
if Aws::Endpoints::Matchers.string_equals?(Aws::Endpoints::Matchers.attr(partition_result, "name"), "aws-us-gov")
|
|
50
|
-
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
|
51
|
-
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"))
|
|
52
|
-
return Aws::Endpoints::Endpoint.new(url: "https://networkmanager-fips.#{region}.api.aws", headers: {}, properties: {})
|
|
53
|
-
end
|
|
54
|
-
raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
|
|
55
|
-
end
|
|
56
|
-
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
|
|
57
|
-
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
|
|
58
|
-
return Aws::Endpoints::Endpoint.new(url: "https://networkmanager-fips.#{region}.amazonaws.com", headers: {}, properties: {})
|
|
59
|
-
end
|
|
60
|
-
raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
|
|
61
|
-
end
|
|
62
|
-
if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
|
63
|
-
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
|
|
64
|
-
return Aws::Endpoints::Endpoint.new(url: "https://networkmanager.#{region}.api.aws", headers: {}, properties: {})
|
|
65
|
-
end
|
|
66
|
-
raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
|
|
67
|
-
end
|
|
31
|
+
if Aws::Endpoints::Matchers.string_equals?(Aws::Endpoints::Matchers.attr(partition_result, "name"), "aws-us-gov") && Aws::Endpoints::Matchers.boolean_equals?(use_fips, false) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, false)
|
|
68
32
|
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"}]})
|
|
69
33
|
end
|
|
70
34
|
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
|
@@ -85,12 +49,6 @@ module Aws::NetworkManager
|
|
|
85
49
|
end
|
|
86
50
|
raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
|
|
87
51
|
end
|
|
88
|
-
if Aws::Endpoints::Matchers.string_equals?(region, "aws-global")
|
|
89
|
-
return Aws::Endpoints::Endpoint.new(url: "https://networkmanager.us-west-2.amazonaws.com", headers: {}, properties: {"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"networkmanager", "signingRegion"=>"us-west-2"}]})
|
|
90
|
-
end
|
|
91
|
-
if Aws::Endpoints::Matchers.string_equals?(region, "aws-us-gov-global")
|
|
92
|
-
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"}]})
|
|
93
|
-
end
|
|
94
52
|
return Aws::Endpoints::Endpoint.new(url: "https://networkmanager.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
|
95
53
|
end
|
|
96
54
|
end
|
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.36.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-09-19 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: aws-sdk-core
|