aws-sdk-neptunegraph 1.2.0 → 1.3.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.
@@ -10,6 +10,20 @@
10
10
  module Aws::NeptuneGraph
11
11
  module Types
12
12
 
13
+ # Raised in case of an authentication or authorization failure.
14
+ #
15
+ # @!attribute [rw] message
16
+ # A message describing the problem.
17
+ # @return [String]
18
+ #
19
+ # @see http://docs.aws.amazon.com/goto/WebAPI/neptune-graph-2023-11-29/AccessDeniedException AWS API Documentation
20
+ #
21
+ class AccessDeniedException < Struct.new(
22
+ :message)
23
+ SENSITIVE = []
24
+ include Aws::Structure
25
+ end
26
+
13
27
  # @!attribute [rw] task_identifier
14
28
  # The unique identifier of the import task.
15
29
  # @return [String]
@@ -33,7 +47,7 @@ module Aws::NeptuneGraph
33
47
  # @!attribute [rw] source
34
48
  # A URL identifying to the location of the data to be imported. This
35
49
  # can be an Amazon S3 path, or can point to a Neptune database
36
- # endpoint or snapshot
50
+ # endpoint or snapshot.
37
51
  # @return [String]
38
52
  #
39
53
  # @!attribute [rw] format
@@ -70,6 +84,23 @@ module Aws::NeptuneGraph
70
84
  include Aws::Structure
71
85
  end
72
86
 
87
+ # @!attribute [rw] graph_identifier
88
+ # The unique identifier of the Neptune Analytics graph.
89
+ # @return [String]
90
+ #
91
+ # @!attribute [rw] query_id
92
+ # The unique identifier of the query to cancel.
93
+ # @return [String]
94
+ #
95
+ # @see http://docs.aws.amazon.com/goto/WebAPI/neptune-graph-2023-11-29/CancelQueryInput AWS API Documentation
96
+ #
97
+ class CancelQueryInput < Struct.new(
98
+ :graph_identifier,
99
+ :query_id)
100
+ SENSITIVE = []
101
+ include Aws::Structure
102
+ end
103
+
73
104
  # Raised when a conflict is encountered.
74
105
  #
75
106
  # @!attribute [rw] message
@@ -120,7 +151,7 @@ module Aws::NeptuneGraph
120
151
  # @return [Types::VectorSearchConfiguration]
121
152
  #
122
153
  # @!attribute [rw] replica_count
123
- # The number of replicas in other AZs. Min =0, Max = 2, Default =1
154
+ # The number of replicas in other AZs. Min =0, Max = 2, Default = 1.
124
155
  # @return [Integer]
125
156
  #
126
157
  # @!attribute [rw] deletion_protection
@@ -328,7 +359,7 @@ module Aws::NeptuneGraph
328
359
  # @!attribute [rw] public_connectivity
329
360
  # Specifies whether or not the graph can be reachable over the
330
361
  # internet. All access to graphs IAM authenticated. (`true` to enable,
331
- # or `false` to disable.
362
+ # or `false` to disable).
332
363
  # @return [Boolean]
333
364
  #
334
365
  # @!attribute [rw] kms_key_identifier
@@ -743,6 +774,81 @@ module Aws::NeptuneGraph
743
774
  include Aws::Structure
744
775
  end
745
776
 
