@aws-sdk/client-neptune-graph 3.479.0 → 3.484.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/dist-cjs/commands/CancelImportTaskCommand.js +19 -42
- package/dist-cjs/commands/CreateGraphCommand.js +19 -42
- package/dist-cjs/commands/CreateGraphSnapshotCommand.js +19 -42
- package/dist-cjs/commands/CreateGraphUsingImportTaskCommand.js +19 -42
- package/dist-cjs/commands/CreatePrivateGraphEndpointCommand.js +19 -42
- package/dist-cjs/commands/DeleteGraphCommand.js +19 -42
- package/dist-cjs/commands/DeleteGraphSnapshotCommand.js +19 -42
- package/dist-cjs/commands/DeletePrivateGraphEndpointCommand.js +19 -42
- package/dist-cjs/commands/GetGraphCommand.js +19 -42
- package/dist-cjs/commands/GetGraphSnapshotCommand.js +19 -42
- package/dist-cjs/commands/GetImportTaskCommand.js +19 -42
- package/dist-cjs/commands/GetPrivateGraphEndpointCommand.js +19 -42
- package/dist-cjs/commands/ListGraphSnapshotsCommand.js +19 -42
- package/dist-cjs/commands/ListGraphsCommand.js +19 -42
- package/dist-cjs/commands/ListImportTasksCommand.js +19 -42
- package/dist-cjs/commands/ListPrivateGraphEndpointsCommand.js +19 -42
- package/dist-cjs/commands/ListTagsForResourceCommand.js +19 -42
- package/dist-cjs/commands/ResetGraphCommand.js +19 -42
- package/dist-cjs/commands/RestoreGraphFromSnapshotCommand.js +19 -42
- package/dist-cjs/commands/TagResourceCommand.js +19 -42
- package/dist-cjs/commands/UntagResourceCommand.js +19 -42
- package/dist-cjs/commands/UpdateGraphCommand.js +19 -42
- package/dist-cjs/endpoint/EndpointParameters.js +7 -1
- package/dist-es/commands/CancelImportTaskCommand.js +19 -42
- package/dist-es/commands/CreateGraphCommand.js +19 -42
- package/dist-es/commands/CreateGraphSnapshotCommand.js +19 -42
- package/dist-es/commands/CreateGraphUsingImportTaskCommand.js +19 -42
- package/dist-es/commands/CreatePrivateGraphEndpointCommand.js +19 -42
- package/dist-es/commands/DeleteGraphCommand.js +19 -42
- package/dist-es/commands/DeleteGraphSnapshotCommand.js +19 -42
- package/dist-es/commands/DeletePrivateGraphEndpointCommand.js +19 -42
- package/dist-es/commands/GetGraphCommand.js +19 -42
- package/dist-es/commands/GetGraphSnapshotCommand.js +19 -42
- package/dist-es/commands/GetImportTaskCommand.js +19 -42
- package/dist-es/commands/GetPrivateGraphEndpointCommand.js +19 -42
- package/dist-es/commands/ListGraphSnapshotsCommand.js +19 -42
- package/dist-es/commands/ListGraphsCommand.js +19 -42
- package/dist-es/commands/ListImportTasksCommand.js +19 -42
- package/dist-es/commands/ListPrivateGraphEndpointsCommand.js +19 -42
- package/dist-es/commands/ListTagsForResourceCommand.js +19 -42
- package/dist-es/commands/ResetGraphCommand.js +19 -42
- package/dist-es/commands/RestoreGraphFromSnapshotCommand.js +19 -42
- package/dist-es/commands/TagResourceCommand.js +19 -42
- package/dist-es/commands/UntagResourceCommand.js +19 -42
- package/dist-es/commands/UpdateGraphCommand.js +19 -42
- package/dist-es/endpoint/EndpointParameters.js +6 -0
- package/dist-types/commands/CancelImportTaskCommand.d.ts +6 -21
- package/dist-types/commands/CreateGraphCommand.d.ts +6 -21
- package/dist-types/commands/CreateGraphSnapshotCommand.d.ts +6 -21
- package/dist-types/commands/CreateGraphUsingImportTaskCommand.d.ts +6 -21
- package/dist-types/commands/CreatePrivateGraphEndpointCommand.d.ts +6 -21
- package/dist-types/commands/DeleteGraphCommand.d.ts +6 -21
- package/dist-types/commands/DeleteGraphSnapshotCommand.d.ts +6 -21
- package/dist-types/commands/DeletePrivateGraphEndpointCommand.d.ts +6 -21
- package/dist-types/commands/GetGraphCommand.d.ts +6 -21
- package/dist-types/commands/GetGraphSnapshotCommand.d.ts +6 -21
- package/dist-types/commands/GetImportTaskCommand.d.ts +6 -21
- package/dist-types/commands/GetPrivateGraphEndpointCommand.d.ts +6 -21
- package/dist-types/commands/ListGraphSnapshotsCommand.d.ts +6 -21
- package/dist-types/commands/ListGraphsCommand.d.ts +6 -21
- package/dist-types/commands/ListImportTasksCommand.d.ts +6 -21
- package/dist-types/commands/ListPrivateGraphEndpointsCommand.d.ts +6 -21
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +6 -21
- package/dist-types/commands/ResetGraphCommand.d.ts +6 -21
- package/dist-types/commands/RestoreGraphFromSnapshotCommand.d.ts +6 -21
- package/dist-types/commands/TagResourceCommand.d.ts +6 -21
- package/dist-types/commands/UntagResourceCommand.d.ts +6 -21
- package/dist-types/commands/UpdateGraphCommand.d.ts +6 -21
- package/dist-types/endpoint/EndpointParameters.d.ts +18 -0
- package/dist-types/ts3.4/commands/CancelImportTaskCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/CreateGraphCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/CreateGraphSnapshotCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/CreateGraphUsingImportTaskCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/CreatePrivateGraphEndpointCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DeleteGraphCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DeleteGraphSnapshotCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DeletePrivateGraphEndpointCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/GetGraphCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/GetGraphSnapshotCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/GetImportTaskCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/GetPrivateGraphEndpointCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/ListGraphSnapshotsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListGraphsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListImportTasksCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListPrivateGraphEndpointsCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ResetGraphCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/RestoreGraphFromSnapshotCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/UpdateGraphCommand.d.ts +14 -23
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +18 -0
- package/package.json +11 -11
|
@@ -5,48 +5,25 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
-
const
|
|
8
|
+
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
9
9
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
10
|
-
class RestoreGraphFromSnapshotCommand extends smithy_client_1.Command
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
const { logger } = configuration;
|
|
29
|
-
const clientName = "NeptuneGraphClient";
|
|
30
|
-
const commandName = "RestoreGraphFromSnapshotCommand";
|
|
31
|
-
const handlerExecutionContext = {
|
|
32
|
-
logger,
|
|
33
|
-
clientName,
|
|
34
|
-
commandName,
|
|
35
|
-
inputFilterSensitiveLog: (_) => _,
|
|
36
|
-
outputFilterSensitiveLog: (_) => _,
|
|
37
|
-
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
38
|
-
service: "AmazonNeptuneGraph",
|
|
39
|
-
operation: "RestoreGraphFromSnapshot",
|
|
40
|
-
},
|
|
41
|
-
};
|
|
42
|
-
const { requestHandler } = configuration;
|
|
43
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
44
|
-
}
|
|
45
|
-
serialize(input, context) {
|
|
46
|
-
return (0, Aws_restJson1_1.se_RestoreGraphFromSnapshotCommand)(input, context);
|
|
47
|
-
}
|
|
48
|
-
deserialize(output, context) {
|
|
49
|
-
return (0, Aws_restJson1_1.de_RestoreGraphFromSnapshotCommand)(output, context);
|
|
50
|
-
}
|
|
10
|
+
class RestoreGraphFromSnapshotCommand extends smithy_client_1.Command
|
|
11
|
+
.classBuilder()
|
|
12
|
+
.ep({
|
|
13
|
+
...EndpointParameters_1.commonParams,
|
|
14
|
+
ApiType: { type: "staticContextParams", value: `ControlPlane` },
|
|
15
|
+
})
|
|
16
|
+
.m(function (Command, cs, config, o) {
|
|
17
|
+
return [
|
|
18
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
19
|
+
(0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
20
|
+
];
|
|
21
|
+
})
|
|
22
|
+
.s("AmazonNeptuneGraph", "RestoreGraphFromSnapshot", {})
|
|
23
|
+
.n("NeptuneGraphClient", "RestoreGraphFromSnapshotCommand")
|
|
24
|
+
.f(void 0, void 0)
|
|
25
|
+
.ser(Aws_restJson1_1.se_RestoreGraphFromSnapshotCommand)
|
|
26
|
+
.de(Aws_restJson1_1.de_RestoreGraphFromSnapshotCommand)
|
|
27
|
+
.build() {
|
|
51
28
|
}
|
|
52
29
|
exports.RestoreGraphFromSnapshotCommand = RestoreGraphFromSnapshotCommand;
|
|
@@ -5,48 +5,25 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
-
const
|
|
8
|
+
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
9
9
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
10
|
-
class TagResourceCommand extends smithy_client_1.Command
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
const { logger } = configuration;
|
|
29
|
-
const clientName = "NeptuneGraphClient";
|
|
30
|
-
const commandName = "TagResourceCommand";
|
|
31
|
-
const handlerExecutionContext = {
|
|
32
|
-
logger,
|
|
33
|
-
clientName,
|
|
34
|
-
commandName,
|
|
35
|
-
inputFilterSensitiveLog: (_) => _,
|
|
36
|
-
outputFilterSensitiveLog: (_) => _,
|
|
37
|
-
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
38
|
-
service: "AmazonNeptuneGraph",
|
|
39
|
-
operation: "TagResource",
|
|
40
|
-
},
|
|
41
|
-
};
|
|
42
|
-
const { requestHandler } = configuration;
|
|
43
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
44
|
-
}
|
|
45
|
-
serialize(input, context) {
|
|
46
|
-
return (0, Aws_restJson1_1.se_TagResourceCommand)(input, context);
|
|
47
|
-
}
|
|
48
|
-
deserialize(output, context) {
|
|
49
|
-
return (0, Aws_restJson1_1.de_TagResourceCommand)(output, context);
|
|
50
|
-
}
|
|
10
|
+
class TagResourceCommand extends smithy_client_1.Command
|
|
11
|
+
.classBuilder()
|
|
12
|
+
.ep({
|
|
13
|
+
...EndpointParameters_1.commonParams,
|
|
14
|
+
ApiType: { type: "staticContextParams", value: `ControlPlane` },
|
|
15
|
+
})
|
|
16
|
+
.m(function (Command, cs, config, o) {
|
|
17
|
+
return [
|
|
18
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
19
|
+
(0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
20
|
+
];
|
|
21
|
+
})
|
|
22
|
+
.s("AmazonNeptuneGraph", "TagResource", {})
|
|
23
|
+
.n("NeptuneGraphClient", "TagResourceCommand")
|
|
24
|
+
.f(void 0, void 0)
|
|
25
|
+
.ser(Aws_restJson1_1.se_TagResourceCommand)
|
|
26
|
+
.de(Aws_restJson1_1.de_TagResourceCommand)
|
|
27
|
+
.build() {
|
|
51
28
|
}
|
|
52
29
|
exports.TagResourceCommand = TagResourceCommand;
|
|
@@ -5,48 +5,25 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
-
const
|
|
8
|
+
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
9
9
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
10
|
-
class UntagResourceCommand extends smithy_client_1.Command
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
const { logger } = configuration;
|
|
29
|
-
const clientName = "NeptuneGraphClient";
|
|
30
|
-
const commandName = "UntagResourceCommand";
|
|
31
|
-
const handlerExecutionContext = {
|
|
32
|
-
logger,
|
|
33
|
-
clientName,
|
|
34
|
-
commandName,
|
|
35
|
-
inputFilterSensitiveLog: (_) => _,
|
|
36
|
-
outputFilterSensitiveLog: (_) => _,
|
|
37
|
-
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
38
|
-
service: "AmazonNeptuneGraph",
|
|
39
|
-
operation: "UntagResource",
|
|
40
|
-
},
|
|
41
|
-
};
|
|
42
|
-
const { requestHandler } = configuration;
|
|
43
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
44
|
-
}
|
|
45
|
-
serialize(input, context) {
|
|
46
|
-
return (0, Aws_restJson1_1.se_UntagResourceCommand)(input, context);
|
|
47
|
-
}
|
|
48
|
-
deserialize(output, context) {
|
|
49
|
-
return (0, Aws_restJson1_1.de_UntagResourceCommand)(output, context);
|
|
50
|
-
}
|
|
10
|
+
class UntagResourceCommand extends smithy_client_1.Command
|
|
11
|
+
.classBuilder()
|
|
12
|
+
.ep({
|
|
13
|
+
...EndpointParameters_1.commonParams,
|
|
14
|
+
ApiType: { type: "staticContextParams", value: `ControlPlane` },
|
|
15
|
+
})
|
|
16
|
+
.m(function (Command, cs, config, o) {
|
|
17
|
+
return [
|
|
18
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
19
|
+
(0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
20
|
+
];
|
|
21
|
+
})
|
|
22
|
+
.s("AmazonNeptuneGraph", "UntagResource", {})
|
|
23
|
+
.n("NeptuneGraphClient", "UntagResourceCommand")
|
|
24
|
+
.f(void 0, void 0)
|
|
25
|
+
.ser(Aws_restJson1_1.se_UntagResourceCommand)
|
|
26
|
+
.de(Aws_restJson1_1.de_UntagResourceCommand)
|
|
27
|
+
.build() {
|
|
51
28
|
}
|
|
52
29
|
exports.UntagResourceCommand = UntagResourceCommand;
|
|
@@ -5,48 +5,25 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
-
const
|
|
8
|
+
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
9
9
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
10
|
-
class UpdateGraphCommand extends smithy_client_1.Command
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
const { logger } = configuration;
|
|
29
|
-
const clientName = "NeptuneGraphClient";
|
|
30
|
-
const commandName = "UpdateGraphCommand";
|
|
31
|
-
const handlerExecutionContext = {
|
|
32
|
-
logger,
|
|
33
|
-
clientName,
|
|
34
|
-
commandName,
|
|
35
|
-
inputFilterSensitiveLog: (_) => _,
|
|
36
|
-
outputFilterSensitiveLog: (_) => _,
|
|
37
|
-
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
38
|
-
service: "AmazonNeptuneGraph",
|
|
39
|
-
operation: "UpdateGraph",
|
|
40
|
-
},
|
|
41
|
-
};
|
|
42
|
-
const { requestHandler } = configuration;
|
|
43
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
44
|
-
}
|
|
45
|
-
serialize(input, context) {
|
|
46
|
-
return (0, Aws_restJson1_1.se_UpdateGraphCommand)(input, context);
|
|
47
|
-
}
|
|
48
|
-
deserialize(output, context) {
|
|
49
|
-
return (0, Aws_restJson1_1.de_UpdateGraphCommand)(output, context);
|
|
50
|
-
}
|
|
10
|
+
class UpdateGraphCommand extends smithy_client_1.Command
|
|
11
|
+
.classBuilder()
|
|
12
|
+
.ep({
|
|
13
|
+
...EndpointParameters_1.commonParams,
|
|
14
|
+
ApiType: { type: "staticContextParams", value: `ControlPlane` },
|
|
15
|
+
})
|
|
16
|
+
.m(function (Command, cs, config, o) {
|
|
17
|
+
return [
|
|
18
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
19
|
+
(0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
20
|
+
];
|
|
21
|
+
})
|
|
22
|
+
.s("AmazonNeptuneGraph", "UpdateGraph", {})
|
|
23
|
+
.n("NeptuneGraphClient", "UpdateGraphCommand")
|
|
24
|
+
.f(void 0, void 0)
|
|
25
|
+
.ser(Aws_restJson1_1.se_UpdateGraphCommand)
|
|
26
|
+
.de(Aws_restJson1_1.de_UpdateGraphCommand)
|
|
27
|
+
.build() {
|
|
51
28
|
}
|
|
52
29
|
exports.UpdateGraphCommand = UpdateGraphCommand;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.resolveClientEndpointParameters = void 0;
|
|
3
|
+
exports.commonParams = exports.resolveClientEndpointParameters = void 0;
|
|
4
4
|
const resolveClientEndpointParameters = (options) => {
|
|
5
5
|
return {
|
|
6
6
|
...options,
|
|
@@ -10,3 +10,9 @@ const resolveClientEndpointParameters = (options) => {
|
|
|
10
10
|
};
|
|
11
11
|
};
|
|
12
12
|
exports.resolveClientEndpointParameters = resolveClientEndpointParameters;
|
|
13
|
+
exports.commonParams = {
|
|
14
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
15
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
16
|
+
Region: { type: "builtInParams", name: "region" },
|
|
17
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
18
|
+
};
|
|
@@ -1,48 +1,25 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_CancelImportTaskCommand, se_CancelImportTaskCommand } from "../protocols/Aws_restJson1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class CancelImportTaskCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
const { logger } = configuration;
|
|
26
|
-
const clientName = "NeptuneGraphClient";
|
|
27
|
-
const commandName = "CancelImportTaskCommand";
|
|
28
|
-
const handlerExecutionContext = {
|
|
29
|
-
logger,
|
|
30
|
-
clientName,
|
|
31
|
-
commandName,
|
|
32
|
-
inputFilterSensitiveLog: (_) => _,
|
|
33
|
-
outputFilterSensitiveLog: (_) => _,
|
|
34
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
35
|
-
service: "AmazonNeptuneGraph",
|
|
36
|
-
operation: "CancelImportTask",
|
|
37
|
-
},
|
|
38
|
-
};
|
|
39
|
-
const { requestHandler } = configuration;
|
|
40
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
41
|
-
}
|
|
42
|
-
serialize(input, context) {
|
|
43
|
-
return se_CancelImportTaskCommand(input, context);
|
|
44
|
-
}
|
|
45
|
-
deserialize(output, context) {
|
|
46
|
-
return de_CancelImportTaskCommand(output, context);
|
|
47
|
-
}
|
|
7
|
+
export class CancelImportTaskCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
ApiType: { type: "staticContextParams", value: `ControlPlane` },
|
|
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", "CancelImportTask", {})
|
|
20
|
+
.n("NeptuneGraphClient", "CancelImportTaskCommand")
|
|
21
|
+
.f(void 0, void 0)
|
|
22
|
+
.ser(se_CancelImportTaskCommand)
|
|
23
|
+
.de(de_CancelImportTaskCommand)
|
|
24
|
+
.build() {
|
|
48
25
|
}
|
|
@@ -1,48 +1,25 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_CreateGraphCommand, se_CreateGraphCommand } from "../protocols/Aws_restJson1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class CreateGraphCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
const { logger } = configuration;
|
|
26
|
-
const clientName = "NeptuneGraphClient";
|
|
27
|
-
const commandName = "CreateGraphCommand";
|
|
28
|
-
const handlerExecutionContext = {
|
|
29
|
-
logger,
|
|
30
|
-
clientName,
|
|
31
|
-
commandName,
|
|
32
|
-
inputFilterSensitiveLog: (_) => _,
|
|
33
|
-
outputFilterSensitiveLog: (_) => _,
|
|
34
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
35
|
-
service: "AmazonNeptuneGraph",
|
|
36
|
-
operation: "CreateGraph",
|
|
37
|
-
},
|
|
38
|
-
};
|
|
39
|
-
const { requestHandler } = configuration;
|
|
40
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
41
|
-
}
|
|
42
|
-
serialize(input, context) {
|
|
43
|
-
return se_CreateGraphCommand(input, context);
|
|
44
|
-
}
|
|
45
|
-
deserialize(output, context) {
|
|
46
|
-
return de_CreateGraphCommand(output, context);
|
|
47
|
-
}
|
|
7
|
+
export class CreateGraphCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
ApiType: { type: "staticContextParams", value: `ControlPlane` },
|
|
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", "CreateGraph", {})
|
|
20
|
+
.n("NeptuneGraphClient", "CreateGraphCommand")
|
|
21
|
+
.f(void 0, void 0)
|
|
22
|
+
.ser(se_CreateGraphCommand)
|
|
23
|
+
.de(de_CreateGraphCommand)
|
|
24
|
+
.build() {
|
|
48
25
|
}
|
|
@@ -1,48 +1,25 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_CreateGraphSnapshotCommand, se_CreateGraphSnapshotCommand } from "../protocols/Aws_restJson1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class CreateGraphSnapshotCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
const { logger } = configuration;
|
|
26
|
-
const clientName = "NeptuneGraphClient";
|
|
27
|
-
const commandName = "CreateGraphSnapshotCommand";
|
|
28
|
-
const handlerExecutionContext = {
|
|
29
|
-
logger,
|
|
30
|
-
clientName,
|
|
31
|
-
commandName,
|
|
32
|
-
inputFilterSensitiveLog: (_) => _,
|
|
33
|
-
outputFilterSensitiveLog: (_) => _,
|
|
34
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
35
|
-
service: "AmazonNeptuneGraph",
|
|
36
|
-
operation: "CreateGraphSnapshot",
|
|
37
|
-
},
|
|
38
|
-
};
|
|
39
|
-
const { requestHandler } = configuration;
|
|
40
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
41
|
-
}
|
|
42
|
-
serialize(input, context) {
|
|
43
|
-
return se_CreateGraphSnapshotCommand(input, context);
|
|
44
|
-
}
|
|
45
|
-
deserialize(output, context) {
|
|
46
|
-
return de_CreateGraphSnapshotCommand(output, context);
|
|
47
|
-
}
|
|
7
|
+
export class CreateGraphSnapshotCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
ApiType: { type: "staticContextParams", value: `ControlPlane` },
|
|
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", "CreateGraphSnapshot", {})
|
|
20
|
+
.n("NeptuneGraphClient", "CreateGraphSnapshotCommand")
|
|
21
|
+
.f(void 0, void 0)
|
|
22
|
+
.ser(se_CreateGraphSnapshotCommand)
|
|
23
|
+
.de(de_CreateGraphSnapshotCommand)
|
|
24
|
+
.build() {
|
|
48
25
|
}
|
|
@@ -1,48 +1,25 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_CreateGraphUsingImportTaskCommand, se_CreateGraphUsingImportTaskCommand } from "../protocols/Aws_restJson1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class CreateGraphUsingImportTaskCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
const { logger } = configuration;
|
|
26
|
-
const clientName = "NeptuneGraphClient";
|
|
27
|
-
const commandName = "CreateGraphUsingImportTaskCommand";
|
|
28
|
-
const handlerExecutionContext = {
|
|
29
|
-
logger,
|
|
30
|
-
clientName,
|
|
31
|
-
commandName,
|
|
32
|
-
inputFilterSensitiveLog: (_) => _,
|
|
33
|
-
outputFilterSensitiveLog: (_) => _,
|
|
34
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
35
|
-
service: "AmazonNeptuneGraph",
|
|
36
|
-
operation: "CreateGraphUsingImportTask",
|
|
37
|
-
},
|
|
38
|
-
};
|
|
39
|
-
const { requestHandler } = configuration;
|
|
40
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
41
|
-
}
|
|
42
|
-
serialize(input, context) {
|
|
43
|
-
return se_CreateGraphUsingImportTaskCommand(input, context);
|
|
44
|
-
}
|
|
45
|
-
deserialize(output, context) {
|
|
46
|
-
return de_CreateGraphUsingImportTaskCommand(output, context);
|
|
47
|
-
}
|
|
7
|
+
export class CreateGraphUsingImportTaskCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
ApiType: { type: "staticContextParams", value: `ControlPlane` },
|
|
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", "CreateGraphUsingImportTask", {})
|
|
20
|
+
.n("NeptuneGraphClient", "CreateGraphUsingImportTaskCommand")
|
|
21
|
+
.f(void 0, void 0)
|
|
22
|
+
.ser(se_CreateGraphUsingImportTaskCommand)
|
|
23
|
+
.de(de_CreateGraphUsingImportTaskCommand)
|
|
24
|
+
.build() {
|
|
48
25
|
}
|
|
@@ -1,48 +1,25 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_CreatePrivateGraphEndpointCommand, se_CreatePrivateGraphEndpointCommand } from "../protocols/Aws_restJson1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class CreatePrivateGraphEndpointCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
const { logger } = configuration;
|
|
26
|
-
const clientName = "NeptuneGraphClient";
|
|
27
|
-
const commandName = "CreatePrivateGraphEndpointCommand";
|
|
28
|
-
const handlerExecutionContext = {
|
|
29
|
-
logger,
|
|
30
|
-
clientName,
|
|
31
|
-
commandName,
|
|
32
|
-
inputFilterSensitiveLog: (_) => _,
|
|
33
|
-
outputFilterSensitiveLog: (_) => _,
|
|
34
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
35
|
-
service: "AmazonNeptuneGraph",
|
|
36
|
-
operation: "CreatePrivateGraphEndpoint",
|
|
37
|
-
},
|
|
38
|
-
};
|
|
39
|
-
const { requestHandler } = configuration;
|
|
40
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
41
|
-
}
|
|
42
|
-
serialize(input, context) {
|
|
43
|
-
return se_CreatePrivateGraphEndpointCommand(input, context);
|
|
44
|
-
}
|
|
45
|
-
deserialize(output, context) {
|
|
46
|
-
return de_CreatePrivateGraphEndpointCommand(output, context);
|
|
47
|
-
}
|
|
7
|
+
export class CreatePrivateGraphEndpointCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
ApiType: { type: "staticContextParams", value: `ControlPlane` },
|
|
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", "CreatePrivateGraphEndpoint", {})
|
|
20
|
+
.n("NeptuneGraphClient", "CreatePrivateGraphEndpointCommand")
|
|
21
|
+
.f(void 0, void 0)
|
|
22
|
+
.ser(se_CreatePrivateGraphEndpointCommand)
|
|
23
|
+
.de(de_CreatePrivateGraphEndpointCommand)
|
|
24
|
+
.build() {
|
|
48
25
|
}
|