@aws-sdk/client-neptune-graph 3.928.0 → 3.930.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.
Files changed (58) hide show
  1. package/dist-cjs/index.js +1472 -1669
  2. package/dist-cjs/runtimeConfig.shared.js +2 -0
  3. package/dist-es/NeptuneGraphClient.js +2 -0
  4. package/dist-es/commands/CancelExportTaskCommand.js +3 -9
  5. package/dist-es/commands/CancelImportTaskCommand.js +3 -9
  6. package/dist-es/commands/CancelQueryCommand.js +3 -9
  7. package/dist-es/commands/CreateGraphCommand.js +3 -9
  8. package/dist-es/commands/CreateGraphSnapshotCommand.js +3 -9
  9. package/dist-es/commands/CreateGraphUsingImportTaskCommand.js +3 -9
  10. package/dist-es/commands/CreatePrivateGraphEndpointCommand.js +3 -9
  11. package/dist-es/commands/DeleteGraphCommand.js +3 -9
  12. package/dist-es/commands/DeleteGraphSnapshotCommand.js +3 -9
  13. package/dist-es/commands/DeletePrivateGraphEndpointCommand.js +3 -9
  14. package/dist-es/commands/ExecuteQueryCommand.js +3 -10
  15. package/dist-es/commands/GetExportTaskCommand.js +3 -9
  16. package/dist-es/commands/GetGraphCommand.js +3 -9
  17. package/dist-es/commands/GetGraphSnapshotCommand.js +3 -9
  18. package/dist-es/commands/GetGraphSummaryCommand.js +3 -9
  19. package/dist-es/commands/GetImportTaskCommand.js +3 -9
  20. package/dist-es/commands/GetPrivateGraphEndpointCommand.js +3 -9
  21. package/dist-es/commands/GetQueryCommand.js +3 -9
  22. package/dist-es/commands/ListExportTasksCommand.js +3 -9
  23. package/dist-es/commands/ListGraphSnapshotsCommand.js +3 -9
  24. package/dist-es/commands/ListGraphsCommand.js +3 -9
  25. package/dist-es/commands/ListImportTasksCommand.js +3 -9
  26. package/dist-es/commands/ListPrivateGraphEndpointsCommand.js +3 -9
  27. package/dist-es/commands/ListQueriesCommand.js +3 -9
  28. package/dist-es/commands/ListTagsForResourceCommand.js +3 -9
  29. package/dist-es/commands/ResetGraphCommand.js +3 -9
  30. package/dist-es/commands/RestoreGraphFromSnapshotCommand.js +3 -9
  31. package/dist-es/commands/StartExportTaskCommand.js +3 -9
  32. package/dist-es/commands/StartGraphCommand.js +3 -9
  33. package/dist-es/commands/StartImportTaskCommand.js +3 -9
  34. package/dist-es/commands/StopGraphCommand.js +3 -9
  35. package/dist-es/commands/TagResourceCommand.js +3 -9
  36. package/dist-es/commands/UntagResourceCommand.js +3 -9
  37. package/dist-es/commands/UpdateGraphCommand.js +3 -9
  38. package/dist-es/models/models_0.js +0 -11
  39. package/dist-es/runtimeConfig.shared.js +2 -0
  40. package/dist-es/schemas/schemas_0.js +1394 -0
  41. package/dist-types/NeptuneGraphClient.d.ts +10 -1
  42. package/dist-types/models/models_0.d.ts +4 -5
  43. package/dist-types/runtimeConfig.browser.d.ts +1 -0
  44. package/dist-types/runtimeConfig.d.ts +1 -0
  45. package/dist-types/runtimeConfig.native.d.ts +1 -0
  46. package/dist-types/runtimeConfig.shared.d.ts +1 -0
  47. package/dist-types/schemas/schemas_0.d.ts +152 -0
  48. package/dist-types/ts3.4/NeptuneGraphClient.d.ts +4 -0
  49. package/dist-types/ts3.4/models/models_0.d.ts +0 -4
  50. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
  51. package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
  52. package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
  53. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
  54. package/dist-types/ts3.4/schemas/schemas_0.d.ts +159 -0
  55. package/package.json +35 -35
  56. package/dist-es/protocols/Aws_restJson1.js +0 -1401
  57. package/dist-types/protocols/Aws_restJson1.d.ts +0 -308
  58. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +0 -416