777
+ # Contains information about an edge in a Neptune Analytics graph.
778
+ #
779
+ # @!attribute [rw] count
780
+ # The number of instances of the edge in the graph.
781
+ # @return [Integer]
782
+ #
783
+ # @!attribute [rw] edge_properties
784
+ # A list of the properties associated with the edge.
785
+ # @return [Array<String>]
786
+ #
787
+ # @see http://docs.aws.amazon.com/goto/WebAPI/neptune-graph-2023-11-29/EdgeStructure AWS API Documentation
788
+ #
789
+ class EdgeStructure < Struct.new(
790
+ :count,
791
+ :edge_properties)
792
+ SENSITIVE = []
793
+ include Aws::Structure
794
+ end
795
+
796
+ # @!attribute [rw] graph_identifier
797
+ # The unique identifier of the Neptune Analytics graph.
798
+ # @return [String]
799
+ #
800
+ # @!attribute [rw] query_string
801
+ # The query string to be executed.
802
+ # @return [String]
803
+ #
804
+ # @!attribute [rw] language
805
+ # The query language the query is written in. Currently only
806
+ # openCypher is supported.
807
+ # @return [String]
808
+ #
809
+ # @!attribute [rw] plan_cache
810
+ # Query plan cache is a feature that saves the query plan and reuses
811
+ # it on successive executions of the same query. This reduces query
812
+ # latency, and works for both `READ` and `UPDATE` queries. The plan
813
+ # cache is an LRU cache with a 5 minute TTL and a capacity of 1000.
814
+ # @return [String]
815
+ #
816
+ # @!attribute [rw] explain_mode
817
+ # The explain mode parameter returns a query explain instead of the
818
+ # actual query results. A query explain can be used to gather insights
819
+ # about the query execution such as planning decisions, time spent on
820
+ # each operator, solutions flowing etc.
821
+ # @return [String]
822
+ #
823
+ # @!attribute [rw] query_timeout_milliseconds
824
+ # Specifies the query timeout duration, in milliseconds. (optional)
825
+ # @return [Integer]
826
+ #
827
+ # @see http://docs.aws.amazon.com/goto/WebAPI/neptune-graph-2023-11-29/ExecuteQueryInput AWS API Documentation
828
+ #
829
+ class ExecuteQueryInput < Struct.new(
830
+ :graph_identifier,
831
+ :query_string,
832
+ :language,
833
+ :plan_cache,
834
+ :explain_mode,
835
+ :query_timeout_milliseconds)
836
+ SENSITIVE = []
837
+ include Aws::Structure
838
+ end
839
+
840
+ # @!attribute [rw] payload
841
+ # The query results.
842
+ # @return [IO]
843
+ #
844
+ # @see http://docs.aws.amazon.com/goto/WebAPI/neptune-graph-2023-11-29/ExecuteQueryOutput AWS API Documentation
845
+ #
846
+ class ExecuteQueryOutput < Struct.new(
847
+ :payload)
848
+ SENSITIVE = []
849
+ include Aws::Structure
850
+ end
851
+
746
852
  # @!attribute [rw] graph_identifier
747
853
  # The unique identifier of the Neptune Analytics graph.
748
854
  # @return [String]
@@ -899,6 +1005,47 @@ module Aws::NeptuneGraph
899
1005
  include Aws::Structure
900
1006
  end
901
1007
 
1008
+ # @!attribute [rw] graph_identifier
1009
+ # The unique identifier of the Neptune Analytics graph.
1010
+ # @return [String]
1011
+ #
1012
+ # @!attribute [rw] mode
1013
+ # The summary mode can take one of two values: `basic` (the default),
1014
+ # and `detailed`.
1015
+ # @return [String]
1016
+ #
1017
+ # @see http://docs.aws.amazon.com/goto/WebAPI/neptune-graph-2023-11-29/GetGraphSummaryInput AWS API Documentation
1018
+ #
1019
+ class GetGraphSummaryInput < Struct.new(
1020
+ :graph_identifier,
1021
+ :mode)
1022
+ SENSITIVE = []
1023
+ include Aws::Structure
1024
+ end
1025
+
1026
+ # @!attribute [rw] version
1027
+ # Display the version of this tool.
1028
+ # @return [String]
1029
+ #
1030
+ # @!attribute [rw] last_statistics_computation_time
1031
+ # The timestamp, in ISO 8601 format, of the time at which Neptune
1032
+ # Analytics last computed statistics.
1033
+ # @return [Time]
1034
+ #
1035
+ # @!attribute [rw] graph_summary
1036
+ # The graph summary.
1037
+ # @return [Types::GraphDataSummary]
1038
+ #
1039
+ # @see http://docs.aws.amazon.com/goto/WebAPI/neptune-graph-2023-11-29/GetGraphSummaryOutput AWS API Documentation
1040
+ #
1041
+ class GetGraphSummaryOutput < Struct.new(
1042
+ :version,
1043
+ :last_statistics_computation_time,
1044
+ :graph_summary)
1045
+ SENSITIVE = []
1046
+ include Aws::Structure
1047
+ end
1048
+
902
1049
  # @!attribute [rw] task_identifier
903
1050
  # The unique identifier of the import task.
904
1051
  # @return [String]
@@ -1057,6 +1204,138 @@ module Aws::NeptuneGraph
1057
1204
  include Aws::Structure
1058
1205
  end
1059
1206
 
