@aws-sdk/client-neptunedata 3.1158.0 → 3.1159.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.
- package/README.md +42 -7
- package/dist-cjs/index.js +333 -58
- package/dist-es/Neptunedata.js +10 -0
- package/dist-es/commands/CancelIndexRebuildCommand.js +4 -0
- package/dist-es/commands/GetIndexRebuildStatusCommand.js +4 -0
- package/dist-es/commands/GetStorageInfoCommand.js +4 -0
- package/dist-es/commands/ListIndexRebuildsCommand.js +4 -0
- package/dist-es/commands/StartIndexRebuildCommand.js +4 -0
- package/dist-es/commands/index.js +5 -0
- package/dist-es/models/enums.js +18 -0
- package/dist-es/models/errors.js +109 -51
- package/dist-es/schemas/schemas_0.js +155 -7
- package/dist-types/Neptunedata.d.ts +38 -0
- package/dist-types/NeptunedataClient.d.ts +7 -2
- package/dist-types/commands/CancelIndexRebuildCommand.d.ts +121 -0
- package/dist-types/commands/ExecuteGremlinExplainQueryCommand.d.ts +3 -0
- package/dist-types/commands/ExecuteGremlinProfileQueryCommand.d.ts +3 -0
- package/dist-types/commands/ExecuteGremlinQueryCommand.d.ts +3 -0
- package/dist-types/commands/ExecuteOpenCypherExplainQueryCommand.d.ts +3 -0
- package/dist-types/commands/ExecuteOpenCypherQueryCommand.d.ts +3 -0
- package/dist-types/commands/GetIndexRebuildStatusCommand.d.ts +115 -0
- package/dist-types/commands/GetStorageInfoCommand.d.ts +148 -0
- package/dist-types/commands/ListIndexRebuildsCommand.d.ts +104 -0
- package/dist-types/commands/StartIndexRebuildCommand.d.ts +126 -0
- package/dist-types/commands/index.d.ts +5 -0
- package/dist-types/models/enums.d.ts +78 -0
- package/dist-types/models/errors.d.ts +126 -41
- package/dist-types/models/models_0.d.ts +296 -1
- package/dist-types/schemas/schemas_0.d.ts +21 -0
- package/dist-types/ts3.4/Neptunedata.d.ts +88 -0
- package/dist-types/ts3.4/NeptunedataClient.d.ts +30 -0
- package/dist-types/ts3.4/commands/CancelIndexRebuildCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/GetIndexRebuildStatusCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/GetStorageInfoCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/ListIndexRebuildsCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/StartIndexRebuildCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/index.d.ts +5 -0
- package/dist-types/ts3.4/models/enums.d.ts +21 -0
- package/dist-types/ts3.4/models/errors.d.ts +58 -30
- package/dist-types/ts3.4/models/models_0.d.ts +74 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +21 -0
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -22,16 +22,16 @@ To install this package, use the CLI of your favorite package manager:
|
|
|
22
22
|
|
|
23
23
|
The AWS SDK is modulized by clients and commands.
|
|
24
24
|
To send a request, you only need to import the `NeptunedataClient` and
|
|
25
|
-
the commands you need, for example `
|
|
25
|
+
the commands you need, for example `ListIndexRebuildsCommand`:
|
|
26
26
|
|
|
27
27
|
```js
|
|
28
28
|
// ES5 example
|
|
29
|
-
const { NeptunedataClient,
|
|
29
|
+
const { NeptunedataClient, ListIndexRebuildsCommand } = require("@aws-sdk/client-neptunedata");
|
|
30
30
|
```
|
|
31
31
|
|
|
32
32
|
```ts
|
|
33
33
|
// ES6+ example
|
|
34
|
-
import { NeptunedataClient,
|
|
34
|
+
import { NeptunedataClient, ListIndexRebuildsCommand } from "@aws-sdk/client-neptunedata";
|
|
35
35
|
```
|
|
36
36
|
|
|
37
37
|
### Usage
|
|
@@ -48,7 +48,7 @@ To send a request:
|
|
|
48
48
|
const client = new NeptunedataClient({ region: "REGION" });
|
|
49
49
|
|
|
50
50
|
const params = { /** input parameters */ };
|
|
51
|
-
const command = new
|
|
51
|
+
const command = new ListIndexRebuildsCommand(params);
|
|
52
52
|
```
|
|
53
53
|
|
|
54
54
|
#### Async/await
|
|
@@ -104,7 +104,7 @@ const client = new Neptunedata({ region: "REGION" });
|
|
|
104
104
|
|
|
105
105
|
// async/await.
|
|
106
106
|
try {
|
|
107
|
-
const data = await client.
|
|
107
|
+
const data = await client.listIndexRebuilds(params);
|
|
108
108
|
// process data.
|
|
109
109
|
} catch (error) {
|
|
110
110
|
// error handling.
|
|
@@ -112,7 +112,7 @@ try {
|
|
|
112
112
|
|
|
113
113
|
// Promises.
|
|
114
114
|
client
|
|
115
|
-
.
|
|
115
|
+
.listIndexRebuilds(params)
|
|
116
116
|
.then((data) => {
|
|
117
117
|
// process data.
|
|
118
118
|
})
|
|
@@ -121,7 +121,7 @@ client
|
|
|
121
121
|
});
|
|
122
122
|
|
|
123
123
|
// callbacks (not recommended).
|
|
124
|
-
client.
|
|
124
|
+
client.listIndexRebuilds(params, (err, data) => {
|
|
125
125
|
// process err and data.
|
|
126
126
|
});
|
|
127
127
|
```
|
|
@@ -188,6 +188,13 @@ CancelGremlinQuery
|
|
|
188
188
|
</details>
|
|
189
189
|
<details>
|
|
190
190
|
<summary>
|
|
191
|
+
CancelIndexRebuild
|
|
192
|
+
</summary>
|
|
193
|
+
|
|
194
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/neptunedata/command/CancelIndexRebuildCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-neptunedata/Interface/CancelIndexRebuildCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-neptunedata/Interface/CancelIndexRebuildCommandOutput/)
|
|
195
|
+
</details>
|
|
196
|
+
<details>
|
|
197
|
+
<summary>
|
|
191
198
|
CancelLoaderJob
|
|
192
199
|
</summary>
|
|
193
200
|
|
|
@@ -307,6 +314,13 @@ GetGremlinQueryStatus
|
|
|
307
314
|
</details>
|
|
308
315
|
<details>
|
|
309
316
|
<summary>
|
|
317
|
+
GetIndexRebuildStatus
|
|
318
|
+
</summary>
|
|
319
|
+
|
|
320
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/neptunedata/command/GetIndexRebuildStatusCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-neptunedata/Interface/GetIndexRebuildStatusCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-neptunedata/Interface/GetIndexRebuildStatusCommandOutput/)
|
|
321
|
+
</details>
|
|
322
|
+
<details>
|
|
323
|
+
<summary>
|
|
310
324
|
GetLoaderJobStatus
|
|
311
325
|
</summary>
|
|
312
326
|
|
|
@@ -391,6 +405,13 @@ GetSparqlStream
|
|
|
391
405
|
</details>
|
|
392
406
|
<details>
|
|
393
407
|
<summary>
|
|
408
|
+
GetStorageInfo
|
|
409
|
+
</summary>
|
|
410
|
+
|
|
411
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/neptunedata/command/GetStorageInfoCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-neptunedata/Interface/GetStorageInfoCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-neptunedata/Interface/GetStorageInfoCommandOutput/)
|
|
412
|
+
</details>
|
|
413
|
+
<details>
|
|
414
|
+
<summary>
|
|
394
415
|
ListGremlinQueries
|
|
395
416
|
</summary>
|
|
396
417
|
|
|
@@ -398,6 +419,13 @@ ListGremlinQueries
|
|
|
398
419
|
</details>
|
|
399
420
|
<details>
|
|
400
421
|
<summary>
|
|
422
|
+
ListIndexRebuilds
|
|
423
|
+
</summary>
|
|
424
|
+
|
|
425
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/neptunedata/command/ListIndexRebuildsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-neptunedata/Interface/ListIndexRebuildsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-neptunedata/Interface/ListIndexRebuildsCommandOutput/)
|
|
426
|
+
</details>
|
|
427
|
+
<details>
|
|
428
|
+
<summary>
|
|
401
429
|
ListLoaderJobs
|
|
402
430
|
</summary>
|
|
403
431
|
|
|
@@ -454,6 +482,13 @@ ManageSparqlStatistics
|
|
|
454
482
|
</details>
|
|
455
483
|
<details>
|
|
456
484
|
<summary>
|
|
485
|
+
StartIndexRebuild
|
|
486
|
+
</summary>
|
|
487
|
+
|
|
488
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/neptunedata/command/StartIndexRebuildCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-neptunedata/Interface/StartIndexRebuildCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-neptunedata/Interface/StartIndexRebuildCommandOutput/)
|
|
489
|
+
</details>
|
|
490
|
+
<details>
|
|
491
|
+
<summary>
|
|
457
492
|
StartLoaderJob
|
|
458
493
|
</summary>
|
|
459
494
|
|