@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.
- package/README.md +43 -3
- package/dist-cjs/commands/CancelQueryCommand.js +1 -0
- package/dist-cjs/commands/ExecuteQueryCommand.js +1 -0
- package/dist-cjs/commands/GetGraphSummaryCommand.js +1 -0
- package/dist-cjs/commands/GetQueryCommand.js +1 -0
- package/dist-cjs/commands/ListQueriesCommand.js +1 -0
- package/dist-cjs/index.js +511 -698
- package/dist-cjs/runtimeConfig.shared.js +2 -0
- package/dist-es/NeptuneGraph.js +10 -0
- package/dist-es/commands/CancelQueryCommand.js +25 -0
- package/dist-es/commands/ExecuteQueryCommand.js +26 -0
- package/dist-es/commands/GetGraphSummaryCommand.js +25 -0
- package/dist-es/commands/GetQueryCommand.js +25 -0
- package/dist-es/commands/ListQueriesCommand.js +25 -0
- package/dist-es/commands/index.js +5 -0
- package/dist-es/models/models_0.js +91 -29
- package/dist-es/protocols/Aws_restJson1.js +252 -639
- package/dist-es/runtimeConfig.shared.js +2 -0
- package/dist-types/NeptuneGraph.d.ts +38 -3
- package/dist-types/NeptuneGraphClient.d.ts +16 -6
- package/dist-types/commands/CancelImportTaskCommand.d.ts +2 -2
- package/dist-types/commands/CancelQueryCommand.d.ts +72 -0
- package/dist-types/commands/CreateGraphCommand.d.ts +1 -1
- package/dist-types/commands/CreateGraphSnapshotCommand.d.ts +1 -1
- package/dist-types/commands/CreateGraphUsingImportTaskCommand.d.ts +1 -1
- package/dist-types/commands/CreatePrivateGraphEndpointCommand.d.ts +1 -1
- package/dist-types/commands/DeleteGraphCommand.d.ts +1 -1
- package/dist-types/commands/DeleteGraphSnapshotCommand.d.ts +1 -1
- package/dist-types/commands/DeletePrivateGraphEndpointCommand.d.ts +1 -1
- package/dist-types/commands/ExecuteQueryCommand.d.ts +90 -0
- package/dist-types/commands/GetGraphCommand.d.ts +1 -1
- package/dist-types/commands/GetGraphSnapshotCommand.d.ts +1 -1
- package/dist-types/commands/GetGraphSummaryCommand.d.ts +120 -0
- package/dist-types/commands/GetImportTaskCommand.d.ts +1 -1
- package/dist-types/commands/GetPrivateGraphEndpointCommand.d.ts +1 -1
- package/dist-types/commands/GetQueryCommand.d.ts +78 -0
- package/dist-types/commands/ListGraphSnapshotsCommand.d.ts +1 -1
- package/dist-types/commands/ListImportTasksCommand.d.ts +1 -1
- package/dist-types/commands/ListPrivateGraphEndpointsCommand.d.ts +1 -1
- package/dist-types/commands/ListQueriesCommand.d.ts +80 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -1
- package/dist-types/commands/ResetGraphCommand.d.ts +1 -1
- package/dist-types/commands/RestoreGraphFromSnapshotCommand.d.ts +1 -1
- package/dist-types/commands/TagResourceCommand.d.ts +1 -1
- package/dist-types/commands/UntagResourceCommand.d.ts +1 -1
- package/dist-types/commands/UpdateGraphCommand.d.ts +1 -1
- package/dist-types/commands/index.d.ts +5 -0
- package/dist-types/index.d.ts +3 -3
- package/dist-types/models/models_0.d.ts +522 -78
- package/dist-types/protocols/Aws_restJson1.d.ts +46 -1
- package/dist-types/runtimeConfig.browser.d.ts +1 -0
- package/dist-types/runtimeConfig.d.ts +1 -0
- package/dist-types/runtimeConfig.native.d.ts +1 -0
- package/dist-types/runtimeConfig.shared.d.ts +1 -0
- package/dist-types/ts3.4/NeptuneGraph.d.ts +85 -0
- package/dist-types/ts3.4/NeptuneGraphClient.d.ts +32 -0
- package/dist-types/ts3.4/commands/CancelQueryCommand.d.ts +24 -0
- package/dist-types/ts3.4/commands/ExecuteQueryCommand.d.ts +34 -0
- package/dist-types/ts3.4/commands/GetGraphSummaryCommand.d.ts +29 -0
- package/dist-types/ts3.4/commands/GetQueryCommand.d.ts +26 -0
- package/dist-types/ts3.4/commands/ListQueriesCommand.d.ts +26 -0
- package/dist-types/ts3.4/commands/index.d.ts +5 -0
- package/dist-types/ts3.4/models/models_0.d.ts +182 -44
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +64 -1
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +1 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -0
- package/package.json +4 -3
|
@@ -4,6 +4,7 @@ exports.getRuntimeConfig = void 0;
|
|
|
4
4
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
5
5
|
const url_parser_1 = require("@smithy/url-parser");
|
|
6
6
|
const util_base64_1 = require("@smithy/util-base64");
|
|
7
|
+
const util_stream_1 = require("@smithy/util-stream");
|
|
7
8
|
const util_utf8_1 = require("@smithy/util-utf8");
|
|
8
9
|
const endpointResolver_1 = require("./endpoint/endpointResolver");
|
|
9
10
|
const getRuntimeConfig = (config) => {
|
|
@@ -15,6 +16,7 @@ const getRuntimeConfig = (config) => {
|
|
|
15
16
|
endpointProvider: config?.endpointProvider ?? endpointResolver_1.defaultEndpointResolver,
|
|
16
17
|
extensions: config?.extensions ?? [],
|
|
17
18
|
logger: config?.logger ?? new smithy_client_1.NoOpLogger(),
|
|
19
|
+
sdkStreamMixin: config?.sdkStreamMixin ?? util_stream_1.sdkStreamMixin,
|
|
18
20
|
serviceId: config?.serviceId ?? "Neptune Graph",
|
|
19
21
|
urlParser: config?.urlParser ?? url_parser_1.parseUrl,
|
|
20
22
|
utf8Decoder: config?.utf8Decoder ?? util_utf8_1.fromUtf8,
|
package/dist-es/NeptuneGraph.js
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { createAggregatedClient } from "@smithy/smithy-client";
|
|
2
2
|
import { CancelImportTaskCommand, } from "./commands/CancelImportTaskCommand";
|
|
3
|
+
import { CancelQueryCommand } from "./commands/CancelQueryCommand";
|
|
3
4
|
import { CreateGraphCommand } from "./commands/CreateGraphCommand";
|
|
4
5
|
import { CreateGraphSnapshotCommand, } from "./commands/CreateGraphSnapshotCommand";
|
|
5
6
|
import { CreateGraphUsingImportTaskCommand, } from "./commands/CreateGraphUsingImportTaskCommand";
|
|
@@ -7,14 +8,18 @@ import { CreatePrivateGraphEndpointCommand, } from "./commands/CreatePrivateGrap
|
|
|
7
8
|
import { DeleteGraphCommand } from "./commands/DeleteGraphCommand";
|
|
8
9
|
import { DeleteGraphSnapshotCommand, } from "./commands/DeleteGraphSnapshotCommand";
|
|
9
10
|
import { DeletePrivateGraphEndpointCommand, } from "./commands/DeletePrivateGraphEndpointCommand";
|
|
11
|
+
import { ExecuteQueryCommand, } from "./commands/ExecuteQueryCommand";
|
|
10
12
|
import { GetGraphCommand } from "./commands/GetGraphCommand";
|
|
11
13
|
import { GetGraphSnapshotCommand, } from "./commands/GetGraphSnapshotCommand";
|
|
14
|
+
import { GetGraphSummaryCommand, } from "./commands/GetGraphSummaryCommand";
|
|
12
15
|
import { GetImportTaskCommand, } from "./commands/GetImportTaskCommand";
|
|
13
16
|
import { GetPrivateGraphEndpointCommand, } from "./commands/GetPrivateGraphEndpointCommand";
|
|
17
|
+
import { GetQueryCommand } from "./commands/GetQueryCommand";
|
|
14
18
|
import { ListGraphsCommand } from "./commands/ListGraphsCommand";
|
|
15
19
|
import { ListGraphSnapshotsCommand, } from "./commands/ListGraphSnapshotsCommand";
|
|
16
20
|
import { ListImportTasksCommand, } from "./commands/ListImportTasksCommand";
|
|
17
21
|
import { ListPrivateGraphEndpointsCommand, } from "./commands/ListPrivateGraphEndpointsCommand";
|
|
22
|
+
import { ListQueriesCommand } from "./commands/ListQueriesCommand";
|
|
18
23
|
import { ListTagsForResourceCommand, } from "./commands/ListTagsForResourceCommand";
|
|
19
24
|
import { ResetGraphCommand } from "./commands/ResetGraphCommand";
|
|
20
25
|
import { RestoreGraphFromSnapshotCommand, } from "./commands/RestoreGraphFromSnapshotCommand";
|
|
@@ -24,6 +29,7 @@ import { UpdateGraphCommand } from "./commands/UpdateGraphCommand";
|
|
|
24
29
|
import { NeptuneGraphClient } from "./NeptuneGraphClient";
|
|
25
30
|
const commands = {
|
|
26
31
|
CancelImportTaskCommand,
|
|
32
|
+
CancelQueryCommand,
|
|
27
33
|
CreateGraphCommand,
|
|
28
34
|
CreateGraphSnapshotCommand,
|
|
29
35
|
CreateGraphUsingImportTaskCommand,
|
|
@@ -31,14 +37,18 @@ const commands = {
|
|
|
31
37
|
DeleteGraphCommand,
|
|
32
38
|
DeleteGraphSnapshotCommand,
|
|
33
39
|
DeletePrivateGraphEndpointCommand,
|
|
40
|
+
ExecuteQueryCommand,
|
|
34
41
|
GetGraphCommand,
|
|
35
42
|
GetGraphSnapshotCommand,
|
|
43
|
+
GetGraphSummaryCommand,
|
|
36
44
|
GetImportTaskCommand,
|
|
37
45
|
GetPrivateGraphEndpointCommand,
|
|
46
|
+
GetQueryCommand,
|
|
38
47
|
ListGraphsCommand,
|
|
39
48
|
ListGraphSnapshotsCommand,
|
|
40
49
|
ListImportTasksCommand,
|
|
41
50
|
ListPrivateGraphEndpointsCommand,
|
|
51
|
+
ListQueriesCommand,
|
|
42
52
|
ListTagsForResourceCommand,
|
|
43
53
|
ResetGraphCommand,
|
|
44
54
|
RestoreGraphFromSnapshotCommand,
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { de_CancelQueryCommand, se_CancelQueryCommand } from "../protocols/Aws_restJson1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class CancelQueryCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
ApiType: { type: "staticContextParams", value: `DataPlane` },
|
|
12
|
+
})
|
|
13
|
+
.m(function (Command, cs, config, o) {
|
|
14
|
+
return [
|
|
15
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
16
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
17
|
+
];
|
|
18
|
+
})
|
|
19
|
+
.s("AmazonNeptuneGraph", "CancelQuery", {})
|
|
20
|
+
.n("NeptuneGraphClient", "CancelQueryCommand")
|
|
21
|
+
.f(void 0, void 0)
|
|
22
|
+
.ser(se_CancelQueryCommand)
|
|
23
|
+
.de(de_CancelQueryCommand)
|
|
24
|
+
.build() {
|
|
25
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { ExecuteQueryOutputFilterSensitiveLog } from "../models/models_0";
|
|
6
|
+
import { de_ExecuteQueryCommand, se_ExecuteQueryCommand } from "../protocols/Aws_restJson1";
|
|
7
|
+
export { $Command };
|
|
8
|
+
export class ExecuteQueryCommand extends $Command
|
|
9
|
+
.classBuilder()
|
|
10
|
+
.ep({
|
|
11
|
+
...commonParams,
|
|
12
|
+
ApiType: { type: "staticContextParams", value: `DataPlane` },
|
|
13
|
+
})
|
|
14
|
+
.m(function (Command, cs, config, o) {
|
|
15
|
+
return [
|
|
16
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
17
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
18
|
+
];
|
|
19
|
+
})
|
|
20
|
+
.s("AmazonNeptuneGraph", "ExecuteQuery", {})
|
|
21
|
+
.n("NeptuneGraphClient", "ExecuteQueryCommand")
|
|
22
|
+
.f(void 0, ExecuteQueryOutputFilterSensitiveLog)
|
|
23
|
+
.ser(se_ExecuteQueryCommand)
|
|
24
|
+
.de(de_ExecuteQueryCommand)
|
|
25
|
+
.build() {
|
|
26
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { de_GetGraphSummaryCommand, se_GetGraphSummaryCommand } from "../protocols/Aws_restJson1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class GetGraphSummaryCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
ApiType: { type: "staticContextParams", value: `DataPlane` },
|
|
12
|
+
})
|
|
13
|
+
.m(function (Command, cs, config, o) {
|
|
14
|
+
return [
|
|
15
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
16
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
17
|
+
];
|
|
18
|
+
})
|
|
19
|
+
.s("AmazonNeptuneGraph", "GetGraphSummary", {})
|
|
20
|
+
.n("NeptuneGraphClient", "GetGraphSummaryCommand")
|
|
21
|
+
.f(void 0, void 0)
|
|
22
|
+
.ser(se_GetGraphSummaryCommand)
|
|
23
|
+
.de(de_GetGraphSummaryCommand)
|
|
24
|
+
.build() {
|
|
25
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { de_GetQueryCommand, se_GetQueryCommand } from "../protocols/Aws_restJson1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class GetQueryCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
ApiType: { type: "staticContextParams", value: `DataPlane` },
|
|
12
|
+
})
|
|
13
|
+
.m(function (Command, cs, config, o) {
|
|
14
|
+
return [
|
|
15
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
16
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
17
|
+
];
|
|
18
|
+
})
|
|
19
|
+
.s("AmazonNeptuneGraph", "GetQuery", {})
|
|
20
|
+
.n("NeptuneGraphClient", "GetQueryCommand")
|
|
21
|
+
.f(void 0, void 0)
|
|
22
|
+
.ser(se_GetQueryCommand)
|
|
23
|
+
.de(de_GetQueryCommand)
|
|
24
|
+
.build() {
|
|
25
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { de_ListQueriesCommand, se_ListQueriesCommand } from "../protocols/Aws_restJson1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class ListQueriesCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
ApiType: { type: "staticContextParams", value: `DataPlane` },
|
|
12
|
+
})
|
|
13
|
+
.m(function (Command, cs, config, o) {
|
|
14
|
+
return [
|
|
15
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
16
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
17
|
+
];
|
|
18
|
+
})
|
|
19
|
+
.s("AmazonNeptuneGraph", "ListQueries", {})
|
|
20
|
+
.n("NeptuneGraphClient", "ListQueriesCommand")
|
|
21
|
+
.f(void 0, void 0)
|
|
22
|
+
.ser(se_ListQueriesCommand)
|
|
23
|
+
.de(de_ListQueriesCommand)
|
|
24
|
+
.build() {
|
|
25
|
+
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
export * from "./CancelImportTaskCommand";
|
|
2
|
+
export * from "./CancelQueryCommand";
|
|
2
3
|
export * from "./CreateGraphCommand";
|
|
3
4
|
export * from "./CreateGraphSnapshotCommand";
|
|
4
5
|
export * from "./CreateGraphUsingImportTaskCommand";
|
|
@@ -6,14 +7,18 @@ export * from "./CreatePrivateGraphEndpointCommand";
|
|
|
6
7
|
export * from "./DeleteGraphCommand";
|
|
7
8
|
export * from "./DeleteGraphSnapshotCommand";
|
|
8
9
|
export * from "./DeletePrivateGraphEndpointCommand";
|
|
10
|
+
export * from "./ExecuteQueryCommand";
|
|
9
11
|
export * from "./GetGraphCommand";
|
|
10
12
|
export * from "./GetGraphSnapshotCommand";
|
|
13
|
+
export * from "./GetGraphSummaryCommand";
|
|
11
14
|
export * from "./GetImportTaskCommand";
|
|
12
15
|
export * from "./GetPrivateGraphEndpointCommand";
|
|
16
|
+
export * from "./GetQueryCommand";
|
|
13
17
|
export * from "./ListGraphSnapshotsCommand";
|
|
14
18
|
export * from "./ListGraphsCommand";
|
|
15
19
|
export * from "./ListImportTasksCommand";
|
|
16
20
|
export * from "./ListPrivateGraphEndpointsCommand";
|
|
21
|
+
export * from "./ListQueriesCommand";
|
|
17
22
|
export * from "./ListTagsForResourceCommand";
|
|
18
23
|
export * from "./ResetGraphCommand";
|
|
19
24
|
export * from "./RestoreGraphFromSnapshotCommand";
|
|
@@ -1,29 +1,16 @@
|
|
|
1
1
|
import { NeptuneGraphServiceException as __BaseException } from "./NeptuneGraphServiceException";
|
|
2
|
-
export
|
|
3
|
-
CONCURRENT_MODIFICATION: "CONCURRENT_MODIFICATION",
|
|
4
|
-
};
|
|
5
|
-
export class ConflictException extends __BaseException {
|
|
2
|
+
export class AccessDeniedException extends __BaseException {
|
|
6
3
|
constructor(opts) {
|
|
7
4
|
super({
|
|
8
|
-
name: "
|
|
5
|
+
name: "AccessDeniedException",
|
|
9
6
|
$fault: "client",
|
|
10
7
|
...opts,
|
|
11
8
|
});
|
|
12
|
-
this.name = "
|
|
9
|
+
this.name = "AccessDeniedException";
|
|
13
10
|
this.$fault = "client";
|
|
14
|
-
Object.setPrototypeOf(this,
|
|
15
|
-
this.reason = opts.reason;
|
|
11
|
+
Object.setPrototypeOf(this, AccessDeniedException.prototype);
|
|
16
12
|
}
|
|
17
13
|
}
|
|
18
|
-
export const GraphStatus = {
|
|
19
|
-
AVAILABLE: "AVAILABLE",
|
|
20
|
-
CREATING: "CREATING",
|
|
21
|
-
DELETING: "DELETING",
|
|
22
|
-
FAILED: "FAILED",
|
|
23
|
-
RESETTING: "RESETTING",
|
|
24
|
-
SNAPSHOTTING: "SNAPSHOTTING",
|
|
25
|
-
UPDATING: "UPDATING",
|
|
26
|
-
};
|
|
27
14
|
export class InternalServerException extends __BaseException {
|
|
28
15
|
constructor(opts) {
|
|
29
16
|
super({
|
|
@@ -37,20 +24,16 @@ export class InternalServerException extends __BaseException {
|
|
|
37
24
|
Object.setPrototypeOf(this, InternalServerException.prototype);
|
|
38
25
|
}
|
|
39
26
|
}
|
|
40
|
-
export class
|
|
27
|
+
export class ResourceNotFoundException extends __BaseException {
|
|
41
28
|
constructor(opts) {
|
|
42
29
|
super({
|
|
43
|
-
name: "
|
|
30
|
+
name: "ResourceNotFoundException",
|
|
44
31
|
$fault: "client",
|
|
45
32
|
...opts,
|
|
46
33
|
});
|
|
47
|
-
this.name = "
|
|
34
|
+
this.name = "ResourceNotFoundException";
|
|
48
35
|
this.$fault = "client";
|
|
49
|
-
Object.setPrototypeOf(this,
|
|
50
|
-
this.resourceId = opts.resourceId;
|
|
51
|
-
this.resourceType = opts.resourceType;
|
|
52
|
-
this.serviceCode = opts.serviceCode;
|
|
53
|
-
this.quotaCode = opts.quotaCode;
|
|
36
|
+
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
54
37
|
}
|
|
55
38
|
}
|
|
56
39
|
export class ThrottlingException extends __BaseException {
|
|
@@ -90,18 +73,94 @@ export class ValidationException extends __BaseException {
|
|
|
90
73
|
this.reason = opts.reason;
|
|
91
74
|
}
|
|
92
75
|
}
|
|
93
|
-
export
|
|
76
|
+
export const ConflictExceptionReason = {
|
|
77
|
+
CONCURRENT_MODIFICATION: "CONCURRENT_MODIFICATION",
|
|
78
|
+
};
|
|
79
|
+
export class ConflictException extends __BaseException {
|
|
94
80
|
constructor(opts) {
|
|
95
81
|
super({
|
|
96
|
-
name: "
|
|
82
|
+
name: "ConflictException",
|
|
97
83
|
$fault: "client",
|
|
98
84
|
...opts,
|
|
99
85
|
});
|
|
100
|
-
this.name = "
|
|
86
|
+
this.name = "ConflictException";
|
|
101
87
|
this.$fault = "client";
|
|
102
|
-
Object.setPrototypeOf(this,
|
|
88
|
+
Object.setPrototypeOf(this, ConflictException.prototype);
|
|
89
|
+
this.reason = opts.reason;
|
|
103
90
|
}
|
|
104
91
|
}
|
|
92
|
+
export const ExplainMode = {
|
|
93
|
+
DETAILS: "DETAILS",
|
|
94
|
+
STATIC: "STATIC",
|
|
95
|
+
};
|
|
96
|
+
export const QueryLanguage = {
|
|
97
|
+
OPEN_CYPHER: "OPEN_CYPHER",
|
|
98
|
+
};
|
|
99
|
+
export const PlanCacheType = {
|
|
100
|
+
AUTO: "AUTO",
|
|
101
|
+
DISABLED: "DISABLED",
|
|
102
|
+
ENABLED: "ENABLED",
|
|
103
|
+
};
|
|
104
|
+
export const UnprocessableExceptionReason = {
|
|
105
|
+
INTERNAL_LIMIT_EXCEEDED: "INTERNAL_LIMIT_EXCEEDED",
|
|
106
|
+
MEMORY_LIMIT_EXCEEDED: "MEMORY_LIMIT_EXCEEDED",
|
|
107
|
+
PARTITION_FULL: "PARTITION_FULL",
|
|
108
|
+
QUERY_TIMEOUT: "QUERY_TIMEOUT",
|
|
109
|
+
STORAGE_LIMIT_EXCEEDED: "STORAGE_LIMIT_EXCEEDED",
|
|
110
|
+
};
|
|
111
|
+
export class UnprocessableException extends __BaseException {
|
|
112
|
+
constructor(opts) {
|
|
113
|
+
super({
|
|
114
|
+
name: "UnprocessableException",
|
|
115
|
+
$fault: "client",
|
|
116
|
+
...opts,
|
|
117
|
+
});
|
|
118
|
+
this.name = "UnprocessableException";
|
|
119
|
+
this.$fault = "client";
|
|
120
|
+
Object.setPrototypeOf(this, UnprocessableException.prototype);
|
|
121
|
+
this.reason = opts.reason;
|
|
122
|
+
}
|
|
123
|
+
}
|
|
124
|
+
export const GraphSummaryMode = {
|
|
125
|
+
BASIC: "BASIC",
|
|
126
|
+
DETAILED: "DETAILED",
|
|
127
|
+
};
|
|
128
|
+
export const QueryState = {
|
|
129
|
+
CANCELLING: "CANCELLING",
|
|
130
|
+
RUNNING: "RUNNING",
|
|
131
|
+
WAITING: "WAITING",
|
|
132
|
+
};
|
|
133
|
+
export const GraphStatus = {
|
|
134
|
+
AVAILABLE: "AVAILABLE",
|
|
135
|
+
CREATING: "CREATING",
|
|
136
|
+
DELETING: "DELETING",
|
|
137
|
+
FAILED: "FAILED",
|
|
138
|
+
RESETTING: "RESETTING",
|
|
139
|
+
SNAPSHOTTING: "SNAPSHOTTING",
|
|
140
|
+
UPDATING: "UPDATING",
|
|
141
|
+
};
|
|
142
|
+
export class ServiceQuotaExceededException extends __BaseException {
|
|
143
|
+
constructor(opts) {
|
|
144
|
+
super({
|
|
145
|
+
name: "ServiceQuotaExceededException",
|
|
146
|
+
$fault: "client",
|
|
147
|
+
...opts,
|
|
148
|
+
});
|
|
149
|
+
this.name = "ServiceQuotaExceededException";
|
|
150
|
+
this.$fault = "client";
|
|
151
|
+
Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
|
|
152
|
+
this.resourceId = opts.resourceId;
|
|
153
|
+
this.resourceType = opts.resourceType;
|
|
154
|
+
this.serviceCode = opts.serviceCode;
|
|
155
|
+
this.quotaCode = opts.quotaCode;
|
|
156
|
+
}
|
|
157
|
+
}
|
|
158
|
+
export const QueryStateInput = {
|
|
159
|
+
ALL: "ALL",
|
|
160
|
+
CANCELLING: "CANCELLING",
|
|
161
|
+
RUNNING: "RUNNING",
|
|
162
|
+
WAITING: "WAITING",
|
|
163
|
+
};
|
|
105
164
|
export const PrivateGraphEndpointStatus = {
|
|
106
165
|
AVAILABLE: "AVAILABLE",
|
|
107
166
|
CREATING: "CREATING",
|
|
@@ -138,3 +197,6 @@ export var ImportOptions;
|
|
|
138
197
|
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
139
198
|
};
|
|
140
199
|
})(ImportOptions || (ImportOptions = {}));
|
|
200
|
+
export const ExecuteQueryOutputFilterSensitiveLog = (obj) => ({
|
|
201
|
+
...obj,
|
|
202
|
+
});
|