1207
+ # @!attribute [rw] graph_identifier
1208
+ # The unique identifier of the Neptune Analytics graph.
1209
+ # @return [String]
1210
+ #
1211
+ # @!attribute [rw] query_id
1212
+ # The ID of the query in question.
1213
+ # @return [String]
1214
+ #
1215
+ # @see http://docs.aws.amazon.com/goto/WebAPI/neptune-graph-2023-11-29/GetQueryInput AWS API Documentation
1216
+ #
1217
+ class GetQueryInput < Struct.new(
1218
+ :graph_identifier,
1219
+ :query_id)
1220
+ SENSITIVE = []
1221
+ include Aws::Structure
1222
+ end
1223
+
1224
+ # @!attribute [rw] id
1225
+ # The ID of the query in question.
1226
+ # @return [String]
1227
+ #
1228
+ # @!attribute [rw] query_string
1229
+ # The query in question.
1230
+ # @return [String]
1231
+ #
1232
+ # @!attribute [rw] waited
1233
+ # Indicates how long the query waited, in milliseconds.
1234
+ # @return [Integer]
1235
+ #
1236
+ # @!attribute [rw] elapsed
1237
+ # The number of milliseconds the query has been running.
1238
+ # @return [Integer]
1239
+ #
1240
+ # @!attribute [rw] state
1241
+ # State of the query.
1242
+ # @return [String]
1243
+ #
1244
+ # @see http://docs.aws.amazon.com/goto/WebAPI/neptune-graph-2023-11-29/GetQueryOutput AWS API Documentation
1245
+ #
1246
+ class GetQueryOutput < Struct.new(
1247
+ :id,
1248
+ :query_string,
1249
+ :waited,
1250
+ :elapsed,
1251
+ :state)
1252
+ SENSITIVE = []
1253
+ include Aws::Structure
1254
+ end
1255
+
1256
+ # Summary information about the graph.
1257
+ #
1258
+ # @!attribute [rw] num_nodes
1259
+ # The number of nodes in the graph.
1260
+ # @return [Integer]
1261
+ #
1262
+ # @!attribute [rw] num_edges
1263
+ # The number of edges in the graph.
1264
+ # @return [Integer]
1265
+ #
1266
+ # @!attribute [rw] num_node_labels
1267
+ # The number of distinct node labels in the graph.
1268
+ # @return [Integer]
1269
+ #
1270
+ # @!attribute [rw] num_edge_labels
1271
+ # The number of unique edge labels in the graph.
1272
+ # @return [Integer]
1273
+ #
1274
+ # @!attribute [rw] node_labels
1275
+ # A list of distinct node labels in the graph.
1276
+ # @return [Array<String>]
1277
+ #
1278
+ # @!attribute [rw] edge_labels
1279
+ # A list of the edge labels in the graph.
1280
+ # @return [Array<String>]
1281
+ #
1282
+ # @!attribute [rw] num_node_properties
1283
+ # The number of distinct node properties in the graph.
1284
+ # @return [Integer]
1285
+ #
1286
+ # @!attribute [rw] num_edge_properties
1287
+ # The number of edge properties in the graph.
1288
+ # @return [Integer]
1289
+ #
1290
+ # @!attribute [rw] node_properties
1291
+ # A list of the distinct node properties in the graph, along with the
1292
+ # count of nodes where each property is used.
1293
+ # @return [Array<Hash<String,Integer>>]
1294
+ #
1295
+ # @!attribute [rw] edge_properties
1296
+ # A list of the distinct edge properties in the graph, along with the
1297
+ # count of edges where each property is used.
1298
+ # @return [Array<Hash<String,Integer>>]
1299
+ #
1300
+ # @!attribute [rw] total_node_property_values
1301
+ # The total number of usages of all node properties.
1302
+ # @return [Integer]
1303
+ #
1304
+ # @!attribute [rw] total_edge_property_values
1305
+ # The total number of usages of all edge properties.
1306
+ # @return [Integer]
1307
+ #
1308
+ # @!attribute [rw] node_structures
1309
+ # This field is only present when the requested mode is DETAILED. It
1310
+ # contains a list of node structures.
1311
+ # @return [Array<Types::NodeStructure>]
1312
+ #
1313
+ # @!attribute [rw] edge_structures
1314
+ # This field is only present when the requested mode is DETAILED. It
1315
+ # contains a list of edge structures.
1316
+ # @return [Array<Types::EdgeStructure>]
1317
+ #
1318
+ # @see http://docs.aws.amazon.com/goto/WebAPI/neptune-graph-2023-11-29/GraphDataSummary AWS API Documentation
1319
+ #
1320
+ class GraphDataSummary < Struct.new(
1321
+ :num_nodes,
1322
+ :num_edges,
1323
+ :num_node_labels,
1324
+ :num_edge_labels,
1325
+ :node_labels,
1326
+ :edge_labels,
1327
+ :num_node_properties,
1328
+ :num_edge_properties,
1329
+ :node_properties,
1330
+ :edge_properties,
1331
+ :total_node_property_values,
1332
+ :total_edge_property_values,
1333
+ :node_structures,
1334
+ :edge_structures)
1335
+ SENSITIVE = []
1336
+ include Aws::Structure
1337
+ end
1338
+
1060
1339
  # Details about a graph snapshot.
