@aws-sdk/client-neptune-graph 3.504.0 → 3.507.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.
Files changed (69) hide show
  1. package/README.md +43 -3
  2. package/dist-cjs/commands/CancelQueryCommand.js +1 -0
  3. package/dist-cjs/commands/ExecuteQueryCommand.js +1 -0
  4. package/dist-cjs/commands/GetGraphSummaryCommand.js +1 -0
  5. package/dist-cjs/commands/GetQueryCommand.js +1 -0
  6. package/dist-cjs/commands/ListQueriesCommand.js +1 -0
  7. package/dist-cjs/index.js +511 -698
  8. package/dist-cjs/runtimeConfig.shared.js +2 -0
  9. package/dist-es/NeptuneGraph.js +10 -0
  10. package/dist-es/commands/CancelQueryCommand.js +25 -0
  11. package/dist-es/commands/ExecuteQueryCommand.js +26 -0
  12. package/dist-es/commands/GetGraphSummaryCommand.js +25 -0
  13. package/dist-es/commands/GetQueryCommand.js +25 -0
  14. package/dist-es/commands/ListQueriesCommand.js +25 -0
  15. package/dist-es/commands/index.js +5 -0
  16. package/dist-es/models/models_0.js +91 -29
  17. package/dist-es/protocols/Aws_restJson1.js +252 -639
  18. package/dist-es/runtimeConfig.shared.js +2 -0
  19. package/dist-types/NeptuneGraph.d.ts +38 -3
  20. package/dist-types/NeptuneGraphClient.d.ts +16 -6
  21. package/dist-types/commands/CancelImportTaskCommand.d.ts +2 -2
  22. package/dist-types/commands/CancelQueryCommand.d.ts +72 -0
  23. package/dist-types/commands/CreateGraphCommand.d.ts +1 -1
  24. package/dist-types/commands/CreateGraphSnapshotCommand.d.ts +1 -1
  25. package/dist-types/commands/CreateGraphUsingImportTaskCommand.d.ts +1 -1
  26. package/dist-types/commands/CreatePrivateGraphEndpointCommand.d.ts +1 -1
  27. package/dist-types/commands/DeleteGraphCommand.d.ts +1 -1
  28. package/dist-types/commands/DeleteGraphSnapshotCommand.d.ts +1 -1
  29. package/dist-types/commands/DeletePrivateGraphEndpointCommand.d.ts +1 -1
  30. package/dist-types/commands/ExecuteQueryCommand.d.ts +90 -0
  31. package/dist-types/commands/GetGraphCommand.d.ts +1 -1
  32. package/dist-types/commands/GetGraphSnapshotCommand.d.ts +1 -1
  33. package/dist-types/commands/GetGraphSummaryCommand.d.ts +120 -0
  34. package/dist-types/commands/GetImportTaskCommand.d.ts +1 -1
  35. package/dist-types/commands/GetPrivateGraphEndpointCommand.d.ts +1 -1
  36. package/dist-types/commands/GetQueryCommand.d.ts +78 -0
  37. package/dist-types/commands/ListGraphSnapshotsCommand.d.ts +1 -1
  38. package/dist-types/commands/ListImportTasksCommand.d.ts +1 -1
  39. package/dist-types/commands/ListPrivateGraphEndpointsCommand.d.ts +1 -1
  40. package/dist-types/commands/ListQueriesCommand.d.ts +80 -0
  41. package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -1
  42. package/dist-types/commands/ResetGraphCommand.d.ts +1 -1
  43. package/dist-types/commands/RestoreGraphFromSnapshotCommand.d.ts +1 -1
  44. package/dist-types/commands/TagResourceCommand.d.ts +1 -1
  45. package/dist-types/commands/UntagResourceCommand.d.ts +1 -1
  46. package/dist-types/commands/UpdateGraphCommand.d.ts +1 -1
  47. package/dist-types/commands/index.d.ts +5 -0
  48. package/dist-types/index.d.ts +3 -3
  49. package/dist-types/models/models_0.d.ts +522 -78
  50. package/dist-types/protocols/Aws_restJson1.d.ts +46 -1
  51. package/dist-types/runtimeConfig.browser.d.ts +1 -0
  52. package/dist-types/runtimeConfig.d.ts +1 -0
  53. package/dist-types/runtimeConfig.native.d.ts +1 -0
  54. package/dist-types/runtimeConfig.shared.d.ts +1 -0
  55. package/dist-types/ts3.4/NeptuneGraph.d.ts +85 -0
  56. package/dist-types/ts3.4/NeptuneGraphClient.d.ts +32 -0
  57. package/dist-types/ts3.4/commands/CancelQueryCommand.d.ts +24 -0
  58. package/dist-types/ts3.4/commands/ExecuteQueryCommand.d.ts +34 -0
  59. package/dist-types/ts3.4/commands/GetGraphSummaryCommand.d.ts +29 -0
  60. package/dist-types/ts3.4/commands/GetQueryCommand.d.ts +26 -0
  61. package/dist-types/ts3.4/commands/ListQueriesCommand.d.ts +26 -0
  62. package/dist-types/ts3.4/commands/index.d.ts +5 -0
  63. package/dist-types/ts3.4/models/models_0.d.ts +182 -44
  64. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +64 -1
  65. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -0
  66. package/dist-types/ts3.4/runtimeConfig.d.ts +1 -0
  67. package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -0
  68. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -0
  69. package/package.json +4 -3
