@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,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 { CreateGraphInput, CreateGraphOutput } 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 CreateGraphCommand}.
14
+ */
15
+ export interface CreateGraphCommandInput extends CreateGraphInput {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link CreateGraphCommand}.
21
+ */
22
+ export interface CreateGraphCommandOutput extends CreateGraphOutput, __MetadataBearer {
23
+ }
24
+ /**
25
+ * @public
26
+ * <p>Creates a new 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, CreateGraphCommand } from "@aws-sdk/client-neptune-graph"; // ES Modules import
31
+ * // const { NeptuneGraphClient, CreateGraphCommand } = require("@aws-sdk/client-neptune-graph"); // CommonJS import
32
+ * const client = new NeptuneGraphClient(config);
33
+ * const input = { // CreateGraphInput
34
+ * graphName: "STRING_VALUE", // required
35
+ * tags: { // TagMap
36
+ * "<keys>": "STRING_VALUE",
37
+ * },
38
+ * publicConnectivity: true || false,
39
+ * kmsKeyIdentifier: "STRING_VALUE",
40
+ * vectorSearchConfiguration: { // VectorSearchConfiguration
41
+ * dimension: Number("int"), // required
42
+ * },
43
+ * replicaCount: Number("int"),
44
+ * deletionProtection: true || false,
45
+ * provisionedMemory: Number("int"), // required
46
+ * };
47
+ * const command = new CreateGraphCommand(input);
48
+ * const response = await client.send(command);
49
+ * // { // CreateGraphOutput
50
+ * // id: "STRING_VALUE", // required
51
+ * // name: "STRING_VALUE", // required
52
+ * // arn: "STRING_VALUE", // required
53
+ * // status: "CREATING" || "AVAILABLE" || "DELETING" || "RESETTING" || "UPDATING" || "SNAPSHOTTING" || "FAILED",
54
+ * // statusReason: "STRING_VALUE",
55
+ * // createTime: new Date("TIMESTAMP"),
56
+ * // provisionedMemory: Number("int"),
57
+ * // endpoint: "STRING_VALUE",
58
+ * // publicConnectivity: true || false,
59
+ * // vectorSearchConfiguration: { // VectorSearchConfiguration
60
+ * // dimension: Number("int"), // required
61
+ * // },
62
+ * // replicaCount: Number("int"),
63
+ * // kmsKeyIdentifier: "STRING_VALUE",
64
+ * // sourceSnapshotId: "STRING_VALUE",
65
+ * // deletionProtection: true || false,
66
+ * // buildNumber: "STRING_VALUE",
67
+ * // };
68
+ *
69
+ * ```
70
+ *
71
+ * @param CreateGraphCommandInput - {@link CreateGraphCommandInput}
72
+ * @returns {@link CreateGraphCommandOutput}
73
+ * @see {@link CreateGraphCommandInput} for command's `input` shape.
74
+ * @see {@link CreateGraphCommandOutput} for command's `response` shape.
75
+ * @see {@link NeptuneGraphClientResolvedConfig | config} for NeptuneGraphClient's `config` shape.
76
+ *
77
+ * @throws {@link ConflictException} (client fault)
78
+ * <p>Raised when a conflict is encountered.</p>
79
+ *
80
+ * @throws {@link InternalServerException} (server fault)
81
+ * <p>A failure occurred on the server.</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 CreateGraphCommand extends $Command<CreateGraphCommandInput, CreateGraphCommandOutput, NeptuneGraphClientResolvedConfig> {
97
+ readonly input: CreateGraphCommandInput;
98
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
99
+ /**
100
+ * @public
101
+ */
102
+ constructor(input: CreateGraphCommandInput);
103
+ /**
104
+ * @internal
105
+ */
106
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: NeptuneGraphClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateGraphCommandInput, CreateGraphCommandOutput>;
107
+ /**
108
+ * @internal
109
+ */
110
+ private serialize;
111
+ /**
112
+ * @internal
113
+ */
114
+ private deserialize;
115
+ }
@@ -0,0 +1,101 @@
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 { CreateGraphSnapshotInput, CreateGraphSnapshotOutput } 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 CreateGraphSnapshotCommand}.
14
+ */
15
+ export interface CreateGraphSnapshotCommandInput extends CreateGraphSnapshotInput {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link CreateGraphSnapshotCommand}.
21
+ */
22
+ export interface CreateGraphSnapshotCommandOutput extends CreateGraphSnapshotOutput, __MetadataBearer {
23
+ }
24
+ /**
25
+ * @public
26
+ * <p>Creates a snapshot of the specific 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, CreateGraphSnapshotCommand } from "@aws-sdk/client-neptune-graph"; // ES Modules import
31
+ * // const { NeptuneGraphClient, CreateGraphSnapshotCommand } = require("@aws-sdk/client-neptune-graph"); // CommonJS import
32
+ * const client = new NeptuneGraphClient(config);
33
+ * const input = { // CreateGraphSnapshotInput
34
+ * graphIdentifier: "STRING_VALUE", // required
35
+ * snapshotName: "STRING_VALUE", // required
36
+ * tags: { // TagMap
37
+ * "<keys>": "STRING_VALUE",
38
+ * },
39
+ * };
40
+ * const command = new CreateGraphSnapshotCommand(input);
41
+ * const response = await client.send(command);
42
+ * // { // CreateGraphSnapshotOutput
43
+ * // id: "STRING_VALUE", // required
44
+ * // name: "STRING_VALUE", // required
45
+ * // arn: "STRING_VALUE", // required
46
+ * // sourceGraphId: "STRING_VALUE",
47
+ * // snapshotCreateTime: new Date("TIMESTAMP"),
48
+ * // status: "CREATING" || "AVAILABLE" || "DELETING" || "FAILED",
49
+ * // kmsKeyIdentifier: "STRING_VALUE",
50
+ * // };
51
+ *
52
+ * ```
53
+ *
54
+ * @param CreateGraphSnapshotCommandInput - {@link CreateGraphSnapshotCommandInput}
55
+ * @returns {@link CreateGraphSnapshotCommandOutput}
56
+ * @see {@link CreateGraphSnapshotCommandInput} for command's `input` shape.
57
+ * @see {@link CreateGraphSnapshotCommandOutput} for command's `response` shape.
58
+ * @see {@link NeptuneGraphClientResolvedConfig | config} for NeptuneGraphClient's `config` shape.
59
+ *
60
+ * @throws {@link ConflictException} (client fault)
61
+ * <p>Raised when a conflict is encountered.</p>
62
+ *
63
+ * @throws {@link InternalServerException} (server fault)
64
+ * <p>A failure occurred on the server.</p>
65
+ *
66
+ * @throws {@link ResourceNotFoundException} (client fault)
67
+ * <p>A specified resource could not be located.</p>
68
+ *
69
+ * @throws {@link ServiceQuotaExceededException} (client fault)
70
+ * <p>A service quota was exceeded.</p>
71
+ *
72
+ * @throws {@link ThrottlingException} (client fault)
73
+ * <p>The exception was interrupted by throttling.</p>
74
+ *
75
+ * @throws {@link ValidationException} (client fault)
76
+ * <p>A resource could not be validated</p>
77
+ *
78
+ * @throws {@link NeptuneGraphServiceException}
79
+ * <p>Base exception class for all service exceptions from NeptuneGraph service.</p>
80
+ *
81
+ */
82
+ export declare class CreateGraphSnapshotCommand extends $Command<CreateGraphSnapshotCommandInput, CreateGraphSnapshotCommandOutput, NeptuneGraphClientResolvedConfig> {
83
+ readonly input: CreateGraphSnapshotCommandInput;
84
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
85
+ /**
86
+ * @public
87
+ */
88
+ constructor(input: CreateGraphSnapshotCommandInput);
89
+ /**
90
+ * @internal
91
+ */
92
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: NeptuneGraphClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateGraphSnapshotCommandInput, CreateGraphSnapshotCommandOutput>;
93
+ /**
94
+ * @internal
95
+ */
96
+ private serialize;
97
+ /**
98
+ * @internal
99
+ */
100
+ private deserialize;
101
+ }
@@ -0,0 +1,129 @@
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 { CreateGraphUsingImportTaskInput, CreateGraphUsingImportTaskOutput } 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 CreateGraphUsingImportTaskCommand}.
14
+ */
15
+ export interface CreateGraphUsingImportTaskCommandInput extends CreateGraphUsingImportTaskInput {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link CreateGraphUsingImportTaskCommand}.
21
+ */
22
+ export interface CreateGraphUsingImportTaskCommandOutput extends CreateGraphUsingImportTaskOutput, __MetadataBearer {
23
+ }
24
+ /**
25
+ * @public
26
+ * <p>Creates a new Neptune Analytics graph and imports data into it, either from Amazon Simple Storage Service (S3) or from a Neptune database
27
+ * or a Neptune database snapshot.</p>
28
+ * <p>The data can be loaded from files in S3 that in either the <a href="https://docs.aws.amazon.com/neptune/latest/userguide/bulk-load-tutorial-format-gremlin.html">Gremlin CSV
29
+ * format</a> or the <a href="https://docs.aws.amazon.com/neptune/latest/userguide/bulk-load-tutorial-format-opencypher.html">openCypher
30
+ * load format</a>.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { NeptuneGraphClient, CreateGraphUsingImportTaskCommand } from "@aws-sdk/client-neptune-graph"; // ES Modules import
35
+ * // const { NeptuneGraphClient, CreateGraphUsingImportTaskCommand } = require("@aws-sdk/client-neptune-graph"); // CommonJS import
36
+ * const client = new NeptuneGraphClient(config);
37
+ * const input = { // CreateGraphUsingImportTaskInput
38
+ * graphName: "STRING_VALUE", // required
39
+ * tags: { // TagMap
40
+ * "<keys>": "STRING_VALUE",
41
+ * },
42
+ * publicConnectivity: true || false,
43
+ * kmsKeyIdentifier: "STRING_VALUE",
44
+ * vectorSearchConfiguration: { // VectorSearchConfiguration
45
+ * dimension: Number("int"), // required
46
+ * },
47
+ * replicaCount: Number("int"),
48
+ * deletionProtection: true || false,
49
+ * importOptions: { // ImportOptions Union: only one key present
50
+ * neptune: { // NeptuneImportOptions
51
+ * s3ExportPath: "STRING_VALUE", // required
52
+ * s3ExportKmsKeyId: "STRING_VALUE", // required
53
+ * preserveDefaultVertexLabels: true || false,
54
+ * preserveEdgeIds: true || false,
55
+ * },
56
+ * },
57
+ * maxProvisionedMemory: Number("int"),
58
+ * minProvisionedMemory: Number("int"),
59
+ * failOnError: true || false,
60
+ * source: "STRING_VALUE", // required
61
+ * format: "CSV" || "OPEN_CYPHER",
62
+ * roleArn: "STRING_VALUE", // required
63
+ * };
64
+ * const command = new CreateGraphUsingImportTaskCommand(input);
65
+ * const response = await client.send(command);
66
+ * // { // CreateGraphUsingImportTaskOutput
67
+ * // graphId: "STRING_VALUE",
68
+ * // taskId: "STRING_VALUE", // required
69
+ * // source: "STRING_VALUE", // required
70
+ * // format: "CSV" || "OPEN_CYPHER",
71
+ * // roleArn: "STRING_VALUE", // required
72
+ * // status: "INITIALIZING" || "EXPORTING" || "ANALYZING_DATA" || "IMPORTING" || "REPROVISIONING" || "ROLLING_BACK" || "SUCCEEDED" || "FAILED" || "CANCELLING" || "CANCELLED", // required
73
+ * // importOptions: { // ImportOptions Union: only one key present
74
+ * // neptune: { // NeptuneImportOptions
75
+ * // s3ExportPath: "STRING_VALUE", // required
76
+ * // s3ExportKmsKeyId: "STRING_VALUE", // required
77
+ * // preserveDefaultVertexLabels: true || false,
78
+ * // preserveEdgeIds: true || false,
79
+ * // },
80
+ * // },
81
+ * // };
82
+ *
83
+ * ```
84
+ *
85
+ * @param CreateGraphUsingImportTaskCommandInput - {@link CreateGraphUsingImportTaskCommandInput}
86
+ * @returns {@link CreateGraphUsingImportTaskCommandOutput}
87
+ * @see {@link CreateGraphUsingImportTaskCommandInput} for command's `input` shape.
88
+ * @see {@link CreateGraphUsingImportTaskCommandOutput} for command's `response` shape.
89
+ * @see {@link NeptuneGraphClientResolvedConfig | config} for NeptuneGraphClient's `config` shape.
90
+ *
91
+ * @throws {@link ConflictException} (client fault)
92
+ * <p>Raised when a conflict is encountered.</p>
93
+ *
94
+ * @throws {@link InternalServerException} (server fault)
95
+ * <p>A failure occurred on the server.</p>
96
+ *
97
+ * @throws {@link ServiceQuotaExceededException} (client fault)
98
+ * <p>A service quota was exceeded.</p>
99
+ *
100
+ * @throws {@link ThrottlingException} (client fault)
101
+ * <p>The exception was interrupted by throttling.</p>
102
+ *
103
+ * @throws {@link ValidationException} (client fault)
104
+ * <p>A resource could not be validated</p>
105
+ *
106
+ * @throws {@link NeptuneGraphServiceException}
107
+ * <p>Base exception class for all service exceptions from NeptuneGraph service.</p>
108
+ *
109
+ */
110
+ export declare class CreateGraphUsingImportTaskCommand extends $Command<CreateGraphUsingImportTaskCommandInput, CreateGraphUsingImportTaskCommandOutput, NeptuneGraphClientResolvedConfig> {
111
+ readonly input: CreateGraphUsingImportTaskCommandInput;
112
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
113
+ /**
114
+ * @public
115
+ */
116
+ constructor(input: CreateGraphUsingImportTaskCommandInput);
117
+ /**
118
+ * @internal
119
+ */
120
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: NeptuneGraphClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateGraphUsingImportTaskCommandInput, CreateGraphUsingImportTaskCommandOutput>;
121
+ /**
122
+ * @internal
123
+ */
124
+ private serialize;
125
+ /**
126
+ * @internal
127
+ */
128
+ private deserialize;
129
+ }
@@ -0,0 +1,104 @@
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 { CreatePrivateGraphEndpointInput, CreatePrivateGraphEndpointOutput } 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 CreatePrivateGraphEndpointCommand}.
14
+ */
15
+ export interface CreatePrivateGraphEndpointCommandInput extends CreatePrivateGraphEndpointInput {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link CreatePrivateGraphEndpointCommand}.
21
+ */
22
+ export interface CreatePrivateGraphEndpointCommandOutput extends CreatePrivateGraphEndpointOutput, __MetadataBearer {
23
+ }
24
+ /**
25
+ * @public
26
+ * <p>Create a private graph endpoint to allow private access from to the graph from within
27
+ * a VPC. You can attach security groups to the private graph endpoint. VPC endpoint charges apply.</p>
28
+ * @example
29
+ * Use a bare-bones client and the command you need to make an API call.
30
+ * ```javascript
31
+ * import { NeptuneGraphClient, CreatePrivateGraphEndpointCommand } from "@aws-sdk/client-neptune-graph"; // ES Modules import
32
+ * // const { NeptuneGraphClient, CreatePrivateGraphEndpointCommand } = require("@aws-sdk/client-neptune-graph"); // CommonJS import
33
+ * const client = new NeptuneGraphClient(config);
34
+ * const input = { // CreatePrivateGraphEndpointInput
35
+ * graphIdentifier: "STRING_VALUE", // required
36
+ * vpcId: "STRING_VALUE",
37
+ * subnetIds: [ // SubnetIds
38
+ * "STRING_VALUE",
39
+ * ],
40
+ * vpcSecurityGroupIds: [ // SecurityGroupIds
41
+ * "STRING_VALUE",
42
+ * ],
43
+ * };
44
+ * const command = new CreatePrivateGraphEndpointCommand(input);
45
+ * const response = await client.send(command);
46
+ * // { // CreatePrivateGraphEndpointOutput
47
+ * // vpcId: "STRING_VALUE", // required
48
+ * // subnetIds: [ // SubnetIds // required
49
+ * // "STRING_VALUE",
50
+ * // ],
51
+ * // status: "CREATING" || "AVAILABLE" || "DELETING" || "FAILED", // required
52
+ * // vpcEndpointId: "STRING_VALUE",
53
+ * // };
54
+ *
55
+ * ```
56
+ *
57
+ * @param CreatePrivateGraphEndpointCommandInput - {@link CreatePrivateGraphEndpointCommandInput}
58
+ * @returns {@link CreatePrivateGraphEndpointCommandOutput}
59
+ * @see {@link CreatePrivateGraphEndpointCommandInput} for command's `input` shape.
60
+ * @see {@link CreatePrivateGraphEndpointCommandOutput} for command's `response` shape.
61
+ * @see {@link NeptuneGraphClientResolvedConfig | config} for NeptuneGraphClient's `config` shape.
62
+ *
63
+ * @throws {@link ConflictException} (client fault)
64
+ * <p>Raised when a conflict is encountered.</p>
65
+ *
66
+ * @throws {@link InternalServerException} (server fault)
67
+ * <p>A failure occurred on the server.</p>
68
+ *
69
+ * @throws {@link ResourceNotFoundException} (client fault)
70
+ * <p>A specified resource could not be located.</p>
71
+ *
72
+ * @throws {@link ServiceQuotaExceededException} (client fault)
73
+ * <p>A service quota was exceeded.</p>
74
+ *
75
+ * @throws {@link ThrottlingException} (client fault)
76
+ * <p>The exception was interrupted by throttling.</p>
77
+ *
78
+ * @throws {@link ValidationException} (client fault)
79
+ * <p>A resource could not be validated</p>
80
+ *
81
+ * @throws {@link NeptuneGraphServiceException}
82
+ * <p>Base exception class for all service exceptions from NeptuneGraph service.</p>
83
+ *
84
+ */
85
+ export declare class CreatePrivateGraphEndpointCommand extends $Command<CreatePrivateGraphEndpointCommandInput, CreatePrivateGraphEndpointCommandOutput, NeptuneGraphClientResolvedConfig> {
86
+ readonly input: CreatePrivateGraphEndpointCommandInput;
87
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
88
+ /**
89
+ * @public
90
+ */
91
+ constructor(input: CreatePrivateGraphEndpointCommandInput);
92
+ /**
93
+ * @internal
94
+ */
95
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: NeptuneGraphClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreatePrivateGraphEndpointCommandInput, CreatePrivateGraphEndpointCommandOutput>;
96
+ /**
97
+ * @internal
98
+ */
99
+ private serialize;
100
+ /**
101
+ * @internal
102
+ */
103
+ private deserialize;
104
+ }
@@ -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 { DeleteGraphInput, DeleteGraphOutput } 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 DeleteGraphCommand}.
14
+ */
15
+ export interface DeleteGraphCommandInput extends DeleteGraphInput {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link DeleteGraphCommand}.
21
+ */
22
+ export interface DeleteGraphCommandOutput extends DeleteGraphOutput, __MetadataBearer {
23
+ }
24
+ /**
25
+ * @public
26
+ * <p>Deletes the specified graph. Graphs cannot be deleted if delete-protection is enabled.</p>
27
+ * @example
28
+ * Use a bare-bones client and the command you need to make an API call.
29
+ * ```javascript
30
+ * import { NeptuneGraphClient, DeleteGraphCommand } from "@aws-sdk/client-neptune-graph"; // ES Modules import
31
+ * // const { NeptuneGraphClient, DeleteGraphCommand } = require("@aws-sdk/client-neptune-graph"); // CommonJS import
32
+ * const client = new NeptuneGraphClient(config);
33
+ * const input = { // DeleteGraphInput
34
+ * graphIdentifier: "STRING_VALUE", // required
35
+ * skipSnapshot: true || false, // required
36
+ * };
37
+ * const command = new DeleteGraphCommand(input);
38
+ * const response = await client.send(command);
39
+ * // { // DeleteGraphOutput
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 DeleteGraphCommandInput - {@link DeleteGraphCommandInput}
62
+ * @returns {@link DeleteGraphCommandOutput}
63
+ * @see {@link DeleteGraphCommandInput} for command's `input` shape.
64
+ * @see {@link DeleteGraphCommandOutput} 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 DeleteGraphCommand extends $Command<DeleteGraphCommandInput, DeleteGraphCommandOutput, NeptuneGraphClientResolvedConfig> {
87
+ readonly input: DeleteGraphCommandInput;
88
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
89
+ /**
90
+ * @public
91
+ */
92
+ constructor(input: DeleteGraphCommandInput);
93
+ /**
94
+ * @internal
95
+ */
96
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: NeptuneGraphClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteGraphCommandInput, DeleteGraphCommandOutput>;
97
+ /**
98
+ * @internal
99
+ */
100
+ private serialize;
101
+ /**
102
+ * @internal
103
+ */
104
+ private deserialize;
105
+ }
@@ -0,0 +1,94 @@
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 { DeleteGraphSnapshotInput, DeleteGraphSnapshotOutput } 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 DeleteGraphSnapshotCommand}.
14
+ */
15
+ export interface DeleteGraphSnapshotCommandInput extends DeleteGraphSnapshotInput {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link DeleteGraphSnapshotCommand}.
21
+ */
22
+ export interface DeleteGraphSnapshotCommandOutput extends DeleteGraphSnapshotOutput, __MetadataBearer {
23
+ }
24
+ /**
25
+ * @public
26
+ * <p>Deletes the specifed graph 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, DeleteGraphSnapshotCommand } from "@aws-sdk/client-neptune-graph"; // ES Modules import
31
+ * // const { NeptuneGraphClient, DeleteGraphSnapshotCommand } = require("@aws-sdk/client-neptune-graph"); // CommonJS import
32
+ * const client = new NeptuneGraphClient(config);
33
+ * const input = { // DeleteGraphSnapshotInput
34
+ * snapshotIdentifier: "STRING_VALUE", // required
35
+ * };
36
+ * const command = new DeleteGraphSnapshotCommand(input);
37
+ * const response = await client.send(command);
38
+ * // { // DeleteGraphSnapshotOutput
39
+ * // id: "STRING_VALUE", // required
40
+ * // name: "STRING_VALUE", // required
41
+ * // arn: "STRING_VALUE", // required
42
+ * // sourceGraphId: "STRING_VALUE",
43
+ * // snapshotCreateTime: new Date("TIMESTAMP"),
44
+ * // status: "CREATING" || "AVAILABLE" || "DELETING" || "FAILED",
45
+ * // kmsKeyIdentifier: "STRING_VALUE",
46
+ * // };
47
+ *
48
+ * ```
49
+ *
50
+ * @param DeleteGraphSnapshotCommandInput - {@link DeleteGraphSnapshotCommandInput}
51
+ * @returns {@link DeleteGraphSnapshotCommandOutput}
52
+ * @see {@link DeleteGraphSnapshotCommandInput} for command's `input` shape.
53
+ * @see {@link DeleteGraphSnapshotCommandOutput} for command's `response` shape.
54
+ * @see {@link NeptuneGraphClientResolvedConfig | config} for NeptuneGraphClient's `config` shape.
55
+ *
56
+ * @throws {@link ConflictException} (client fault)
57
+ * <p>Raised when a conflict is encountered.</p>
58
+ *
59
+ * @throws {@link InternalServerException} (server fault)
60
+ * <p>A failure occurred on the server.</p>
61
+ *
62
+ * @throws {@link ResourceNotFoundException} (client fault)
63
+ * <p>A specified resource could not be located.</p>
64
+ *
65
+ * @throws {@link ThrottlingException} (client fault)
66
+ * <p>The exception was interrupted by throttling.</p>
67
+ *
68
+ * @throws {@link ValidationException} (client fault)
69
+ * <p>A resource could not be validated</p>
70
+ *
71
+ * @throws {@link NeptuneGraphServiceException}
72
+ * <p>Base exception class for all service exceptions from NeptuneGraph service.</p>
73
+ *
74
+ */
75
+ export declare class DeleteGraphSnapshotCommand extends $Command<DeleteGraphSnapshotCommandInput, DeleteGraphSnapshotCommandOutput, NeptuneGraphClientResolvedConfig> {
76
+ readonly input: DeleteGraphSnapshotCommandInput;
77
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
78
+ /**
79
+ * @public
80
+ */
81
+ constructor(input: DeleteGraphSnapshotCommandInput);
82
+ /**
83
+ * @internal
84
+ */
85
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: NeptuneGraphClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteGraphSnapshotCommandInput, DeleteGraphSnapshotCommandOutput>;
86
+ /**
87
+ * @internal
88
+ */
89
+ private serialize;
90
+ /**
91
+ * @internal
92
+ */
93
+ private deserialize;
94
+ }