aws-sdk-neptunegraph 1.27.0 → 1.28.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 712fe23b05564c63f41335fa43e4c827c24b4970d7eef0f9e1a49f22e5ed9fd9
4
- data.tar.gz: e787fcad1851c9a974846e588a28280fae435fdb3c11259167ca8d0341d7de21
3
+ metadata.gz: f7168c3681f4300c59b27cd30628787aa241a4eb0b2ccd38cb934176f8dd2da0
4
+ data.tar.gz: bf0ab95947b8681c36c00c47d702da0f12e74e8bcd87b4957323f1a276b970fe
5
5
  SHA512:
6
- metadata.gz: b0880fe311f78eee7af2c956086c8042b18c5621b5ed4c94d33a2b3ea7a222fa89900cb84bf2f4f0d623eee80831b223c54f21fc14e72313c752a57b866b5014
7
- data.tar.gz: ab4cd1beba0c60d197d99f02cb52da3cb6c790af72a0d7e62f8fef5211bd94ee0210c0b2e62cf09db925605c76f32a01931c90d16487faf9b4d434ac9bc4cf75
6
+ metadata.gz: f6a7a85d000cb0395df6a83608318babc4e4cfbf2908b1a21a9c2fa09a16b660622fe5743082d31e8e21c674cbaab4b6009f4b823dc9c5ff937e34401dd7212b
7
+ data.tar.gz: cc7cb45716770e68eb119885b9bf3532d6480a80ac0c66e74071c71c6268af400566f6679879fc5af131dd653b49f3c1f54a560bcb7a17e9f0bae0c90f63d4af
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.28.0 (2025-02-06)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
4
9
  1.27.0 (2025-02-04)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.27.0
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.27.0'
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
- region = parameters.region
14
- use_fips = parameters.use_fips
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
@@ -55,7 +55,7 @@ module Aws::NeptuneGraph
55
55
  autoload :EndpointProvider, 'aws-sdk-neptunegraph/endpoint_provider'
56
56
  autoload :Endpoints, 'aws-sdk-neptunegraph/endpoints'
57
57
 
58
- GEM_VERSION = '1.27.0'
58
+ GEM_VERSION = '1.28.0'
59
59
 
60
60
  end
61
61
 
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.27.0
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-04 00:00:00.000000000 Z
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