@@ -1,5 +1,107 @@
1
1
  import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
+ import { StreamingBlobTypes } from "@smithy/types";
2
3
  import { NeptuneGraphServiceException as __BaseException } from "./NeptuneGraphServiceException";
4
+ /**
5
+ * @public
6
+ * <p>Raised in case of an authentication or authorization failure.</p>
7
+ */
8
+ export declare class AccessDeniedException extends __BaseException {
9
+ readonly name: "AccessDeniedException";
10
+ readonly $fault: "client";
11
+ /**
12
+ * @internal
13
+ */
14
+ constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
15
+ }
16
+ /**
17
+ * @public
18
+ */
19
+ export interface CancelQueryInput {
20
+ /**
21
+ * @public
22
+ * <p>The unique identifier of the Neptune Analytics graph.</p>
23
+ */
24
+ graphIdentifier: string | undefined;
25
+ /**
26
+ * @public
27
+ * <p>The unique identifier of the query to cancel.</p>
28
+ */
29
+ queryId: string | undefined;
30
+ }
31
+ /**
32
+ * @public
33
+ * <p>A failure occurred on the server.</p>
34
+ */
35
+ export declare class InternalServerException extends __BaseException {
36
+ readonly name: "InternalServerException";
37
+ readonly $fault: "server";
38
+ $retryable: {};
39
+ /**
40
+ * @internal
41
+ */
42
+ constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
43
+ }
44
+ /**
45
+ * @public
46
+ * <p>A specified resource could not be located.</p>
47
+ */
48
+ export declare class ResourceNotFoundException extends __BaseException {
49
+ readonly name: "ResourceNotFoundException";
50
+ readonly $fault: "client";
51
+ /**
52
+ * @internal
53
+ */
54
+ constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
55
+ }
56
+ /**
57
+ * @public
58
+ * <p>The exception was interrupted by throttling.</p>
59
+ */
60
+ export declare class ThrottlingException extends __BaseException {
61
+ readonly name: "ThrottlingException";
62
+ readonly $fault: "client";
63
+ $retryable: {
64
+ throttling: boolean;
65
+ };
66
+ /**
67
+ * @internal
68
+ */
69
+ constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
70
+ }
71
+ /**
72
+ * @public
73
+ * @enum
74
+ */
75
+ export declare const ValidationExceptionReason: {
76
+ readonly BAD_REQUEST: "BAD_REQUEST";
77
+ readonly CONSTRAINT_VIOLATION: "CONSTRAINT_VIOLATION";
78
+ readonly ILLEGAL_ARGUMENT: "ILLEGAL_ARGUMENT";
79
+ readonly MALFORMED_QUERY: "MALFORMED_QUERY";
80
+ readonly QUERY_CANCELLED: "QUERY_CANCELLED";
81
+ readonly QUERY_TOO_LARGE: "QUERY_TOO_LARGE";
82
+ readonly UNSUPPORTED_OPERATION: "UNSUPPORTED_OPERATION";
83
+ };
84
+ /**
85
+ * @public
86
+ */
87
+ export type ValidationExceptionReason = (typeof ValidationExceptionReason)[keyof typeof ValidationExceptionReason];
88
+ /**
89
+ * @public
90
+ * <p>A resource could not be validated.</p>
91
+ */
92
+ export declare class ValidationException extends __BaseException {
93
+ readonly name: "ValidationException";
94
+ readonly $fault: "client";
95
+ /**
96
+ * @public
97
+ * <p>The reason that the resource could not be validated.</p>
98
+ */
99
+ reason?: ValidationExceptionReason;
100
+ /**
101
+ * @internal
102
+ */
103
+ constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
104
+ }
3
105
  /**
4
106
  * @public
5
107
  * @enum
@@ -28,6 +130,343 @@ export declare class ConflictException extends __BaseException {
28
130
  */
