aws-sdk-neptunegraph 1.27.0 → 1.28.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-neptunegraph/client.rb +1 -1
- data/lib/aws-sdk-neptunegraph/endpoint_provider.rb +23 -28
- data/lib/aws-sdk-neptunegraph.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: f7168c3681f4300c59b27cd30628787aa241a4eb0b2ccd38cb934176f8dd2da0
|
4
|
+
data.tar.gz: bf0ab95947b8681c36c00c47d702da0f12e74e8bcd87b4957323f1a276b970fe
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f6a7a85d000cb0395df6a83608318babc4e4cfbf2908b1a21a9c2fa09a16b660622fe5743082d31e8e21c674cbaab4b6009f4b823dc9c5ff937e34401dd7212b
|
7
|
+
data.tar.gz: cc7cb45716770e68eb119885b9bf3532d6480a80ac0c66e74071c71c6268af400566f6679879fc5af131dd653b49f3c1f54a560bcb7a17e9f0bae0c90f63d4af
|
data/CHANGELOG.md
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.28.0
|
@@ -2448,7 +2448,7 @@ module Aws::NeptuneGraph
|
|
2448
2448
|
tracer: tracer
|
2449
2449
|
)
|
2450
2450
|
context[:gem_name] = 'aws-sdk-neptunegraph'
|
2451
|
-
context[:gem_version] = '1.
|
2451
|
+
context[:gem_version] = '1.28.0'
|
2452
2452
|
Seahorse::Client::Request.new(handlers, context)
|
2453
2453
|
end
|
2454
2454
|
|
@@ -10,63 +10,58 @@
|
|
10
10
|
module Aws::NeptuneGraph
|
11
11
|
class EndpointProvider
|
12
12
|
def resolve_endpoint(parameters)
|
13
|
-
|
14
|
-
|
15
|
-
use_dual_stack = parameters.use_dual_stack
|
16
|
-
endpoint = parameters.endpoint
|
17
|
-
api_type = parameters.api_type
|
18
|
-
if Aws::Endpoints::Matchers.set?(endpoint)
|
19
|
-
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)
|
20
15
|
raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
|
21
16
|
end
|
22
|
-
if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
17
|
+
if Aws::Endpoints::Matchers.boolean_equals?(parameters.use_dual_stack, true)
|
23
18
|
raise ArgumentError, "Invalid Configuration: Dualstack and custom endpoint are not supported"
|
24
19
|
end
|
25
|
-
return Aws::Endpoints::Endpoint.new(url: endpoint, headers: {}, properties: {})
|
20
|
+
return Aws::Endpoints::Endpoint.new(url: parameters.endpoint, headers: {}, properties: {})
|
26
21
|
end
|
27
|
-
if Aws::Endpoints::Matchers.set?(region)
|
28
|
-
if (partition_result = Aws::Endpoints::Matchers.aws_partition(region))
|
29
|
-
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
22
|
+
if Aws::Endpoints::Matchers.set?(parameters.region)
|
23
|
+
if (partition_result = Aws::Endpoints::Matchers.aws_partition(parameters.region))
|
24
|
+
if Aws::Endpoints::Matchers.boolean_equals?(parameters.use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(parameters.use_dual_stack, true)
|
30
25
|
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
|
-
if Aws::Endpoints::Matchers.string_equals?(api_type, "ControlPlane")
|
32
|
-
return Aws::Endpoints::Endpoint.new(url: "https://neptune-graph-fips.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
|
26
|
+
if Aws::Endpoints::Matchers.string_equals?(parameters.api_type, "ControlPlane")
|
27
|
+
return Aws::Endpoints::Endpoint.new(url: "https://neptune-graph-fips.#{parameters.region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
|
33
28
|
end
|
34
|
-
if Aws::Endpoints::Matchers.string_equals?(api_type, "DataPlane")
|
29
|
+
if Aws::Endpoints::Matchers.string_equals?(parameters.api_type, "DataPlane")
|
35
30
|
raise ArgumentError, "Invalid Configuration: fips endpoint is not supported for this API"
|
36
31
|
end
|
37
32
|
raise ArgumentError, "Invalid Configuration: Unknown ApiType"
|
38
33
|
end
|
39
34
|
raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
|
40
35
|
end
|
41
|
-
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
|
36
|
+
if Aws::Endpoints::Matchers.boolean_equals?(parameters.use_fips, true)
|
42
37
|
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
|
43
|
-
if Aws::Endpoints::Matchers.string_equals?(api_type, "ControlPlane")
|
44
|
-
return Aws::Endpoints::Endpoint.new(url: "https://neptune-graph-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
38
|
+
if Aws::Endpoints::Matchers.string_equals?(parameters.api_type, "ControlPlane")
|
39
|
+
return Aws::Endpoints::Endpoint.new(url: "https://neptune-graph-fips.#{parameters.region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
45
40
|
end
|
46
|
-
if Aws::Endpoints::Matchers.string_equals?(api_type, "DataPlane")
|
41
|
+
if Aws::Endpoints::Matchers.string_equals?(parameters.api_type, "DataPlane")
|
47
42
|
raise ArgumentError, "Invalid Configuration: fips endpoint is not supported for this API"
|
48
43
|
end
|
49
44
|
raise ArgumentError, "Invalid Configuration: Unknown ApiType"
|
50
45
|
end
|
51
46
|
raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
|
52
47
|
end
|
53
|
-
if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
48
|
+
if Aws::Endpoints::Matchers.boolean_equals?(parameters.use_dual_stack, true)
|
54
49
|
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
|
55
|
-
if Aws::Endpoints::Matchers.string_equals?(api_type, "ControlPlane")
|
56
|
-
return Aws::Endpoints::Endpoint.new(url: "https://neptune-graph.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
|
50
|
+
if Aws::Endpoints::Matchers.string_equals?(parameters.api_type, "ControlPlane")
|
51
|
+
return Aws::Endpoints::Endpoint.new(url: "https://neptune-graph.#{parameters.region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
|
57
52
|
end
|
58
|
-
if Aws::Endpoints::Matchers.string_equals?(api_type, "DataPlane")
|
59
|
-
return Aws::Endpoints::Endpoint.new(url: "https://neptune-graph.#{region}.on.aws", headers: {}, properties: {})
|
53
|
+
if Aws::Endpoints::Matchers.string_equals?(parameters.api_type, "DataPlane")
|
54
|
+
return Aws::Endpoints::Endpoint.new(url: "https://neptune-graph.#{parameters.region}.on.aws", headers: {}, properties: {})
|
60
55
|
end
|
61
56
|
raise ArgumentError, "Invalid Configuration: Unknown ApiType"
|
62
57
|
end
|
63
58
|
raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
|
64
59
|
end
|
65
|
-
if Aws::Endpoints::Matchers.string_equals?(api_type, "ControlPlane")
|
66
|
-
return Aws::Endpoints::Endpoint.new(url: "https://neptune-graph.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
60
|
+
if Aws::Endpoints::Matchers.string_equals?(parameters.api_type, "ControlPlane")
|
61
|
+
return Aws::Endpoints::Endpoint.new(url: "https://neptune-graph.#{parameters.region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
67
62
|
end
|
68
|
-
if Aws::Endpoints::Matchers.string_equals?(api_type, "DataPlane")
|
69
|
-
return Aws::Endpoints::Endpoint.new(url: "https://#{region}.neptune-graph.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
63
|
+
if Aws::Endpoints::Matchers.string_equals?(parameters.api_type, "DataPlane")
|
64
|
+
return Aws::Endpoints::Endpoint.new(url: "https://#{parameters.region}.neptune-graph.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
70
65
|
end
|
71
66
|
raise ArgumentError, "Invalid Configuration: Unknown ApiType"
|
72
67
|
end
|
data/lib/aws-sdk-neptunegraph.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-neptunegraph
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.28.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-
|
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
|