@aws-sdk/client-neptune-graph 3.478.0 → 3.481.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-cjs/index.js +1 -0
- package/dist-cjs/waiters/index.js +11 -0
- package/dist-cjs/waiters/waitForGraphAvailable.js +54 -0
- package/dist-cjs/waiters/waitForGraphDeleted.js +39 -0
- package/dist-cjs/waiters/waitForGraphSnapshotAvailable.js +54 -0
- package/dist-cjs/waiters/waitForGraphSnapshotDeleted.js +39 -0
- package/dist-cjs/waiters/waitForImportTaskCancelled.js +45 -0
- package/dist-cjs/waiters/waitForImportTaskSuccessful.js +72 -0
- package/dist-cjs/waiters/waitForPrivateGraphEndpointAvailable.js +54 -0
- package/dist-cjs/waiters/waitForPrivateGraphEndpointDeleted.js +39 -0
- 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-es/index.js +1 -0
- package/dist-es/waiters/index.js +8 -0
- package/dist-es/waiters/waitForGraphAvailable.js +49 -0
- package/dist-es/waiters/waitForGraphDeleted.js +34 -0
- package/dist-es/waiters/waitForGraphSnapshotAvailable.js +49 -0
- package/dist-es/waiters/waitForGraphSnapshotDeleted.js +34 -0
- package/dist-es/waiters/waitForImportTaskCancelled.js +40 -0
- package/dist-es/waiters/waitForImportTaskSuccessful.js +67 -0
- package/dist-es/waiters/waitForPrivateGraphEndpointAvailable.js +49 -0
- package/dist-es/waiters/waitForPrivateGraphEndpointDeleted.js +34 -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/index.d.ts +1 -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/dist-types/ts3.4/index.d.ts +1 -0
- package/dist-types/ts3.4/waiters/index.d.ts +8 -0
- package/dist-types/ts3.4/waiters/waitForGraphAvailable.d.ts +11 -0
- package/dist-types/ts3.4/waiters/waitForGraphDeleted.d.ts +11 -0
- package/dist-types/ts3.4/waiters/waitForGraphSnapshotAvailable.d.ts +11 -0
- package/dist-types/ts3.4/waiters/waitForGraphSnapshotDeleted.d.ts +11 -0
- package/dist-types/ts3.4/waiters/waitForImportTaskCancelled.d.ts +11 -0
- package/dist-types/ts3.4/waiters/waitForImportTaskSuccessful.d.ts +11 -0
- package/dist-types/ts3.4/waiters/waitForPrivateGraphEndpointAvailable.d.ts +11 -0
- package/dist-types/ts3.4/waiters/waitForPrivateGraphEndpointDeleted.d.ts +11 -0
- package/dist-types/waiters/index.d.ts +8 -0
- package/dist-types/waiters/waitForGraphAvailable.d.ts +14 -0
- package/dist-types/waiters/waitForGraphDeleted.d.ts +14 -0
- package/dist-types/waiters/waitForGraphSnapshotAvailable.d.ts +14 -0
- package/dist-types/waiters/waitForGraphSnapshotDeleted.d.ts +14 -0
- package/dist-types/waiters/waitForImportTaskCancelled.d.ts +14 -0
- package/dist-types/waiters/waitForImportTaskSuccessful.d.ts +14 -0
- package/dist-types/waiters/waitForPrivateGraphEndpointAvailable.d.ts +14 -0
- package/dist-types/waiters/waitForPrivateGraphEndpointDeleted.d.ts +14 -0
- package/package.json +10 -9
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.waitUntilPrivateGraphEndpointAvailable = exports.waitForPrivateGraphEndpointAvailable = void 0;
|
|
4
|
+
const util_waiter_1 = require("@smithy/util-waiter");
|
|
5
|
+
const GetPrivateGraphEndpointCommand_1 = require("../commands/GetPrivateGraphEndpointCommand");
|
|
6
|
+
const checkState = async (client, input) => {
|
|
7
|
+
let reason;
|
|
8
|
+
try {
|
|
9
|
+
const result = await client.send(new GetPrivateGraphEndpointCommand_1.GetPrivateGraphEndpointCommand(input));
|
|
10
|
+
reason = result;
|
|
11
|
+
try {
|
|
12
|
+
const returnComparator = () => {
|
|
13
|
+
return result.status;
|
|
14
|
+
};
|
|
15
|
+
if (returnComparator() === "DELETING") {
|
|
16
|
+
return { state: util_waiter_1.WaiterState.FAILURE, reason };
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
catch (e) { }
|
|
20
|
+
try {
|
|
21
|
+
const returnComparator = () => {
|
|
22
|
+
return result.status;
|
|
23
|
+
};
|
|
24
|
+
if (returnComparator() === "FAILED") {
|
|
25
|
+
return { state: util_waiter_1.WaiterState.FAILURE, reason };
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
catch (e) { }
|
|
29
|
+
try {
|
|
30
|
+
const returnComparator = () => {
|
|
31
|
+
return result.status;
|
|
32
|
+
};
|
|
33
|
+
if (returnComparator() === "AVAILABLE") {
|
|
34
|
+
return { state: util_waiter_1.WaiterState.SUCCESS, reason };
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
catch (e) { }
|
|
38
|
+
}
|
|
39
|
+
catch (exception) {
|
|
40
|
+
reason = exception;
|
|
41
|
+
}
|
|
42
|
+
return { state: util_waiter_1.WaiterState.RETRY, reason };
|
|
43
|
+
};
|
|
44
|
+
const waitForPrivateGraphEndpointAvailable = async (params, input) => {
|
|
45
|
+
const serviceDefaults = { minDelay: 10, maxDelay: 1800 };
|
|
46
|
+
return (0, util_waiter_1.createWaiter)({ ...serviceDefaults, ...params }, input, checkState);
|
|
47
|
+
};
|
|
48
|
+
exports.waitForPrivateGraphEndpointAvailable = waitForPrivateGraphEndpointAvailable;
|
|
49
|
+
const waitUntilPrivateGraphEndpointAvailable = async (params, input) => {
|
|
50
|
+
const serviceDefaults = { minDelay: 10, maxDelay: 1800 };
|
|
51
|
+
const result = await (0, util_waiter_1.createWaiter)({ ...serviceDefaults, ...params }, input, checkState);
|
|
52
|
+
return (0, util_waiter_1.checkExceptions)(result);
|
|
53
|
+
};
|
|
54
|
+
exports.waitUntilPrivateGraphEndpointAvailable = waitUntilPrivateGraphEndpointAvailable;
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.waitUntilPrivateGraphEndpointDeleted = exports.waitForPrivateGraphEndpointDeleted = void 0;
|
|
4
|
+
const util_waiter_1 = require("@smithy/util-waiter");
|
|
5
|
+
const GetPrivateGraphEndpointCommand_1 = require("../commands/GetPrivateGraphEndpointCommand");
|
|
6
|
+
const checkState = async (client, input) => {
|
|
7
|
+
let reason;
|
|
8
|
+
try {
|
|
9
|
+
const result = await client.send(new GetPrivateGraphEndpointCommand_1.GetPrivateGraphEndpointCommand(input));
|
|
10
|
+
reason = result;
|
|
11
|
+
try {
|
|
12
|
+
const returnComparator = () => {
|
|
13
|
+
return result.status != "DELETING";
|
|
14
|
+
};
|
|
15
|
+
if (returnComparator() == true) {
|
|
16
|
+
return { state: util_waiter_1.WaiterState.FAILURE, reason };
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
catch (e) { }
|
|
20
|
+
}
|
|
21
|
+
catch (exception) {
|
|
22
|
+
reason = exception;
|
|
23
|
+
if (exception.name && exception.name == "ResourceNotFoundException") {
|
|
24
|
+
return { state: util_waiter_1.WaiterState.SUCCESS, reason };
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
return { state: util_waiter_1.WaiterState.RETRY, reason };
|
|
28
|
+
};
|
|
29
|
+
const waitForPrivateGraphEndpointDeleted = async (params, input) => {
|
|
30
|
+
const serviceDefaults = { minDelay: 10, maxDelay: 1800 };
|
|
31
|
+
return (0, util_waiter_1.createWaiter)({ ...serviceDefaults, ...params }, input, checkState);
|
|
32
|
+
};
|
|
33
|
+
exports.waitForPrivateGraphEndpointDeleted = waitForPrivateGraphEndpointDeleted;
|
|
34
|
+
const waitUntilPrivateGraphEndpointDeleted = async (params, input) => {
|
|
35
|
+
const serviceDefaults = { minDelay: 10, maxDelay: 1800 };
|
|
36
|
+
const result = await (0, util_waiter_1.createWaiter)({ ...serviceDefaults, ...params }, input, checkState);
|
|
37
|
+
return (0, util_waiter_1.checkExceptions)(result);
|
|
38
|
+
};
|
|
39
|
+
exports.waitUntilPrivateGraphEndpointDeleted = waitUntilPrivateGraphEndpointDeleted;
|
|
@@ -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
|
}
|
|
@@ -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_DeleteGraphCommand, se_DeleteGraphCommand } from "../protocols/Aws_restJson1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class DeleteGraphCommand 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 = "DeleteGraphCommand";
|
|
28
|
-
const handlerExecutionContext = {
|
|
29
|
-
logger,
|
|
30
|
-
clientName,
|
|
31
|
-
commandName,
|
|
32
|
-
inputFilterSensitiveLog: (_) => _,
|
|
33
|
-
outputFilterSensitiveLog: (_) => _,
|
|
34
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
35
|
-
service: "AmazonNeptuneGraph",
|
|
36
|
-
operation: "DeleteGraph",
|
|
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_DeleteGraphCommand(input, context);
|
|
44
|
-
}
|
|
45
|
-
deserialize(output, context) {
|
|
46
|
-
return de_DeleteGraphCommand(output, context);
|
|
47
|
-
}
|
|
7
|
+
export class DeleteGraphCommand 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", "DeleteGraph", {})
|
|
20
|
+
.n("NeptuneGraphClient", "DeleteGraphCommand")
|
|
21
|
+
.f(void 0, void 0)
|
|
22
|
+
.ser(se_DeleteGraphCommand)
|
|
23
|
+
.de(de_DeleteGraphCommand)
|
|
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_DeleteGraphSnapshotCommand, se_DeleteGraphSnapshotCommand } from "../protocols/Aws_restJson1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class DeleteGraphSnapshotCommand 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 = "DeleteGraphSnapshotCommand";
|
|
28
|
-
const handlerExecutionContext = {
|
|
29
|
-
logger,
|
|
30
|
-
clientName,
|
|
31
|
-
commandName,
|
|
32
|
-
inputFilterSensitiveLog: (_) => _,
|
|
33
|
-
outputFilterSensitiveLog: (_) => _,
|
|
34
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
35
|
-
service: "AmazonNeptuneGraph",
|
|
36
|
-
operation: "DeleteGraphSnapshot",
|
|
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_DeleteGraphSnapshotCommand(input, context);
|
|
44
|
-
}
|
|
45
|
-
deserialize(output, context) {
|
|
46
|
-
return de_DeleteGraphSnapshotCommand(output, context);
|
|
47
|
-
}
|
|
7
|
+
export class DeleteGraphSnapshotCommand 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", "DeleteGraphSnapshot", {})
|
|
20
|
+
.n("NeptuneGraphClient", "DeleteGraphSnapshotCommand")
|
|
21
|
+
.f(void 0, void 0)
|
|
22
|
+
.ser(se_DeleteGraphSnapshotCommand)
|
|
23
|
+
.de(de_DeleteGraphSnapshotCommand)
|
|
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_DeletePrivateGraphEndpointCommand, se_DeletePrivateGraphEndpointCommand } from "../protocols/Aws_restJson1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class DeletePrivateGraphEndpointCommand 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 = "DeletePrivateGraphEndpointCommand";
|
|
28
|
-
const handlerExecutionContext = {
|
|
29
|
-
logger,
|
|
30
|
-
clientName,
|
|
31
|
-
commandName,
|
|
32
|
-
inputFilterSensitiveLog: (_) => _,
|
|
33
|
-
outputFilterSensitiveLog: (_) => _,
|
|
34
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
35
|
-
service: "AmazonNeptuneGraph",
|
|
36
|
-
operation: "DeletePrivateGraphEndpoint",
|
|
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_DeletePrivateGraphEndpointCommand(input, context);
|
|
44
|
-
}
|
|
45
|
-
deserialize(output, context) {
|
|
46
|
-
return de_DeletePrivateGraphEndpointCommand(output, context);
|
|
47
|
-
}
|
|
7
|
+
export class DeletePrivateGraphEndpointCommand 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", "DeletePrivateGraphEndpoint", {})
|
|
20
|
+
.n("NeptuneGraphClient", "DeletePrivateGraphEndpointCommand")
|
|
21
|
+
.f(void 0, void 0)
|
|
22
|
+
.ser(se_DeletePrivateGraphEndpointCommand)
|
|
23
|
+
.de(de_DeletePrivateGraphEndpointCommand)
|
|
24
|
+
.build() {
|
|
48
25
|
}
|