lib/aws-sdk-neptunegraph/client.rb in aws-sdk-neptunegraph-1.3.0 vs lib/aws-sdk-neptunegraph/client.rb in aws-sdk-neptunegraph-1.4.0
- old
+ new
@@ -466,12 +466,12 @@
# cost allocation reporting, or used in a Condition statement in an IAM
# policy.
#
# @option params [Boolean] :public_connectivity
# Specifies whether or not the graph can be reachable over the internet.
- # All access to graphs IAM authenticated. (`true` to enable, or `false`
- # to disable.
+ # All access to graphs is IAM authenticated. (`true` to enable, or
+ # `false` to disable.
#
# @option params [String] :kms_key_identifier
# Specifies a KMS key to use to encrypt data in the new graph.
#
# @option params [Types::VectorSearchConfiguration] :vector_search_configuration
@@ -633,12 +633,12 @@
# cost allocation reporting, or used in a Condition statement in an IAM
# policy.
#
# @option params [Boolean] :public_connectivity
# Specifies whether or not the graph can be reachable over the internet.
- # All access to graphs IAM authenticated. (`true` to enable, or `false`
- # to disable).
+ # All access to graphs is IAM authenticated. (`true` to enable, or
+ # `false` to disable).
#
# @option params [String] :kms_key_identifier
# Specifies a KMS key to use to encrypt data imported into the new
# graph.
#
@@ -956,10 +956,21 @@
# Execute an openCypher query. Currently, the SDK does not support
# parameterized queries. If you want to make a parameterized query call,
# you can use an HTTP request.
#
+ # When invoking this operation in a Neptune Analytics cluster, the IAM
+ # user or role making the request must have a policy attached that
+ # allows one of the following IAM actions in that cluster, depending on
+ # the query:
+ #
+ # * neptune-graph:ReadDataViaQuery
+ #
+ # * neptune-graph:WriteDataViaQuery
+ #
+ # * neptune-graph:DeleteDataViaQuery
+ #
# <note markdown="1"> Non-parametrized queries are not considered for plan caching. You can
# force plan caching with `planCache=enabled`. The plan cache will be
# reused only for the same exact query. Slight variations in the query
# will not be able to reuse the query plan cache.
#
@@ -973,10 +984,14 @@
#
# @option params [required, String] :language
# The query language the query is written in. Currently only openCypher
# is supported.
#
+ # @option params [Hash<String,Hash,Array,String,Numeric,Boolean>] :parameters
+ # The data parameters the query can use in JSON format. For example:
+ # \\\{"name": "john", "age": 20\\}. (optional)
+ #
# @option params [String] :plan_cache
# Query plan cache is a feature that saves the query plan and reuses it
# on successive executions of the same query. This reduces query
# latency, and works for both `READ` and `UPDATE` queries. The plan
# cache is an LRU cache with a 5 minute TTL and a capacity of 1000.
@@ -998,10 +1013,14 @@
#
# resp = client.execute_query({
# graph_identifier: "GraphIdentifier", # required
# query_string: "String", # required
# language: "OPEN_CYPHER", # required, accepts OPEN_CYPHER
+ # parameters: {
+ # "String" => {
+ # },
+ # },
# plan_cache: "ENABLED", # accepts ENABLED, DISABLED, AUTO
# explain_mode: "STATIC", # accepts STATIC, DETAILS
# query_timeout_milliseconds: 1,
# })
#
@@ -1297,10 +1316,16 @@
req.send_request(options)
end
# Retrieves the status of a specified query.
#
+ # <note markdown="1"> When invoking this operation in a Neptune Analytics cluster, the IAM
+ # user or role making the request must have the
+ # `neptune-graph:GetQueryStatus` IAM action attached.
+ #
+ # </note>
+ #
# @option params [required, String] :graph_identifier
# The unique identifier of the Neptune Analytics graph.
#
# @option params [required, String] :query_id
# The ID of the query in question.
@@ -1720,12 +1745,12 @@
# @option params [Integer] :replica_count
# The number of replicas in other AZs. Min =0, Max = 2, Default =1
#
# @option params [Boolean] :public_connectivity
# Specifies whether or not the graph can be reachable over the internet.
- # All access to graphs IAM authenticated. (`true` to enable, or `false`
- # to disable).
+ # All access to graphs is IAM authenticated. (`true` to enable, or
+ # `false` to disable).
#
# @return [Types::RestoreGraphFromSnapshotOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
#
# * {Types::RestoreGraphFromSnapshotOutput#id #id} => String
# * {Types::RestoreGraphFromSnapshotOutput#name #name} => String
@@ -1857,12 +1882,12 @@
# @option params [required, String] :graph_identifier
# The unique identifier of the Neptune Analytics graph.
#
# @option params [Boolean] :public_connectivity
# Specifies whether or not the graph can be reachable over the internet.
- # All access to graphs IAM authenticated. (`true` to enable, or `false`
- # to disable.
+ # All access to graphs is IAM authenticated. (`true` to enable, or
+ # `false` to disable.
#
# @option params [Integer] :provisioned_memory
# The provisioned memory-optimized Neptune Capacity Units (m-NCUs) to
# use for the graph. Min = 128
#
@@ -1936,10 +1961,10 @@
operation: config.api.operation(operation_name),
client: self,
params: params,
config: config)
context[:gem_name] = 'aws-sdk-neptunegraph'
- context[:gem_version] = '1.3.0'
+ context[:gem_version] = '1.4.0'
Seahorse::Client::Request.new(handlers, context)
end
# Polls an API operation until a resource enters a desired state.
#