@@ -1,8 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_ListImportTasksCommand, se_ListImportTasksCommand } from "../protocols/Aws_restJson1";
4
+ import { ListImportTasks } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ListImportTasksCommand extends $Command
8
7
  .classBuilder()
@@ -11,15 +10,10 @@ export class ListImportTasksCommand extends $Command
11
10
  ApiType: { type: "staticContextParams", value: `ControlPlane` },
12
11
  })
13
12
  .m(function (Command, cs, config, o) {
14
- return [
15
- getSerdePlugin(config, this.serialize, this.deserialize),
16
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
17
- ];
13
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
18
14
  })
19
15
  .s("AmazonNeptuneGraph", "ListImportTasks", {})
20
16
  .n("NeptuneGraphClient", "ListImportTasksCommand")
21
- .f(void 0, void 0)
22
- .ser(se_ListImportTasksCommand)
23
- .de(de_ListImportTasksCommand)
17
+ .sc(ListImportTasks)
24
18
  .build() {
25
19
  }
@@ -1,8 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_ListPrivateGraphEndpointsCommand, se_ListPrivateGraphEndpointsCommand } from "../protocols/Aws_restJson1";
4
+ import { ListPrivateGraphEndpoints } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ListPrivateGraphEndpointsCommand extends $Command
8
7
  .classBuilder()
@@ -11,15 +10,10 @@ export class ListPrivateGraphEndpointsCommand extends $Command
11
10
  ApiType: { type: "staticContextParams", value: `ControlPlane` },
12
11
  })
13
12
  .m(function (Command, cs, config, o) {
14
- return [
15
- getSerdePlugin(config, this.serialize, this.deserialize),
16
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
17
- ];
13
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
18
14
  })
19
15
  .s("AmazonNeptuneGraph", "ListPrivateGraphEndpoints", {})
20
16
  .n("NeptuneGraphClient", "ListPrivateGraphEndpointsCommand")
21
- .f(void 0, void 0)
22
- .ser(se_ListPrivateGraphEndpointsCommand)
23
- .de(de_ListPrivateGraphEndpointsCommand)
17
+ .sc(ListPrivateGraphEndpoints)
24
18
  .build() {
25
19
  }
@@ -1,8 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_ListQueriesCommand, se_ListQueriesCommand } from "../protocols/Aws_restJson1";
4
+ import { ListQueries } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ListQueriesCommand extends $Command
8
7
  .classBuilder()
@@ -11,15 +10,10 @@ export class ListQueriesCommand extends $Command
11
10
  ApiType: { type: "staticContextParams", value: `DataPlane` },
12
11
  })
13
12
  .m(function (Command, cs, config, o) {
14
- return [
15
- getSerdePlugin(config, this.serialize, this.deserialize),
16
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
17
- ];
13
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
18
14
  })
19
15
  .s("AmazonNeptuneGraph", "ListQueries", {})
20
16
  .n("NeptuneGraphClient", "ListQueriesCommand")
21
- .f(void 0, void 0)
22
- .ser(se_ListQueriesCommand)
23
- .de(de_ListQueriesCommand)
17
+ .sc(ListQueries)
24
18
  .build() {
25
19
  }
@@ -1,8 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_ListTagsForResourceCommand, se_ListTagsForResourceCommand } from "../protocols/Aws_restJson1";
4
+ import { ListTagsForResource } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ListTagsForResourceCommand extends $Command
8
7
  .classBuilder()
