@aws-sdk/client-neptune-graph 3.474.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 (183) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +383 -0
  3. package/dist-cjs/NeptuneGraph.js +55 -0
  4. package/dist-cjs/NeptuneGraphClient.js +43 -0
  5. package/dist-cjs/commands/CancelImportTaskCommand.js +52 -0
  6. package/dist-cjs/commands/CreateGraphCommand.js +52 -0
  7. package/dist-cjs/commands/CreateGraphSnapshotCommand.js +52 -0
  8. package/dist-cjs/commands/CreateGraphUsingImportTaskCommand.js +52 -0
  9. package/dist-cjs/commands/CreatePrivateGraphEndpointCommand.js +52 -0
  10. package/dist-cjs/commands/DeleteGraphCommand.js +52 -0
  11. package/dist-cjs/commands/DeleteGraphSnapshotCommand.js +52 -0
  12. package/dist-cjs/commands/DeletePrivateGraphEndpointCommand.js +52 -0
  13. package/dist-cjs/commands/GetGraphCommand.js +52 -0
  14. package/dist-cjs/commands/GetGraphSnapshotCommand.js +52 -0
  15. package/dist-cjs/commands/GetImportTaskCommand.js +52 -0
  16. package/dist-cjs/commands/GetPrivateGraphEndpointCommand.js +52 -0
  17. package/dist-cjs/commands/ListGraphSnapshotsCommand.js +52 -0
  18. package/dist-cjs/commands/ListGraphsCommand.js +52 -0
  19. package/dist-cjs/commands/ListImportTasksCommand.js +52 -0
  20. package/dist-cjs/commands/ListPrivateGraphEndpointsCommand.js +52 -0
  21. package/dist-cjs/commands/ListTagsForResourceCommand.js +52 -0
  22. package/dist-cjs/commands/ResetGraphCommand.js +52 -0
  23. package/dist-cjs/commands/RestoreGraphFromSnapshotCommand.js +52 -0
  24. package/dist-cjs/commands/TagResourceCommand.js +52 -0
  25. package/dist-cjs/commands/UntagResourceCommand.js +52 -0
  26. package/dist-cjs/commands/UpdateGraphCommand.js +52 -0
  27. package/dist-cjs/commands/index.js +25 -0
  28. package/dist-cjs/endpoint/EndpointParameters.js +12 -0
  29. package/dist-cjs/endpoint/endpointResolver.js +12 -0
  30. package/dist-cjs/endpoint/ruleset.js +7 -0
  31. package/dist-cjs/extensionConfiguration.js +2 -0
  32. package/dist-cjs/index.js +12 -0
  33. package/dist-cjs/models/NeptuneGraphServiceException.js +12 -0
  34. package/dist-cjs/models/index.js +4 -0
  35. package/dist-cjs/models/models_0.js +149 -0
  36. package/dist-cjs/pagination/Interfaces.js +2 -0
  37. package/dist-cjs/pagination/ListGraphSnapshotsPaginator.js +29 -0
  38. package/dist-cjs/pagination/ListGraphsPaginator.js +29 -0
  39. package/dist-cjs/pagination/ListImportTasksPaginator.js +29 -0
  40. package/dist-cjs/pagination/ListPrivateGraphEndpointsPaginator.js +29 -0
  41. package/dist-cjs/pagination/index.js +8 -0
  42. package/dist-cjs/protocols/Aws_restJson1.js +1763 -0
  43. package/dist-cjs/runtimeConfig.browser.js +39 -0
  44. package/dist-cjs/runtimeConfig.js +50 -0
  45. package/dist-cjs/runtimeConfig.native.js +15 -0
  46. package/dist-cjs/runtimeConfig.shared.js +24 -0
  47. package/dist-cjs/runtimeExtensions.js +22 -0
  48. package/dist-es/NeptuneGraph.js +51 -0
  49. package/dist-es/NeptuneGraphClient.js +39 -0
  50. package/dist-es/commands/CancelImportTaskCommand.js +48 -0
  51. package/dist-es/commands/CreateGraphCommand.js +48 -0
  52. package/dist-es/commands/CreateGraphSnapshotCommand.js +48 -0
  53. package/dist-es/commands/CreateGraphUsingImportTaskCommand.js +48 -0
  54. package/dist-es/commands/CreatePrivateGraphEndpointCommand.js +48 -0
  55. package/dist-es/commands/DeleteGraphCommand.js +48 -0
  56. package/dist-es/commands/DeleteGraphSnapshotCommand.js +48 -0
  57. package/dist-es/commands/DeletePrivateGraphEndpointCommand.js +48 -0
  58. package/dist-es/commands/GetGraphCommand.js +48 -0
  59. package/dist-es/commands/GetGraphSnapshotCommand.js +48 -0
  60. package/dist-es/commands/GetImportTaskCommand.js +48 -0
  61. package/dist-es/commands/GetPrivateGraphEndpointCommand.js +48 -0
  62. package/dist-es/commands/ListGraphSnapshotsCommand.js +48 -0
  63. package/dist-es/commands/ListGraphsCommand.js +48 -0
  64. package/dist-es/commands/ListImportTasksCommand.js +48 -0
  65. package/dist-es/commands/ListPrivateGraphEndpointsCommand.js +48 -0
  66. package/dist-es/commands/ListTagsForResourceCommand.js +48 -0
  67. package/dist-es/commands/ResetGraphCommand.js +48 -0
  68. package/dist-es/commands/RestoreGraphFromSnapshotCommand.js +48 -0
  69. package/dist-es/commands/TagResourceCommand.js +48 -0
  70. package/dist-es/commands/UntagResourceCommand.js +48 -0
  71. package/dist-es/commands/UpdateGraphCommand.js +48 -0
  72. package/dist-es/commands/index.js +22 -0
  73. package/dist-es/endpoint/EndpointParameters.js +8 -0
  74. package/dist-es/endpoint/endpointResolver.js +8 -0
  75. package/dist-es/endpoint/ruleset.js +4 -0
  76. package/dist-es/extensionConfiguration.js +1 -0
  77. package/dist-es/index.js +7 -0
  78. package/dist-es/models/NeptuneGraphServiceException.js +8 -0
  79. package/dist-es/models/index.js +1 -0
  80. package/dist-es/models/models_0.js +140 -0
  81. package/dist-es/pagination/Interfaces.js +1 -0
  82. package/dist-es/pagination/ListGraphSnapshotsPaginator.js +25 -0
  83. package/dist-es/pagination/ListGraphsPaginator.js +25 -0
  84. package/dist-es/pagination/ListImportTasksPaginator.js +25 -0
  85. package/dist-es/pagination/ListPrivateGraphEndpointsPaginator.js +25 -0
  86. package/dist-es/pagination/index.js +5 -0
  87. package/dist-es/protocols/Aws_restJson1.js +1716 -0
  88. package/dist-es/runtimeConfig.browser.js +34 -0
  89. package/dist-es/runtimeConfig.js +45 -0
  90. package/dist-es/runtimeConfig.native.js +11 -0
  91. package/dist-es/runtimeConfig.shared.js +20 -0
  92. package/dist-es/runtimeExtensions.js +18 -0
  93. package/dist-types/NeptuneGraph.d.ts +166 -0
  94. package/dist-types/NeptuneGraphClient.d.ts +193 -0
  95. package/dist-types/commands/CancelImportTaskCommand.d.ts +93 -0
  96. package/dist-types/commands/CreateGraphCommand.d.ts +115 -0
  97. package/dist-types/commands/CreateGraphSnapshotCommand.d.ts +101 -0
  98. package/dist-types/commands/CreateGraphUsingImportTaskCommand.d.ts +129 -0
  99. package/dist-types/commands/CreatePrivateGraphEndpointCommand.d.ts +104 -0
  100. package/dist-types/commands/DeleteGraphCommand.d.ts +105 -0
  101. package/dist-types/commands/DeleteGraphSnapshotCommand.d.ts +94 -0
  102. package/dist-types/commands/DeletePrivateGraphEndpointCommand.d.ts +94 -0
  103. package/dist-types/commands/GetGraphCommand.d.ts +101 -0
  104. package/dist-types/commands/GetGraphSnapshotCommand.d.ts +91 -0
  105. package/dist-types/commands/GetImportTaskCommand.d.ts +110 -0
  106. package/dist-types/commands/GetPrivateGraphEndpointCommand.d.ts +91 -0
  107. package/dist-types/commands/ListGraphSnapshotsCommand.d.ts +98 -0
  108. package/dist-types/commands/ListGraphsCommand.d.ts +97 -0
  109. package/dist-types/commands/ListImportTasksCommand.d.ts +96 -0
  110. package/dist-types/commands/ListPrivateGraphEndpointsCommand.d.ts +97 -0
  111. package/dist-types/commands/ListTagsForResourceCommand.d.ts +87 -0
  112. package/dist-types/commands/ResetGraphCommand.d.ts +105 -0
  113. package/dist-types/commands/RestoreGraphFromSnapshotCommand.d.ts +115 -0
  114. package/dist-types/commands/TagResourceCommand.d.ts +86 -0
  115. package/dist-types/commands/UntagResourceCommand.d.ts +86 -0
  116. package/dist-types/commands/UpdateGraphCommand.d.ts +107 -0
  117. package/dist-types/commands/index.d.ts +22 -0
  118. package/dist-types/endpoint/EndpointParameters.d.ts +23 -0
  119. package/dist-types/endpoint/endpointResolver.d.ts +5 -0
  120. package/dist-types/endpoint/ruleset.d.ts +2 -0
  121. package/dist-types/extensionConfiguration.d.ts +8 -0
  122. package/dist-types/index.d.ts +17 -0
  123. package/dist-types/models/NeptuneGraphServiceException.d.ts +13 -0
  124. package/dist-types/models/index.d.ts +1 -0
  125. package/dist-types/models/models_0.d.ts +2021 -0
  126. package/dist-types/pagination/Interfaces.d.ts +8 -0
  127. package/dist-types/pagination/ListGraphSnapshotsPaginator.d.ts +7 -0
  128. package/dist-types/pagination/ListGraphsPaginator.d.ts +7 -0
  129. package/dist-types/pagination/ListImportTasksPaginator.d.ts +7 -0
  130. package/dist-types/pagination/ListPrivateGraphEndpointsPaginator.d.ts +7 -0
  131. package/dist-types/pagination/index.d.ts +5 -0
  132. package/dist-types/protocols/Aws_restJson1.d.ts +200 -0
  133. package/dist-types/runtimeConfig.browser.d.ts +46 -0
  134. package/dist-types/runtimeConfig.d.ts +46 -0
  135. package/dist-types/runtimeConfig.native.d.ts +45 -0
  136. package/dist-types/runtimeConfig.shared.d.ts +19 -0
  137. package/dist-types/runtimeExtensions.d.ts +17 -0
  138. package/dist-types/ts3.4/NeptuneGraph.d.ts +381 -0
  139. package/dist-types/ts3.4/NeptuneGraphClient.d.ts +251 -0
  140. package/dist-types/ts3.4/commands/CancelImportTaskCommand.d.ts +38 -0
  141. package/dist-types/ts3.4/commands/CreateGraphCommand.d.ts +35 -0
  142. package/dist-types/ts3.4/commands/CreateGraphSnapshotCommand.d.ts +39 -0
  143. package/dist-types/ts3.4/commands/CreateGraphUsingImportTaskCommand.d.ts +42 -0
  144. package/dist-types/ts3.4/commands/CreatePrivateGraphEndpointCommand.d.ts +42 -0
  145. package/dist-types/ts3.4/commands/DeleteGraphCommand.d.ts +35 -0
  146. package/dist-types/ts3.4/commands/DeleteGraphSnapshotCommand.d.ts +39 -0
  147. package/dist-types/ts3.4/commands/DeletePrivateGraphEndpointCommand.d.ts +42 -0
  148. package/dist-types/ts3.4/commands/GetGraphCommand.d.ts +35 -0
  149. package/dist-types/ts3.4/commands/GetGraphSnapshotCommand.d.ts +38 -0
  150. package/dist-types/ts3.4/commands/GetImportTaskCommand.d.ts +35 -0
  151. package/dist-types/ts3.4/commands/GetPrivateGraphEndpointCommand.d.ts +42 -0
  152. package/dist-types/ts3.4/commands/ListGraphSnapshotsCommand.d.ts +39 -0
  153. package/dist-types/ts3.4/commands/ListGraphsCommand.d.ts +35 -0
  154. package/dist-types/ts3.4/commands/ListImportTasksCommand.d.ts +38 -0
  155. package/dist-types/ts3.4/commands/ListPrivateGraphEndpointsCommand.d.ts +42 -0
  156. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +39 -0
  157. package/dist-types/ts3.4/commands/ResetGraphCommand.d.ts +35 -0
  158. package/dist-types/ts3.4/commands/RestoreGraphFromSnapshotCommand.d.ts +42 -0
  159. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +35 -0
  160. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +35 -0
  161. package/dist-types/ts3.4/commands/UpdateGraphCommand.d.ts +35 -0
  162. package/dist-types/ts3.4/commands/index.d.ts +22 -0
  163. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +34 -0
  164. package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
  165. package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
  166. package/dist-types/ts3.4/extensionConfiguration.d.ts +7 -0
  167. package/dist-types/ts3.4/index.d.ts +10 -0
  168. package/dist-types/ts3.4/models/NeptuneGraphServiceException.d.ts +8 -0
  169. package/dist-types/ts3.4/models/index.d.ts +1 -0
  170. package/dist-types/ts3.4/models/models_0.d.ts +494 -0
  171. package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
  172. package/dist-types/ts3.4/pagination/ListGraphSnapshotsPaginator.d.ts +11 -0
  173. package/dist-types/ts3.4/pagination/ListGraphsPaginator.d.ts +11 -0
  174. package/dist-types/ts3.4/pagination/ListImportTasksPaginator.d.ts +11 -0
  175. package/dist-types/ts3.4/pagination/ListPrivateGraphEndpointsPaginator.d.ts +11 -0
  176. package/dist-types/ts3.4/pagination/index.d.ts +5 -0
  177. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +269 -0
  178. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +97 -0
  179. package/dist-types/ts3.4/runtimeConfig.d.ts +97 -0
  180. package/dist-types/ts3.4/runtimeConfig.native.d.ts +88 -0
  181. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +19 -0
  182. package/dist-types/ts3.4/runtimeExtensions.d.ts +11 -0
  183. package/package.json +100 -0