1061
1340
  #
1062
1341
  # @!attribute [rw] id
@@ -1512,6 +1791,40 @@ module Aws::NeptuneGraph
1512
1791
  include Aws::Structure
1513
1792
  end
1514
1793
 
1794
+ # @!attribute [rw] graph_identifier
1795
+ # The unique identifier of the Neptune Analytics graph.
1796
+ # @return [String]
1797
+ #
1798
+ # @!attribute [rw] max_results
1799
+ # The maximum number of results to be fetched by the API.
1800
+ # @return [Integer]
1801
+ #
1802
+ # @!attribute [rw] state
1803
+ # Filtered list of queries based on state.
1804
+ # @return [String]
1805
+ #
1806
+ # @see http://docs.aws.amazon.com/goto/WebAPI/neptune-graph-2023-11-29/ListQueriesInput AWS API Documentation
1807
+ #
1808
+ class ListQueriesInput < Struct.new(
1809
+ :graph_identifier,
1810
+ :max_results,
1811
+ :state)
1812
+ SENSITIVE = []
1813
+ include Aws::Structure
1814
+ end
1815
+
1816
+ # @!attribute [rw] queries
1817
+ # A list of current openCypher queries.
1818
+ # @return [Array<Types::QuerySummary>]
1819
+ #
1820
+ # @see http://docs.aws.amazon.com/goto/WebAPI/neptune-graph-2023-11-29/ListQueriesOutput AWS API Documentation
1821
+ #
1822
+ class ListQueriesOutput < Struct.new(
1823
+ :queries)
1824
+ SENSITIVE = []
1825
+ include Aws::Structure
1826
+ end
1827
+
1515
1828
  # @!attribute [rw] resource_arn
1516
1829
  # The ARN of the resource.
1517
1830
  # @return [String]
@@ -1562,7 +1875,7 @@ module Aws::NeptuneGraph
1562
1875
  # Neptune Analytics currently does not support user defined edge ids.
1563
1876
  # The edge ids are not imported by default. They are imported if
1564
1877
  # *preserveEdgeIds* is set to true, and ids are stored as properties
1565
- # on the relationships with the property name neptuneEdgeId.
1878
+ # on the relationships with the property name *neptuneEdgeId*.
1566
1879
  # @return [Boolean]
1567
1880
  #
1568
1881
  # @see http://docs.aws.amazon.com/goto/WebAPI/neptune-graph-2023-11-29/NeptuneImportOptions AWS API Documentation
@@ -1576,6 +1889,30 @@ module Aws::NeptuneGraph
1576
1889
  include Aws::Structure
1577
1890
  end
1578
1891
 
1892
+ # Information about a node.
1893
+ #
1894
+ # @!attribute [rw] count
1895
+ # The number of instances of this node.
1896
+ # @return [Integer]
1897
+ #
1898
+ # @!attribute [rw] node_properties
1899
+ # Properties associated with this node.
1900
+ # @return [Array<String>]
1901
+ #
1902
+ # @!attribute [rw] distinct_outgoing_edge_labels
1903
+ # The outgoing edge labels associated with this node.
1904
+ # @return [Array<String>]
1905
+ #
1906
+ # @see http://docs.aws.amazon.com/goto/WebAPI/neptune-graph-2023-11-29/NodeStructure AWS API Documentation
1907
+ #
1908
+ class NodeStructure < Struct.new(
1909
+ :count,
1910
+ :node_properties,
1911
+ :distinct_outgoing_edge_labels)
1912
+ SENSITIVE = []
1913
+ include Aws::Structure
1914
+ end
1915
+
1579
1916
  # Details about a private graph endpoint.
1580
1917
  #
1581
1918
  # @!attribute [rw] vpc_id
@@ -1605,6 +1942,42 @@ module Aws::NeptuneGraph
1605
1942
  include Aws::Structure
1606
1943
  end
1607
1944
 
