aws-sdk-neptunegraph 1.3.0 → 1.4.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: 68c40b0b208ef29b39a1490b12aea910ce2c1eeae91bd176642e160467e9eac0
4
- data.tar.gz: 17c892aaca6ac33d8babe21aaee2a778c3b4a08fdbed5a302f9e16ae1965cd10
3
+ metadata.gz: ed56e747212fec56caae70446d1728e5441decb309a72a4ce2a1159f137e4c92
4
+ data.tar.gz: 6b949a8cd251ba69d9e92e2f70ccdb0c1a64d8203feca00141c13860196e9751
5
5
  SHA512:
6
- metadata.gz: 758c9f0522ecc11d875b17e89f457a054d021d35eabe387ef2cec8d9df2024246170fa8062a18284ba6b39128b056a958c6f3065781198ef4acfb3ffb104c305
7
- data.tar.gz: 6656d1a65eb40841e70ee94cd46ebf570ae44579d6f69006a18481f0b319bd9b65db6c4d6e2e5954f9103336715465b309699cb13e9dedb85b335652440f0c50
6
+ metadata.gz: 617790114e2ab5059e5c29097607ffbb4df8ec7013d6dcb05fd968c115eb2fa973e9096bc1eb8e9c7bc1c9889db0ac4ae9a0435f292c5d8b096c6732e4c691ec
7
+ data.tar.gz: 5a8df0569ae6d8845c1ac9f6d58fd259d954bda9b16be7d147b9da1b0550f6ebb71bc7e007f14b59f54f12280835f744ffab51b0b2bd8f6db839c25a7c3b983f
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.4.0 (2024-02-12)
5
+ ------------------
6
+
7
+ * Feature - Adding a new option "parameters" for data plane api ExecuteQuery to support running parameterized query via SDK.
8
+
4
9
  1.3.0 (2024-02-01)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.3.0
1
+ 1.4.0
@@ -468,8 +468,8 @@ module Aws::NeptuneGraph
468
468
  #
469
469
  # @option params [Boolean] :public_connectivity
470
470
  # Specifies whether or not the graph can be reachable over the internet.
471
- # All access to graphs IAM authenticated. (`true` to enable, or `false`
472
- # to disable.
471
+ # All access to graphs is IAM authenticated. (`true` to enable, or
472
+ # `false` to disable.
473
473
  #
474
474
  # @option params [String] :kms_key_identifier
475
475
  # Specifies a KMS key to use to encrypt data in the new graph.
@@ -635,8 +635,8 @@ module Aws::NeptuneGraph
635
635
  #
636
636
  # @option params [Boolean] :public_connectivity
637
637
  # Specifies whether or not the graph can be reachable over the internet.
638
- # All access to graphs IAM authenticated. (`true` to enable, or `false`
639
- # to disable).
638
+ # All access to graphs is IAM authenticated. (`true` to enable, or
639
+ # `false` to disable).
640
640
  #
641
641
  # @option params [String] :kms_key_identifier
642
642
  # Specifies a KMS key to use to encrypt data imported into the new
@@ -958,6 +958,17 @@ module Aws::NeptuneGraph
958
958
  # parameterized queries. If you want to make a parameterized query call,
959
959
  # you can use an HTTP request.
960
960
  #
961
+ # When invoking this operation in a Neptune Analytics cluster, the IAM
962
+ # user or role making the request must have a policy attached that
963
+ # allows one of the following IAM actions in that cluster, depending on
964
+ # the query:
965
+ #
966
+ # * neptune-graph:ReadDataViaQuery
967
+ #
968
+ # * neptune-graph:WriteDataViaQuery
969
+ #
970
+ # * neptune-graph:DeleteDataViaQuery
971
+ #
961
972
  # <note markdown="1"> Non-parametrized queries are not considered for plan caching. You can
962
973
  # force plan caching with `planCache=enabled`. The plan cache will be
963
974
  # reused only for the same exact query. Slight variations in the query
