@aws-sdk/client-neptune-graph 3.479.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-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 +9 -9
|
@@ -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_ListImportTasksCommand, se_ListImportTasksCommand } from "../protocols/Aws_restJson1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class ListImportTasksCommand 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 = "ListImportTasksCommand";
|
|
28
|
-
const handlerExecutionContext = {
|
|
29
|
-
logger,
|
|
30
|
-
clientName,
|
|
31
|
-
commandName,
|
|
32
|
-
inputFilterSensitiveLog: (_) => _,
|
|
33
|
-
outputFilterSensitiveLog: (_) => _,
|
|
34
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
35
|
-
service: "AmazonNeptuneGraph",
|
|
36
|
-
operation: "ListImportTasks",
|
|
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_ListImportTasksCommand(input, context);
|
|
44
|
-
}
|
|
45
|
-
deserialize(output, context) {
|
|
46
|
-
return de_ListImportTasksCommand(output, context);
|
|
47
|
-
}
|
|
7
|
+
export class ListImportTasksCommand 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", "ListImportTasks", {})
|
|
20
|
+
.n("NeptuneGraphClient", "ListImportTasksCommand")
|
|
21
|
+
.f(void 0, void 0)
|
|
22
|
+
.ser(se_ListImportTasksCommand)
|
|
23
|
+
.de(de_ListImportTasksCommand)
|
|
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_ListPrivateGraphEndpointsCommand, se_ListPrivateGraphEndpointsCommand } from "../protocols/Aws_restJson1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class ListPrivateGraphEndpointsCommand 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 = "ListPrivateGraphEndpointsCommand";
|
|
28
|
-
const handlerExecutionContext = {
|
|
29
|
-
logger,
|
|
30
|
-
clientName,
|
|
31
|
-
commandName,
|
|
32
|
-
inputFilterSensitiveLog: (_) => _,
|
|
33
|
-
outputFilterSensitiveLog: (_) => _,
|
|
34
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
35
|
-
service: "AmazonNeptuneGraph",
|
|
36
|
-
operation: "ListPrivateGraphEndpoints",
|
|
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_ListPrivateGraphEndpointsCommand(input, context);
|
|
44
|
-
}
|
|
45
|
-
deserialize(output, context) {
|
|
46
|
-
return de_ListPrivateGraphEndpointsCommand(output, context);
|
|
47
|
-
}
|
|
7
|
+
export class ListPrivateGraphEndpointsCommand 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", "ListPrivateGraphEndpoints", {})
|
|
20
|
+
.n("NeptuneGraphClient", "ListPrivateGraphEndpointsCommand")
|
|
21
|
+
.f(void 0, void 0)
|
|
22
|
+
.ser(se_ListPrivateGraphEndpointsCommand)
|
|
23
|
+
.de(de_ListPrivateGraphEndpointsCommand)
|
|
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_ListTagsForResourceCommand, se_ListTagsForResourceCommand } from "../protocols/Aws_restJson1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class ListTagsForResourceCommand 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 = "ListTagsForResourceCommand";
|
|
28
|
-
const handlerExecutionContext = {
|
|
29
|
-
logger,
|
|
30
|
-
clientName,
|
|
31
|
-
commandName,
|
|
32
|
-
inputFilterSensitiveLog: (_) => _,
|
|
33
|
-
outputFilterSensitiveLog: (_) => _,
|
|
34
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
35
|
-
service: "AmazonNeptuneGraph",
|
|
36
|
-
operation: "ListTagsForResource",
|
|
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_ListTagsForResourceCommand(input, context);
|
|
44
|
-
}
|
|
45
|
-
deserialize(output, context) {
|
|
46
|
-
return de_ListTagsForResourceCommand(output, context);
|
|
47
|
-
}
|
|
7
|
+
export class ListTagsForResourceCommand 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", "ListTagsForResource", {})
|
|
20
|
+
.n("NeptuneGraphClient", "ListTagsForResourceCommand")
|
|
21
|
+
.f(void 0, void 0)
|
|
22
|
+
.ser(se_ListTagsForResourceCommand)
|
|
23
|
+
.de(de_ListTagsForResourceCommand)
|
|
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_ResetGraphCommand, se_ResetGraphCommand } from "../protocols/Aws_restJson1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class ResetGraphCommand 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 = "ResetGraphCommand";
|
|
28
|
-
const handlerExecutionContext = {
|
|
29
|
-
logger,
|
|
30
|
-
clientName,
|
|
31
|
-
commandName,
|
|
32
|
-
inputFilterSensitiveLog: (_) => _,
|
|
33
|
-
outputFilterSensitiveLog: (_) => _,
|
|
34
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
35
|
-
service: "AmazonNeptuneGraph",
|
|
36
|
-
operation: "ResetGraph",
|
|
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_ResetGraphCommand(input, context);
|
|
44
|
-
}
|
|
45
|
-
deserialize(output, context) {
|
|
46
|
-
return de_ResetGraphCommand(output, context);
|
|
47
|
-
}
|
|
7
|
+
export class ResetGraphCommand 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", "ResetGraph", {})
|
|
20
|
+
.n("NeptuneGraphClient", "ResetGraphCommand")
|
|
21
|
+
.f(void 0, void 0)
|
|
22
|
+
.ser(se_ResetGraphCommand)
|
|
23
|
+
.de(de_ResetGraphCommand)
|
|
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_RestoreGraphFromSnapshotCommand, se_RestoreGraphFromSnapshotCommand } from "../protocols/Aws_restJson1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class RestoreGraphFromSnapshotCommand 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 = "RestoreGraphFromSnapshotCommand";
|
|
28
|
-
const handlerExecutionContext = {
|
|
29
|
-
logger,
|
|
30
|
-
clientName,
|
|
31
|
-
commandName,
|
|
32
|
-
inputFilterSensitiveLog: (_) => _,
|
|
33
|
-
outputFilterSensitiveLog: (_) => _,
|
|
34
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
35
|
-
service: "AmazonNeptuneGraph",
|
|
36
|
-
operation: "RestoreGraphFromSnapshot",
|
|
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_RestoreGraphFromSnapshotCommand(input, context);
|
|
44
|
-
}
|
|
45
|
-
deserialize(output, context) {
|
|
46
|
-
return de_RestoreGraphFromSnapshotCommand(output, context);
|
|
47
|
-
}
|
|
7
|
+
export class RestoreGraphFromSnapshotCommand 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", "RestoreGraphFromSnapshot", {})
|
|
20
|
+
.n("NeptuneGraphClient", "RestoreGraphFromSnapshotCommand")
|
|
21
|
+
.f(void 0, void 0)
|
|
22
|
+
.ser(se_RestoreGraphFromSnapshotCommand)
|
|
23
|
+
.de(de_RestoreGraphFromSnapshotCommand)
|
|
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_TagResourceCommand, se_TagResourceCommand } from "../protocols/Aws_restJson1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class TagResourceCommand 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 = "TagResourceCommand";
|
|
28
|
-
const handlerExecutionContext = {
|
|
29
|
-
logger,
|
|
30
|
-
clientName,
|
|
31
|
-
commandName,
|
|
32
|
-
inputFilterSensitiveLog: (_) => _,
|
|
33
|
-
outputFilterSensitiveLog: (_) => _,
|
|
34
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
35
|
-
service: "AmazonNeptuneGraph",
|
|
36
|
-
operation: "TagResource",
|
|
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_TagResourceCommand(input, context);
|
|
44
|
-
}
|
|
45
|
-
deserialize(output, context) {
|
|
46
|
-
return de_TagResourceCommand(output, context);
|
|
47
|
-
}
|
|
7
|
+
export class TagResourceCommand 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", "TagResource", {})
|
|
20
|
+
.n("NeptuneGraphClient", "TagResourceCommand")
|
|
21
|
+
.f(void 0, void 0)
|
|
22
|
+
.ser(se_TagResourceCommand)
|
|
23
|
+
.de(de_TagResourceCommand)
|
|
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_UntagResourceCommand, se_UntagResourceCommand } from "../protocols/Aws_restJson1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class UntagResourceCommand 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 = "UntagResourceCommand";
|
|
28
|
-
const handlerExecutionContext = {
|
|
29
|
-
logger,
|
|
30
|
-
clientName,
|
|
31
|
-
commandName,
|
|
32
|
-
inputFilterSensitiveLog: (_) => _,
|
|
33
|
-
outputFilterSensitiveLog: (_) => _,
|
|
34
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
35
|
-
service: "AmazonNeptuneGraph",
|
|
36
|
-
operation: "UntagResource",
|
|
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_UntagResourceCommand(input, context);
|
|
44
|
-
}
|
|
45
|
-
deserialize(output, context) {
|
|
46
|
-
return de_UntagResourceCommand(output, context);
|
|
47
|
-
}
|
|
7
|
+
export class UntagResourceCommand 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", "UntagResource", {})
|
|
20
|
+
.n("NeptuneGraphClient", "UntagResourceCommand")
|
|
21
|
+
.f(void 0, void 0)
|
|
22
|
+
.ser(se_UntagResourceCommand)
|
|
23
|
+
.de(de_UntagResourceCommand)
|
|
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_UpdateGraphCommand, se_UpdateGraphCommand } from "../protocols/Aws_restJson1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class UpdateGraphCommand 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 = "UpdateGraphCommand";
|
|
28
|
-
const handlerExecutionContext = {
|
|
29
|
-
logger,
|
|
30
|
-
clientName,
|
|
31
|
-
commandName,
|
|
32
|
-
inputFilterSensitiveLog: (_) => _,
|
|
33
|
-
outputFilterSensitiveLog: (_) => _,
|
|
34
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
35
|
-
service: "AmazonNeptuneGraph",
|
|
36
|
-
operation: "UpdateGraph",
|
|
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_UpdateGraphCommand(input, context);
|
|
44
|
-
}
|
|
45
|
-
deserialize(output, context) {
|
|
46
|
-
return de_UpdateGraphCommand(output, context);
|
|
47
|
-
}
|
|
7
|
+
export class UpdateGraphCommand 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", "UpdateGraph", {})
|
|
20
|
+
.n("NeptuneGraphClient", "UpdateGraphCommand")
|
|
21
|
+
.f(void 0, void 0)
|
|
22
|
+
.ser(se_UpdateGraphCommand)
|
|
23
|
+
.de(de_UpdateGraphCommand)
|
|
24
|
+
.build() {
|
|
48
25
|
}
|
|
@@ -6,3 +6,9 @@ export const resolveClientEndpointParameters = (options) => {
|
|
|
6
6
|
defaultSigningName: "neptune-graph",
|
|
7
7
|
};
|
|
8
8
|
};
|
|
9
|
+
export const commonParams = {
|
|
10
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
11
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
12
|
+
Region: { type: "builtInParams", name: "region" },
|
|
13
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
14
|
+
};
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
-
import {
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
4
3
|
import { CancelImportTaskInput, CancelImportTaskOutput } from "../models/models_0";
|
|
5
4
|
import { NeptuneGraphClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../NeptuneGraphClient";
|
|
6
5
|
/**
|
|
@@ -21,6 +20,10 @@ export interface CancelImportTaskCommandInput extends CancelImportTaskInput {
|
|
|
21
20
|
*/
|
|
22
21
|
export interface CancelImportTaskCommandOutput extends CancelImportTaskOutput, __MetadataBearer {
|
|
23
22
|
}
|
|
23
|
+
declare const CancelImportTaskCommand_base: {
|
|
24
|
+
new (input: CancelImportTaskCommandInput): import("@smithy/smithy-client").CommandImpl<CancelImportTaskCommandInput, CancelImportTaskCommandOutput, NeptuneGraphClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
|
+
};
|
|
24
27
|
/**
|
|
25
28
|
* @public
|
|
26
29
|
* <p>Deletes the specified import task</p>
|
|
@@ -71,23 +74,5 @@ export interface CancelImportTaskCommandOutput extends CancelImportTaskOutput, _
|
|
|
71
74
|
* <p>Base exception class for all service exceptions from NeptuneGraph service.</p>
|
|
72
75
|
*
|
|
73
76
|
*/
|
|
74
|
-
export declare class CancelImportTaskCommand extends
|
|
75
|
-
readonly input: CancelImportTaskCommandInput;
|
|
76
|
-
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
77
|
-
/**
|
|
78
|
-
* @public
|
|
79
|
-
*/
|
|
80
|
-
constructor(input: CancelImportTaskCommandInput);
|
|
81
|
-
/**
|
|
82
|
-
* @internal
|
|
83
|
-
*/
|
|
84
|
-
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: NeptuneGraphClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CancelImportTaskCommandInput, CancelImportTaskCommandOutput>;
|
|
85
|
-
/**
|
|
86
|
-
* @internal
|
|
87
|
-
*/
|
|
88
|
-
private serialize;
|
|
89
|
-
/**
|
|
90
|
-
* @internal
|
|
91
|
-
*/
|
|
92
|
-
private deserialize;
|
|
77
|
+
export declare class CancelImportTaskCommand extends CancelImportTaskCommand_base {
|
|
93
78
|
}
|