@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,97 @@
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
+ import { ListGraphsInput, ListGraphsOutput } from "../models/models_0";
5
+ import { NeptuneGraphClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../NeptuneGraphClient";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link ListGraphsCommand}.
14
+ */
15
+ export interface ListGraphsCommandInput extends ListGraphsInput {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link ListGraphsCommand}.
21
+ */
22
+ export interface ListGraphsCommandOutput extends ListGraphsOutput, __MetadataBearer {
23
+ }
24
+ /**
25
+ * @public
26
+ * <p>Lists available Neptune Analytics graphs.</p>
27
+ * @example
28
+ * Use a bare-bones client and the command you need to make an API call.
29
+ * ```javascript
30
+ * import { NeptuneGraphClient, ListGraphsCommand } from "@aws-sdk/client-neptune-graph"; // ES Modules import
31
+ * // const { NeptuneGraphClient, ListGraphsCommand } = require("@aws-sdk/client-neptune-graph"); // CommonJS import
32
+ * const client = new NeptuneGraphClient(config);
33
+ * const input = { // ListGraphsInput
34
+ * nextToken: "STRING_VALUE",
35
+ * maxResults: Number("int"),
36
+ * };
37
+ * const command = new ListGraphsCommand(input);
38
+ * const response = await client.send(command);
39
+ * // { // ListGraphsOutput
40
+ * // graphs: [ // GraphSummaryList // required
41
+ * // { // GraphSummary
42
+ * // id: "STRING_VALUE", // required
43
+ * // name: "STRING_VALUE", // required
44
+ * // arn: "STRING_VALUE", // required
45
+ * // status: "CREATING" || "AVAILABLE" || "DELETING" || "RESETTING" || "UPDATING" || "SNAPSHOTTING" || "FAILED",
46
+ * // provisionedMemory: Number("int"),
47
+ * // publicConnectivity: true || false,
48
+ * // endpoint: "STRING_VALUE",
49
+ * // replicaCount: Number("int"),
50
+ * // kmsKeyIdentifier: "STRING_VALUE",
51
+ * // deletionProtection: true || false,
52
+ * // },
53
+ * // ],
54
+ * // nextToken: "STRING_VALUE",
55
+ * // };
56
+ *
57
+ * ```
58
+ *
59
+ * @param ListGraphsCommandInput - {@link ListGraphsCommandInput}
60
+ * @returns {@link ListGraphsCommandOutput}
61
+ * @see {@link ListGraphsCommandInput} for command's `input` shape.
62
+ * @see {@link ListGraphsCommandOutput} for command's `response` shape.
63
+ * @see {@link NeptuneGraphClientResolvedConfig | config} for NeptuneGraphClient's `config` shape.
64
+ *
65
+ * @throws {@link InternalServerException} (server fault)
66
+ * <p>A failure occurred on the server.</p>
67
+ *
68
+ * @throws {@link ResourceNotFoundException} (client fault)
69
+ * <p>A specified resource could not be located.</p>
70
+ *
71
+ * @throws {@link ThrottlingException} (client fault)
72
+ * <p>The exception was interrupted by throttling.</p>
73
+ *
74
+ * @throws {@link NeptuneGraphServiceException}
75
+ * <p>Base exception class for all service exceptions from NeptuneGraph service.</p>
76
+ *
77
+ */
78
+ export declare class ListGraphsCommand extends $Command<ListGraphsCommandInput, ListGraphsCommandOutput, NeptuneGraphClientResolvedConfig> {
79
+ readonly input: ListGraphsCommandInput;
80
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
81
+ /**
82
+ * @public
83
+ */
84
+ constructor(input: ListGraphsCommandInput);
85
+ /**
86
+ * @internal
87
+ */
88
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: NeptuneGraphClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListGraphsCommandInput, ListGraphsCommandOutput>;
89
+ /**
90
+ * @internal
91
+ */
92
+ private serialize;
93
+ /**
94
+ * @internal
95
+ */
96
+ private deserialize;
97
+ }
@@ -0,0 +1,96 @@
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
+ import { ListImportTasksInput, ListImportTasksOutput } from "../models/models_0";
5
+ import { NeptuneGraphClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../NeptuneGraphClient";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link ListImportTasksCommand}.
14
+ */
15
+ export interface ListImportTasksCommandInput extends ListImportTasksInput {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link ListImportTasksCommand}.
21
+ */
22
+ export interface ListImportTasksCommandOutput extends ListImportTasksOutput, __MetadataBearer {
23
+ }
24
+ /**
25
+ * @public
26
+ * <p>Lists import tasks.</p>
27
+ * @example
28
+ * Use a bare-bones client and the command you need to make an API call.
29
+ * ```javascript
30
+ * import { NeptuneGraphClient, ListImportTasksCommand } from "@aws-sdk/client-neptune-graph"; // ES Modules import
31
+ * // const { NeptuneGraphClient, ListImportTasksCommand } = require("@aws-sdk/client-neptune-graph"); // CommonJS import
32
+ * const client = new NeptuneGraphClient(config);
33
+ * const input = { // ListImportTasksInput
34
+ * nextToken: "STRING_VALUE",
35
+ * maxResults: Number("int"),
36
+ * };
37
+ * const command = new ListImportTasksCommand(input);
38
+ * const response = await client.send(command);
39
+ * // { // ListImportTasksOutput
40
+ * // tasks: [ // ImportTaskSummaryList // required
41
+ * // { // ImportTaskSummary
42
+ * // graphId: "STRING_VALUE",
43
+ * // taskId: "STRING_VALUE", // required
44
+ * // source: "STRING_VALUE", // required
45
+ * // format: "CSV" || "OPEN_CYPHER",
46
+ * // roleArn: "STRING_VALUE", // required
47
+ * // status: "INITIALIZING" || "EXPORTING" || "ANALYZING_DATA" || "IMPORTING" || "REPROVISIONING" || "ROLLING_BACK" || "SUCCEEDED" || "FAILED" || "CANCELLING" || "CANCELLED", // required
48
+ * // },
49
+ * // ],
50
+ * // nextToken: "STRING_VALUE",
51
+ * // };
52
+ *
53
+ * ```
54
+ *
55
+ * @param ListImportTasksCommandInput - {@link ListImportTasksCommandInput}
56
+ * @returns {@link ListImportTasksCommandOutput}
57
+ * @see {@link ListImportTasksCommandInput} for command's `input` shape.
58
+ * @see {@link ListImportTasksCommandOutput} for command's `response` shape.
59
+ * @see {@link NeptuneGraphClientResolvedConfig | config} for NeptuneGraphClient's `config` shape.
60
+ *
61
+ * @throws {@link InternalServerException} (server fault)
62
+ * <p>A failure occurred on the server.</p>
63
+ *
64
+ * @throws {@link ResourceNotFoundException} (client fault)
65
+ * <p>A specified resource could not be located.</p>
66
+ *
67
+ * @throws {@link ThrottlingException} (client fault)
68
+ * <p>The exception was interrupted by throttling.</p>
69
+ *
70
+ * @throws {@link ValidationException} (client fault)
71
+ * <p>A resource could not be validated</p>
72
+ *
73
+ * @throws {@link NeptuneGraphServiceException}
74
+ * <p>Base exception class for all service exceptions from NeptuneGraph service.</p>
75
+ *
76
+ */
77
+ export declare class ListImportTasksCommand extends $Command<ListImportTasksCommandInput, ListImportTasksCommandOutput, NeptuneGraphClientResolvedConfig> {
78
+ readonly input: ListImportTasksCommandInput;
79
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
80
+ /**
81
+ * @public
82
+ */
83
+ constructor(input: ListImportTasksCommandInput);
84
+ /**
85
+ * @internal
86
+ */
87
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: NeptuneGraphClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListImportTasksCommandInput, ListImportTasksCommandOutput>;
88
+ /**
89
+ * @internal
90
+ */
91
+ private serialize;
92
+ /**
93
+ * @internal
94
+ */
95
+ private deserialize;
96
+ }
@@ -0,0 +1,97 @@
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
+ import { ListPrivateGraphEndpointsInput, ListPrivateGraphEndpointsOutput } from "../models/models_0";
5
+ import { NeptuneGraphClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../NeptuneGraphClient";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link ListPrivateGraphEndpointsCommand}.
14
+ */
15
+ export interface ListPrivateGraphEndpointsCommandInput extends ListPrivateGraphEndpointsInput {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link ListPrivateGraphEndpointsCommand}.
21
+ */
22
+ export interface ListPrivateGraphEndpointsCommandOutput extends ListPrivateGraphEndpointsOutput, __MetadataBearer {
23
+ }
24
+ /**
25
+ * @public
26
+ * <p>Lists private endpoints for a specified Neptune Analytics graph.</p>
27
+ * @example
28
+ * Use a bare-bones client and the command you need to make an API call.
29
+ * ```javascript
30
+ * import { NeptuneGraphClient, ListPrivateGraphEndpointsCommand } from "@aws-sdk/client-neptune-graph"; // ES Modules import
31
+ * // const { NeptuneGraphClient, ListPrivateGraphEndpointsCommand } = require("@aws-sdk/client-neptune-graph"); // CommonJS import
32
+ * const client = new NeptuneGraphClient(config);
33
+ * const input = { // ListPrivateGraphEndpointsInput
34
+ * graphIdentifier: "STRING_VALUE", // required
35
+ * nextToken: "STRING_VALUE",
36
+ * maxResults: Number("int"),
37
+ * };
38
+ * const command = new ListPrivateGraphEndpointsCommand(input);
39
+ * const response = await client.send(command);
40
+ * // { // ListPrivateGraphEndpointsOutput
41
+ * // privateGraphEndpoints: [ // PrivateGraphEndpointSummaryList // required
42
+ * // { // PrivateGraphEndpointSummary
43
+ * // vpcId: "STRING_VALUE", // required
44
+ * // subnetIds: [ // SubnetIds // required
45
+ * // "STRING_VALUE",
46
+ * // ],
47
+ * // status: "CREATING" || "AVAILABLE" || "DELETING" || "FAILED", // required
48
+ * // vpcEndpointId: "STRING_VALUE",
49
+ * // },
50
+ * // ],
51
+ * // nextToken: "STRING_VALUE",
52
+ * // };
53
+ *
54
+ * ```
55
+ *
56
+ * @param ListPrivateGraphEndpointsCommandInput - {@link ListPrivateGraphEndpointsCommandInput}
57
+ * @returns {@link ListPrivateGraphEndpointsCommandOutput}
58
+ * @see {@link ListPrivateGraphEndpointsCommandInput} for command's `input` shape.
59
+ * @see {@link ListPrivateGraphEndpointsCommandOutput} for command's `response` shape.
60
+ * @see {@link NeptuneGraphClientResolvedConfig | config} for NeptuneGraphClient's `config` shape.
61
+ *
62
+ * @throws {@link InternalServerException} (server fault)
63
+ * <p>A failure occurred on the server.</p>
64
+ *
65
+ * @throws {@link ResourceNotFoundException} (client fault)
66
+ * <p>A specified resource could not be located.</p>
67
+ *
68
+ * @throws {@link ThrottlingException} (client fault)
69
+ * <p>The exception was interrupted by throttling.</p>
70
+ *
71
+ * @throws {@link ValidationException} (client fault)
72
+ * <p>A resource could not be validated</p>
73
+ *
74
+ * @throws {@link NeptuneGraphServiceException}
75
+ * <p>Base exception class for all service exceptions from NeptuneGraph service.</p>
76
+ *
77
+ */
78
+ export declare class ListPrivateGraphEndpointsCommand extends $Command<ListPrivateGraphEndpointsCommandInput, ListPrivateGraphEndpointsCommandOutput, NeptuneGraphClientResolvedConfig> {
79
+ readonly input: ListPrivateGraphEndpointsCommandInput;
80
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
81
+ /**
82
+ * @public
83
+ */
84
+ constructor(input: ListPrivateGraphEndpointsCommandInput);
85
+ /**
86
+ * @internal
87
+ */
88
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: NeptuneGraphClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListPrivateGraphEndpointsCommandInput, ListPrivateGraphEndpointsCommandOutput>;
89
+ /**
90
+ * @internal
91
+ */
92
+ private serialize;
93
+ /**
94
+ * @internal
95
+ */
96
+ private deserialize;
97
+ }
@@ -0,0 +1,87 @@
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
+ import { ListTagsForResourceInput, ListTagsForResourceOutput } from "../models/models_0";
5
+ import { NeptuneGraphClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../NeptuneGraphClient";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link ListTagsForResourceCommand}.
14
+ */
15
+ export interface ListTagsForResourceCommandInput extends ListTagsForResourceInput {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link ListTagsForResourceCommand}.
21
+ */
22
+ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceOutput, __MetadataBearer {
23
+ }
24
+ /**
25
+ * @public
26
+ * <p>Lists tags associated with a specified resource.</p>
27
+ * @example
28
+ * Use a bare-bones client and the command you need to make an API call.
29
+ * ```javascript
30
+ * import { NeptuneGraphClient, ListTagsForResourceCommand } from "@aws-sdk/client-neptune-graph"; // ES Modules import
31
+ * // const { NeptuneGraphClient, ListTagsForResourceCommand } = require("@aws-sdk/client-neptune-graph"); // CommonJS import
32
+ * const client = new NeptuneGraphClient(config);
33
+ * const input = { // ListTagsForResourceInput
34
+ * resourceArn: "STRING_VALUE", // required
35
+ * };
36
+ * const command = new ListTagsForResourceCommand(input);
37
+ * const response = await client.send(command);
38
+ * // { // ListTagsForResourceOutput
39
+ * // tags: { // TagMap
40
+ * // "<keys>": "STRING_VALUE",
41
+ * // },
42
+ * // };
43
+ *
44
+ * ```
45
+ *
46
+ * @param ListTagsForResourceCommandInput - {@link ListTagsForResourceCommandInput}
47
+ * @returns {@link ListTagsForResourceCommandOutput}
48
+ * @see {@link ListTagsForResourceCommandInput} for command's `input` shape.
49
+ * @see {@link ListTagsForResourceCommandOutput} for command's `response` shape.
50
+ * @see {@link NeptuneGraphClientResolvedConfig | config} for NeptuneGraphClient's `config` shape.
51
+ *
52
+ * @throws {@link InternalServerException} (server fault)
53
+ * <p>A failure occurred on the server.</p>
54
+ *
55
+ * @throws {@link ResourceNotFoundException} (client fault)
56
+ * <p>A specified resource could not be located.</p>
57
+ *
58
+ * @throws {@link ThrottlingException} (client fault)
59
+ * <p>The exception was interrupted by throttling.</p>
60
+ *
61
+ * @throws {@link ValidationException} (client fault)
62
+ * <p>A resource could not be validated</p>
63
+ *
64
+ * @throws {@link NeptuneGraphServiceException}
65
+ * <p>Base exception class for all service exceptions from NeptuneGraph service.</p>
66
+ *
67
+ */
68
+ export declare class ListTagsForResourceCommand extends $Command<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput, NeptuneGraphClientResolvedConfig> {
69
+ readonly input: ListTagsForResourceCommandInput;
70
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
71
+ /**
72
+ * @public
73
+ */
74
+ constructor(input: ListTagsForResourceCommandInput);
75
+ /**
76
+ * @internal
77
+ */
78
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: NeptuneGraphClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput>;
79
+ /**
80
+ * @internal
81
+ */
82
+ private serialize;
83
+ /**
84
+ * @internal
85
+ */
86
+ private deserialize;
87
+ }
@@ -0,0 +1,105 @@
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
+ import { ResetGraphInput, ResetGraphOutput } from "../models/models_0";
5
+ import { NeptuneGraphClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../NeptuneGraphClient";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link ResetGraphCommand}.
14
+ */
15
+ export interface ResetGraphCommandInput extends ResetGraphInput {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link ResetGraphCommand}.
21
+ */
22
+ export interface ResetGraphCommandOutput extends ResetGraphOutput, __MetadataBearer {
23
+ }
24
+ /**
25
+ * @public
26
+ * <p>Empties the data from a specified Neptune Analytics graph.</p>
27
+ * @example
28
+ * Use a bare-bones client and the command you need to make an API call.
29
+ * ```javascript
30
+ * import { NeptuneGraphClient, ResetGraphCommand } from "@aws-sdk/client-neptune-graph"; // ES Modules import
31
+ * // const { NeptuneGraphClient, ResetGraphCommand } = require("@aws-sdk/client-neptune-graph"); // CommonJS import
32
+ * const client = new NeptuneGraphClient(config);
33
+ * const input = { // ResetGraphInput
34
+ * graphIdentifier: "STRING_VALUE", // required
35
+ * skipSnapshot: true || false, // required
36
+ * };
37
+ * const command = new ResetGraphCommand(input);
38
+ * const response = await client.send(command);
39
+ * // { // ResetGraphOutput
40
+ * // id: "STRING_VALUE", // required
41
+ * // name: "STRING_VALUE", // required
42
+ * // arn: "STRING_VALUE", // required
43
+ * // status: "CREATING" || "AVAILABLE" || "DELETING" || "RESETTING" || "UPDATING" || "SNAPSHOTTING" || "FAILED",
44
+ * // statusReason: "STRING_VALUE",
45
+ * // createTime: new Date("TIMESTAMP"),
46
+ * // provisionedMemory: Number("int"),
47
+ * // endpoint: "STRING_VALUE",
48
+ * // publicConnectivity: true || false,
49
+ * // vectorSearchConfiguration: { // VectorSearchConfiguration
50
+ * // dimension: Number("int"), // required
51
+ * // },
52
+ * // replicaCount: Number("int"),
53
+ * // kmsKeyIdentifier: "STRING_VALUE",
54
+ * // sourceSnapshotId: "STRING_VALUE",
55
+ * // deletionProtection: true || false,
56
+ * // buildNumber: "STRING_VALUE",
57
+ * // };
58
+ *
59
+ * ```
60
+ *
61
+ * @param ResetGraphCommandInput - {@link ResetGraphCommandInput}
62
+ * @returns {@link ResetGraphCommandOutput}
63
+ * @see {@link ResetGraphCommandInput} for command's `input` shape.
64
+ * @see {@link ResetGraphCommandOutput} for command's `response` shape.
65
+ * @see {@link NeptuneGraphClientResolvedConfig | config} for NeptuneGraphClient's `config` shape.
66
+ *
67
+ * @throws {@link ConflictException} (client fault)
68
+ * <p>Raised when a conflict is encountered.</p>
69
+ *
70
+ * @throws {@link InternalServerException} (server fault)
71
+ * <p>A failure occurred on the server.</p>
72
+ *
73
+ * @throws {@link ResourceNotFoundException} (client fault)
74
+ * <p>A specified resource could not be located.</p>
75
+ *
76
+ * @throws {@link ThrottlingException} (client fault)
77
+ * <p>The exception was interrupted by throttling.</p>
78
+ *
79
+ * @throws {@link ValidationException} (client fault)
80
+ * <p>A resource could not be validated</p>
81
+ *
82
+ * @throws {@link NeptuneGraphServiceException}
83
+ * <p>Base exception class for all service exceptions from NeptuneGraph service.</p>
84
+ *
85
+ */
86
+ export declare class ResetGraphCommand extends $Command<ResetGraphCommandInput, ResetGraphCommandOutput, NeptuneGraphClientResolvedConfig> {
87
+ readonly input: ResetGraphCommandInput;
88
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
89
+ /**
90
+ * @public
91
+ */
92
+ constructor(input: ResetGraphCommandInput);
93
+ /**
94
+ * @internal
95
+ */
96
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: NeptuneGraphClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ResetGraphCommandInput, ResetGraphCommandOutput>;
97
+ /**
98
+ * @internal
99
+ */
100
+ private serialize;
101
+ /**
102
+ * @internal
103
+ */
104
+ private deserialize;
105
+ }
@@ -0,0 +1,115 @@
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
+ import { RestoreGraphFromSnapshotInput, RestoreGraphFromSnapshotOutput } from "../models/models_0";
5
+ import { NeptuneGraphClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../NeptuneGraphClient";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link RestoreGraphFromSnapshotCommand}.
14
+ */
15
+ export interface RestoreGraphFromSnapshotCommandInput extends RestoreGraphFromSnapshotInput {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link RestoreGraphFromSnapshotCommand}.
21
+ */
22
+ export interface RestoreGraphFromSnapshotCommandOutput extends RestoreGraphFromSnapshotOutput, __MetadataBearer {
23
+ }
24
+ /**
25
+ * @public
26
+ * <p>Restores a graph from a snapshot.</p>
27
+ * @example
28
+ * Use a bare-bones client and the command you need to make an API call.
29
+ * ```javascript
30
+ * import { NeptuneGraphClient, RestoreGraphFromSnapshotCommand } from "@aws-sdk/client-neptune-graph"; // ES Modules import
31
+ * // const { NeptuneGraphClient, RestoreGraphFromSnapshotCommand } = require("@aws-sdk/client-neptune-graph"); // CommonJS import
32
+ * const client = new NeptuneGraphClient(config);
33
+ * const input = { // RestoreGraphFromSnapshotInput
34
+ * snapshotIdentifier: "STRING_VALUE", // required
35
+ * graphName: "STRING_VALUE", // required
36
+ * provisionedMemory: Number("int"),
37
+ * deletionProtection: true || false,
38
+ * tags: { // TagMap
39
+ * "<keys>": "STRING_VALUE",
40
+ * },
41
+ * replicaCount: Number("int"),
42
+ * publicConnectivity: true || false,
43
+ * };
44
+ * const command = new RestoreGraphFromSnapshotCommand(input);
45
+ * const response = await client.send(command);
46
+ * // { // RestoreGraphFromSnapshotOutput
47
+ * // id: "STRING_VALUE", // required
48
+ * // name: "STRING_VALUE", // required
49
+ * // arn: "STRING_VALUE", // required
50
+ * // status: "CREATING" || "AVAILABLE" || "DELETING" || "RESETTING" || "UPDATING" || "SNAPSHOTTING" || "FAILED",
51
+ * // statusReason: "STRING_VALUE",
52
+ * // createTime: new Date("TIMESTAMP"),
53
+ * // provisionedMemory: Number("int"),
54
+ * // endpoint: "STRING_VALUE",
55
+ * // publicConnectivity: true || false,
56
+ * // vectorSearchConfiguration: { // VectorSearchConfiguration
57
+ * // dimension: Number("int"), // required
58
+ * // },
59
+ * // replicaCount: Number("int"),
60
+ * // kmsKeyIdentifier: "STRING_VALUE",
61
+ * // sourceSnapshotId: "STRING_VALUE",
62
+ * // deletionProtection: true || false,
63
+ * // buildNumber: "STRING_VALUE",
64
+ * // };
65
+ *
66
+ * ```
67
+ *
68
+ * @param RestoreGraphFromSnapshotCommandInput - {@link RestoreGraphFromSnapshotCommandInput}
69
+ * @returns {@link RestoreGraphFromSnapshotCommandOutput}
70
+ * @see {@link RestoreGraphFromSnapshotCommandInput} for command's `input` shape.
71
+ * @see {@link RestoreGraphFromSnapshotCommandOutput} for command's `response` shape.
72
+ * @see {@link NeptuneGraphClientResolvedConfig | config} for NeptuneGraphClient's `config` shape.
73
+ *
74
+ * @throws {@link ConflictException} (client fault)
75
+ * <p>Raised when a conflict is encountered.</p>
76
+ *
77
+ * @throws {@link InternalServerException} (server fault)
78
+ * <p>A failure occurred on the server.</p>
79
+ *
80
+ * @throws {@link ResourceNotFoundException} (client fault)
81
+ * <p>A specified resource could not be located.</p>
82
+ *
83
+ * @throws {@link ServiceQuotaExceededException} (client fault)
84
+ * <p>A service quota was exceeded.</p>
85
+ *
86
+ * @throws {@link ThrottlingException} (client fault)
87
+ * <p>The exception was interrupted by throttling.</p>
88
+ *
89
+ * @throws {@link ValidationException} (client fault)
90
+ * <p>A resource could not be validated</p>
91
+ *
92
+ * @throws {@link NeptuneGraphServiceException}
93
+ * <p>Base exception class for all service exceptions from NeptuneGraph service.</p>
94
+ *
95
+ */
96
+ export declare class RestoreGraphFromSnapshotCommand extends $Command<RestoreGraphFromSnapshotCommandInput, RestoreGraphFromSnapshotCommandOutput, NeptuneGraphClientResolvedConfig> {
97
+ readonly input: RestoreGraphFromSnapshotCommandInput;
98
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
99
+ /**
100
+ * @public
101
+ */
102
+ constructor(input: RestoreGraphFromSnapshotCommandInput);
103
+ /**
104
+ * @internal
105
+ */
106
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: NeptuneGraphClientResolvedConfig, options?: __HttpHandlerOptions): Handler<RestoreGraphFromSnapshotCommandInput, RestoreGraphFromSnapshotCommandOutput>;
107
+ /**
108
+ * @internal
109
+ */
110
+ private serialize;
111
+ /**
112
+ * @internal
113
+ */
114
+ private deserialize;
115
+ }