@@ -975,6 +986,10 @@ module Aws::NeptuneGraph
975
986
  # The query language the query is written in. Currently only openCypher
976
987
  # is supported.
977
988
  #
989
+ # @option params [Hash<String,Hash,Array,String,Numeric,Boolean>] :parameters
990
+ # The data parameters the query can use in JSON format. For example:
991
+ # \\\{"name": "john", "age": 20\\}. (optional)
992
+ #
978
993
  # @option params [String] :plan_cache
979
994
  # Query plan cache is a feature that saves the query plan and reuses it
980
995
  # on successive executions of the same query. This reduces query
@@ -1000,6 +1015,10 @@ module Aws::NeptuneGraph
1000
1015
  # graph_identifier: "GraphIdentifier", # required
1001
1016
  # query_string: "String", # required
1002
1017
  # language: "OPEN_CYPHER", # required, accepts OPEN_CYPHER
1018
+ # parameters: {
1019
+ # "String" => {
1020
+ # },
1021
+ # },
1003
1022
  # plan_cache: "ENABLED", # accepts ENABLED, DISABLED, AUTO
1004
1023
  # explain_mode: "STATIC", # accepts STATIC, DETAILS
1005
1024
  # query_timeout_milliseconds: 1,
@@ -1299,6 +1318,12 @@ module Aws::NeptuneGraph
1299
1318
 
1300
1319
  # Retrieves the status of a specified query.
1301
1320
  #
1321
+ # <note markdown="1"> When invoking this operation in a Neptune Analytics cluster, the IAM
1322
+ # user or role making the request must have the
1323
+ # `neptune-graph:GetQueryStatus` IAM action attached.
1324
+ #
1325
+ # </note>
1326
+ #
1302
1327
  # @option params [required, String] :graph_identifier
1303
1328
  # The unique identifier of the Neptune Analytics graph.
1304
1329
  #
@@ -1722,8 +1747,8 @@ module Aws::NeptuneGraph
1722
1747
  #
1723
1748
  # @option params [Boolean] :public_connectivity
1724
1749
  # Specifies whether or not the graph can be reachable over the internet.
1725
- # All access to graphs IAM authenticated. (`true` to enable, or `false`
1726
- # to disable).
1750
+ # All access to graphs is IAM authenticated. (`true` to enable, or
1751
+ # `false` to disable).
1727
1752
  #
1728
1753
  # @return [Types::RestoreGraphFromSnapshotOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1729
1754
  #
@@ -1859,8 +1884,8 @@ module Aws::NeptuneGraph
1859
1884
  #
1860
1885
  # @option params [Boolean] :public_connectivity
1861
1886
  # Specifies whether or not the graph can be reachable over the internet.
1862
- # All access to graphs IAM authenticated. (`true` to enable, or `false`
1863
- # to disable.
1887
+ # All access to graphs is IAM authenticated. (`true` to enable, or
1888
+ # `false` to disable.
1864
1889
  #
1865
1890
  # @option params [Integer] :provisioned_memory
1866
1891
  # The provisioned memory-optimized Neptune Capacity Units (m-NCUs) to
@@ -1938,7 +1963,7 @@ module Aws::NeptuneGraph
1938
1963
  params: params,
1939
1964
  config: config)
1940
1965
  context[:gem_name] = 'aws-sdk-neptunegraph'
1941
- context[:gem_version] = '1.3.0'
1966
+ context[:gem_version] = '1.4.0'
1942
1967
  Seahorse::Client::Request.new(handlers, context)
1943
1968
  end
1944
1969
 
@@ -35,6 +35,8 @@ module Aws::NeptuneGraph
35
35
  DeleteGraphSnapshotOutput = Shapes::StructureShape.new(name: 'DeleteGraphSnapshotOutput')
36
36
  DeletePrivateGraphEndpointInput = Shapes::StructureShape.new(name: 'DeletePrivateGraphEndpointInput')
37
37
  DeletePrivateGraphEndpointOutput = Shapes::StructureShape.new(name: 'DeletePrivateGraphEndpointOutput')
