aws-sdk-networkflowmonitor 1.1.0 → 1.2.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-networkflowmonitor/client.rb +1 -1
- data/lib/aws-sdk-networkflowmonitor/endpoint_provider.rb +8 -11
- data/lib/aws-sdk-networkflowmonitor.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: 9e2773cc311cf6ddf10db44bae6f97501ecab93b60773013ba2f59eaad84ea8c
|
4
|
+
data.tar.gz: 8c045a2775a3d7bb91a4ab09a0d5e6c37f0dd863e7410ee0f9115bff5cee78b4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0c921f3c1edd0b38d8c797f84379da1ba8589c203f6146a9d3aa7e752c5699d500f501ef074c5569d66a8de67f8056f676835eca62d6d56c7ebb64039f6f38b5
|
7
|
+
data.tar.gz: d7b48f748995248691ff390741f2a825d590a7c43d2d232a6f9056ab07e733df7e117452fe6f79ebdb820bf7fe1daabd02ecb3e7856a96444130978008516d6f
|
data/CHANGELOG.md
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.2.0
|
@@ -1860,7 +1860,7 @@ module Aws::NetworkFlowMonitor
|
|
1860
1860
|
tracer: tracer
|
1861
1861
|
)
|
1862
1862
|
context[:gem_name] = 'aws-sdk-networkflowmonitor'
|
1863
|
-
context[:gem_version] = '1.
|
1863
|
+
context[:gem_version] = '1.2.0'
|
1864
1864
|
Seahorse::Client::Request.new(handlers, context)
|
1865
1865
|
end
|
1866
1866
|
|
@@ -10,21 +10,18 @@
|
|
10
10
|
module Aws::NetworkFlowMonitor
|
11
11
|
class EndpointProvider
|
12
12
|
def resolve_endpoint(parameters)
|
13
|
-
|
14
|
-
|
15
|
-
region = parameters.region
|
16
|
-
if Aws::Endpoints::Matchers.set?(endpoint)
|
17
|
-
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
|
13
|
+
if Aws::Endpoints::Matchers.set?(parameters.endpoint)
|
14
|
+
if Aws::Endpoints::Matchers.boolean_equals?(parameters.use_fips, true)
|
18
15
|
raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
|
19
16
|
end
|
20
|
-
return Aws::Endpoints::Endpoint.new(url: endpoint, headers: {}, properties: {})
|
17
|
+
return Aws::Endpoints::Endpoint.new(url: parameters.endpoint, headers: {}, properties: {})
|
21
18
|
end
|
22
|
-
if Aws::Endpoints::Matchers.set?(region)
|
23
|
-
if (partition_result = Aws::Endpoints::Matchers.aws_partition(region))
|
24
|
-
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
|
25
|
-
return Aws::Endpoints::Endpoint.new(url: "https://networkflowmonitor-fips.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
|
19
|
+
if Aws::Endpoints::Matchers.set?(parameters.region)
|
20
|
+
if (partition_result = Aws::Endpoints::Matchers.aws_partition(parameters.region))
|
21
|
+
if Aws::Endpoints::Matchers.boolean_equals?(parameters.use_fips, true)
|
22
|
+
return Aws::Endpoints::Endpoint.new(url: "https://networkflowmonitor-fips.#{parameters.region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
|
26
23
|
end
|
27
|
-
return Aws::Endpoints::Endpoint.new(url: "https://networkflowmonitor.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
|
24
|
+
return Aws::Endpoints::Endpoint.new(url: "https://networkflowmonitor.#{parameters.region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
|
28
25
|
end
|
29
26
|
end
|
30
27
|
raise ArgumentError, "Invalid Configuration: Missing Region"
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-networkflowmonitor
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.2.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-02-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|