@@ -11,15 +10,10 @@ export class ListTagsForResourceCommand extends $Command
11
10
  ApiType: { type: "staticContextParams", value: `ControlPlane` },
12
11
  })
13
12
  .m(function (Command, cs, config, o) {
14
- return [
15
- getSerdePlugin(config, this.serialize, this.deserialize),
16
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
17
- ];
13
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
18
14
  })
19
15
  .s("AmazonNeptuneGraph", "ListTagsForResource", {})
20
16
  .n("NeptuneGraphClient", "ListTagsForResourceCommand")
21
- .f(void 0, void 0)
22
- .ser(se_ListTagsForResourceCommand)
23
- .de(de_ListTagsForResourceCommand)
17
+ .sc(ListTagsForResource)
24
18
  .build() {
25
19
  }
@@ -1,8 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_ResetGraphCommand, se_ResetGraphCommand } from "../protocols/Aws_restJson1";
4
+ import { ResetGraph } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ResetGraphCommand extends $Command
8
7
  .classBuilder()
@@ -11,15 +10,10 @@ export class ResetGraphCommand extends $Command
11
10
  ApiType: { type: "staticContextParams", value: `ControlPlane` },
12
11
  })
13
12
  .m(function (Command, cs, config, o) {
14
- return [
15
- getSerdePlugin(config, this.serialize, this.deserialize),
16
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
17
- ];
13
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
18
14
  })
19
15
  .s("AmazonNeptuneGraph", "ResetGraph", {})
20
16
  .n("NeptuneGraphClient", "ResetGraphCommand")
21
- .f(void 0, void 0)
22
- .ser(se_ResetGraphCommand)
23
- .de(de_ResetGraphCommand)
17
+ .sc(ResetGraph)
24
18
  .build() {
25
19
  }
@@ -1,8 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_RestoreGraphFromSnapshotCommand, se_RestoreGraphFromSnapshotCommand } from "../protocols/Aws_restJson1";
4
+ import { RestoreGraphFromSnapshot } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class RestoreGraphFromSnapshotCommand extends $Command
8
7
  .classBuilder()
@@ -11,15 +10,10 @@ export class RestoreGraphFromSnapshotCommand extends $Command
11
10
  ApiType: { type: "staticContextParams", value: `ControlPlane` },
12
11
  })
13
12
  .m(function (Command, cs, config, o) {
14
- return [
15
- getSerdePlugin(config, this.serialize, this.deserialize),
16
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
17
- ];
13
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
18
14
  })
19
15
  .s("AmazonNeptuneGraph", "RestoreGraphFromSnapshot", {})
20
16
  .n("NeptuneGraphClient", "RestoreGraphFromSnapshotCommand")
21
- .f(void 0, void 0)
22
- .ser(se_RestoreGraphFromSnapshotCommand)
23
- .de(de_RestoreGraphFromSnapshotCommand)
17
+ .sc(RestoreGraphFromSnapshot)
24
18
  .build() {
25
19
  }
@@ -1,8 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_StartExportTaskCommand, se_StartExportTaskCommand } from "../protocols/Aws_restJson1";
4
+ import { StartExportTask } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class StartExportTaskCommand extends $Command
8
7
  .classBuilder()
@@ -11,15 +10,10 @@ export class StartExportTaskCommand extends $Command
11
10
  ApiType: { type: "staticContextParams", value: `ControlPlane` },
12
11
  })
13
12
  .m(function (Command, cs, config, o) {
14
- return [
15
- getSerdePlugin(config, this.serialize, this.deserialize),
16
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
17
- ];
13
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
18
14
  })
19
15
  .s("AmazonNeptuneGraph", "StartExportTask", {})
20
16
  .n("NeptuneGraphClient", "StartExportTaskCommand")
21
- .f(void 0, void 0)
22
- .ser(se_StartExportTaskCommand)
23
- .de(de_StartExportTaskCommand)
17
+ .sc(StartExportTask)
24
18
  .build() {
25
19
  }