@@ -0,0 +1,48 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
5
+ import { de_GetGraphCommand, se_GetGraphCommand } from "../protocols/Aws_restJson1";
6
+ export { $Command };
7
+ export class GetGraphCommand extends $Command {
8
+ static getEndpointParameterInstructions() {
9
+ return {
10
+ ApiType: { type: "staticContextParams", value: `ControlPlane` },
11
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
12
+ Endpoint: { type: "builtInParams", name: "endpoint" },
13
+ Region: { type: "builtInParams", name: "region" },
14
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
15
+ };
16
+ }
17
+ constructor(input) {
18
+ super();
19
+ this.input = input;
20
+ }
21
+ resolveMiddleware(clientStack, configuration, options) {
22
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
23
+ this.middlewareStack.use(getEndpointPlugin(configuration, GetGraphCommand.getEndpointParameterInstructions()));
24
+ const stack = clientStack.concat(this.middlewareStack);
25
+ const { logger } = configuration;
26
+ const clientName = "NeptuneGraphClient";
27
+ const commandName = "GetGraphCommand";
28
+ const handlerExecutionContext = {
29
+ logger,
30
+ clientName,
31
+ commandName,
32
+ inputFilterSensitiveLog: (_) => _,
33
+ outputFilterSensitiveLog: (_) => _,
34
+ [SMITHY_CONTEXT_KEY]: {
35
+ service: "AmazonNeptuneGraph",
36
+ operation: "GetGraph",
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_GetGraphCommand(input, context);
44
+ }
45
+ deserialize(output, context) {
46
+ return de_GetGraphCommand(output, context);
47
+ }
48
+ }
@@ -0,0 +1,48 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
5
+ import { de_GetGraphSnapshotCommand, se_GetGraphSnapshotCommand } from "../protocols/Aws_restJson1";
6
+ export { $Command };
7
+ export class GetGraphSnapshotCommand extends $Command {
8
+ static getEndpointParameterInstructions() {
9
+ return {
10
+ ApiType: { type: "staticContextParams", value: `ControlPlane` },
11
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
12
+ Endpoint: { type: "builtInParams", name: "endpoint" },
13
+ Region: { type: "builtInParams", name: "region" },
14
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
15
+ };
16
+ }
17
+ constructor(input) {
18
+ super();
19
+ this.input = input;
20
+ }
21
+ resolveMiddleware(clientStack, configuration, options) {
22
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
23
+ this.middlewareStack.use(getEndpointPlugin(configuration, GetGraphSnapshotCommand.getEndpointParameterInstructions()));
24
+ const stack = clientStack.concat(this.middlewareStack);
25
+ const { logger } = configuration;
26
+ const clientName = "NeptuneGraphClient";
27
+ const commandName = "GetGraphSnapshotCommand";
28
+ const handlerExecutionContext = {
29
+ logger,
30
+ clientName,
31
+ commandName,
32
+ inputFilterSensitiveLog: (_) => _,
33
+ outputFilterSensitiveLog: (_) => _,
34
+ [SMITHY_CONTEXT_KEY]: {
35
+ service: "AmazonNeptuneGraph",
36
+ operation: "GetGraphSnapshot",
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_GetGraphSnapshotCommand(input, context);
44
+ }
45
+ deserialize(output, context) {
46
+ return de_GetGraphSnapshotCommand(output, context);
47
+ }
48
+ }
@@ -0,0 +1,48 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
5
+ import { de_GetImportTaskCommand, se_GetImportTaskCommand } from "../protocols/Aws_restJson1";
6
+ export { $Command };
7
+ export class GetImportTaskCommand extends $Command {
8
+ static getEndpointParameterInstructions() {
9
+ return {
10
+ ApiType: { type: "staticContextParams", value: `ControlPlane` },
11
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
12
+ Endpoint: { type: "builtInParams", name: "endpoint" },
13
+ Region: { type: "builtInParams", name: "region" },
14
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
15
+ };
16
+ }
17
+ constructor(input) {
18
+ super();
19
+ this.input = input;
20
+ }
21
+ resolveMiddleware(clientStack, configuration, options) {
22
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
23
+ this.middlewareStack.use(getEndpointPlugin(configuration, GetImportTaskCommand.getEndpointParameterInstructions()));
24
+ const stack = clientStack.concat(this.middlewareStack);
25
+ const { logger } = configuration;
26
+ const clientName = "NeptuneGraphClient";
27
+ const commandName = "GetImportTaskCommand";
28
+ const handlerExecutionContext = {
29
+ logger,
30
+ clientName,
31
+ commandName,
32
+ inputFilterSensitiveLog: (_) => _,
33
+ outputFilterSensitiveLog: (_) => _,
34
+ [SMITHY_CONTEXT_KEY]: {
35
+ service: "AmazonNeptuneGraph",
36
+ operation: "GetImportTask",
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_GetImportTaskCommand(input, context);
44
+ }
45
+ deserialize(output, context) {
46
+ return de_GetImportTaskCommand(output, context);
47
+ }
48
+ }
@@ -0,0 +1,48 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
5
+ import { de_GetPrivateGraphEndpointCommand, se_GetPrivateGraphEndpointCommand } from "../protocols/Aws_restJson1";
6
+ export { $Command };
7
+ export class GetPrivateGraphEndpointCommand extends $Command {
8
+ static getEndpointParameterInstructions() {
9
+ return {
10
+ ApiType: { type: "staticContextParams", value: `ControlPlane` },
11
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
12
+ Endpoint: { type: "builtInParams", name: "endpoint" },
13
+ Region: { type: "builtInParams", name: "region" },
14
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
15
+ };
16
+ }
17
+ constructor(input) {
18
+ super();
19
+ this.input = input;
20
+ }
21
+ resolveMiddleware(clientStack, configuration, options) {
22
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
23
+ this.middlewareStack.use(getEndpointPlugin(configuration, GetPrivateGraphEndpointCommand.getEndpointParameterInstructions()));
24
+ const stack = clientStack.concat(this.middlewareStack);
25
+ const { logger } = configuration;
26
+ const clientName = "NeptuneGraphClient";
27
+ const commandName = "GetPrivateGraphEndpointCommand";
28
+ const handlerExecutionContext = {
29
+ logger,
30
+ clientName,
31
+ commandName,
32
+ inputFilterSensitiveLog: (_) => _,
33
+ outputFilterSensitiveLog: (_) => _,
34
+ [SMITHY_CONTEXT_KEY]: {
35
+ service: "AmazonNeptuneGraph",
36
+ operation: "GetPrivateGraphEndpoint",
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_GetPrivateGraphEndpointCommand(input, context);
44
+ }
45
+ deserialize(output, context) {
46
+ return de_GetPrivateGraphEndpointCommand(output, context);
47
+ }
48
+ }
@@ -0,0 +1,48 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
5
+ import { de_ListGraphSnapshotsCommand, se_ListGraphSnapshotsCommand } from "../protocols/Aws_restJson1";
6
+ export { $Command };
7
+ export class ListGraphSnapshotsCommand extends $Command {
8
+ static getEndpointParameterInstructions() {
9
+ return {
10
+ ApiType: { type: "staticContextParams", value: `ControlPlane` },
11
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
12
+ Endpoint: { type: "builtInParams", name: "endpoint" },
13
+ Region: { type: "builtInParams", name: "region" },
14
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
15
+ };
16
+ }
17
+ constructor(input) {
18
+ super();
19
+ this.input = input;
20
+ }
21
+ resolveMiddleware(clientStack, configuration, options) {
22
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
23
+ this.middlewareStack.use(getEndpointPlugin(configuration, ListGraphSnapshotsCommand.getEndpointParameterInstructions()));
24
+ const stack = clientStack.concat(this.middlewareStack);
25
+ const { logger } = configuration;
26
+ const clientName = "NeptuneGraphClient";
27
+ const commandName = "ListGraphSnapshotsCommand";
28
+ const handlerExecutionContext = {
29
+ logger,
30
+ clientName,
31
+ commandName,
32
+ inputFilterSensitiveLog: (_) => _,
33
+ outputFilterSensitiveLog: (_) => _,
34
+ [SMITHY_CONTEXT_KEY]: {
35
+ service: "AmazonNeptuneGraph",
36
+ operation: "ListGraphSnapshots",
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_ListGraphSnapshotsCommand(input, context);
44
+ }
45
+ deserialize(output, context) {
46
+ return de_ListGraphSnapshotsCommand(output, context);
47
+ }
48
+ }
@@ -0,0 +1,48 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
5
+ import { de_ListGraphsCommand, se_ListGraphsCommand } from "../protocols/Aws_restJson1";
6
+ export { $Command };
7
+ export class ListGraphsCommand extends $Command {
8
+ static getEndpointParameterInstructions() {
9
+ return {
10
+ ApiType: { type: "staticContextParams", value: `ControlPlane` },
11
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
12
+ Endpoint: { type: "builtInParams", name: "endpoint" },
13
+ Region: { type: "builtInParams", name: "region" },
14
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
15
+ };
16
+ }
17
+ constructor(input) {
18
+ super();
19
+ this.input = input;
20
+ }
21
+ resolveMiddleware(clientStack, configuration, options) {
22
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
23
+ this.middlewareStack.use(getEndpointPlugin(configuration, ListGraphsCommand.getEndpointParameterInstructions()));
24
+ const stack = clientStack.concat(this.middlewareStack);
25
+ const { logger } = configuration;
26
+ const clientName = "NeptuneGraphClient";
27
+ const commandName = "ListGraphsCommand";
28
+ const handlerExecutionContext = {
29
+ logger,
30
+ clientName,
31
+ commandName,
32
+ inputFilterSensitiveLog: (_) => _,
33
+ outputFilterSensitiveLog: (_) => _,
34
+ [SMITHY_CONTEXT_KEY]: {
35
+ service: "AmazonNeptuneGraph",
36
+ operation: "ListGraphs",
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_ListGraphsCommand(input, context);
44
+ }
45
+ deserialize(output, context) {
46
+ return de_ListGraphsCommand(output, context);
47
+ }
48
+ }
@@ -0,0 +1,48 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
5
+ import { de_ListImportTasksCommand, se_ListImportTasksCommand } from "../protocols/Aws_restJson1";
6
+ export { $Command };
7
+ export class ListImportTasksCommand extends $Command {
8
+ static getEndpointParameterInstructions() {
9
+ return {
10
+ ApiType: { type: "staticContextParams", value: `ControlPlane` },
11
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
12
+ Endpoint: { type: "builtInParams", name: "endpoint" },
13
+ Region: { type: "builtInParams", name: "region" },
14
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
15
+ };
16
+ }
17
+ constructor(input) {
18
+ super();
19
+ this.input = input;
20
+ }
21
+ resolveMiddleware(clientStack, configuration, options) {
22
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
23
+ this.middlewareStack.use(getEndpointPlugin(configuration, ListImportTasksCommand.getEndpointParameterInstructions()));
24
+ const stack = clientStack.concat(this.middlewareStack);
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
+ }
48
+ }
@@ -0,0 +1,48 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
5
+ import { de_ListPrivateGraphEndpointsCommand, se_ListPrivateGraphEndpointsCommand } from "../protocols/Aws_restJson1";
6
+ export { $Command };
7
+ export class ListPrivateGraphEndpointsCommand extends $Command {
8
+ static getEndpointParameterInstructions() {
9
+ return {
10
+ ApiType: { type: "staticContextParams", value: `ControlPlane` },
11
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
12
+ Endpoint: { type: "builtInParams", name: "endpoint" },
13
+ Region: { type: "builtInParams", name: "region" },
14
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
15
+ };
16
+ }
17
+ constructor(input) {
18
+ super();
19
+ this.input = input;
20
+ }
21
+ resolveMiddleware(clientStack, configuration, options) {
22
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
23
+ this.middlewareStack.use(getEndpointPlugin(configuration, ListPrivateGraphEndpointsCommand.getEndpointParameterInstructions()));
24
+ const stack = clientStack.concat(this.middlewareStack);
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
+ }
48
+ }
@@ -0,0 +1,48 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
5
+ import { de_ListTagsForResourceCommand, se_ListTagsForResourceCommand } from "../protocols/Aws_restJson1";
6
+ export { $Command };
7
+ export class ListTagsForResourceCommand extends $Command {
8
+ static getEndpointParameterInstructions() {
9
+ return {
10
+ ApiType: { type: "staticContextParams", value: `ControlPlane` },
11
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
12
+ Endpoint: { type: "builtInParams", name: "endpoint" },
13
+ Region: { type: "builtInParams", name: "region" },
14
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
15
+ };
16
+ }
17
+ constructor(input) {
18
+ super();
19
+ this.input = input;
20
+ }
21
+ resolveMiddleware(clientStack, configuration, options) {
22
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
23
+ this.middlewareStack.use(getEndpointPlugin(configuration, ListTagsForResourceCommand.getEndpointParameterInstructions()));
24
+ const stack = clientStack.concat(this.middlewareStack);
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
+ }
48
+ }
@@ -0,0 +1,48 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
5
+ import { de_ResetGraphCommand, se_ResetGraphCommand } from "../protocols/Aws_restJson1";
6
+ export { $Command };
7
+ export class ResetGraphCommand extends $Command {
8
+ static getEndpointParameterInstructions() {
9
+ return {
10
+ ApiType: { type: "staticContextParams", value: `ControlPlane` },
11
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
12
+ Endpoint: { type: "builtInParams", name: "endpoint" },
13
+ Region: { type: "builtInParams", name: "region" },
14
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
15
+ };
16
+ }
17
+ constructor(input) {
18
+ super();
19
+ this.input = input;
20
+ }
21
+ resolveMiddleware(clientStack, configuration, options) {
22
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
23
+ this.middlewareStack.use(getEndpointPlugin(configuration, ResetGraphCommand.getEndpointParameterInstructions()));
24
+ const stack = clientStack.concat(this.middlewareStack);
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
+ }
48
+ }
@@ -0,0 +1,48 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
5
+ import { de_RestoreGraphFromSnapshotCommand, se_RestoreGraphFromSnapshotCommand } from "../protocols/Aws_restJson1";
6
+ export { $Command };
7
+ export class RestoreGraphFromSnapshotCommand extends $Command {
8
+ static getEndpointParameterInstructions() {
9
+ return {
10
+ ApiType: { type: "staticContextParams", value: `ControlPlane` },
11
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
12
+ Endpoint: { type: "builtInParams", name: "endpoint" },
13
+ Region: { type: "builtInParams", name: "region" },
14
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
15
+ };
16
+ }
17
+ constructor(input) {
18
+ super();
19
+ this.input = input;
20
+ }
21
+ resolveMiddleware(clientStack, configuration, options) {
22
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
23
+ this.middlewareStack.use(getEndpointPlugin(configuration, RestoreGraphFromSnapshotCommand.getEndpointParameterInstructions()));
24
+ const stack = clientStack.concat(this.middlewareStack);
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
+ }
48
+ }
@@ -0,0 +1,48 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
5
+ import { de_TagResourceCommand, se_TagResourceCommand } from "../protocols/Aws_restJson1";
6
+ export { $Command };
7
+ export class TagResourceCommand extends $Command {
8
+ static getEndpointParameterInstructions() {
9
+ return {
10
+ ApiType: { type: "staticContextParams", value: `ControlPlane` },
11
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
12
+ Endpoint: { type: "builtInParams", name: "endpoint" },
13
+ Region: { type: "builtInParams", name: "region" },
14
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
15
+ };
16
+ }
17
+ constructor(input) {
18
+ super();
19
+ this.input = input;
20
+ }
21
+ resolveMiddleware(clientStack, configuration, options) {
22
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
23
+ this.middlewareStack.use(getEndpointPlugin(configuration, TagResourceCommand.getEndpointParameterInstructions()));
24
+ const stack = clientStack.concat(this.middlewareStack);
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
+ }
48
+ }
@@ -0,0 +1,48 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
5
+ import { de_UntagResourceCommand, se_UntagResourceCommand } from "../protocols/Aws_restJson1";
6
+ export { $Command };
7
+ export class UntagResourceCommand extends $Command {
8
+ static getEndpointParameterInstructions() {
9
+ return {
10
+ ApiType: { type: "staticContextParams", value: `ControlPlane` },
11
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
12
+ Endpoint: { type: "builtInParams", name: "endpoint" },
13
+ Region: { type: "builtInParams", name: "region" },
14
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
15
+ };
16
+ }
17
+ constructor(input) {
18
+ super();
19
+ this.input = input;
20
+ }
21
+ resolveMiddleware(clientStack, configuration, options) {
22
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
23
+ this.middlewareStack.use(getEndpointPlugin(configuration, UntagResourceCommand.getEndpointParameterInstructions()));
24
+ const stack = clientStack.concat(this.middlewareStack);
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
+ }
48
+ }