38
+ Document = Shapes::DocumentShape.new(name: 'Document', document: true)
39
+ DocumentValuedMap = Shapes::MapShape.new(name: 'DocumentValuedMap')
38
40
  EdgeLabels = Shapes::ListShape.new(name: 'EdgeLabels')
39
41
  EdgeProperties = Shapes::ListShape.new(name: 'EdgeProperties')
40
42
  EdgeStructure = Shapes::StructureShape.new(name: 'EdgeStructure')
@@ -292,6 +294,9 @@ module Aws::NeptuneGraph
292
294
  DeletePrivateGraphEndpointOutput.add_member(:vpc_endpoint_id, Shapes::ShapeRef.new(shape: VpcEndpointId, location_name: "vpcEndpointId"))
293
295
  DeletePrivateGraphEndpointOutput.struct_class = Types::DeletePrivateGraphEndpointOutput
294
296
 
297
+ DocumentValuedMap.key = Shapes::ShapeRef.new(shape: String)
298
+ DocumentValuedMap.value = Shapes::ShapeRef.new(shape: Document)
299
+
295
300
  EdgeLabels.member = Shapes::ShapeRef.new(shape: String)
296
301
 
297
302
  EdgeProperties.member = Shapes::ShapeRef.new(shape: String)
@@ -305,6 +310,7 @@ module Aws::NeptuneGraph
305
310
  ExecuteQueryInput.add_member(:graph_identifier, Shapes::ShapeRef.new(shape: GraphIdentifier, required: true, location: "header", location_name: "graphIdentifier", metadata: {"hostLabel"=>true, "hostLabelName"=>"graphIdentifier"}))
306
311
  ExecuteQueryInput.add_member(:query_string, Shapes::ShapeRef.new(shape: String, required: true, location_name: "query"))
307
312
  ExecuteQueryInput.add_member(:language, Shapes::ShapeRef.new(shape: QueryLanguage, required: true, location_name: "language"))
313
+ ExecuteQueryInput.add_member(:parameters, Shapes::ShapeRef.new(shape: DocumentValuedMap, location_name: "parameters"))
308
314
  ExecuteQueryInput.add_member(:plan_cache, Shapes::ShapeRef.new(shape: PlanCacheType, location_name: "planCache"))
309
315
  ExecuteQueryInput.add_member(:explain_mode, Shapes::ShapeRef.new(shape: ExplainMode, location_name: "explain"))
310
316
  ExecuteQueryInput.add_member(:query_timeout_milliseconds, Shapes::ShapeRef.new(shape: Integer, location_name: "queryTimeoutMilliseconds"))
@@ -136,8 +136,8 @@ module Aws::NeptuneGraph
136
136
  #
137
137
  # @!attribute [rw] public_connectivity
138
138
  # Specifies whether or not the graph can be reachable over the
139
- # internet. All access to graphs IAM authenticated. (`true` to enable,
140
- # or `false` to disable.
139
+ # internet. All access to graphs is IAM authenticated. (`true` to
140
+ # enable, or `false` to disable.
141
141
  # @return [Boolean]
142
142
  #
143
143
  # @!attribute [rw] kms_key_identifier
@@ -219,7 +219,7 @@ module Aws::NeptuneGraph
219
219
  #
220
220
  # @!attribute [rw] public_connectivity
221
221
  # Specifies whether or not the graph can be reachable over the
222
- # internet. All access to graphs IAM authenticated.
222
+ # internet. All access to graphs is IAM authenticated.
223
223
  # @return [Boolean]
224
224
  #
225
225
  # @!attribute [rw] vector_search_configuration
@@ -358,8 +358,8 @@ module Aws::NeptuneGraph
358
358
  #
359
359
  # @!attribute [rw] public_connectivity
360
360
  # Specifies whether or not the graph can be reachable over the
361
- # internet. All access to graphs IAM authenticated. (`true` to enable,
362
- # or `false` to disable).
361
+ # internet. All access to graphs is IAM authenticated. (`true` to
362
+ # enable, or `false` to disable).
363
363
  # @return [Boolean]