@@ -1,8 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_StartGraphCommand, se_StartGraphCommand } from "../protocols/Aws_restJson1";
4
+ import { StartGraph } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class StartGraphCommand extends $Command
8
7
  .classBuilder()
@@ -11,15 +10,10 @@ export class StartGraphCommand extends $Command
11
10
  ApiType: { type: "staticContextParams", value: `ControlPlane` },
12
11
  })
13
12
  .m(function (Command, cs, config, o) {
14
- return [
15
- getSerdePlugin(config, this.serialize, this.deserialize),
16
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
17
- ];
13
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
18
14
  })
19
15
  .s("AmazonNeptuneGraph", "StartGraph", {})
20
16
  .n("NeptuneGraphClient", "StartGraphCommand")
21
- .f(void 0, void 0)
22
- .ser(se_StartGraphCommand)
23
- .de(de_StartGraphCommand)
17
+ .sc(StartGraph)
24
18
  .build() {
25
19
  }
@@ -1,8 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_StartImportTaskCommand, se_StartImportTaskCommand } from "../protocols/Aws_restJson1";
4
+ import { StartImportTask } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class StartImportTaskCommand extends $Command
8
7
  .classBuilder()
@@ -11,15 +10,10 @@ export class StartImportTaskCommand extends $Command
11
10
  ApiType: { type: "staticContextParams", value: `ControlPlane` },
12
11
  })
13
12
  .m(function (Command, cs, config, o) {
14
- return [
15
- getSerdePlugin(config, this.serialize, this.deserialize),
16
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
17
- ];
13
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
18
14
  })
19
15
  .s("AmazonNeptuneGraph", "StartImportTask", {})
20
16
  .n("NeptuneGraphClient", "StartImportTaskCommand")
21
- .f(void 0, void 0)
22
- .ser(se_StartImportTaskCommand)
23
- .de(de_StartImportTaskCommand)
17
+ .sc(StartImportTask)
24
18
  .build() {
25
19
  }
@@ -1,8 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_StopGraphCommand, se_StopGraphCommand } from "../protocols/Aws_restJson1";
4
+ import { StopGraph } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class StopGraphCommand extends $Command
8
7
  .classBuilder()
@@ -11,15 +10,10 @@ export class StopGraphCommand extends $Command
11
10
  ApiType: { type: "staticContextParams", value: `ControlPlane` },
12
11
  })
13
12
  .m(function (Command, cs, config, o) {
14
- return [
15
- getSerdePlugin(config, this.serialize, this.deserialize),
16
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
17
- ];
13
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
18
14
  })
19
15
  .s("AmazonNeptuneGraph", "StopGraph", {})
20
16
  .n("NeptuneGraphClient", "StopGraphCommand")
21
- .f(void 0, void 0)
22
- .ser(se_StopGraphCommand)
23
- .de(de_StopGraphCommand)
17
+ .sc(StopGraph)
24
18
  .build() {
25
19
  }
@@ -1,8 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_TagResourceCommand, se_TagResourceCommand } from "../protocols/Aws_restJson1";
4
+ import { TagResource } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class TagResourceCommand extends $Command
8
7
  .classBuilder()
@@ -11,15 +10,10 @@ export class TagResourceCommand extends $Command
11
10
  ApiType: { type: "staticContextParams", value: `ControlPlane` },
12
11
  })
13
12
  .m(function (Command, cs, config, o) {
14
- return [
15
- getSerdePlugin(config, this.serialize, this.deserialize),
16
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
17
- ];
13
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
18
14
  })
19
15
  .s("AmazonNeptuneGraph", "TagResource", {})
20
16
  .n("NeptuneGraphClient", "TagResourceCommand")
21
- .f(void 0, void 0)
22
- .ser(se_TagResourceCommand)
23
- .de(de_TagResourceCommand)
17
+ .sc(TagResource)
24
18
  .build() {
25
19
  }