1945
+ # Details of the query listed.
1946
+ #
1947
+ # @!attribute [rw] id
1948
+ # A string representation of the id of the query.
1949
+ # @return [String]
1950
+ #
1951
+ # @!attribute [rw] query_string
1952
+ # The actual query text. The `queryString` may be truncated if the
1953
+ # actual query string is too long.
1954
+ # @return [String]
1955
+ #
1956
+ # @!attribute [rw] waited
1957
+ # The amount of time, in milliseconds, the query has waited in the
1958
+ # queue before being picked up by a worker thread.
1959
+ # @return [Integer]
1960
+ #
1961
+ # @!attribute [rw] elapsed
1962
+ # The running time of the query, in milliseconds.
1963
+ # @return [Integer]
1964
+ #
1965
+ # @!attribute [rw] state
1966
+ # State of the query.
1967
+ # @return [String]
1968
+ #
1969
+ # @see http://docs.aws.amazon.com/goto/WebAPI/neptune-graph-2023-11-29/QuerySummary AWS API Documentation
1970
+ #
1971
+ class QuerySummary < Struct.new(
1972
+ :id,
1973
+ :query_string,
1974
+ :waited,
1975
+ :elapsed,
1976
+ :state)
1977
+ SENSITIVE = []
1978
+ include Aws::Structure
1979
+ end
1980
+
1608
1981
  # @!attribute [rw] graph_identifier
1609
1982
  # ID of the graph to reset.
1610
1983
  # @return [String]
@@ -1944,6 +2317,24 @@ module Aws::NeptuneGraph
1944
2317
  include Aws::Structure
1945
2318
  end
1946
2319
 
2320
+ # Request cannot be processed due to known reasons. Eg. partition full.
2321
+ #
2322
+ # @!attribute [rw] message
2323
+ # @return [String]
2324
+ #
2325
+ # @!attribute [rw] reason
2326
+ # The reason for the unprocessable exception.
2327
+ # @return [String]
2328
+ #
2329
+ # @see http://docs.aws.amazon.com/goto/WebAPI/neptune-graph-2023-11-29/UnprocessableException AWS API Documentation
2330
+ #
2331
+ class UnprocessableException < Struct.new(
2332
+ :message,
2333
+ :reason)
2334
+ SENSITIVE = []
2335
+ include Aws::Structure
2336
+ end
2337
+
1947
2338
  # @!attribute [rw] resource_arn
1948
2339
  # ARN of the resource whose tag needs to be removed.
1949
2340
  # @return [String]
@@ -2081,7 +2472,7 @@ module Aws::NeptuneGraph
2081
2472
  include Aws::Structure
2082
2473
  end
2083
2474
 
2084
- # A resource could not be validated
2475
+ # A resource could not be validated.
2085
2476
  #
2086
2477
  # @!attribute [rw] message
2087
2478
  # A message describing the problem.
@@ -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.2.0'
56
+ GEM_VERSION = '1.3.0'
57
57
 
58
58
  end
data/sig/client.rbs CHANGED
@@ -87,6 +87,13 @@ module Aws
87
87
  ) -> _CancelImportTaskResponseSuccess
88
88
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CancelImportTaskResponseSuccess
89
89
 
90
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/NeptuneGraph/Client.html#cancel_query-instance_method
91
+ def cancel_query: (
92
+ graph_identifier: ::String,
93
+ query_id: ::String
94
+ ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
95
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
96
+
90
97
  interface _CreateGraphResponseSuccess
91
98
  include ::Seahorse::Client::_ResponseSuccess[Types::CreateGraphOutput]
92
99
  def id: () -> ::String
@@ -247,6 +254,21 @@ module Aws
247
254
  ) -> _DeletePrivateGraphEndpointResponseSuccess
248
255
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeletePrivateGraphEndpointResponseSuccess
249
256
 
257
+ interface _ExecuteQueryResponseSuccess
258
+ include ::Seahorse::Client::_ResponseSuccess[Types::ExecuteQueryOutput]
259
+ def payload: () -> ::IO
260
+ end
261
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/NeptuneGraph/Client.html#execute_query-instance_method
262
+ def execute_query: (
263
+ graph_identifier: ::String,
264
+ query_string: ::String,
265
+ language: ("OPEN_CYPHER"),
266
+ ?plan_cache: ("ENABLED" | "DISABLED" | "AUTO"),
267
+ ?explain_mode: ("STATIC" | "DETAILS"),
268
+ ?query_timeout_milliseconds: ::Integer
269
+ ) ?{ (*untyped) -> void } -> _ExecuteQueryResponseSuccess
270
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) ?{ (*untyped) -> void } -> _ExecuteQueryResponseSuccess
271
+
250
272
  interface _GetGraphResponseSuccess
