@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,494 @@
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
+ import { NeptuneGraphServiceException as __BaseException } from "./NeptuneGraphServiceException";
3
+ export declare const ConflictExceptionReason: {
4
+ readonly CONCURRENT_MODIFICATION: "CONCURRENT_MODIFICATION";
5
+ };
6
+ export type ConflictExceptionReason =
7
+ (typeof ConflictExceptionReason)[keyof typeof ConflictExceptionReason];
8
+ export declare class ConflictException extends __BaseException {
9
+ readonly name: "ConflictException";
10
+ readonly $fault: "client";
11
+ reason?: ConflictExceptionReason;
12
+ constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
13
+ }
14
+ export interface VectorSearchConfiguration {
15
+ dimension: number | undefined;
16
+ }
17
+ export interface CreateGraphInput {
18
+ graphName: string | undefined;
19
+ tags?: Record<string, string>;
20
+ publicConnectivity?: boolean;
21
+ kmsKeyIdentifier?: string;
22
+ vectorSearchConfiguration?: VectorSearchConfiguration;
23
+ replicaCount?: number;
24
+ deletionProtection?: boolean;
25
+ provisionedMemory: number | undefined;
26
+ }
27
+ export declare const GraphStatus: {
28
+ readonly AVAILABLE: "AVAILABLE";
29
+ readonly CREATING: "CREATING";
30
+ readonly DELETING: "DELETING";
31
+ readonly FAILED: "FAILED";
32
+ readonly RESETTING: "RESETTING";
33
+ readonly SNAPSHOTTING: "SNAPSHOTTING";
34
+ readonly UPDATING: "UPDATING";
35
+ };
36
+ export type GraphStatus = (typeof GraphStatus)[keyof typeof GraphStatus];
37
+ export interface CreateGraphOutput {
38
+ id: string | undefined;
39
+ name: string | undefined;
40
+ arn: string | undefined;
41
+ status?: GraphStatus;
42
+ statusReason?: string;
43
+ createTime?: Date;
44
+ provisionedMemory?: number;
45
+ endpoint?: string;
46
+ publicConnectivity?: boolean;
47
+ vectorSearchConfiguration?: VectorSearchConfiguration;
48
+ replicaCount?: number;
49
+ kmsKeyIdentifier?: string;
50
+ sourceSnapshotId?: string;
51
+ deletionProtection?: boolean;
52
+ buildNumber?: string;
53
+ }
54
+ export declare class InternalServerException extends __BaseException {
55
+ readonly name: "InternalServerException";
56
+ readonly $fault: "server";
57
+ $retryable: {};
58
+ constructor(
59
+ opts: __ExceptionOptionType<InternalServerException, __BaseException>
60
+ );
61
+ }
62
+ export declare class ServiceQuotaExceededException extends __BaseException {
63
+ readonly name: "ServiceQuotaExceededException";
64
+ readonly $fault: "client";
65
+ resourceId?: string;
66
+ resourceType?: string;
67
+ serviceCode?: string;
68
+ quotaCode?: string;
69
+ constructor(
70
+ opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>
71
+ );
72
+ }
73
+ export declare class ThrottlingException extends __BaseException {
74
+ readonly name: "ThrottlingException";
75
+ readonly $fault: "client";
76
+ $retryable: {
77
+ throttling: boolean;
78
+ };
79
+ constructor(
80
+ opts: __ExceptionOptionType<ThrottlingException, __BaseException>
81
+ );
82
+ }
83
+ export declare const ValidationExceptionReason: {
84
+ readonly BAD_REQUEST: "BAD_REQUEST";
85
+ readonly CONSTRAINT_VIOLATION: "CONSTRAINT_VIOLATION";
86
+ readonly ILLEGAL_ARGUMENT: "ILLEGAL_ARGUMENT";
87
+ readonly MALFORMED_QUERY: "MALFORMED_QUERY";
88
+ readonly QUERY_CANCELLED: "QUERY_CANCELLED";
89
+ readonly QUERY_TOO_LARGE: "QUERY_TOO_LARGE";
90
+ readonly UNSUPPORTED_OPERATION: "UNSUPPORTED_OPERATION";
91
+ };
92
+ export type ValidationExceptionReason =
93
+ (typeof ValidationExceptionReason)[keyof typeof ValidationExceptionReason];
94
+ export declare class ValidationException extends __BaseException {
95
+ readonly name: "ValidationException";
96
+ readonly $fault: "client";
97
+ reason?: ValidationExceptionReason;
98
+ constructor(
99
+ opts: __ExceptionOptionType<ValidationException, __BaseException>
100
+ );
101
+ }
102
+ export interface DeleteGraphInput {
103
+ graphIdentifier: string | undefined;
104
+ skipSnapshot: boolean | undefined;
105
+ }
106
+ export interface DeleteGraphOutput {
107
+ id: string | undefined;
108
+ name: string | undefined;
109
+ arn: string | undefined;
110
+ status?: GraphStatus;
111
+ statusReason?: string;
112
+ createTime?: Date;
113
+ provisionedMemory?: number;
114
+ endpoint?: string;
115
+ publicConnectivity?: boolean;
116
+ vectorSearchConfiguration?: VectorSearchConfiguration;
117
+ replicaCount?: number;
118
+ kmsKeyIdentifier?: string;
119
+ sourceSnapshotId?: string;
120
+ deletionProtection?: boolean;
121
+ buildNumber?: string;
122
+ }
123
+ export declare class ResourceNotFoundException extends __BaseException {
124
+ readonly name: "ResourceNotFoundException";
125
+ readonly $fault: "client";
126
+ constructor(
127
+ opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
128
+ );
129
+ }
130
+ export interface GetGraphInput {
131
+ graphIdentifier: string | undefined;
132
+ }
133
+ export interface GetGraphOutput {
134
+ id: string | undefined;
135
+ name: string | undefined;
136
+ arn: string | undefined;
137
+ status?: GraphStatus;
138
+ statusReason?: string;
139
+ createTime?: Date;
140
+ provisionedMemory?: number;
141
+ endpoint?: string;
142
+ publicConnectivity?: boolean;
143
+ vectorSearchConfiguration?: VectorSearchConfiguration;
144
+ replicaCount?: number;
145
+ kmsKeyIdentifier?: string;
146
+ sourceSnapshotId?: string;
147
+ deletionProtection?: boolean;
148
+ buildNumber?: string;
149
+ }
150
+ export interface ListGraphsInput {
151
+ nextToken?: string;
152
+ maxResults?: number;
153
+ }
154
+ export interface GraphSummary {
155
+ id: string | undefined;
156
+ name: string | undefined;
157
+ arn: string | undefined;
158
+ status?: GraphStatus;
159
+ provisionedMemory?: number;
160
+ publicConnectivity?: boolean;
161
+ endpoint?: string;
162
+ replicaCount?: number;
163
+ kmsKeyIdentifier?: string;
164
+ deletionProtection?: boolean;
165
+ }
166
+ export interface ListGraphsOutput {
167
+ graphs: GraphSummary[] | undefined;
168
+ nextToken?: string;
169
+ }
170
+ export interface ResetGraphInput {
171
+ graphIdentifier: string | undefined;
172
+ skipSnapshot: boolean | undefined;
173
+ }
174
+ export interface ResetGraphOutput {
175
+ id: string | undefined;
176
+ name: string | undefined;
177
+ arn: string | undefined;
178
+ status?: GraphStatus;
179
+ statusReason?: string;
180
+ createTime?: Date;
181
+ provisionedMemory?: number;
182
+ endpoint?: string;
183
+ publicConnectivity?: boolean;
184
+ vectorSearchConfiguration?: VectorSearchConfiguration;
185
+ replicaCount?: number;
186
+ kmsKeyIdentifier?: string;
187
+ sourceSnapshotId?: string;
188
+ deletionProtection?: boolean;
189
+ buildNumber?: string;
190
+ }
191
+ export interface RestoreGraphFromSnapshotInput {
192
+ snapshotIdentifier: string | undefined;
193
+ graphName: string | undefined;
194
+ provisionedMemory?: number;
195
+ deletionProtection?: boolean;
196
+ tags?: Record<string, string>;
197
+ replicaCount?: number;
198
+ publicConnectivity?: boolean;
199
+ }
200
+ export interface RestoreGraphFromSnapshotOutput {
201
+ id: string | undefined;
202
+ name: string | undefined;
203
+ arn: string | undefined;
204
+ status?: GraphStatus;
205
+ statusReason?: string;
206
+ createTime?: Date;
207
+ provisionedMemory?: number;
208
+ endpoint?: string;
209
+ publicConnectivity?: boolean;
210
+ vectorSearchConfiguration?: VectorSearchConfiguration;
211
+ replicaCount?: number;
212
+ kmsKeyIdentifier?: string;
213
+ sourceSnapshotId?: string;
214
+ deletionProtection?: boolean;
215
+ buildNumber?: string;
216
+ }
217
+ export interface UpdateGraphInput {
218
+ graphIdentifier: string | undefined;
219
+ publicConnectivity?: boolean;
220
+ provisionedMemory?: number;
221
+ deletionProtection?: boolean;
222
+ }
223
+ export interface UpdateGraphOutput {
224
+ id: string | undefined;
225
+ name: string | undefined;
226
+ arn: string | undefined;
227
+ status?: GraphStatus;
228
+ statusReason?: string;
229
+ createTime?: Date;
230
+ provisionedMemory?: number;
231
+ endpoint?: string;
232
+ publicConnectivity?: boolean;
233
+ vectorSearchConfiguration?: VectorSearchConfiguration;
234
+ replicaCount?: number;
235
+ kmsKeyIdentifier?: string;
236
+ sourceSnapshotId?: string;
237
+ deletionProtection?: boolean;
238
+ buildNumber?: string;
239
+ }
240
+ export interface ListTagsForResourceInput {
241
+ resourceArn: string | undefined;
242
+ }
243
+ export interface ListTagsForResourceOutput {
244
+ tags?: Record<string, string>;
245
+ }
246
+ export interface CreatePrivateGraphEndpointInput {
247
+ graphIdentifier: string | undefined;
248
+ vpcId?: string;
249
+ subnetIds?: string[];
250
+ vpcSecurityGroupIds?: string[];
251
+ }
252
+ export declare const PrivateGraphEndpointStatus: {
253
+ readonly AVAILABLE: "AVAILABLE";
254
+ readonly CREATING: "CREATING";
255
+ readonly DELETING: "DELETING";
256
+ readonly FAILED: "FAILED";
257
+ };
258
+ export type PrivateGraphEndpointStatus =
259
+ (typeof PrivateGraphEndpointStatus)[keyof typeof PrivateGraphEndpointStatus];
260
+ export interface CreatePrivateGraphEndpointOutput {
261
+ vpcId: string | undefined;
262
+ subnetIds: string[] | undefined;
263
+ status: PrivateGraphEndpointStatus | undefined;
264
+ vpcEndpointId?: string;
265
+ }
266
+ export interface DeletePrivateGraphEndpointInput {
267
+ graphIdentifier: string | undefined;
268
+ vpcId: string | undefined;
269
+ }
270
+ export interface DeletePrivateGraphEndpointOutput {
271
+ vpcId: string | undefined;
272
+ subnetIds: string[] | undefined;
273
+ status: PrivateGraphEndpointStatus | undefined;
274
+ vpcEndpointId?: string;
275
+ }
276
+ export interface GetPrivateGraphEndpointInput {
277
+ graphIdentifier: string | undefined;
278
+ vpcId: string | undefined;
279
+ }
280
+ export interface GetPrivateGraphEndpointOutput {
281
+ vpcId: string | undefined;
282
+ subnetIds: string[] | undefined;
283
+ status: PrivateGraphEndpointStatus | undefined;
284
+ vpcEndpointId?: string;
285
+ }
286
+ export interface ListPrivateGraphEndpointsInput {
287
+ graphIdentifier: string | undefined;
288
+ nextToken?: string;
289
+ maxResults?: number;
290
+ }
291
+ export interface PrivateGraphEndpointSummary {
292
+ vpcId: string | undefined;
293
+ subnetIds: string[] | undefined;
294
+ status: PrivateGraphEndpointStatus | undefined;
295
+ vpcEndpointId?: string;
296
+ }
297
+ export interface ListPrivateGraphEndpointsOutput {
298
+ privateGraphEndpoints: PrivateGraphEndpointSummary[] | undefined;
299
+ nextToken?: string;
300
+ }
301
+ export interface CreateGraphSnapshotInput {
302
+ graphIdentifier: string | undefined;
303
+ snapshotName: string | undefined;
304
+ tags?: Record<string, string>;
305
+ }
306
+ export declare const SnapshotStatus: {
307
+ readonly AVAILABLE: "AVAILABLE";
308
+ readonly CREATING: "CREATING";
309
+ readonly DELETING: "DELETING";
310
+ readonly FAILED: "FAILED";
311
+ };
312
+ export type SnapshotStatus =
313
+ (typeof SnapshotStatus)[keyof typeof SnapshotStatus];
314
+ export interface CreateGraphSnapshotOutput {
315
+ id: string | undefined;
316
+ name: string | undefined;
317
+ arn: string | undefined;
318
+ sourceGraphId?: string;
319
+ snapshotCreateTime?: Date;
320
+ status?: SnapshotStatus;
321
+ kmsKeyIdentifier?: string;
322
+ }
323
+ export interface DeleteGraphSnapshotInput {
324
+ snapshotIdentifier: string | undefined;
325
+ }
326
+ export interface DeleteGraphSnapshotOutput {
327
+ id: string | undefined;
328
+ name: string | undefined;
329
+ arn: string | undefined;
330
+ sourceGraphId?: string;
331
+ snapshotCreateTime?: Date;
332
+ status?: SnapshotStatus;
333
+ kmsKeyIdentifier?: string;
334
+ }
335
+ export interface GetGraphSnapshotInput {
336
+ snapshotIdentifier: string | undefined;
337
+ }
338
+ export interface GetGraphSnapshotOutput {
339
+ id: string | undefined;
340
+ name: string | undefined;
341
+ arn: string | undefined;
342
+ sourceGraphId?: string;
343
+ snapshotCreateTime?: Date;
344
+ status?: SnapshotStatus;
345
+ kmsKeyIdentifier?: string;
346
+ }
347
+ export interface ListGraphSnapshotsInput {
348
+ graphIdentifier?: string;
349
+ nextToken?: string;
350
+ maxResults?: number;
351
+ }
352
+ export interface GraphSnapshotSummary {
353
+ id: string | undefined;
354
+ name: string | undefined;
355
+ arn: string | undefined;
356
+ sourceGraphId?: string;
357
+ snapshotCreateTime?: Date;
358
+ status?: SnapshotStatus;
359
+ kmsKeyIdentifier?: string;
360
+ }
361
+ export interface ListGraphSnapshotsOutput {
362
+ graphSnapshots: GraphSnapshotSummary[] | undefined;
363
+ nextToken?: string;
364
+ }
365
+ export interface TagResourceInput {
366
+ resourceArn: string | undefined;
367
+ tags: Record<string, string> | undefined;
368
+ }
369
+ export interface TagResourceOutput {}
370
+ export interface CancelImportTaskInput {
371
+ taskIdentifier: string | undefined;
372
+ }
373
+ export declare const Format: {
374
+ readonly CSV: "CSV";
375
+ readonly OPEN_CYPHER: "OPEN_CYPHER";
376
+ };
377
+ export type Format = (typeof Format)[keyof typeof Format];
378
+ export declare const ImportTaskStatus: {
379
+ readonly ANALYZING_DATA: "ANALYZING_DATA";
380
+ readonly CANCELLED: "CANCELLED";
381
+ readonly CANCELLING: "CANCELLING";
382
+ readonly EXPORTING: "EXPORTING";
383
+ readonly FAILED: "FAILED";
384
+ readonly IMPORTING: "IMPORTING";
385
+ readonly INITIALIZING: "INITIALIZING";
386
+ readonly REPROVISIONING: "REPROVISIONING";
387
+ readonly ROLLING_BACK: "ROLLING_BACK";
388
+ readonly SUCCEEDED: "SUCCEEDED";
389
+ };
390
+ export type ImportTaskStatus =
391
+ (typeof ImportTaskStatus)[keyof typeof ImportTaskStatus];
392
+ export interface CancelImportTaskOutput {
393
+ graphId?: string;
394
+ taskId: string | undefined;
395
+ source: string | undefined;
396
+ format?: Format;
397
+ roleArn: string | undefined;
398
+ status: ImportTaskStatus | undefined;
399
+ }
400
+ export interface NeptuneImportOptions {
401
+ s3ExportPath: string | undefined;
402
+ s3ExportKmsKeyId: string | undefined;
403
+ preserveDefaultVertexLabels?: boolean;
404
+ preserveEdgeIds?: boolean;
405
+ }
406
+ export type ImportOptions =
407
+ | ImportOptions.NeptuneMember
408
+ | ImportOptions.$UnknownMember;
409
+ export declare namespace ImportOptions {
410
+ interface NeptuneMember {
411
+ neptune: NeptuneImportOptions;
412
+ $unknown?: never;
413
+ }
414
+ interface $UnknownMember {
415
+ neptune?: never;
416
+ $unknown: [string, any];
417
+ }
418
+ interface Visitor<T> {
419
+ neptune: (value: NeptuneImportOptions) => T;
420
+ _: (name: string, value: any) => T;
421
+ }
422
+ const visit: <T>(value: ImportOptions, visitor: Visitor<T>) => T;
423
+ }
424
+ export interface CreateGraphUsingImportTaskInput {
425
+ graphName: string | undefined;
426
+ tags?: Record<string, string>;
427
+ publicConnectivity?: boolean;
428
+ kmsKeyIdentifier?: string;
429
+ vectorSearchConfiguration?: VectorSearchConfiguration;
430
+ replicaCount?: number;
431
+ deletionProtection?: boolean;
432
+ importOptions?: ImportOptions;
433
+ maxProvisionedMemory?: number;
434
+ minProvisionedMemory?: number;
435
+ failOnError?: boolean;
436
+ source: string | undefined;
437
+ format?: Format;
438
+ roleArn: string | undefined;
439
+ }
440
+ export interface CreateGraphUsingImportTaskOutput {
441
+ graphId?: string;
442
+ taskId: string | undefined;
443
+ source: string | undefined;
444
+ format?: Format;
445
+ roleArn: string | undefined;
446
+ status: ImportTaskStatus | undefined;
447
+ importOptions?: ImportOptions;
448
+ }
449
+ export interface GetImportTaskInput {
450
+ taskIdentifier: string | undefined;
451
+ }
452
+ export interface ImportTaskDetails {
453
+ status: string | undefined;
454
+ startTime: Date | undefined;
455
+ timeElapsedSeconds: number | undefined;
456
+ progressPercentage: number | undefined;
457
+ errorCount: number | undefined;
458
+ errorDetails?: string;
459
+ statementCount: number | undefined;
460
+ dictionaryEntryCount: number | undefined;
461
+ }
462
+ export interface GetImportTaskOutput {
463
+ graphId?: string;
464
+ taskId: string | undefined;
465
+ source: string | undefined;
466
+ format?: Format;
467
+ roleArn: string | undefined;
468
+ status: ImportTaskStatus | undefined;
469
+ importOptions?: ImportOptions;
470
+ importTaskDetails?: ImportTaskDetails;
471
+ attemptNumber?: number;
472
+ statusReason?: string;
473
+ }
474
+ export interface ListImportTasksInput {
475
+ nextToken?: string;
476
+ maxResults?: number;
477
+ }
478
+ export interface ImportTaskSummary {
479
+ graphId?: string;
480
+ taskId: string | undefined;
481
+ source: string | undefined;
482
+ format?: Format;
483
+ roleArn: string | undefined;
484
+ status: ImportTaskStatus | undefined;
485
+ }
486
+ export interface ListImportTasksOutput {
487
+ tasks: ImportTaskSummary[] | undefined;
488
+ nextToken?: string;
489
+ }
490
+ export interface UntagResourceInput {
491
+ resourceArn: string | undefined;
492
+ tagKeys: string[] | undefined;
493
+ }
494
+ export interface UntagResourceOutput {}
@@ -0,0 +1,6 @@
1
+ import { PaginationConfiguration } from "@smithy/types";
2
+ import { NeptuneGraphClient } from "../NeptuneGraphClient";
3
+ export interface NeptuneGraphPaginationConfiguration
4
+ extends PaginationConfiguration {
5
+ client: NeptuneGraphClient;
6
+ }
@@ -0,0 +1,11 @@
1
+ import { Paginator } from "@smithy/types";
2
+ import {
3
+ ListGraphSnapshotsCommandInput,
4
+ ListGraphSnapshotsCommandOutput,
5
+ } from "../commands/ListGraphSnapshotsCommand";
6
+ import { NeptuneGraphPaginationConfiguration } from "./Interfaces";
7
+ export declare function paginateListGraphSnapshots(
8
+ config: NeptuneGraphPaginationConfiguration,
9
+ input: ListGraphSnapshotsCommandInput,
10
+ ...additionalArguments: any
11
+ ): Paginator<ListGraphSnapshotsCommandOutput>;
@@ -0,0 +1,11 @@
1
+ import { Paginator } from "@smithy/types";
2
+ import {
3
+ ListGraphsCommandInput,
4
+ ListGraphsCommandOutput,
5
+ } from "../commands/ListGraphsCommand";
6
+ import { NeptuneGraphPaginationConfiguration } from "./Interfaces";
7
+ export declare function paginateListGraphs(
8
+ config: NeptuneGraphPaginationConfiguration,
9
+ input: ListGraphsCommandInput,
10
+ ...additionalArguments: any
11
+ ): Paginator<ListGraphsCommandOutput>;
@@ -0,0 +1,11 @@
1
+ import { Paginator } from "@smithy/types";
2
+ import {
3
+ ListImportTasksCommandInput,
4
+ ListImportTasksCommandOutput,
5
+ } from "../commands/ListImportTasksCommand";
6
+ import { NeptuneGraphPaginationConfiguration } from "./Interfaces";
7
+ export declare function paginateListImportTasks(
8
+ config: NeptuneGraphPaginationConfiguration,
9
+ input: ListImportTasksCommandInput,
10
+ ...additionalArguments: any
11
+ ): Paginator<ListImportTasksCommandOutput>;
@@ -0,0 +1,11 @@
1
+ import { Paginator } from "@smithy/types";
2
+ import {
3
+ ListPrivateGraphEndpointsCommandInput,
4
+ ListPrivateGraphEndpointsCommandOutput,
5
+ } from "../commands/ListPrivateGraphEndpointsCommand";
6
+ import { NeptuneGraphPaginationConfiguration } from "./Interfaces";
7
+ export declare function paginateListPrivateGraphEndpoints(
8
+ config: NeptuneGraphPaginationConfiguration,
9
+ input: ListPrivateGraphEndpointsCommandInput,
10
+ ...additionalArguments: any
11
+ ): Paginator<ListPrivateGraphEndpointsCommandOutput>;
@@ -0,0 +1,5 @@
1
+ export * from "./Interfaces";
2
+ export * from "./ListGraphSnapshotsPaginator";
3
+ export * from "./ListGraphsPaginator";
4
+ export * from "./ListImportTasksPaginator";
5
+ export * from "./ListPrivateGraphEndpointsPaginator";