29
131
  constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
30
132
  }
133
+ /**
134
+ * @public
135
+ * @enum
136
+ */
137
+ export declare const ExplainMode: {
138
+ readonly DETAILS: "DETAILS";
139
+ readonly STATIC: "STATIC";
140
+ };
141
+ /**
142
+ * @public
143
+ */
144
+ export type ExplainMode = (typeof ExplainMode)[keyof typeof ExplainMode];
145
+ /**
146
+ * @public
147
+ * @enum
148
+ */
149
+ export declare const QueryLanguage: {
150
+ readonly OPEN_CYPHER: "OPEN_CYPHER";
151
+ };
152
+ /**
153
+ * @public
154
+ */
155
+ export type QueryLanguage = (typeof QueryLanguage)[keyof typeof QueryLanguage];
156
+ /**
157
+ * @public
158
+ * @enum
159
+ */
160
+ export declare const PlanCacheType: {
161
+ readonly AUTO: "AUTO";
162
+ readonly DISABLED: "DISABLED";
163
+ readonly ENABLED: "ENABLED";
164
+ };
165
+ /**
166
+ * @public
167
+ */
168
+ export type PlanCacheType = (typeof PlanCacheType)[keyof typeof PlanCacheType];
169
+ /**
170
+ * @public
171
+ */
172
+ export interface ExecuteQueryInput {
173
+ /**
174
+ * @public
175
+ * <p>The unique identifier of the Neptune Analytics graph.</p>
176
+ */
177
+ graphIdentifier: string | undefined;
178
+ /**
179
+ * @public
180
+ * <p>The query string to be executed.</p>
181
+ */
182
+ queryString: string | undefined;
183
+ /**
184
+ * @public
185
+ * <p>The query language the query is written in. Currently only openCypher is supported.</p>
186
+ */
187
+ language: QueryLanguage | undefined;
188
+ /**
189
+ * @public
190
+ * <p>Query plan cache is a feature that saves the query plan and reuses it on successive executions of the same query.
191
+ * This reduces query latency, and works for both <code>READ</code> and <code>UPDATE</code> queries. The plan cache is an
192
+ * LRU cache with a 5 minute TTL and a capacity of 1000.</p>
193
+ */
194
+ planCache?: PlanCacheType;
195
+ /**
196
+ * @public
197
+ * <p>The explain mode parameter returns a query explain instead of the actual query results. A query explain can
198
+ * be used to gather insights about the query execution such as planning decisions, time spent on each operator, solutions
199
+ * flowing etc.</p>
200
+ */
201
+ explainMode?: ExplainMode;
202
+ /**
203
+ * @public
204
+ * <p>Specifies the query timeout duration, in milliseconds. (optional)</p>
205
+ */
206
+ queryTimeoutMilliseconds?: number;
207
+ }
208
+ /**
209
+ * @public
210
+ */
211
+ export interface ExecuteQueryOutput {
212
+ /**
213
+ * @public
214
+ * <p>The query results.</p>
215
+ */
216
+ payload: StreamingBlobTypes | undefined;
217
+ }
218
+ /**
219
+ * @public
220
+ * @enum
221
+ */
222
+ export declare const UnprocessableExceptionReason: {
223
+ readonly INTERNAL_LIMIT_EXCEEDED: "INTERNAL_LIMIT_EXCEEDED";
224
+ readonly MEMORY_LIMIT_EXCEEDED: "MEMORY_LIMIT_EXCEEDED";
225
+ readonly PARTITION_FULL: "PARTITION_FULL";
226
+ readonly QUERY_TIMEOUT: "QUERY_TIMEOUT";
227
+ readonly STORAGE_LIMIT_EXCEEDED: "STORAGE_LIMIT_EXCEEDED";
228
+ };
229
+ /**
230
+ * @public
231
+ */
232
+ export type UnprocessableExceptionReason = (typeof UnprocessableExceptionReason)[keyof typeof UnprocessableExceptionReason];
233
+ /**
234
+ * @public
235
+ * <p>Request cannot be processed due to known reasons. Eg. partition full.</p>
236
+ */
237
+ export declare class UnprocessableException extends __BaseException {
238
+ readonly name: "UnprocessableException";
239
+ readonly $fault: "client";
240
+ /**
241
+ * @public
242
+ * <p>The reason for the unprocessable exception.</p>
243
+ */
244
+ reason: UnprocessableExceptionReason | undefined;
245
+ /**
246
+ * @internal
247
+ */
248
+ constructor(opts: __ExceptionOptionType<UnprocessableException, __BaseException>);
249
+ }
250
+ /**
251
+ * @public
252
+ * @enum
253
+ */
254
+ export declare const GraphSummaryMode: {
255
+ readonly BASIC: "BASIC";
256
+ readonly DETAILED: "DETAILED";
257
+ };
258
+ /**
259
+ * @public
260
+ */
261
+ export type GraphSummaryMode = (typeof GraphSummaryMode)[keyof typeof GraphSummaryMode];
262
+ /**
263
+ * @public
264
+ */
265
+ export interface GetGraphSummaryInput {
266
+ /**
267
+ * @public
268
+ * <p>The unique identifier of the Neptune Analytics graph.</p>
269
+ */
270
+ graphIdentifier: string | undefined;
271
+ /**
272
+ * @public
273
+ * <p>The summary mode can take one of two values: <code>basic</code> (the default), and
274
+ * <code>detailed</code>.</p>
275
+ */
276
+ mode?: GraphSummaryMode;
277
+ }
278
+ /**
279
+ * @public
280
+ * <p>Contains information about an edge in a Neptune Analytics graph.</p>
281
+ */
282
+ export interface EdgeStructure {
283
+ /**
284
+ * @public
285
+ * <p>The number of instances of the edge in the graph.</p>
286
+ */
287
+ count?: number;
288
+ /**
289
+ * @public
290
+ * <p>A list of the properties associated with the edge.</p>
291
+ */
292
+ edgeProperties?: string[];
293
+ }
294
+ /**
295
+ * @public
296
+ * <p>Information about a node.</p>
297
+ */
298
+ export interface NodeStructure {
299
+ /**
300
+ * @public
301
+ * <p>The number of instances of this node.</p>
302
+ */
303
+ count?: number;
304
+ /**
305
+ * @public
306
+ * <p>Properties associated with this node.</p>
307
+ */
308
+ nodeProperties?: string[];
309
+ /**
310
+ * @public
311
+ * <p>The outgoing edge labels associated with this node.</p>
312
+ */
313
+ distinctOutgoingEdgeLabels?: string[];
314
+ }
315
+ /**
316
+ * @public
317
+ * <p>Summary information about the graph.</p>
318
+ */
319
+ export interface GraphDataSummary {
320
+ /**
321
+ * @public
322
+ * <p>The number of nodes in the graph.</p>
323
+ */
324
+ numNodes?: number;
325
+ /**
326
+ * @public
327
+ * <p>The number of edges in the graph.</p>
328
+ */
329
+ numEdges?: number;
330
+ /**
331
+ * @public
332
+ * <p>The number of distinct node labels in the graph.</p>
333
+ */
334
+ numNodeLabels?: number;
335
+ /**
336
+ * @public
337
+ * <p>The number of unique edge labels in the graph.</p>
338
+ */
339
+ numEdgeLabels?: number;
340
+ /**
341
+ * @public
342
+ * <p>A list of distinct node labels in the graph.</p>
343
+ */
344
+ nodeLabels?: string[];
345
+ /**
346
+ * @public
347
+ * <p>A list of the edge labels in the graph.</p>
348
+ */
349
+ edgeLabels?: string[];
350
+ /**
351
+ * @public
352
+ * <p>The number of distinct node properties in the graph.</p>
353
+ */
354
+ numNodeProperties?: number;
355
+ /**
356
+ * @public
357
+ * <p>The number of edge properties in the graph.</p>
358
+ */
359
+ numEdgeProperties?: number;
360
+ /**
361
+ * @public
362
+ * <p>A list of the distinct node properties in the graph, along with the count of nodes where each property is used.</p>
363
+ */
364
+ nodeProperties?: Record<string, number>[];
365
+ /**
366
+ * @public
367
+ * <p>A list of the distinct edge properties in the graph, along with the count of edges
368
+ * where each property is used.</p>
369
+ */
370
+ edgeProperties?: Record<string, number>[];
371
+ /**
372
+ * @public
373
+ * <p>The total number of usages of all node properties.</p>
374
+ */
375
+ totalNodePropertyValues?: number;
376
+ /**
377
+ * @public
378
+ * <p>The total number of usages of all edge properties.</p>
379
+ */
380
+ totalEdgePropertyValues?: number;
381
+ /**
382
+ * @public
383
+ * <p>This field is only present when the requested mode is DETAILED. It contains a list of node structures.</p>
384
+ */
385
+ nodeStructures?: NodeStructure[];
386
+ /**
387
+ * @public
388
+ * <p>This field is only present when the requested mode is DETAILED. It contains a list of edge structures.</p>
389
+ */
390
+ edgeStructures?: EdgeStructure[];
391
+ }
392
+ /**
393
+ * @public
394
+ */
395
+ export interface GetGraphSummaryOutput {
396
+ /**
397
+ * @public
398
+ * <p>Display the version of this tool.</p>
399
+ */
400
+ version?: string;
401
+ /**
402
+ * @public
403
+ * <p>The timestamp, in ISO 8601 format, of the time at which Neptune Analytics last computed statistics.</p>
404
+ */
405
+ lastStatisticsComputationTime?: Date;
406
+ /**
407
+ * @public
408
+ * <p>The graph summary.</p>
409
+ */
410
+ graphSummary?: GraphDataSummary;
411
+ }
412
+ /**
413
+ * @public
414
+ */
415
+ export interface GetQueryInput {
416
+ /**
417
+ * @public
418
+ * <p>The unique identifier of the Neptune Analytics graph.</p>
419
+ */
420
+ graphIdentifier: string | undefined;
421
+ /**
422
+ * @public
423
+ * <p>The ID of the query in question.</p>
424
+ */
425
+ queryId: string | undefined;
426
+ }
427
+ /**
428
+ * @public
429
+ * @enum
430
+ */
431
+ export declare const QueryState: {
432
+ readonly CANCELLING: "CANCELLING";
433
+ readonly RUNNING: "RUNNING";
434
+ readonly WAITING: "WAITING";
435
+ };
436
+ /**
437
+ * @public
438
+ */
439
+ export type QueryState = (typeof QueryState)[keyof typeof QueryState];
440
+ /**
441
+ * @public
442
+ */
443
+ export interface GetQueryOutput {
444
+ /**
445
+ * @public
446
+ * <p>The ID of the query in question.</p>
447
+ */
448
+ id?: string;
449
+ /**
450
+ * @public
451
+ * <p>The query in question.</p>
452
+ */
453
+ queryString?: string;
454
+ /**
455
+ * @public
456
+ * <p>Indicates how long the query waited, in milliseconds.</p>
457
+ */
458
+ waited?: number;
459
+ /**
460
+ * @public
461
+ * <p>The number of milliseconds the query has been running.</p>
462
+ */
463
+ elapsed?: number;
464
+ /**
465
+ * @public
466
+ * <p>State of the query.</p>
467
+ */
468
+ state?: QueryState;
469
+ }
31
470
  /**
32
471
  * @public
33
472
  * <p>Specifies the number of dimensions for vector embeddings loaded into the graph. Max = 65535</p>
@@ -76,7 +515,7 @@ export interface CreateGraphInput {
76
515
  vectorSearchConfiguration?: VectorSearchConfiguration;
77
516
  /**
78
517
  * @public
79
- * <p>The number of replicas in other AZs. Min =0, Max = 2, Default =1</p>
518
+ * <p>The number of replicas in other AZs. Min =0, Max = 2, Default = 1.</p>
80
519
  */