@@ -1,8 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_UntagResourceCommand, se_UntagResourceCommand } from "../protocols/Aws_restJson1";
4
+ import { UntagResource } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class UntagResourceCommand extends $Command
8
7
  .classBuilder()
@@ -11,15 +10,10 @@ export class UntagResourceCommand extends $Command
11
10
  ApiType: { type: "staticContextParams", value: `ControlPlane` },
12
11
  })
13
12
  .m(function (Command, cs, config, o) {
14
- return [
15
- getSerdePlugin(config, this.serialize, this.deserialize),
16
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
17
- ];
13
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
18
14
  })
19
15
  .s("AmazonNeptuneGraph", "UntagResource", {})
20
16
  .n("NeptuneGraphClient", "UntagResourceCommand")
21
- .f(void 0, void 0)
22
- .ser(se_UntagResourceCommand)
23
- .de(de_UntagResourceCommand)
17
+ .sc(UntagResource)
24
18
  .build() {
25
19
  }
@@ -1,8 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_UpdateGraphCommand, se_UpdateGraphCommand } from "../protocols/Aws_restJson1";
4
+ import { UpdateGraph } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class UpdateGraphCommand extends $Command
8
7
  .classBuilder()
@@ -11,15 +10,10 @@ export class UpdateGraphCommand extends $Command
11
10
  ApiType: { type: "staticContextParams", value: `ControlPlane` },
12
11
  })
13
12
  .m(function (Command, cs, config, o) {
14
- return [
15
- getSerdePlugin(config, this.serialize, this.deserialize),
16
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
17
- ];
13
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
18
14
  })
19
15
  .s("AmazonNeptuneGraph", "UpdateGraph", {})
20
16
  .n("NeptuneGraphClient", "UpdateGraphCommand")
21
- .f(void 0, void 0)
22
- .ser(se_UpdateGraphCommand)
23
- .de(de_UpdateGraphCommand)
17
+ .sc(UpdateGraph)
24
18
  .build() {
25
19
  }
@@ -222,18 +222,7 @@ export const ImportTaskStatus = {
222
222
  export const BlankNodeHandling = {
223
223
  CONVERT_TO_IRI: "convertToIri",
224
224
  };
225
- export var ImportOptions;
226
- (function (ImportOptions) {
227
- ImportOptions.visit = (value, visitor) => {
228
- if (value.neptune !== undefined)
229
- return visitor.neptune(value.neptune);
230
- return visitor._(value.$unknown[0], value.$unknown[1]);
231
- };
232
- })(ImportOptions || (ImportOptions = {}));
233
225
  export const MultiValueHandlingType = {
234
226
  PICK_FIRST: "PICK_FIRST",
235
227
  TO_LIST: "TO_LIST",
236
228
  };
237
- export const ExecuteQueryOutputFilterSensitiveLog = (obj) => ({
238
- ...obj,
239
- });
@@ -1,4 +1,5 @@
1
1
  import { AwsSdkSigV4Signer } from "@aws-sdk/core";
2
+ import { AwsRestJsonProtocol } from "@aws-sdk/core/protocols";
2
3
  import { NoOpLogger } from "@smithy/smithy-client";
3
4
  import { parseUrl } from "@smithy/url-parser";
4
5
  import { fromBase64, toBase64 } from "@smithy/util-base64";
@@ -23,6 +24,7 @@ export const getRuntimeConfig = (config) => {
23
24
  },
24
25
  ],
25
26
  logger: config?.logger ?? new NoOpLogger(),
27
+ protocol: config?.protocol ?? new AwsRestJsonProtocol({ defaultNamespace: "com.amazonaws.neptunegraph" }),
26
28
  sdkStreamMixin: config?.sdkStreamMixin ?? sdkStreamMixin,
27
29
  serviceId: config?.serviceId ?? "Neptune Graph",
28
30
  urlParser: config?.urlParser ?? parseUrl,