251
273
  include ::Seahorse::Client::_ResponseSuccess[Types::GetGraphOutput]
252
274
  def id: () -> ::String
@@ -287,6 +309,19 @@ module Aws
287
309
  ) -> _GetGraphSnapshotResponseSuccess
288
310
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetGraphSnapshotResponseSuccess
289
311
 
312
+ interface _GetGraphSummaryResponseSuccess
313
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetGraphSummaryOutput]
314
+ def version: () -> ::String
315
+ def last_statistics_computation_time: () -> ::Time
316
+ def graph_summary: () -> Types::GraphDataSummary
317
+ end
318
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/NeptuneGraph/Client.html#get_graph_summary-instance_method
319
+ def get_graph_summary: (
320
+ graph_identifier: ::String,
321
+ ?mode: ("BASIC" | "DETAILED")
322
+ ) -> _GetGraphSummaryResponseSuccess
323
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetGraphSummaryResponseSuccess
324
+
290
325
  interface _GetImportTaskResponseSuccess
291
326
  include ::Seahorse::Client::_ResponseSuccess[Types::GetImportTaskOutput]
292
327
  def graph_id: () -> ::String
@@ -320,6 +355,21 @@ module Aws
320
355
  ) -> _GetPrivateGraphEndpointResponseSuccess
321
356
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetPrivateGraphEndpointResponseSuccess
322
357
 
358
+ interface _GetQueryResponseSuccess
359
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetQueryOutput]
360
+ def id: () -> ::String
361
+ def query_string: () -> ::String
362
+ def waited: () -> ::Integer
363
+ def elapsed: () -> ::Integer
364
+ def state: () -> ("RUNNING" | "WAITING" | "CANCELLING")
365
+ end
366
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/NeptuneGraph/Client.html#get_query-instance_method
367
+ def get_query: (
368
+ graph_identifier: ::String,
369
+ query_id: ::String
370
+ ) -> _GetQueryResponseSuccess
371
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetQueryResponseSuccess
372
+
323
373
  interface _ListGraphSnapshotsResponseSuccess
324
374
  include ::Seahorse::Client::_ResponseSuccess[Types::ListGraphSnapshotsOutput]
325
375
  def graph_snapshots: () -> ::Array[Types::GraphSnapshotSummary]
@@ -370,6 +420,18 @@ module Aws
370
420
  ) -> _ListPrivateGraphEndpointsResponseSuccess
371
421
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListPrivateGraphEndpointsResponseSuccess
372
422
 
423
+ interface _ListQueriesResponseSuccess
424
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListQueriesOutput]
425
+ def queries: () -> ::Array[Types::QuerySummary]
426
+ end
427
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/NeptuneGraph/Client.html#list_queries-instance_method
428
+ def list_queries: (
429
+ graph_identifier: ::String,
430
+ max_results: ::Integer,
431
+ ?state: ("ALL" | "RUNNING" | "WAITING" | "CANCELLING")
432
+ ) -> _ListQueriesResponseSuccess
433
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListQueriesResponseSuccess
434
+
373
435
  interface _ListTagsForResourceResponseSuccess
374
436
  include ::Seahorse::Client::_ResponseSuccess[Types::ListTagsForResourceOutput]
375
437
  def tags: () -> ::Hash[::String, ::String]
data/sig/errors.rbs CHANGED
@@ -11,6 +11,9 @@ module Aws
11
11
  class ServiceError < ::Aws::Errors::ServiceError
12
12
  end
13
13
 
14
+ class AccessDeniedException < ::Aws::Errors::ServiceError
15
+ def message: () -> ::String
16
+ end
14
17
  class ConflictException < ::Aws::Errors::ServiceError
15
18
  def message: () -> ::String
16
19
  def reason: () -> ::String
@@ -31,6 +34,10 @@ module Aws
31
34
  class ThrottlingException < ::Aws::Errors::ServiceError
32
35
  def message: () -> ::String
33
36
  end
37
+ class UnprocessableException < ::Aws::Errors::ServiceError
38
+ def message: () -> ::String
39
+ def reason: () -> ::String
40
+ end
34
41
  class ValidationException < ::Aws::Errors::ServiceError
35
42
  def message: () -> ::String
36
43
  def reason: () -> ::String