81
520
  replicaCount?: number;
82
521
  /**
@@ -193,19 +632,6 @@ export interface CreateGraphOutput {
193
632
  */
194
633
  buildNumber?: string;
195
634
  }
196
- /**
197
- * @public
198
- * <p>A failure occurred on the server.</p>
199
- */
200
- export declare class InternalServerException extends __BaseException {
201
- readonly name: "InternalServerException";
202
- readonly $fault: "server";
203
- $retryable: {};
204
- /**
205
- * @internal
206
- */
207
- constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
208
- }
209
635
  /**
210
636
  * @public
211
637
  * <p>A service quota was exceeded.</p>
@@ -238,55 +664,6 @@ export declare class ServiceQuotaExceededException extends __BaseException {
238
664
  */
239
665
  constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
240
666
  }
241
- /**
242
- * @public
243
- * <p>The exception was interrupted by throttling.</p>
244
- */
245
- export declare class ThrottlingException extends __BaseException {
246
- readonly name: "ThrottlingException";
247
- readonly $fault: "client";
248
- $retryable: {
249
- throttling: boolean;
250
- };
251
- /**
252
- * @internal
253
- */
254
- constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
255
- }
256
- /**
257
- * @public
258
- * @enum
259
- */
260
- export declare const ValidationExceptionReason: {
261
- readonly BAD_REQUEST: "BAD_REQUEST";
262
- readonly CONSTRAINT_VIOLATION: "CONSTRAINT_VIOLATION";
263
- readonly ILLEGAL_ARGUMENT: "ILLEGAL_ARGUMENT";
264
- readonly MALFORMED_QUERY: "MALFORMED_QUERY";
265
- readonly QUERY_CANCELLED: "QUERY_CANCELLED";
266
- readonly QUERY_TOO_LARGE: "QUERY_TOO_LARGE";
267
- readonly UNSUPPORTED_OPERATION: "UNSUPPORTED_OPERATION";
268
- };
269
- /**
270
- * @public
271
- */
272
- export type ValidationExceptionReason = (typeof ValidationExceptionReason)[keyof typeof ValidationExceptionReason];
273
- /**
274
- * @public
275
- * <p>A resource could not be validated</p>
276
- */
277
- export declare class ValidationException extends __BaseException {
278
- readonly name: "ValidationException";
279
- readonly $fault: "client";
280
- /**
281
- * @public
282
- * <p>The reason that the resource could not be validated.</p>
283
- */
284
- reason?: ValidationExceptionReason;
285
- /**
286
- * @internal
287
- */
288
- constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
289
- }
290
667
  /**
291
668
  * @public
292
669
  */