364
364
  #
365
365
  # @!attribute [rw] kms_key_identifier
@@ -806,6 +806,11 @@ module Aws::NeptuneGraph
806
806
  # openCypher is supported.
807
807
  # @return [String]
808
808
  #
809
+ # @!attribute [rw] parameters
810
+ # The data parameters the query can use in JSON format. For example:
811
+ # \\\{"name": "john", "age": 20\\}. (optional)
812
+ # @return [Hash<String,Hash,Array,String,Numeric,Boolean>]
813
+ #
809
814
  # @!attribute [rw] plan_cache
810
815
  # Query plan cache is a feature that saves the query plan and reuses
811
816
  # it on successive executions of the same query. This reduces query
@@ -830,6 +835,7 @@ module Aws::NeptuneGraph
830
835
  :graph_identifier,
831
836
  :query_string,
832
837
  :language,
838
+ :parameters,
833
839
  :plan_cache,
834
840
  :explain_mode,
835
841
  :query_timeout_milliseconds)
@@ -2132,8 +2138,8 @@ module Aws::NeptuneGraph
2132
2138
  #
2133
2139
  # @!attribute [rw] public_connectivity
2134
2140
  # Specifies whether or not the graph can be reachable over the
2135
- # internet. All access to graphs IAM authenticated. (`true` to enable,
2136
- # or `false` to disable).
2141
+ # internet. All access to graphs is IAM authenticated. (`true` to
2142
+ # enable, or `false` to disable).
2137
2143
  # @return [Boolean]
2138
2144
  #
2139
2145
  # @see http://docs.aws.amazon.com/goto/WebAPI/neptune-graph-2023-11-29/RestoreGraphFromSnapshotInput AWS API Documentation
@@ -2362,8 +2368,8 @@ module Aws::NeptuneGraph
2362
2368
  #
2363
2369
  # @!attribute [rw] public_connectivity
2364
2370
  # Specifies whether or not the graph can be reachable over the
2365
- # internet. All access to graphs IAM authenticated. (`true` to enable,
2366
- # or `false` to disable.
2371
+ # internet. All access to graphs is IAM authenticated. (`true` to
2372
+ # enable, or `false` to disable.
2367
2373
  # @return [Boolean]
2368
2374
  #
2369
2375
  # @!attribute [rw] provisioned_memory
@@ -53,6 +53,6 @@ require_relative 'aws-sdk-neptunegraph/customizations'
53
53
  # @!group service
54
54
  module Aws::NeptuneGraph
55
55
 
56
- GEM_VERSION = '1.3.0'
56
+ GEM_VERSION = '1.4.0'
57
57
 
58
58
  end
data/sig/client.rbs CHANGED
@@ -263,6 +263,8 @@ module Aws
263
263
  graph_identifier: ::String,
264
264
  query_string: ::String,
265
265
  language: ("OPEN_CYPHER"),
266
+ ?parameters: Hash[::String, {
267
+ }],
266
268
  ?plan_cache: ("ENABLED" | "DISABLED" | "AUTO"),
267
269
  ?explain_mode: ("STATIC" | "DETAILS"),
268
270
  ?query_timeout_milliseconds: ::Integer
data/sig/types.rbs CHANGED
@@ -199,6 +199,7 @@ module Aws::NeptuneGraph
199
199
  attr_accessor graph_identifier: ::String
200
200
  attr_accessor query_string: ::String
201
201
  attr_accessor language: ("OPEN_CYPHER")
202
+ attr_accessor parameters: ::Hash[::String, untyped]
202
203
  attr_accessor plan_cache: ("ENABLED" | "DISABLED" | "AUTO")
203
204
  attr_accessor explain_mode: ("STATIC" | "DETAILS")
204
205
  attr_accessor query_timeout_milliseconds: ::Integer
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.3.0
4
+ version: 1.4.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: 2024-02-01 00:00:00.000000000 Z
11
+ date: 2024-02-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core