@aws-sdk/client-neptune-graph 3.696.0 → 3.709.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 +32 -0
- package/dist-cjs/index.js +399 -26
- package/dist-es/NeptuneGraph.js +8 -0
- package/dist-es/commands/CancelExportTaskCommand.js +25 -0
- package/dist-es/commands/GetExportTaskCommand.js +25 -0
- package/dist-es/commands/ListExportTasksCommand.js +25 -0
- package/dist-es/commands/StartExportTaskCommand.js +25 -0
- package/dist-es/commands/index.js +4 -0
- package/dist-es/models/models_0.js +22 -0
- package/dist-es/pagination/ListExportTasksPaginator.js +4 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/protocols/Aws_restJson1.js +149 -0
- package/dist-es/waiters/index.js +2 -0
- package/dist-es/waiters/waitForExportTaskCancelled.js +40 -0
- package/dist-es/waiters/waitForExportTaskSuccessful.js +58 -0
- package/dist-types/NeptuneGraph.d.ts +29 -0
- package/dist-types/NeptuneGraphClient.d.ts +6 -2
- package/dist-types/commands/CancelExportTaskCommand.d.ts +94 -0
- package/dist-types/commands/CancelImportTaskCommand.d.ts +3 -2
- package/dist-types/commands/CreateGraphUsingImportTaskCommand.d.ts +5 -3
- package/dist-types/commands/GetExportTaskCommand.d.ts +122 -0
- package/dist-types/commands/GetImportTaskCommand.d.ts +3 -2
- package/dist-types/commands/ListExportTasksCommand.d.ts +97 -0
- package/dist-types/commands/ListImportTasksCommand.d.ts +3 -2
- package/dist-types/commands/StartExportTaskCommand.d.ts +150 -0
- package/dist-types/commands/StartImportTaskCommand.d.ts +5 -3
- package/dist-types/commands/index.d.ts +4 -0
- package/dist-types/models/models_0.d.ts +493 -1
- package/dist-types/pagination/ListExportTasksPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +36 -0
- package/dist-types/ts3.4/NeptuneGraph.d.ts +69 -0
- package/dist-types/ts3.4/NeptuneGraphClient.d.ts +24 -0
- package/dist-types/ts3.4/commands/CancelExportTaskCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/GetExportTaskCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/ListExportTasksCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/StartExportTaskCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/index.d.ts +4 -0
- package/dist-types/ts3.4/models/models_0.d.ts +125 -0
- package/dist-types/ts3.4/pagination/ListExportTasksPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +48 -0
- package/dist-types/ts3.4/waiters/index.d.ts +2 -0
- package/dist-types/ts3.4/waiters/waitForExportTaskCancelled.d.ts +11 -0
- package/dist-types/ts3.4/waiters/waitForExportTaskSuccessful.d.ts +11 -0
- package/dist-types/waiters/index.d.ts +2 -0
- package/dist-types/waiters/waitForExportTaskCancelled.d.ts +14 -0
- package/dist-types/waiters/waitForExportTaskSuccessful.d.ts +14 -0
- package/package.json +37 -37
package/dist-cjs/index.js
CHANGED
|
@@ -23,6 +23,7 @@ var src_exports = {};
|
|
|
23
23
|
__export(src_exports, {
|
|
24
24
|
AccessDeniedException: () => AccessDeniedException,
|
|
25
25
|
BlankNodeHandling: () => BlankNodeHandling,
|
|
26
|
+
CancelExportTaskCommand: () => CancelExportTaskCommand,
|
|
26
27
|
CancelImportTaskCommand: () => CancelImportTaskCommand,
|
|
27
28
|
CancelQueryCommand: () => CancelQueryCommand,
|
|
28
29
|
ConflictException: () => ConflictException,
|
|
@@ -37,7 +38,10 @@ __export(src_exports, {
|
|
|
37
38
|
ExecuteQueryCommand: () => ExecuteQueryCommand,
|
|
38
39
|
ExecuteQueryOutputFilterSensitiveLog: () => ExecuteQueryOutputFilterSensitiveLog,
|
|
39
40
|
ExplainMode: () => ExplainMode,
|
|
41
|
+
ExportFormat: () => ExportFormat,
|
|
42
|
+
ExportTaskStatus: () => ExportTaskStatus,
|
|
40
43
|
Format: () => Format,
|
|
44
|
+
GetExportTaskCommand: () => GetExportTaskCommand,
|
|
41
45
|
GetGraphCommand: () => GetGraphCommand,
|
|
42
46
|
GetGraphSnapshotCommand: () => GetGraphSnapshotCommand,
|
|
43
47
|
GetGraphSummaryCommand: () => GetGraphSummaryCommand,
|
|
@@ -49,15 +53,18 @@ __export(src_exports, {
|
|
|
49
53
|
ImportOptions: () => ImportOptions,
|
|
50
54
|
ImportTaskStatus: () => ImportTaskStatus,
|
|
51
55
|
InternalServerException: () => InternalServerException,
|
|
56
|
+
ListExportTasksCommand: () => ListExportTasksCommand,
|
|
52
57
|
ListGraphSnapshotsCommand: () => ListGraphSnapshotsCommand,
|
|
53
58
|
ListGraphsCommand: () => ListGraphsCommand,
|
|
54
59
|
ListImportTasksCommand: () => ListImportTasksCommand,
|
|
55
60
|
ListPrivateGraphEndpointsCommand: () => ListPrivateGraphEndpointsCommand,
|
|
56
61
|
ListQueriesCommand: () => ListQueriesCommand,
|
|
57
62
|
ListTagsForResourceCommand: () => ListTagsForResourceCommand,
|
|
63
|
+
MultiValueHandlingType: () => MultiValueHandlingType,
|
|
58
64
|
NeptuneGraph: () => NeptuneGraph,
|
|
59
65
|
NeptuneGraphClient: () => NeptuneGraphClient,
|
|
60
66
|
NeptuneGraphServiceException: () => NeptuneGraphServiceException,
|
|
67
|
+
ParquetType: () => ParquetType,
|
|
61
68
|
PlanCacheType: () => PlanCacheType,
|
|
62
69
|
PrivateGraphEndpointStatus: () => PrivateGraphEndpointStatus,
|
|
63
70
|
QueryLanguage: () => QueryLanguage,
|
|
@@ -68,6 +75,7 @@ __export(src_exports, {
|
|
|
68
75
|
RestoreGraphFromSnapshotCommand: () => RestoreGraphFromSnapshotCommand,
|
|
69
76
|
ServiceQuotaExceededException: () => ServiceQuotaExceededException,
|
|
70
77
|
SnapshotStatus: () => SnapshotStatus,
|
|
78
|
+
StartExportTaskCommand: () => StartExportTaskCommand,
|
|
71
79
|
StartImportTaskCommand: () => StartImportTaskCommand,
|
|
72
80
|
TagResourceCommand: () => TagResourceCommand,
|
|
73
81
|
ThrottlingException: () => ThrottlingException,
|
|
@@ -78,10 +86,13 @@ __export(src_exports, {
|
|
|
78
86
|
ValidationException: () => ValidationException,
|
|
79
87
|
ValidationExceptionReason: () => ValidationExceptionReason,
|
|
80
88
|
__Client: () => import_smithy_client.Client,
|
|
89
|
+
paginateListExportTasks: () => paginateListExportTasks,
|
|
81
90
|
paginateListGraphSnapshots: () => paginateListGraphSnapshots,
|
|
82
91
|
paginateListGraphs: () => paginateListGraphs,
|
|
83
92
|
paginateListImportTasks: () => paginateListImportTasks,
|
|
84
93
|
paginateListPrivateGraphEndpoints: () => paginateListPrivateGraphEndpoints,
|
|
94
|
+
waitForExportTaskCancelled: () => waitForExportTaskCancelled,
|
|
95
|
+
waitForExportTaskSuccessful: () => waitForExportTaskSuccessful,
|
|
85
96
|
waitForGraphAvailable: () => waitForGraphAvailable,
|
|
86
97
|
waitForGraphDeleted: () => waitForGraphDeleted,
|
|
87
98
|
waitForGraphSnapshotAvailable: () => waitForGraphSnapshotAvailable,
|
|
@@ -90,6 +101,8 @@ __export(src_exports, {
|
|
|
90
101
|
waitForImportTaskSuccessful: () => waitForImportTaskSuccessful,
|
|
91
102
|
waitForPrivateGraphEndpointAvailable: () => waitForPrivateGraphEndpointAvailable,
|
|
92
103
|
waitForPrivateGraphEndpointDeleted: () => waitForPrivateGraphEndpointDeleted,
|
|
104
|
+
waitUntilExportTaskCancelled: () => waitUntilExportTaskCancelled,
|
|
105
|
+
waitUntilExportTaskSuccessful: () => waitUntilExportTaskSuccessful,
|
|
93
106
|
waitUntilGraphAvailable: () => waitUntilGraphAvailable,
|
|
94
107
|
waitUntilGraphDeleted: () => waitUntilGraphDeleted,
|
|
95
108
|
waitUntilGraphSnapshotAvailable: () => waitUntilGraphSnapshotAvailable,
|
|
@@ -241,7 +254,7 @@ var NeptuneGraphClient = _NeptuneGraphClient;
|
|
|
241
254
|
// src/NeptuneGraph.ts
|
|
242
255
|
|
|
243
256
|
|
|
244
|
-
// src/commands/
|
|
257
|
+
// src/commands/CancelExportTaskCommand.ts
|
|
245
258
|
|
|
246
259
|
var import_middleware_serde = require("@smithy/middleware-serde");
|
|
247
260
|
|
|
@@ -482,15 +495,33 @@ var SnapshotStatus = {
|
|
|
482
495
|
DELETING: "DELETING",
|
|
483
496
|
FAILED: "FAILED"
|
|
484
497
|
};
|
|
498
|
+
var ExportFormat = {
|
|
499
|
+
CSV: "CSV",
|
|
500
|
+
PARQUET: "PARQUET"
|
|
501
|
+
};
|
|
502
|
+
var ParquetType = {
|
|
503
|
+
COLUMNAR: "COLUMNAR"
|
|
504
|
+
};
|
|
505
|
+
var ExportTaskStatus = {
|
|
506
|
+
CANCELLED: "CANCELLED",
|
|
507
|
+
CANCELLING: "CANCELLING",
|
|
508
|
+
DELETED: "DELETED",
|
|
509
|
+
EXPORTING: "EXPORTING",
|
|
510
|
+
FAILED: "FAILED",
|
|
511
|
+
INITIALIZING: "INITIALIZING",
|
|
512
|
+
SUCCEEDED: "SUCCEEDED"
|
|
513
|
+
};
|
|
485
514
|
var Format = {
|
|
486
515
|
CSV: "CSV",
|
|
487
516
|
NTRIPLES: "NTRIPLES",
|
|
488
|
-
OPEN_CYPHER: "OPEN_CYPHER"
|
|
517
|
+
OPEN_CYPHER: "OPEN_CYPHER",
|
|
518
|
+
PARQUET: "PARQUET"
|
|
489
519
|
};
|
|
490
520
|
var ImportTaskStatus = {
|
|
491
521
|
ANALYZING_DATA: "ANALYZING_DATA",
|
|
492
522
|
CANCELLED: "CANCELLED",
|
|
493
523
|
CANCELLING: "CANCELLING",
|
|
524
|
+
DELETED: "DELETED",
|
|
494
525
|
EXPORTING: "EXPORTING",
|
|
495
526
|
FAILED: "FAILED",
|
|
496
527
|
IMPORTING: "IMPORTING",
|
|
@@ -510,11 +541,24 @@ var ImportOptions;
|
|
|
510
541
|
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
511
542
|
}, "visit");
|
|
512
543
|
})(ImportOptions || (ImportOptions = {}));
|
|
544
|
+
var MultiValueHandlingType = {
|
|
545
|
+
PICK_FIRST: "PICK_FIRST",
|
|
546
|
+
TO_LIST: "TO_LIST"
|
|
547
|
+
};
|
|
513
548
|
var ExecuteQueryOutputFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
514
549
|
...obj
|
|
515
550
|
}), "ExecuteQueryOutputFilterSensitiveLog");
|
|
516
551
|
|
|
517
552
|
// src/protocols/Aws_restJson1.ts
|
|
553
|
+
var se_CancelExportTaskCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
554
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
555
|
+
const headers = {};
|
|
556
|
+
b.bp("/exporttasks/{taskIdentifier}");
|
|
557
|
+
b.p("taskIdentifier", () => input.taskIdentifier, "{taskIdentifier}", false);
|
|
558
|
+
let body;
|
|
559
|
+
b.m("DELETE").h(headers).b(body);
|
|
560
|
+
return b.build();
|
|
561
|
+
}, "se_CancelExportTaskCommand");
|
|
518
562
|
var se_CancelImportTaskCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
519
563
|
const b = (0, import_core.requestBuilder)(input, context);
|
|
520
564
|
const headers = {};
|
|
@@ -604,6 +648,7 @@ var se_CreateGraphUsingImportTaskCommand = /* @__PURE__ */ __name(async (input,
|
|
|
604
648
|
kmsKeyIdentifier: [],
|
|
605
649
|
maxProvisionedMemory: [],
|
|
606
650
|
minProvisionedMemory: [],
|
|
651
|
+
parquetType: [],
|
|
607
652
|
publicConnectivity: [],
|
|
608
653
|
replicaCount: [],
|
|
609
654
|
roleArn: [],
|
|
@@ -697,6 +742,15 @@ var se_ExecuteQueryCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
|
697
742
|
b.m("POST").h(headers).b(body);
|
|
698
743
|
return b.build();
|
|
699
744
|
}, "se_ExecuteQueryCommand");
|
|
745
|
+
var se_GetExportTaskCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
746
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
747
|
+
const headers = {};
|
|
748
|
+
b.bp("/exporttasks/{taskIdentifier}");
|
|
749
|
+
b.p("taskIdentifier", () => input.taskIdentifier, "{taskIdentifier}", false);
|
|
750
|
+
let body;
|
|
751
|
+
b.m("GET").h(headers).b(body);
|
|
752
|
+
return b.build();
|
|
753
|
+
}, "se_GetExportTaskCommand");
|
|
700
754
|
var se_GetGraphCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
701
755
|
const b = (0, import_core.requestBuilder)(input, context);
|
|
702
756
|
const headers = {};
|
|
@@ -782,6 +836,18 @@ var se_GetQueryCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
|
782
836
|
b.m("GET").h(headers).b(body);
|
|
783
837
|
return b.build();
|
|
784
838
|
}, "se_GetQueryCommand");
|
|
839
|
+
var se_ListExportTasksCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
840
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
841
|
+
const headers = {};
|
|
842
|
+
b.bp("/exporttasks");
|
|
843
|
+
const query = (0, import_smithy_client.map)({
|
|
844
|
+
[_nT]: [, input[_nT]],
|
|
845
|
+
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()]
|
|
846
|
+
});
|
|
847
|
+
let body;
|
|
848
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
849
|
+
return b.build();
|
|
850
|
+
}, "se_ListExportTasksCommand");
|
|
785
851
|
var se_ListGraphsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
786
852
|
const b = (0, import_core.requestBuilder)(input, context);
|
|
787
853
|
const headers = {};
|
|
@@ -904,6 +970,28 @@ var se_RestoreGraphFromSnapshotCommand = /* @__PURE__ */ __name(async (input, co
|
|
|
904
970
|
b.m("POST").h(headers).b(body);
|
|
905
971
|
return b.build();
|
|
906
972
|
}, "se_RestoreGraphFromSnapshotCommand");
|
|
973
|
+
var se_StartExportTaskCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
974
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
975
|
+
const headers = {
|
|
976
|
+
"content-type": "application/json"
|
|
977
|
+
};
|
|
978
|
+
b.bp("/exporttasks");
|
|
979
|
+
let body;
|
|
980
|
+
body = JSON.stringify(
|
|
981
|
+
(0, import_smithy_client.take)(input, {
|
|
982
|
+
destination: [],
|
|
983
|
+
exportFilter: (_) => (0, import_smithy_client._json)(_),
|
|
984
|
+
format: [],
|
|
985
|
+
graphIdentifier: [],
|
|
986
|
+
kmsKeyIdentifier: [],
|
|
987
|
+
parquetType: [],
|
|
988
|
+
roleArn: [],
|
|
989
|
+
tags: (_) => (0, import_smithy_client._json)(_)
|
|
990
|
+
})
|
|
991
|
+
);
|
|
992
|
+
b.m("POST").h(headers).b(body);
|
|
993
|
+
return b.build();
|
|
994
|
+
}, "se_StartExportTaskCommand");
|
|
907
995
|
var se_StartImportTaskCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
908
996
|
const b = (0, import_core.requestBuilder)(input, context);
|
|
909
997
|
const headers = {
|
|
@@ -918,6 +1006,7 @@ var se_StartImportTaskCommand = /* @__PURE__ */ __name(async (input, context) =>
|
|
|
918
1006
|
failOnError: [],
|
|
919
1007
|
format: [],
|
|
920
1008
|
importOptions: (_) => (0, import_smithy_client._json)(_),
|
|
1009
|
+
parquetType: [],
|
|
921
1010
|
roleArn: [],
|
|
922
1011
|
source: []
|
|
923
1012
|
})
|
|
@@ -971,6 +1060,28 @@ var se_UpdateGraphCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
|
971
1060
|
b.m("PATCH").h(headers).b(body);
|
|
972
1061
|
return b.build();
|
|
973
1062
|
}, "se_UpdateGraphCommand");
|
|
1063
|
+
var de_CancelExportTaskCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1064
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1065
|
+
return de_CommandError(output, context);
|
|
1066
|
+
}
|
|
1067
|
+
const contents = (0, import_smithy_client.map)({
|
|
1068
|
+
$metadata: deserializeMetadata(output)
|
|
1069
|
+
});
|
|
1070
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1071
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1072
|
+
destination: import_smithy_client.expectString,
|
|
1073
|
+
format: import_smithy_client.expectString,
|
|
1074
|
+
graphId: import_smithy_client.expectString,
|
|
1075
|
+
kmsKeyIdentifier: import_smithy_client.expectString,
|
|
1076
|
+
parquetType: import_smithy_client.expectString,
|
|
1077
|
+
roleArn: import_smithy_client.expectString,
|
|
1078
|
+
status: import_smithy_client.expectString,
|
|
1079
|
+
statusReason: import_smithy_client.expectString,
|
|
1080
|
+
taskId: import_smithy_client.expectString
|
|
1081
|
+
});
|
|
1082
|
+
Object.assign(contents, doc);
|
|
1083
|
+
return contents;
|
|
1084
|
+
}, "de_CancelExportTaskCommand");
|
|
974
1085
|
var de_CancelImportTaskCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
975
1086
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
976
1087
|
return de_CommandError(output, context);
|
|
@@ -982,6 +1093,7 @@ var de_CancelImportTaskCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
982
1093
|
const doc = (0, import_smithy_client.take)(data, {
|
|
983
1094
|
format: import_smithy_client.expectString,
|
|
984
1095
|
graphId: import_smithy_client.expectString,
|
|
1096
|
+
parquetType: import_smithy_client.expectString,
|
|
985
1097
|
roleArn: import_smithy_client.expectString,
|
|
986
1098
|
source: import_smithy_client.expectString,
|
|
987
1099
|
status: import_smithy_client.expectString,
|
|
@@ -1060,6 +1172,7 @@ var de_CreateGraphUsingImportTaskCommand = /* @__PURE__ */ __name(async (output,
|
|
|
1060
1172
|
format: import_smithy_client.expectString,
|
|
1061
1173
|
graphId: import_smithy_client.expectString,
|
|
1062
1174
|
importOptions: (_) => (0, import_smithy_client._json)((0, import_core2.awsExpectUnion)(_)),
|
|
1175
|
+
parquetType: import_smithy_client.expectString,
|
|
1063
1176
|
roleArn: import_smithy_client.expectString,
|
|
1064
1177
|
source: import_smithy_client.expectString,
|
|
1065
1178
|
status: import_smithy_client.expectString,
|
|
@@ -1162,6 +1275,30 @@ var de_ExecuteQueryCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
1162
1275
|
contents.payload = data;
|
|
1163
1276
|
return contents;
|
|
1164
1277
|
}, "de_ExecuteQueryCommand");
|
|
1278
|
+
var de_GetExportTaskCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1279
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1280
|
+
return de_CommandError(output, context);
|
|
1281
|
+
}
|
|
1282
|
+
const contents = (0, import_smithy_client.map)({
|
|
1283
|
+
$metadata: deserializeMetadata(output)
|
|
1284
|
+
});
|
|
1285
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1286
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1287
|
+
destination: import_smithy_client.expectString,
|
|
1288
|
+
exportFilter: import_smithy_client._json,
|
|
1289
|
+
exportTaskDetails: (_) => de_ExportTaskDetails(_, context),
|
|
1290
|
+
format: import_smithy_client.expectString,
|
|
1291
|
+
graphId: import_smithy_client.expectString,
|
|
1292
|
+
kmsKeyIdentifier: import_smithy_client.expectString,
|
|
1293
|
+
parquetType: import_smithy_client.expectString,
|
|
1294
|
+
roleArn: import_smithy_client.expectString,
|
|
1295
|
+
status: import_smithy_client.expectString,
|
|
1296
|
+
statusReason: import_smithy_client.expectString,
|
|
1297
|
+
taskId: import_smithy_client.expectString
|
|
1298
|
+
});
|
|
1299
|
+
Object.assign(contents, doc);
|
|
1300
|
+
return contents;
|
|
1301
|
+
}, "de_GetExportTaskCommand");
|
|
1165
1302
|
var de_GetGraphCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1166
1303
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1167
1304
|
return de_CommandError(output, context);
|
|
@@ -1240,6 +1377,7 @@ var de_GetImportTaskCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
1240
1377
|
graphId: import_smithy_client.expectString,
|
|
1241
1378
|
importOptions: (_) => (0, import_smithy_client._json)((0, import_core2.awsExpectUnion)(_)),
|
|
1242
1379
|
importTaskDetails: (_) => de_ImportTaskDetails(_, context),
|
|
1380
|
+
parquetType: import_smithy_client.expectString,
|
|
1243
1381
|
roleArn: import_smithy_client.expectString,
|
|
1244
1382
|
source: import_smithy_client.expectString,
|
|
1245
1383
|
status: import_smithy_client.expectString,
|
|
@@ -1284,6 +1422,21 @@ var de_GetQueryCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
1284
1422
|
Object.assign(contents, doc);
|
|
1285
1423
|
return contents;
|
|
1286
1424
|
}, "de_GetQueryCommand");
|
|
1425
|
+
var de_ListExportTasksCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1426
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1427
|
+
return de_CommandError(output, context);
|
|
1428
|
+
}
|
|
1429
|
+
const contents = (0, import_smithy_client.map)({
|
|
1430
|
+
$metadata: deserializeMetadata(output)
|
|
1431
|
+
});
|
|
1432
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1433
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1434
|
+
nextToken: import_smithy_client.expectString,
|
|
1435
|
+
tasks: import_smithy_client._json
|
|
1436
|
+
});
|
|
1437
|
+
Object.assign(contents, doc);
|
|
1438
|
+
return contents;
|
|
1439
|
+
}, "de_ListExportTasksCommand");
|
|
1287
1440
|
var de_ListGraphsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1288
1441
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1289
1442
|
return de_CommandError(output, context);
|
|
@@ -1428,6 +1581,29 @@ var de_RestoreGraphFromSnapshotCommand = /* @__PURE__ */ __name(async (output, c
|
|
|
1428
1581
|
Object.assign(contents, doc);
|
|
1429
1582
|
return contents;
|
|
1430
1583
|
}, "de_RestoreGraphFromSnapshotCommand");
|
|
1584
|
+
var de_StartExportTaskCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1585
|
+
if (output.statusCode !== 201 && output.statusCode >= 300) {
|
|
1586
|
+
return de_CommandError(output, context);
|
|
1587
|
+
}
|
|
1588
|
+
const contents = (0, import_smithy_client.map)({
|
|
1589
|
+
$metadata: deserializeMetadata(output)
|
|
1590
|
+
});
|
|
1591
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1592
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1593
|
+
destination: import_smithy_client.expectString,
|
|
1594
|
+
exportFilter: import_smithy_client._json,
|
|
1595
|
+
format: import_smithy_client.expectString,
|
|
1596
|
+
graphId: import_smithy_client.expectString,
|
|
1597
|
+
kmsKeyIdentifier: import_smithy_client.expectString,
|
|
1598
|
+
parquetType: import_smithy_client.expectString,
|
|
1599
|
+
roleArn: import_smithy_client.expectString,
|
|
1600
|
+
status: import_smithy_client.expectString,
|
|
1601
|
+
statusReason: import_smithy_client.expectString,
|
|
1602
|
+
taskId: import_smithy_client.expectString
|
|
1603
|
+
});
|
|
1604
|
+
Object.assign(contents, doc);
|
|
1605
|
+
return contents;
|
|
1606
|
+
}, "de_StartExportTaskCommand");
|
|
1431
1607
|
var de_StartImportTaskCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1432
1608
|
if (output.statusCode !== 201 && output.statusCode >= 300) {
|
|
1433
1609
|
return de_CommandError(output, context);
|
|
@@ -1440,6 +1616,7 @@ var de_StartImportTaskCommand = /* @__PURE__ */ __name(async (output, context) =
|
|
|
1440
1616
|
format: import_smithy_client.expectString,
|
|
1441
1617
|
graphId: import_smithy_client.expectString,
|
|
1442
1618
|
importOptions: (_) => (0, import_smithy_client._json)((0, import_core2.awsExpectUnion)(_)),
|
|
1619
|
+
parquetType: import_smithy_client.expectString,
|
|
1443
1620
|
roleArn: import_smithy_client.expectString,
|
|
1444
1621
|
source: import_smithy_client.expectString,
|
|
1445
1622
|
status: import_smithy_client.expectString,
|
|
@@ -1660,6 +1837,15 @@ var se_DocumentValuedMap = /* @__PURE__ */ __name((input, context) => {
|
|
|
1660
1837
|
var se_Document = /* @__PURE__ */ __name((input, context) => {
|
|
1661
1838
|
return input;
|
|
1662
1839
|
}, "se_Document");
|
|
1840
|
+
var de_ExportTaskDetails = /* @__PURE__ */ __name((output, context) => {
|
|
1841
|
+
return (0, import_smithy_client.take)(output, {
|
|
1842
|
+
numEdgesWritten: import_smithy_client.expectLong,
|
|
1843
|
+
numVerticesWritten: import_smithy_client.expectLong,
|
|
1844
|
+
progressPercentage: import_smithy_client.expectInt32,
|
|
1845
|
+
startTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
1846
|
+
timeElapsedSeconds: import_smithy_client.expectLong
|
|
1847
|
+
});
|
|
1848
|
+
}, "de_ExportTaskDetails");
|
|
1663
1849
|
var de_GraphSnapshotSummary = /* @__PURE__ */ __name((output, context) => {
|
|
1664
1850
|
return (0, import_smithy_client.take)(output, {
|
|
1665
1851
|
arn: import_smithy_client.expectString,
|
|
@@ -1704,7 +1890,24 @@ var _s = "state";
|
|
|
1704
1890
|
var _sS = "skipSnapshot";
|
|
1705
1891
|
var _tK = "tagKeys";
|
|
1706
1892
|
|
|
1893
|
+
// src/commands/CancelExportTaskCommand.ts
|
|
1894
|
+
var _CancelExportTaskCommand = class _CancelExportTaskCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
1895
|
+
...commonParams,
|
|
1896
|
+
ApiType: { type: "staticContextParams", value: `ControlPlane` }
|
|
1897
|
+
}).m(function(Command, cs, config, o) {
|
|
1898
|
+
return [
|
|
1899
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1900
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1901
|
+
];
|
|
1902
|
+
}).s("AmazonNeptuneGraph", "CancelExportTask", {}).n("NeptuneGraphClient", "CancelExportTaskCommand").f(void 0, void 0).ser(se_CancelExportTaskCommand).de(de_CancelExportTaskCommand).build() {
|
|
1903
|
+
};
|
|
1904
|
+
__name(_CancelExportTaskCommand, "CancelExportTaskCommand");
|
|
1905
|
+
var CancelExportTaskCommand = _CancelExportTaskCommand;
|
|
1906
|
+
|
|
1707
1907
|
// src/commands/CancelImportTaskCommand.ts
|
|
1908
|
+
|
|
1909
|
+
|
|
1910
|
+
|
|
1708
1911
|
var _CancelImportTaskCommand = class _CancelImportTaskCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
1709
1912
|
...commonParams,
|
|
1710
1913
|
ApiType: { type: "staticContextParams", value: `ControlPlane` }
|
|
@@ -1871,6 +2074,23 @@ var _ExecuteQueryCommand = class _ExecuteQueryCommand extends import_smithy_clie
|
|
|
1871
2074
|
__name(_ExecuteQueryCommand, "ExecuteQueryCommand");
|
|
1872
2075
|
var ExecuteQueryCommand = _ExecuteQueryCommand;
|
|
1873
2076
|
|
|
2077
|
+
// src/commands/GetExportTaskCommand.ts
|
|
2078
|
+
|
|
2079
|
+
|
|
2080
|
+
|
|
2081
|
+
var _GetExportTaskCommand = class _GetExportTaskCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2082
|
+
...commonParams,
|
|
2083
|
+
ApiType: { type: "staticContextParams", value: `ControlPlane` }
|
|
2084
|
+
}).m(function(Command, cs, config, o) {
|
|
2085
|
+
return [
|
|
2086
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2087
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2088
|
+
];
|
|
2089
|
+
}).s("AmazonNeptuneGraph", "GetExportTask", {}).n("NeptuneGraphClient", "GetExportTaskCommand").f(void 0, void 0).ser(se_GetExportTaskCommand).de(de_GetExportTaskCommand).build() {
|
|
2090
|
+
};
|
|
2091
|
+
__name(_GetExportTaskCommand, "GetExportTaskCommand");
|
|
2092
|
+
var GetExportTaskCommand = _GetExportTaskCommand;
|
|
2093
|
+
|
|
1874
2094
|
// src/commands/GetGraphCommand.ts
|
|
1875
2095
|
|
|
1876
2096
|
|
|
@@ -1973,6 +2193,23 @@ var _GetQueryCommand = class _GetQueryCommand extends import_smithy_client.Comma
|
|
|
1973
2193
|
__name(_GetQueryCommand, "GetQueryCommand");
|
|
1974
2194
|
var GetQueryCommand = _GetQueryCommand;
|
|
1975
2195
|
|
|
2196
|
+
// src/commands/ListExportTasksCommand.ts
|
|
2197
|
+
|
|
2198
|
+
|
|
2199
|
+
|
|
2200
|
+
var _ListExportTasksCommand = class _ListExportTasksCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2201
|
+
...commonParams,
|
|
2202
|
+
ApiType: { type: "staticContextParams", value: `ControlPlane` }
|
|
2203
|
+
}).m(function(Command, cs, config, o) {
|
|
2204
|
+
return [
|
|
2205
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2206
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2207
|
+
];
|
|
2208
|
+
}).s("AmazonNeptuneGraph", "ListExportTasks", {}).n("NeptuneGraphClient", "ListExportTasksCommand").f(void 0, void 0).ser(se_ListExportTasksCommand).de(de_ListExportTasksCommand).build() {
|
|
2209
|
+
};
|
|
2210
|
+
__name(_ListExportTasksCommand, "ListExportTasksCommand");
|
|
2211
|
+
var ListExportTasksCommand = _ListExportTasksCommand;
|
|
2212
|
+
|
|
1976
2213
|
// src/commands/ListGraphsCommand.ts
|
|
1977
2214
|
|
|
1978
2215
|
|
|
@@ -2109,6 +2346,23 @@ var _RestoreGraphFromSnapshotCommand = class _RestoreGraphFromSnapshotCommand ex
|
|
|
2109
2346
|
__name(_RestoreGraphFromSnapshotCommand, "RestoreGraphFromSnapshotCommand");
|
|
2110
2347
|
var RestoreGraphFromSnapshotCommand = _RestoreGraphFromSnapshotCommand;
|
|
2111
2348
|
|
|
2349
|
+
// src/commands/StartExportTaskCommand.ts
|
|
2350
|
+
|
|
2351
|
+
|
|
2352
|
+
|
|
2353
|
+
var _StartExportTaskCommand = class _StartExportTaskCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2354
|
+
...commonParams,
|
|
2355
|
+
ApiType: { type: "staticContextParams", value: `ControlPlane` }
|
|
2356
|
+
}).m(function(Command, cs, config, o) {
|
|
2357
|
+
return [
|
|
2358
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2359
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2360
|
+
];
|
|
2361
|
+
}).s("AmazonNeptuneGraph", "StartExportTask", {}).n("NeptuneGraphClient", "StartExportTaskCommand").f(void 0, void 0).ser(se_StartExportTaskCommand).de(de_StartExportTaskCommand).build() {
|
|
2362
|
+
};
|
|
2363
|
+
__name(_StartExportTaskCommand, "StartExportTaskCommand");
|
|
2364
|
+
var StartExportTaskCommand = _StartExportTaskCommand;
|
|
2365
|
+
|
|
2112
2366
|
// src/commands/StartImportTaskCommand.ts
|
|
2113
2367
|
|
|
2114
2368
|
|
|
@@ -2179,6 +2433,7 @@ var UpdateGraphCommand = _UpdateGraphCommand;
|
|
|
2179
2433
|
|
|
2180
2434
|
// src/NeptuneGraph.ts
|
|
2181
2435
|
var commands = {
|
|
2436
|
+
CancelExportTaskCommand,
|
|
2182
2437
|
CancelImportTaskCommand,
|
|
2183
2438
|
CancelQueryCommand,
|
|
2184
2439
|
CreateGraphCommand,
|
|
@@ -2189,12 +2444,14 @@ var commands = {
|
|
|
2189
2444
|
DeleteGraphSnapshotCommand,
|
|
2190
2445
|
DeletePrivateGraphEndpointCommand,
|
|
2191
2446
|
ExecuteQueryCommand,
|
|
2447
|
+
GetExportTaskCommand,
|
|
2192
2448
|
GetGraphCommand,
|
|
2193
2449
|
GetGraphSnapshotCommand,
|
|
2194
2450
|
GetGraphSummaryCommand,
|
|
2195
2451
|
GetImportTaskCommand,
|
|
2196
2452
|
GetPrivateGraphEndpointCommand,
|
|
2197
2453
|
GetQueryCommand,
|
|
2454
|
+
ListExportTasksCommand,
|
|
2198
2455
|
ListGraphsCommand,
|
|
2199
2456
|
ListGraphSnapshotsCommand,
|
|
2200
2457
|
ListImportTasksCommand,
|
|
@@ -2203,6 +2460,7 @@ var commands = {
|
|
|
2203
2460
|
ListTagsForResourceCommand,
|
|
2204
2461
|
ResetGraphCommand,
|
|
2205
2462
|
RestoreGraphFromSnapshotCommand,
|
|
2463
|
+
StartExportTaskCommand,
|
|
2206
2464
|
StartImportTaskCommand,
|
|
2207
2465
|
TagResourceCommand,
|
|
2208
2466
|
UntagResourceCommand,
|
|
@@ -2214,6 +2472,10 @@ __name(_NeptuneGraph, "NeptuneGraph");
|
|
|
2214
2472
|
var NeptuneGraph = _NeptuneGraph;
|
|
2215
2473
|
(0, import_smithy_client.createAggregatedClient)(commands, NeptuneGraph);
|
|
2216
2474
|
|
|
2475
|
+
// src/pagination/ListExportTasksPaginator.ts
|
|
2476
|
+
|
|
2477
|
+
var paginateListExportTasks = (0, import_core.createPaginator)(NeptuneGraphClient, ListExportTasksCommand, "nextToken", "nextToken", "maxResults");
|
|
2478
|
+
|
|
2217
2479
|
// src/pagination/ListGraphSnapshotsPaginator.ts
|
|
2218
2480
|
|
|
2219
2481
|
var paginateListGraphSnapshots = (0, import_core.createPaginator)(NeptuneGraphClient, ListGraphSnapshotsCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -2230,9 +2492,107 @@ var paginateListImportTasks = (0, import_core.createPaginator)(NeptuneGraphClien
|
|
|
2230
2492
|
|
|
2231
2493
|
var paginateListPrivateGraphEndpoints = (0, import_core.createPaginator)(NeptuneGraphClient, ListPrivateGraphEndpointsCommand, "nextToken", "nextToken", "maxResults");
|
|
2232
2494
|
|
|
2233
|
-
// src/waiters/
|
|
2495
|
+
// src/waiters/waitForExportTaskCancelled.ts
|
|
2234
2496
|
var import_util_waiter = require("@smithy/util-waiter");
|
|
2235
2497
|
var checkState = /* @__PURE__ */ __name(async (client, input) => {
|
|
2498
|
+
let reason;
|
|
2499
|
+
try {
|
|
2500
|
+
const result = await client.send(new GetExportTaskCommand(input));
|
|
2501
|
+
reason = result;
|
|
2502
|
+
try {
|
|
2503
|
+
const returnComparator = /* @__PURE__ */ __name(() => {
|
|
2504
|
+
return result.status != "CANCELLING" && result.status != "CANCELLED";
|
|
2505
|
+
}, "returnComparator");
|
|
2506
|
+
if (returnComparator() == true) {
|
|
2507
|
+
return { state: import_util_waiter.WaiterState.FAILURE, reason };
|
|
2508
|
+
}
|
|
2509
|
+
} catch (e) {
|
|
2510
|
+
}
|
|
2511
|
+
try {
|
|
2512
|
+
const returnComparator = /* @__PURE__ */ __name(() => {
|
|
2513
|
+
return result.status;
|
|
2514
|
+
}, "returnComparator");
|
|
2515
|
+
if (returnComparator() === "CANCELLED") {
|
|
2516
|
+
return { state: import_util_waiter.WaiterState.SUCCESS, reason };
|
|
2517
|
+
}
|
|
2518
|
+
} catch (e) {
|
|
2519
|
+
}
|
|
2520
|
+
} catch (exception) {
|
|
2521
|
+
reason = exception;
|
|
2522
|
+
}
|
|
2523
|
+
return { state: import_util_waiter.WaiterState.RETRY, reason };
|
|
2524
|
+
}, "checkState");
|
|
2525
|
+
var waitForExportTaskCancelled = /* @__PURE__ */ __name(async (params, input) => {
|
|
2526
|
+
const serviceDefaults = { minDelay: 60, maxDelay: 3600 };
|
|
2527
|
+
return (0, import_util_waiter.createWaiter)({ ...serviceDefaults, ...params }, input, checkState);
|
|
2528
|
+
}, "waitForExportTaskCancelled");
|
|
2529
|
+
var waitUntilExportTaskCancelled = /* @__PURE__ */ __name(async (params, input) => {
|
|
2530
|
+
const serviceDefaults = { minDelay: 60, maxDelay: 3600 };
|
|
2531
|
+
const result = await (0, import_util_waiter.createWaiter)({ ...serviceDefaults, ...params }, input, checkState);
|
|
2532
|
+
return (0, import_util_waiter.checkExceptions)(result);
|
|
2533
|
+
}, "waitUntilExportTaskCancelled");
|
|
2534
|
+
|
|
2535
|
+
// src/waiters/waitForExportTaskSuccessful.ts
|
|
2536
|
+
|
|
2537
|
+
var checkState2 = /* @__PURE__ */ __name(async (client, input) => {
|
|
2538
|
+
let reason;
|
|
2539
|
+
try {
|
|
2540
|
+
const result = await client.send(new GetExportTaskCommand(input));
|
|
2541
|
+
reason = result;
|
|
2542
|
+
try {
|
|
2543
|
+
const returnComparator = /* @__PURE__ */ __name(() => {
|
|
2544
|
+
return result.status;
|
|
2545
|
+
}, "returnComparator");
|
|
2546
|
+
if (returnComparator() === "CANCELLING") {
|
|
2547
|
+
return { state: import_util_waiter.WaiterState.FAILURE, reason };
|
|
2548
|
+
}
|
|
2549
|
+
} catch (e) {
|
|
2550
|
+
}
|
|
2551
|
+
try {
|
|
2552
|
+
const returnComparator = /* @__PURE__ */ __name(() => {
|
|
2553
|
+
return result.status;
|
|
2554
|
+
}, "returnComparator");
|
|
2555
|
+
if (returnComparator() === "CANCELLED") {
|
|
2556
|
+
return { state: import_util_waiter.WaiterState.FAILURE, reason };
|
|
2557
|
+
}
|
|
2558
|
+
} catch (e) {
|
|
2559
|
+
}
|
|
2560
|
+
try {
|
|
2561
|
+
const returnComparator = /* @__PURE__ */ __name(() => {
|
|
2562
|
+
return result.status;
|
|
2563
|
+
}, "returnComparator");
|
|
2564
|
+
if (returnComparator() === "FAILED") {
|
|
2565
|
+
return { state: import_util_waiter.WaiterState.FAILURE, reason };
|
|
2566
|
+
}
|
|
2567
|
+
} catch (e) {
|
|
2568
|
+
}
|
|
2569
|
+
try {
|
|
2570
|
+
const returnComparator = /* @__PURE__ */ __name(() => {
|
|
2571
|
+
return result.status;
|
|
2572
|
+
}, "returnComparator");
|
|
2573
|
+
if (returnComparator() === "SUCCEEDED") {
|
|
2574
|
+
return { state: import_util_waiter.WaiterState.SUCCESS, reason };
|
|
2575
|
+
}
|
|
2576
|
+
} catch (e) {
|
|
2577
|
+
}
|
|
2578
|
+
} catch (exception) {
|
|
2579
|
+
reason = exception;
|
|
2580
|
+
}
|
|
2581
|
+
return { state: import_util_waiter.WaiterState.RETRY, reason };
|
|
2582
|
+
}, "checkState");
|
|
2583
|
+
var waitForExportTaskSuccessful = /* @__PURE__ */ __name(async (params, input) => {
|
|
2584
|
+
const serviceDefaults = { minDelay: 60, maxDelay: 28800 };
|
|
2585
|
+
return (0, import_util_waiter.createWaiter)({ ...serviceDefaults, ...params }, input, checkState2);
|
|
2586
|
+
}, "waitForExportTaskSuccessful");
|
|
2587
|
+
var waitUntilExportTaskSuccessful = /* @__PURE__ */ __name(async (params, input) => {
|
|
2588
|
+
const serviceDefaults = { minDelay: 60, maxDelay: 28800 };
|
|
2589
|
+
const result = await (0, import_util_waiter.createWaiter)({ ...serviceDefaults, ...params }, input, checkState2);
|
|
2590
|
+
return (0, import_util_waiter.checkExceptions)(result);
|
|
2591
|
+
}, "waitUntilExportTaskSuccessful");
|
|
2592
|
+
|
|
2593
|
+
// src/waiters/waitForGraphAvailable.ts
|
|
2594
|
+
|
|
2595
|
+
var checkState3 = /* @__PURE__ */ __name(async (client, input) => {
|
|
2236
2596
|
let reason;
|
|
2237
2597
|
try {
|
|
2238
2598
|
const result = await client.send(new GetGraphCommand(input));
|
|
@@ -2271,17 +2631,17 @@ var checkState = /* @__PURE__ */ __name(async (client, input) => {
|
|
|
2271
2631
|
}, "checkState");
|
|
2272
2632
|
var waitForGraphAvailable = /* @__PURE__ */ __name(async (params, input) => {
|
|
2273
2633
|
const serviceDefaults = { minDelay: 60, maxDelay: 28800 };
|
|
2274
|
-
return (0, import_util_waiter.createWaiter)({ ...serviceDefaults, ...params }, input,
|
|
2634
|
+
return (0, import_util_waiter.createWaiter)({ ...serviceDefaults, ...params }, input, checkState3);
|
|
2275
2635
|
}, "waitForGraphAvailable");
|
|
2276
2636
|
var waitUntilGraphAvailable = /* @__PURE__ */ __name(async (params, input) => {
|
|
2277
2637
|
const serviceDefaults = { minDelay: 60, maxDelay: 28800 };
|
|
2278
|
-
const result = await (0, import_util_waiter.createWaiter)({ ...serviceDefaults, ...params }, input,
|
|
2638
|
+
const result = await (0, import_util_waiter.createWaiter)({ ...serviceDefaults, ...params }, input, checkState3);
|
|
2279
2639
|
return (0, import_util_waiter.checkExceptions)(result);
|
|
2280
2640
|
}, "waitUntilGraphAvailable");
|
|
2281
2641
|
|
|
2282
2642
|
// src/waiters/waitForGraphDeleted.ts
|
|
2283
2643
|
|
|
2284
|
-
var
|
|
2644
|
+
var checkState4 = /* @__PURE__ */ __name(async (client, input) => {
|
|
2285
2645
|
let reason;
|
|
2286
2646
|
try {
|
|
2287
2647
|
const result = await client.send(new GetGraphCommand(input));
|
|
@@ -2305,17 +2665,17 @@ var checkState2 = /* @__PURE__ */ __name(async (client, input) => {
|
|
|
2305
2665
|
}, "checkState");
|
|
2306
2666
|
var waitForGraphDeleted = /* @__PURE__ */ __name(async (params, input) => {
|
|
2307
2667
|
const serviceDefaults = { minDelay: 60, maxDelay: 3600 };
|
|
2308
|
-
return (0, import_util_waiter.createWaiter)({ ...serviceDefaults, ...params }, input,
|
|
2668
|
+
return (0, import_util_waiter.createWaiter)({ ...serviceDefaults, ...params }, input, checkState4);
|
|
2309
2669
|
}, "waitForGraphDeleted");
|
|
2310
2670
|
var waitUntilGraphDeleted = /* @__PURE__ */ __name(async (params, input) => {
|
|
2311
2671
|
const serviceDefaults = { minDelay: 60, maxDelay: 3600 };
|
|
2312
|
-
const result = await (0, import_util_waiter.createWaiter)({ ...serviceDefaults, ...params }, input,
|
|
2672
|
+
const result = await (0, import_util_waiter.createWaiter)({ ...serviceDefaults, ...params }, input, checkState4);
|
|
2313
2673
|
return (0, import_util_waiter.checkExceptions)(result);
|
|
2314
2674
|
}, "waitUntilGraphDeleted");
|
|
2315
2675
|
|
|
2316
2676
|
// src/waiters/waitForGraphSnapshotAvailable.ts
|
|
2317
2677
|
|
|
2318
|
-
var
|
|
2678
|
+
var checkState5 = /* @__PURE__ */ __name(async (client, input) => {
|
|
2319
2679
|
let reason;
|
|
2320
2680
|
try {
|
|
2321
2681
|
const result = await client.send(new GetGraphSnapshotCommand(input));
|
|
@@ -2354,17 +2714,17 @@ var checkState3 = /* @__PURE__ */ __name(async (client, input) => {
|
|
|
2354
2714
|
}, "checkState");
|
|
2355
2715
|
var waitForGraphSnapshotAvailable = /* @__PURE__ */ __name(async (params, input) => {
|
|
2356
2716
|
const serviceDefaults = { minDelay: 60, maxDelay: 7200 };
|
|
2357
|
-
return (0, import_util_waiter.createWaiter)({ ...serviceDefaults, ...params }, input,
|
|
2717
|
+
return (0, import_util_waiter.createWaiter)({ ...serviceDefaults, ...params }, input, checkState5);
|
|
2358
2718
|
}, "waitForGraphSnapshotAvailable");
|
|
2359
2719
|
var waitUntilGraphSnapshotAvailable = /* @__PURE__ */ __name(async (params, input) => {
|
|
2360
2720
|
const serviceDefaults = { minDelay: 60, maxDelay: 7200 };
|
|
2361
|
-
const result = await (0, import_util_waiter.createWaiter)({ ...serviceDefaults, ...params }, input,
|
|
2721
|
+
const result = await (0, import_util_waiter.createWaiter)({ ...serviceDefaults, ...params }, input, checkState5);
|
|
2362
2722
|
return (0, import_util_waiter.checkExceptions)(result);
|
|
2363
2723
|
}, "waitUntilGraphSnapshotAvailable");
|
|
2364
2724
|
|
|
2365
2725
|
// src/waiters/waitForGraphSnapshotDeleted.ts
|
|
2366
2726
|
|
|
2367
|
-
var
|
|
2727
|
+
var checkState6 = /* @__PURE__ */ __name(async (client, input) => {
|
|
2368
2728
|
let reason;
|
|
2369
2729
|
try {
|
|
2370
2730
|
const result = await client.send(new GetGraphSnapshotCommand(input));
|
|
@@ -2388,17 +2748,17 @@ var checkState4 = /* @__PURE__ */ __name(async (client, input) => {
|
|
|
2388
2748
|
}, "checkState");
|
|
2389
2749
|
var waitForGraphSnapshotDeleted = /* @__PURE__ */ __name(async (params, input) => {
|
|
2390
2750
|
const serviceDefaults = { minDelay: 60, maxDelay: 3600 };
|
|
2391
|
-
return (0, import_util_waiter.createWaiter)({ ...serviceDefaults, ...params }, input,
|
|
2751
|
+
return (0, import_util_waiter.createWaiter)({ ...serviceDefaults, ...params }, input, checkState6);
|
|
2392
2752
|
}, "waitForGraphSnapshotDeleted");
|
|
2393
2753
|
var waitUntilGraphSnapshotDeleted = /* @__PURE__ */ __name(async (params, input) => {
|
|
2394
2754
|
const serviceDefaults = { minDelay: 60, maxDelay: 3600 };
|
|
2395
|
-
const result = await (0, import_util_waiter.createWaiter)({ ...serviceDefaults, ...params }, input,
|
|
2755
|
+
const result = await (0, import_util_waiter.createWaiter)({ ...serviceDefaults, ...params }, input, checkState6);
|
|
2396
2756
|
return (0, import_util_waiter.checkExceptions)(result);
|
|
2397
2757
|
}, "waitUntilGraphSnapshotDeleted");
|
|
2398
2758
|
|
|
2399
2759
|
// src/waiters/waitForImportTaskCancelled.ts
|
|
2400
2760
|
|
|
2401
|
-
var
|
|
2761
|
+
var checkState7 = /* @__PURE__ */ __name(async (client, input) => {
|
|
2402
2762
|
let reason;
|
|
2403
2763
|
try {
|
|
2404
2764
|
const result = await client.send(new GetImportTaskCommand(input));
|
|
@@ -2428,17 +2788,17 @@ var checkState5 = /* @__PURE__ */ __name(async (client, input) => {
|
|
|
2428
2788
|
}, "checkState");
|
|
2429
2789
|
var waitForImportTaskCancelled = /* @__PURE__ */ __name(async (params, input) => {
|
|
2430
2790
|
const serviceDefaults = { minDelay: 60, maxDelay: 3600 };
|
|
2431
|
-
return (0, import_util_waiter.createWaiter)({ ...serviceDefaults, ...params }, input,
|
|
2791
|
+
return (0, import_util_waiter.createWaiter)({ ...serviceDefaults, ...params }, input, checkState7);
|
|
2432
2792
|
}, "waitForImportTaskCancelled");
|
|
2433
2793
|
var waitUntilImportTaskCancelled = /* @__PURE__ */ __name(async (params, input) => {
|
|
2434
2794
|
const serviceDefaults = { minDelay: 60, maxDelay: 3600 };
|
|
2435
|
-
const result = await (0, import_util_waiter.createWaiter)({ ...serviceDefaults, ...params }, input,
|
|
2795
|
+
const result = await (0, import_util_waiter.createWaiter)({ ...serviceDefaults, ...params }, input, checkState7);
|
|
2436
2796
|
return (0, import_util_waiter.checkExceptions)(result);
|
|
2437
2797
|
}, "waitUntilImportTaskCancelled");
|
|
2438
2798
|
|
|
2439
2799
|
// src/waiters/waitForImportTaskSuccessful.ts
|
|
2440
2800
|
|
|
2441
|
-
var
|
|
2801
|
+
var checkState8 = /* @__PURE__ */ __name(async (client, input) => {
|
|
2442
2802
|
let reason;
|
|
2443
2803
|
try {
|
|
2444
2804
|
const result = await client.send(new GetImportTaskCommand(input));
|
|
@@ -2495,17 +2855,17 @@ var checkState6 = /* @__PURE__ */ __name(async (client, input) => {
|
|
|
2495
2855
|
}, "checkState");
|
|
2496
2856
|
var waitForImportTaskSuccessful = /* @__PURE__ */ __name(async (params, input) => {
|
|
2497
2857
|
const serviceDefaults = { minDelay: 60, maxDelay: 28800 };
|
|
2498
|
-
return (0, import_util_waiter.createWaiter)({ ...serviceDefaults, ...params }, input,
|
|
2858
|
+
return (0, import_util_waiter.createWaiter)({ ...serviceDefaults, ...params }, input, checkState8);
|
|
2499
2859
|
}, "waitForImportTaskSuccessful");
|
|
2500
2860
|
var waitUntilImportTaskSuccessful = /* @__PURE__ */ __name(async (params, input) => {
|
|
2501
2861
|
const serviceDefaults = { minDelay: 60, maxDelay: 28800 };
|
|
2502
|
-
const result = await (0, import_util_waiter.createWaiter)({ ...serviceDefaults, ...params }, input,
|
|
2862
|
+
const result = await (0, import_util_waiter.createWaiter)({ ...serviceDefaults, ...params }, input, checkState8);
|
|
2503
2863
|
return (0, import_util_waiter.checkExceptions)(result);
|
|
2504
2864
|
}, "waitUntilImportTaskSuccessful");
|
|
2505
2865
|
|
|
2506
2866
|
// src/waiters/waitForPrivateGraphEndpointAvailable.ts
|
|
2507
2867
|
|
|
2508
|
-
var
|
|
2868
|
+
var checkState9 = /* @__PURE__ */ __name(async (client, input) => {
|
|
2509
2869
|
let reason;
|
|
2510
2870
|
try {
|
|
2511
2871
|
const result = await client.send(new GetPrivateGraphEndpointCommand(input));
|
|
@@ -2544,17 +2904,17 @@ var checkState7 = /* @__PURE__ */ __name(async (client, input) => {
|
|
|
2544
2904
|
}, "checkState");
|
|
2545
2905
|
var waitForPrivateGraphEndpointAvailable = /* @__PURE__ */ __name(async (params, input) => {
|
|
2546
2906
|
const serviceDefaults = { minDelay: 10, maxDelay: 1800 };
|
|
2547
|
-
return (0, import_util_waiter.createWaiter)({ ...serviceDefaults, ...params }, input,
|
|
2907
|
+
return (0, import_util_waiter.createWaiter)({ ...serviceDefaults, ...params }, input, checkState9);
|
|
2548
2908
|
}, "waitForPrivateGraphEndpointAvailable");
|
|
2549
2909
|
var waitUntilPrivateGraphEndpointAvailable = /* @__PURE__ */ __name(async (params, input) => {
|
|
2550
2910
|
const serviceDefaults = { minDelay: 10, maxDelay: 1800 };
|
|
2551
|
-
const result = await (0, import_util_waiter.createWaiter)({ ...serviceDefaults, ...params }, input,
|
|
2911
|
+
const result = await (0, import_util_waiter.createWaiter)({ ...serviceDefaults, ...params }, input, checkState9);
|
|
2552
2912
|
return (0, import_util_waiter.checkExceptions)(result);
|
|
2553
2913
|
}, "waitUntilPrivateGraphEndpointAvailable");
|
|
2554
2914
|
|
|
2555
2915
|
// src/waiters/waitForPrivateGraphEndpointDeleted.ts
|
|
2556
2916
|
|
|
2557
|
-
var
|
|
2917
|
+
var checkState10 = /* @__PURE__ */ __name(async (client, input) => {
|
|
2558
2918
|
let reason;
|
|
2559
2919
|
try {
|
|
2560
2920
|
const result = await client.send(new GetPrivateGraphEndpointCommand(input));
|
|
@@ -2578,11 +2938,11 @@ var checkState8 = /* @__PURE__ */ __name(async (client, input) => {
|
|
|
2578
2938
|
}, "checkState");
|
|
2579
2939
|
var waitForPrivateGraphEndpointDeleted = /* @__PURE__ */ __name(async (params, input) => {
|
|
2580
2940
|
const serviceDefaults = { minDelay: 10, maxDelay: 1800 };
|
|
2581
|
-
return (0, import_util_waiter.createWaiter)({ ...serviceDefaults, ...params }, input,
|
|
2941
|
+
return (0, import_util_waiter.createWaiter)({ ...serviceDefaults, ...params }, input, checkState10);
|
|
2582
2942
|
}, "waitForPrivateGraphEndpointDeleted");
|
|
2583
2943
|
var waitUntilPrivateGraphEndpointDeleted = /* @__PURE__ */ __name(async (params, input) => {
|
|
2584
2944
|
const serviceDefaults = { minDelay: 10, maxDelay: 1800 };
|
|
2585
|
-
const result = await (0, import_util_waiter.createWaiter)({ ...serviceDefaults, ...params }, input,
|
|
2945
|
+
const result = await (0, import_util_waiter.createWaiter)({ ...serviceDefaults, ...params }, input, checkState10);
|
|
2586
2946
|
return (0, import_util_waiter.checkExceptions)(result);
|
|
2587
2947
|
}, "waitUntilPrivateGraphEndpointDeleted");
|
|
2588
2948
|
// Annotate the CommonJS export names for ESM import in node:
|
|
@@ -2593,6 +2953,7 @@ var waitUntilPrivateGraphEndpointDeleted = /* @__PURE__ */ __name(async (params,
|
|
|
2593
2953
|
NeptuneGraphClient,
|
|
2594
2954
|
NeptuneGraph,
|
|
2595
2955
|
$Command,
|
|
2956
|
+
CancelExportTaskCommand,
|
|
2596
2957
|
CancelImportTaskCommand,
|
|
2597
2958
|
CancelQueryCommand,
|
|
2598
2959
|
CreateGraphCommand,
|
|
@@ -2603,12 +2964,14 @@ var waitUntilPrivateGraphEndpointDeleted = /* @__PURE__ */ __name(async (params,
|
|
|
2603
2964
|
DeleteGraphSnapshotCommand,
|
|
2604
2965
|
DeletePrivateGraphEndpointCommand,
|
|
2605
2966
|
ExecuteQueryCommand,
|
|
2967
|
+
GetExportTaskCommand,
|
|
2606
2968
|
GetGraphCommand,
|
|
2607
2969
|
GetGraphSnapshotCommand,
|
|
2608
2970
|
GetGraphSummaryCommand,
|
|
2609
2971
|
GetImportTaskCommand,
|
|
2610
2972
|
GetPrivateGraphEndpointCommand,
|
|
2611
2973
|
GetQueryCommand,
|
|
2974
|
+
ListExportTasksCommand,
|
|
2612
2975
|
ListGraphSnapshotsCommand,
|
|
2613
2976
|
ListGraphsCommand,
|
|
2614
2977
|
ListImportTasksCommand,
|
|
@@ -2617,14 +2980,20 @@ var waitUntilPrivateGraphEndpointDeleted = /* @__PURE__ */ __name(async (params,
|
|
|
2617
2980
|
ListTagsForResourceCommand,
|
|
2618
2981
|
ResetGraphCommand,
|
|
2619
2982
|
RestoreGraphFromSnapshotCommand,
|
|
2983
|
+
StartExportTaskCommand,
|
|
2620
2984
|
StartImportTaskCommand,
|
|
2621
2985
|
TagResourceCommand,
|
|
2622
2986
|
UntagResourceCommand,
|
|
2623
2987
|
UpdateGraphCommand,
|
|
2988
|
+
paginateListExportTasks,
|
|
2624
2989
|
paginateListGraphSnapshots,
|
|
2625
2990
|
paginateListGraphs,
|
|
2626
2991
|
paginateListImportTasks,
|
|
2627
2992
|
paginateListPrivateGraphEndpoints,
|
|
2993
|
+
waitForExportTaskCancelled,
|
|
2994
|
+
waitUntilExportTaskCancelled,
|
|
2995
|
+
waitForExportTaskSuccessful,
|
|
2996
|
+
waitUntilExportTaskSuccessful,
|
|
2628
2997
|
waitForGraphAvailable,
|
|
2629
2998
|
waitUntilGraphAvailable,
|
|
2630
2999
|
waitForGraphDeleted,
|
|
@@ -2661,10 +3030,14 @@ var waitUntilPrivateGraphEndpointDeleted = /* @__PURE__ */ __name(async (params,
|
|
|
2661
3030
|
QueryStateInput,
|
|
2662
3031
|
PrivateGraphEndpointStatus,
|
|
2663
3032
|
SnapshotStatus,
|
|
3033
|
+
ExportFormat,
|
|
3034
|
+
ParquetType,
|
|
3035
|
+
ExportTaskStatus,
|
|
2664
3036
|
Format,
|
|
2665
3037
|
ImportTaskStatus,
|
|
2666
3038
|
BlankNodeHandling,
|
|
2667
3039
|
ImportOptions,
|
|
3040
|
+
MultiValueHandlingType,
|
|
2668
3041
|
ExecuteQueryOutputFilterSensitiveLog
|
|
2669
3042
|
});
|
|
2670
3043
|
|