@@ -384,18 +761,6 @@ export interface DeleteGraphOutput {
384
761
  */
385
762
  buildNumber?: string;
386
763
  }
387
- /**
388
- * @public
389
- * <p>A specified resource could not be located.</p>
390
- */
391
- export declare class ResourceNotFoundException extends __BaseException {
392
- readonly name: "ResourceNotFoundException";
393
- readonly $fault: "client";
394
- /**
395
- * @internal
396
- */
397
- constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
398
- }
399
764
  /**
400
765
  * @public
401
766
  */
@@ -913,6 +1278,81 @@ export interface UpdateGraphOutput {
913
1278
  */
914
1279
  buildNumber?: string;
915
1280
  }
1281
+ /**
1282
+ * @public
1283
+ * @enum
1284
+ */
1285
+ export declare const QueryStateInput: {
1286
+ readonly ALL: "ALL";
1287
+ readonly CANCELLING: "CANCELLING";
1288
+ readonly RUNNING: "RUNNING";
1289
+ readonly WAITING: "WAITING";
1290
+ };
1291
+ /**
1292
+ * @public
1293
+ */
1294
+ export type QueryStateInput = (typeof QueryStateInput)[keyof typeof QueryStateInput];
1295
+ /**
1296
+ * @public
1297
+ */
1298
+ export interface ListQueriesInput {
1299
+ /**
1300
+ * @public
1301
+ * <p>The unique identifier of the Neptune Analytics graph.</p>
1302
+ */
1303
+ graphIdentifier: string | undefined;
1304
+ /**
1305
+ * @public
1306
+ * <p>The maximum number of results to be fetched by the API.</p>
1307
+ */
1308
+ maxResults: number | undefined;
1309
+ /**
1310
+ * @public
1311
+ * <p>Filtered list of queries based on state.</p>
1312
+ */
1313
+ state?: QueryStateInput;
1314
+ }
1315
+ /**
1316
+ * @public
1317
+ * <p>Details of the query listed.</p>
1318
+ */
1319
+ export interface QuerySummary {
1320
+ /**
1321
+ * @public
1322
+ * <p>A string representation of the id of the query.</p>
1323
+ */
1324
+ id?: string;
1325
+ /**
1326
+ * @public
1327
+ * <p>The actual query text. The <code>queryString</code> may be truncated if the actual query string is too long.</p>
1328
+ */
1329
+ queryString?: string;
1330
+ /**
1331
+ * @public
1332
+ * <p>The amount of time, in milliseconds, the query has waited in the queue before being picked up by a worker thread.</p>
1333
+ */
1334
+ waited?: number;
1335
+ /**
1336
+ * @public
1337
+ * <p>The running time of the query, in milliseconds.</p>
1338
+ */
1339
+ elapsed?: number;
1340
+ /**
1341
+ * @public
1342
+ * <p>State of the query.</p>
1343
+ */
1344
+ state?: QueryState;
1345
+ }
1346
+ /**
1347
+ * @public
1348
+ */
1349
+ export interface ListQueriesOutput {
1350
+ /**
1351
+ * @public
1352
+ * <p>A list of current openCypher queries.</p>
1353
+ */
1354
+ queries: QuerySummary[] | undefined;
1355
+ }
916
1356
  /**
917
1357
  * @public
918
1358
  */
@@ -1517,7 +1957,7 @@ export interface CancelImportTaskOutput {
1517
1957
  /**
1518
1958
  * @public
1519
1959
  * <p>A URL identifying to the location of the data to be imported. This can be an Amazon S3 path,
1520
- * or can point to a Neptune database endpoint or snapshot</p>
1960
+ * or can point to a Neptune database endpoint or snapshot.</p>
1521
1961
  */
1522
1962
  source: string | undefined;
1523
1963
  /**
@@ -1568,7 +2008,7 @@ export interface NeptuneImportOptions {
1568
2008
  * @public
1569
2009
  * <p>Neptune Analytics currently does not support user defined edge ids. The edge ids are not imported by
1570
2010
  * default. They are imported if <i>preserveEdgeIds</i> is set to true, and ids are stored as
1571
- * properties on the relationships with the property name neptuneEdgeId.</p>
2011
+ * properties on the relationships with the property name <i>neptuneEdgeId</i>.</p>
1572
2012
  */
1573
2013
  preserveEdgeIds?: boolean;
1574
2014
  }
@@ -1623,7 +2063,7 @@ export interface CreateGraphUsingImportTaskInput {
1623
2063
  /**
1624
2064
  * @public
1625
2065
  * <p>Specifies whether or not the graph can be reachable over the internet. All access to graphs IAM authenticated.
1626
- * (<code>true</code> to enable, or <code>false</code> to disable.</p>
2066
+ * (<code>true</code> to enable, or <code>false</code> to disable).</p>
1627
2067
  */
1628
2068
  publicConnectivity?: boolean;
1629
2069
  /**
@@ -2019,3 +2459,7 @@ export interface UntagResourceInput {
2019
2459
  */
2020
2460
  export interface UntagResourceOutput {
2021
2461
  }
2462
+ /**
2463
+ * @internal
2464
+ */
2465
+ export declare const ExecuteQueryOutputFilterSensitiveLog: (obj: ExecuteQueryOutput) => any;