@aws-sdk/client-neptune-graph 3.876.0 → 3.879.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.
- package/README.md +17 -3
- package/dist-cjs/index.js +175 -12
- package/dist-es/NeptuneGraph.js +4 -0
- package/dist-es/commands/StartGraphCommand.js +25 -0
- package/dist-es/commands/StopGraphCommand.js +25 -0
- package/dist-es/commands/index.js +2 -0
- package/dist-es/models/models_0.js +3 -0
- package/dist-es/protocols/Aws_restJson1.js +74 -0
- package/dist-es/waiters/index.js +1 -0
- package/dist-es/waiters/waitForGraphStopped.js +40 -0
- package/dist-types/NeptuneGraph.d.ts +15 -3
- package/dist-types/NeptuneGraphClient.d.ts +5 -5
- package/dist-types/commands/CreateGraphCommand.d.ts +1 -1
- package/dist-types/commands/CreateGraphUsingImportTaskCommand.d.ts +1 -5
- package/dist-types/commands/CreatePrivateGraphEndpointCommand.d.ts +1 -5
- package/dist-types/commands/DeleteGraphCommand.d.ts +1 -1
- package/dist-types/commands/ExecuteQueryCommand.d.ts +1 -16
- package/dist-types/commands/GetGraphCommand.d.ts +1 -1
- package/dist-types/commands/GetQueryCommand.d.ts +1 -7
- package/dist-types/commands/ListGraphsCommand.d.ts +1 -1
- package/dist-types/commands/ResetGraphCommand.d.ts +1 -1
- package/dist-types/commands/RestoreGraphFromSnapshotCommand.d.ts +1 -1
- package/dist-types/commands/StartGraphCommand.d.ts +103 -0
- package/dist-types/commands/StopGraphCommand.d.ts +103 -0
- package/dist-types/commands/UpdateGraphCommand.d.ts +1 -1
- package/dist-types/commands/index.d.ts +2 -0
- package/dist-types/index.d.ts +1 -3
- package/dist-types/models/models_0.d.ts +268 -338
- package/dist-types/protocols/Aws_restJson1.d.ts +18 -0
- package/dist-types/ts3.4/NeptuneGraph.d.ts +34 -0
- package/dist-types/ts3.4/NeptuneGraphClient.d.ts +12 -0
- package/dist-types/ts3.4/commands/StartGraphCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/StopGraphCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/index.d.ts +2 -0
- package/dist-types/ts3.4/models/models_0.d.ts +43 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +24 -0
- package/dist-types/ts3.4/waiters/index.d.ts +1 -0
- package/dist-types/ts3.4/waiters/waitForGraphStopped.d.ts +11 -0
- package/dist-types/waiters/index.d.ts +1 -0
- package/dist-types/waiters/waitForGraphStopped.d.ts +14 -0
- package/package.json +12 -12
|
@@ -28,7 +28,9 @@ import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } fro
|
|
|
28
28
|
import { ResetGraphCommandInput, ResetGraphCommandOutput } from "../commands/ResetGraphCommand";
|
|
29
29
|
import { RestoreGraphFromSnapshotCommandInput, RestoreGraphFromSnapshotCommandOutput } from "../commands/RestoreGraphFromSnapshotCommand";
|
|
30
30
|
import { StartExportTaskCommandInput, StartExportTaskCommandOutput } from "../commands/StartExportTaskCommand";
|
|
31
|
+
import { StartGraphCommandInput, StartGraphCommandOutput } from "../commands/StartGraphCommand";
|
|
31
32
|
import { StartImportTaskCommandInput, StartImportTaskCommandOutput } from "../commands/StartImportTaskCommand";
|
|
33
|
+
import { StopGraphCommandInput, StopGraphCommandOutput } from "../commands/StopGraphCommand";
|
|
32
34
|
import { TagResourceCommandInput, TagResourceCommandOutput } from "../commands/TagResourceCommand";
|
|
33
35
|
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "../commands/UntagResourceCommand";
|
|
34
36
|
import { UpdateGraphCommandInput, UpdateGraphCommandOutput } from "../commands/UpdateGraphCommand";
|
|
@@ -144,10 +146,18 @@ export declare const se_RestoreGraphFromSnapshotCommand: (input: RestoreGraphFro
|
|
|
144
146
|
* serializeAws_restJson1StartExportTaskCommand
|
|
145
147
|
*/
|
|
146
148
|
export declare const se_StartExportTaskCommand: (input: StartExportTaskCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
149
|
+
/**
|
|
150
|
+
* serializeAws_restJson1StartGraphCommand
|
|
151
|
+
*/
|
|
152
|
+
export declare const se_StartGraphCommand: (input: StartGraphCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
147
153
|
/**
|
|
148
154
|
* serializeAws_restJson1StartImportTaskCommand
|
|
149
155
|
*/
|
|
150
156
|
export declare const se_StartImportTaskCommand: (input: StartImportTaskCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
157
|
+
/**
|
|
158
|
+
* serializeAws_restJson1StopGraphCommand
|
|
159
|
+
*/
|
|
160
|
+
export declare const se_StopGraphCommand: (input: StopGraphCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
151
161
|
/**
|
|
152
162
|
* serializeAws_restJson1TagResourceCommand
|
|
153
163
|
*/
|
|
@@ -272,10 +282,18 @@ export declare const de_RestoreGraphFromSnapshotCommand: (output: __HttpResponse
|
|
|
272
282
|
* deserializeAws_restJson1StartExportTaskCommand
|
|
273
283
|
*/
|
|
274
284
|
export declare const de_StartExportTaskCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<StartExportTaskCommandOutput>;
|
|
285
|
+
/**
|
|
286
|
+
* deserializeAws_restJson1StartGraphCommand
|
|
287
|
+
*/
|
|
288
|
+
export declare const de_StartGraphCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<StartGraphCommandOutput>;
|
|
275
289
|
/**
|
|
276
290
|
* deserializeAws_restJson1StartImportTaskCommand
|
|
277
291
|
*/
|
|
278
292
|
export declare const de_StartImportTaskCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<StartImportTaskCommandOutput>;
|
|
293
|
+
/**
|
|
294
|
+
* deserializeAws_restJson1StopGraphCommand
|
|
295
|
+
*/
|
|
296
|
+
export declare const de_StopGraphCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<StopGraphCommandOutput>;
|
|
279
297
|
/**
|
|
280
298
|
* deserializeAws_restJson1TagResourceCommand
|
|
281
299
|
*/
|
|
@@ -111,10 +111,18 @@ import {
|
|
|
111
111
|
StartExportTaskCommandInput,
|
|
112
112
|
StartExportTaskCommandOutput,
|
|
113
113
|
} from "./commands/StartExportTaskCommand";
|
|
114
|
+
import {
|
|
115
|
+
StartGraphCommandInput,
|
|
116
|
+
StartGraphCommandOutput,
|
|
117
|
+
} from "./commands/StartGraphCommand";
|
|
114
118
|
import {
|
|
115
119
|
StartImportTaskCommandInput,
|
|
116
120
|
StartImportTaskCommandOutput,
|
|
117
121
|
} from "./commands/StartImportTaskCommand";
|
|
122
|
+
import {
|
|
123
|
+
StopGraphCommandInput,
|
|
124
|
+
StopGraphCommandOutput,
|
|
125
|
+
} from "./commands/StopGraphCommand";
|
|
118
126
|
import {
|
|
119
127
|
TagResourceCommandInput,
|
|
120
128
|
TagResourceCommandOutput,
|
|
@@ -497,6 +505,19 @@ export interface NeptuneGraph {
|
|
|
497
505
|
options: __HttpHandlerOptions,
|
|
498
506
|
cb: (err: any, data?: StartExportTaskCommandOutput) => void
|
|
499
507
|
): void;
|
|
508
|
+
startGraph(
|
|
509
|
+
args: StartGraphCommandInput,
|
|
510
|
+
options?: __HttpHandlerOptions
|
|
511
|
+
): Promise<StartGraphCommandOutput>;
|
|
512
|
+
startGraph(
|
|
513
|
+
args: StartGraphCommandInput,
|
|
514
|
+
cb: (err: any, data?: StartGraphCommandOutput) => void
|
|
515
|
+
): void;
|
|
516
|
+
startGraph(
|
|
517
|
+
args: StartGraphCommandInput,
|
|
518
|
+
options: __HttpHandlerOptions,
|
|
519
|
+
cb: (err: any, data?: StartGraphCommandOutput) => void
|
|
520
|
+
): void;
|
|
500
521
|
startImportTask(
|
|
501
522
|
args: StartImportTaskCommandInput,
|
|
502
523
|
options?: __HttpHandlerOptions
|
|
@@ -510,6 +531,19 @@ export interface NeptuneGraph {
|
|
|
510
531
|
options: __HttpHandlerOptions,
|
|
511
532
|
cb: (err: any, data?: StartImportTaskCommandOutput) => void
|
|
512
533
|
): void;
|
|
534
|
+
stopGraph(
|
|
535
|
+
args: StopGraphCommandInput,
|
|
536
|
+
options?: __HttpHandlerOptions
|
|
537
|
+
): Promise<StopGraphCommandOutput>;
|
|
538
|
+
stopGraph(
|
|
539
|
+
args: StopGraphCommandInput,
|
|
540
|
+
cb: (err: any, data?: StopGraphCommandOutput) => void
|
|
541
|
+
): void;
|
|
542
|
+
stopGraph(
|
|
543
|
+
args: StopGraphCommandInput,
|
|
544
|
+
options: __HttpHandlerOptions,
|
|
545
|
+
cb: (err: any, data?: StopGraphCommandOutput) => void
|
|
546
|
+
): void;
|
|
513
547
|
tagResource(
|
|
514
548
|
args: TagResourceCommandInput,
|
|
515
549
|
options?: __HttpHandlerOptions
|
|
@@ -158,10 +158,18 @@ import {
|
|
|
158
158
|
StartExportTaskCommandInput,
|
|
159
159
|
StartExportTaskCommandOutput,
|
|
160
160
|
} from "./commands/StartExportTaskCommand";
|
|
161
|
+
import {
|
|
162
|
+
StartGraphCommandInput,
|
|
163
|
+
StartGraphCommandOutput,
|
|
164
|
+
} from "./commands/StartGraphCommand";
|
|
161
165
|
import {
|
|
162
166
|
StartImportTaskCommandInput,
|
|
163
167
|
StartImportTaskCommandOutput,
|
|
164
168
|
} from "./commands/StartImportTaskCommand";
|
|
169
|
+
import {
|
|
170
|
+
StopGraphCommandInput,
|
|
171
|
+
StopGraphCommandOutput,
|
|
172
|
+
} from "./commands/StopGraphCommand";
|
|
165
173
|
import {
|
|
166
174
|
TagResourceCommandInput,
|
|
167
175
|
TagResourceCommandOutput,
|
|
@@ -210,7 +218,9 @@ export type ServiceInputTypes =
|
|
|
210
218
|
| ResetGraphCommandInput
|
|
211
219
|
| RestoreGraphFromSnapshotCommandInput
|
|
212
220
|
| StartExportTaskCommandInput
|
|
221
|
+
| StartGraphCommandInput
|
|
213
222
|
| StartImportTaskCommandInput
|
|
223
|
+
| StopGraphCommandInput
|
|
214
224
|
| TagResourceCommandInput
|
|
215
225
|
| UntagResourceCommandInput
|
|
216
226
|
| UpdateGraphCommandInput;
|
|
@@ -243,7 +253,9 @@ export type ServiceOutputTypes =
|
|
|
243
253
|
| ResetGraphCommandOutput
|
|
244
254
|
| RestoreGraphFromSnapshotCommandOutput
|
|
245
255
|
| StartExportTaskCommandOutput
|
|
256
|
+
| StartGraphCommandOutput
|
|
246
257
|
| StartImportTaskCommandOutput
|
|
258
|
+
| StopGraphCommandOutput
|
|
247
259
|
| TagResourceCommandOutput
|
|
248
260
|
| UntagResourceCommandOutput
|
|
249
261
|
| UpdateGraphCommandOutput;
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { StartGraphInput, StartGraphOutput } from "../models/models_0";
|
|
4
|
+
import {
|
|
5
|
+
NeptuneGraphClientResolvedConfig,
|
|
6
|
+
ServiceInputTypes,
|
|
7
|
+
ServiceOutputTypes,
|
|
8
|
+
} from "../NeptuneGraphClient";
|
|
9
|
+
export { __MetadataBearer };
|
|
10
|
+
export { $Command };
|
|
11
|
+
export interface StartGraphCommandInput extends StartGraphInput {}
|
|
12
|
+
export interface StartGraphCommandOutput
|
|
13
|
+
extends StartGraphOutput,
|
|
14
|
+
__MetadataBearer {}
|
|
15
|
+
declare const StartGraphCommand_base: {
|
|
16
|
+
new (
|
|
17
|
+
input: StartGraphCommandInput
|
|
18
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
19
|
+
StartGraphCommandInput,
|
|
20
|
+
StartGraphCommandOutput,
|
|
21
|
+
NeptuneGraphClientResolvedConfig,
|
|
22
|
+
ServiceInputTypes,
|
|
23
|
+
ServiceOutputTypes
|
|
24
|
+
>;
|
|
25
|
+
new (
|
|
26
|
+
input: StartGraphCommandInput
|
|
27
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
28
|
+
StartGraphCommandInput,
|
|
29
|
+
StartGraphCommandOutput,
|
|
30
|
+
NeptuneGraphClientResolvedConfig,
|
|
31
|
+
ServiceInputTypes,
|
|
32
|
+
ServiceOutputTypes
|
|
33
|
+
>;
|
|
34
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
35
|
+
};
|
|
36
|
+
export declare class StartGraphCommand extends StartGraphCommand_base {
|
|
37
|
+
protected static __types: {
|
|
38
|
+
api: {
|
|
39
|
+
input: StartGraphInput;
|
|
40
|
+
output: StartGraphOutput;
|
|
41
|
+
};
|
|
42
|
+
sdk: {
|
|
43
|
+
input: StartGraphCommandInput;
|
|
44
|
+
output: StartGraphCommandOutput;
|
|
45
|
+
};
|
|
46
|
+
};
|
|
47
|
+
}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { StopGraphInput, StopGraphOutput } from "../models/models_0";
|
|
4
|
+
import {
|
|
5
|
+
NeptuneGraphClientResolvedConfig,
|
|
6
|
+
ServiceInputTypes,
|
|
7
|
+
ServiceOutputTypes,
|
|
8
|
+
} from "../NeptuneGraphClient";
|
|
9
|
+
export { __MetadataBearer };
|
|
10
|
+
export { $Command };
|
|
11
|
+
export interface StopGraphCommandInput extends StopGraphInput {}
|
|
12
|
+
export interface StopGraphCommandOutput
|
|
13
|
+
extends StopGraphOutput,
|
|
14
|
+
__MetadataBearer {}
|
|
15
|
+
declare const StopGraphCommand_base: {
|
|
16
|
+
new (
|
|
17
|
+
input: StopGraphCommandInput
|
|
18
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
19
|
+
StopGraphCommandInput,
|
|
20
|
+
StopGraphCommandOutput,
|
|
21
|
+
NeptuneGraphClientResolvedConfig,
|
|
22
|
+
ServiceInputTypes,
|
|
23
|
+
ServiceOutputTypes
|
|
24
|
+
>;
|
|
25
|
+
new (
|
|
26
|
+
input: StopGraphCommandInput
|
|
27
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
28
|
+
StopGraphCommandInput,
|
|
29
|
+
StopGraphCommandOutput,
|
|
30
|
+
NeptuneGraphClientResolvedConfig,
|
|
31
|
+
ServiceInputTypes,
|
|
32
|
+
ServiceOutputTypes
|
|
33
|
+
>;
|
|
34
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
35
|
+
};
|
|
36
|
+
export declare class StopGraphCommand extends StopGraphCommand_base {
|
|
37
|
+
protected static __types: {
|
|
38
|
+
api: {
|
|
39
|
+
input: StopGraphInput;
|
|
40
|
+
output: StopGraphOutput;
|
|
41
|
+
};
|
|
42
|
+
sdk: {
|
|
43
|
+
input: StopGraphCommandInput;
|
|
44
|
+
output: StopGraphCommandOutput;
|
|
45
|
+
};
|
|
46
|
+
};
|
|
47
|
+
}
|
|
@@ -26,7 +26,9 @@ export * from "./ListTagsForResourceCommand";
|
|
|
26
26
|
export * from "./ResetGraphCommand";
|
|
27
27
|
export * from "./RestoreGraphFromSnapshotCommand";
|
|
28
28
|
export * from "./StartExportTaskCommand";
|
|
29
|
+
export * from "./StartGraphCommand";
|
|
29
30
|
export * from "./StartImportTaskCommand";
|
|
31
|
+
export * from "./StopGraphCommand";
|
|
30
32
|
export * from "./TagResourceCommand";
|
|
31
33
|
export * from "./UntagResourceCommand";
|
|
32
34
|
export * from "./UpdateGraphCommand";
|
|
@@ -192,6 +192,9 @@ export declare const GraphStatus: {
|
|
|
192
192
|
readonly IMPORTING: "IMPORTING";
|
|
193
193
|
readonly RESETTING: "RESETTING";
|
|
194
194
|
readonly SNAPSHOTTING: "SNAPSHOTTING";
|
|
195
|
+
readonly STARTING: "STARTING";
|
|
196
|
+
readonly STOPPED: "STOPPED";
|
|
197
|
+
readonly STOPPING: "STOPPING";
|
|
195
198
|
readonly UPDATING: "UPDATING";
|
|
196
199
|
};
|
|
197
200
|
export type GraphStatus = (typeof GraphStatus)[keyof typeof GraphStatus];
|
|
@@ -331,6 +334,46 @@ export interface RestoreGraphFromSnapshotOutput {
|
|
|
331
334
|
deletionProtection?: boolean | undefined;
|
|
332
335
|
buildNumber?: string | undefined;
|
|
333
336
|
}
|
|
337
|
+
export interface StartGraphInput {
|
|
338
|
+
graphIdentifier: string | undefined;
|
|
339
|
+
}
|
|
340
|
+
export interface StartGraphOutput {
|
|
341
|
+
id: string | undefined;
|
|
342
|
+
name: string | undefined;
|
|
343
|
+
arn: string | undefined;
|
|
344
|
+
status?: GraphStatus | undefined;
|
|
345
|
+
statusReason?: string | undefined;
|
|
346
|
+
createTime?: Date | undefined;
|
|
347
|
+
provisionedMemory?: number | undefined;
|
|
348
|
+
endpoint?: string | undefined;
|
|
349
|
+
publicConnectivity?: boolean | undefined;
|
|
350
|
+
vectorSearchConfiguration?: VectorSearchConfiguration | undefined;
|
|
351
|
+
replicaCount?: number | undefined;
|
|
352
|
+
kmsKeyIdentifier?: string | undefined;
|
|
353
|
+
sourceSnapshotId?: string | undefined;
|
|
354
|
+
deletionProtection?: boolean | undefined;
|
|
355
|
+
buildNumber?: string | undefined;
|
|
356
|
+
}
|
|
357
|
+
export interface StopGraphInput {
|
|
358
|
+
graphIdentifier: string | undefined;
|
|
359
|
+
}
|
|
360
|
+
export interface StopGraphOutput {
|
|
361
|
+
id: string | undefined;
|
|
362
|
+
name: string | undefined;
|
|
363
|
+
arn: string | undefined;
|
|
364
|
+
status?: GraphStatus | undefined;
|
|
365
|
+
statusReason?: string | undefined;
|
|
366
|
+
createTime?: Date | undefined;
|
|
367
|
+
provisionedMemory?: number | undefined;
|
|
368
|
+
endpoint?: string | undefined;
|
|
369
|
+
publicConnectivity?: boolean | undefined;
|
|
370
|
+
vectorSearchConfiguration?: VectorSearchConfiguration | undefined;
|
|
371
|
+
replicaCount?: number | undefined;
|
|
372
|
+
kmsKeyIdentifier?: string | undefined;
|
|
373
|
+
sourceSnapshotId?: string | undefined;
|
|
374
|
+
deletionProtection?: boolean | undefined;
|
|
375
|
+
buildNumber?: string | undefined;
|
|
376
|
+
}
|
|
334
377
|
export interface UpdateGraphInput {
|
|
335
378
|
graphIdentifier: string | undefined;
|
|
336
379
|
publicConnectivity?: boolean | undefined;
|
|
@@ -118,10 +118,18 @@ import {
|
|
|
118
118
|
StartExportTaskCommandInput,
|
|
119
119
|
StartExportTaskCommandOutput,
|
|
120
120
|
} from "../commands/StartExportTaskCommand";
|
|
121
|
+
import {
|
|
122
|
+
StartGraphCommandInput,
|
|
123
|
+
StartGraphCommandOutput,
|
|
124
|
+
} from "../commands/StartGraphCommand";
|
|
121
125
|
import {
|
|
122
126
|
StartImportTaskCommandInput,
|
|
123
127
|
StartImportTaskCommandOutput,
|
|
124
128
|
} from "../commands/StartImportTaskCommand";
|
|
129
|
+
import {
|
|
130
|
+
StopGraphCommandInput,
|
|
131
|
+
StopGraphCommandOutput,
|
|
132
|
+
} from "../commands/StopGraphCommand";
|
|
125
133
|
import {
|
|
126
134
|
TagResourceCommandInput,
|
|
127
135
|
TagResourceCommandOutput,
|
|
@@ -246,10 +254,18 @@ export declare const se_StartExportTaskCommand: (
|
|
|
246
254
|
input: StartExportTaskCommandInput,
|
|
247
255
|
context: __SerdeContext
|
|
248
256
|
) => Promise<__HttpRequest>;
|
|
257
|
+
export declare const se_StartGraphCommand: (
|
|
258
|
+
input: StartGraphCommandInput,
|
|
259
|
+
context: __SerdeContext
|
|
260
|
+
) => Promise<__HttpRequest>;
|
|
249
261
|
export declare const se_StartImportTaskCommand: (
|
|
250
262
|
input: StartImportTaskCommandInput,
|
|
251
263
|
context: __SerdeContext
|
|
252
264
|
) => Promise<__HttpRequest>;
|
|
265
|
+
export declare const se_StopGraphCommand: (
|
|
266
|
+
input: StopGraphCommandInput,
|
|
267
|
+
context: __SerdeContext
|
|
268
|
+
) => Promise<__HttpRequest>;
|
|
253
269
|
export declare const se_TagResourceCommand: (
|
|
254
270
|
input: TagResourceCommandInput,
|
|
255
271
|
context: __SerdeContext
|
|
@@ -374,10 +390,18 @@ export declare const de_StartExportTaskCommand: (
|
|
|
374
390
|
output: __HttpResponse,
|
|
375
391
|
context: __SerdeContext
|
|
376
392
|
) => Promise<StartExportTaskCommandOutput>;
|
|
393
|
+
export declare const de_StartGraphCommand: (
|
|
394
|
+
output: __HttpResponse,
|
|
395
|
+
context: __SerdeContext
|
|
396
|
+
) => Promise<StartGraphCommandOutput>;
|
|
377
397
|
export declare const de_StartImportTaskCommand: (
|
|
378
398
|
output: __HttpResponse,
|
|
379
399
|
context: __SerdeContext
|
|
380
400
|
) => Promise<StartImportTaskCommandOutput>;
|
|
401
|
+
export declare const de_StopGraphCommand: (
|
|
402
|
+
output: __HttpResponse,
|
|
403
|
+
context: __SerdeContext
|
|
404
|
+
) => Promise<StopGraphCommandOutput>;
|
|
381
405
|
export declare const de_TagResourceCommand: (
|
|
382
406
|
output: __HttpResponse,
|
|
383
407
|
context: __SerdeContext
|
|
@@ -4,6 +4,7 @@ export * from "./waitForGraphAvailable";
|
|
|
4
4
|
export * from "./waitForGraphDeleted";
|
|
5
5
|
export * from "./waitForGraphSnapshotAvailable";
|
|
6
6
|
export * from "./waitForGraphSnapshotDeleted";
|
|
7
|
+
export * from "./waitForGraphStopped";
|
|
7
8
|
export * from "./waitForImportTaskCancelled";
|
|
8
9
|
export * from "./waitForImportTaskSuccessful";
|
|
9
10
|
export * from "./waitForPrivateGraphEndpointAvailable";
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { WaiterConfiguration, WaiterResult } from "@smithy/util-waiter";
|
|
2
|
+
import { GetGraphCommandInput } from "../commands/GetGraphCommand";
|
|
3
|
+
import { NeptuneGraphClient } from "../NeptuneGraphClient";
|
|
4
|
+
export declare const waitForGraphStopped: (
|
|
5
|
+
params: WaiterConfiguration<NeptuneGraphClient>,
|
|
6
|
+
input: GetGraphCommandInput
|
|
7
|
+
) => Promise<WaiterResult>;
|
|
8
|
+
export declare const waitUntilGraphStopped: (
|
|
9
|
+
params: WaiterConfiguration<NeptuneGraphClient>,
|
|
10
|
+
input: GetGraphCommandInput
|
|
11
|
+
) => Promise<WaiterResult>;
|
|
@@ -4,6 +4,7 @@ export * from "./waitForGraphAvailable";
|
|
|
4
4
|
export * from "./waitForGraphDeleted";
|
|
5
5
|
export * from "./waitForGraphSnapshotAvailable";
|
|
6
6
|
export * from "./waitForGraphSnapshotDeleted";
|
|
7
|
+
export * from "./waitForGraphStopped";
|
|
7
8
|
export * from "./waitForImportTaskCancelled";
|
|
8
9
|
export * from "./waitForImportTaskSuccessful";
|
|
9
10
|
export * from "./waitForPrivateGraphEndpointAvailable";
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { WaiterConfiguration, WaiterResult } from "@smithy/util-waiter";
|
|
2
|
+
import { GetGraphCommandInput } from "../commands/GetGraphCommand";
|
|
3
|
+
import { NeptuneGraphClient } from "../NeptuneGraphClient";
|
|
4
|
+
/**
|
|
5
|
+
* Wait until Graph is Stopped
|
|
6
|
+
* @deprecated Use waitUntilGraphStopped instead. waitForGraphStopped does not throw error in non-success cases.
|
|
7
|
+
*/
|
|
8
|
+
export declare const waitForGraphStopped: (params: WaiterConfiguration<NeptuneGraphClient>, input: GetGraphCommandInput) => Promise<WaiterResult>;
|
|
9
|
+
/**
|
|
10
|
+
* Wait until Graph is Stopped
|
|
11
|
+
* @param params - Waiter configuration options.
|
|
12
|
+
* @param input - The input to GetGraphCommand for polling.
|
|
13
|
+
*/
|
|
14
|
+
export declare const waitUntilGraphStopped: (params: WaiterConfiguration<NeptuneGraphClient>, input: GetGraphCommandInput) => Promise<WaiterResult>;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-neptune-graph",
|
|
3
3
|
"description": "AWS SDK for JavaScript Neptune Graph Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.879.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-neptune-graph",
|
|
@@ -20,38 +20,38 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
|
-
"@aws-sdk/core": "3.
|
|
24
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
23
|
+
"@aws-sdk/core": "3.879.0",
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.879.0",
|
|
25
25
|
"@aws-sdk/middleware-host-header": "3.873.0",
|
|
26
26
|
"@aws-sdk/middleware-logger": "3.876.0",
|
|
27
27
|
"@aws-sdk/middleware-recursion-detection": "3.873.0",
|
|
28
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
28
|
+
"@aws-sdk/middleware-user-agent": "3.879.0",
|
|
29
29
|
"@aws-sdk/region-config-resolver": "3.873.0",
|
|
30
30
|
"@aws-sdk/types": "3.862.0",
|
|
31
|
-
"@aws-sdk/util-endpoints": "3.
|
|
31
|
+
"@aws-sdk/util-endpoints": "3.879.0",
|
|
32
32
|
"@aws-sdk/util-user-agent-browser": "3.873.0",
|
|
33
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
33
|
+
"@aws-sdk/util-user-agent-node": "3.879.0",
|
|
34
34
|
"@smithy/config-resolver": "^4.1.5",
|
|
35
|
-
"@smithy/core": "^3.
|
|
35
|
+
"@smithy/core": "^3.9.0",
|
|
36
36
|
"@smithy/fetch-http-handler": "^5.1.1",
|
|
37
37
|
"@smithy/hash-node": "^4.0.5",
|
|
38
38
|
"@smithy/invalid-dependency": "^4.0.5",
|
|
39
39
|
"@smithy/middleware-content-length": "^4.0.5",
|
|
40
|
-
"@smithy/middleware-endpoint": "^4.1.
|
|
41
|
-
"@smithy/middleware-retry": "^4.1.
|
|
40
|
+
"@smithy/middleware-endpoint": "^4.1.19",
|
|
41
|
+
"@smithy/middleware-retry": "^4.1.20",
|
|
42
42
|
"@smithy/middleware-serde": "^4.0.9",
|
|
43
43
|
"@smithy/middleware-stack": "^4.0.5",
|
|
44
44
|
"@smithy/node-config-provider": "^4.1.4",
|
|
45
45
|
"@smithy/node-http-handler": "^4.1.1",
|
|
46
46
|
"@smithy/protocol-http": "^5.1.3",
|
|
47
|
-
"@smithy/smithy-client": "^4.
|
|
47
|
+
"@smithy/smithy-client": "^4.5.0",
|
|
48
48
|
"@smithy/types": "^4.3.2",
|
|
49
49
|
"@smithy/url-parser": "^4.0.5",
|
|
50
50
|
"@smithy/util-base64": "^4.0.0",
|
|
51
51
|
"@smithy/util-body-length-browser": "^4.0.0",
|
|
52
52
|
"@smithy/util-body-length-node": "^4.0.0",
|
|
53
|
-
"@smithy/util-defaults-mode-browser": "^4.0.
|
|
54
|
-
"@smithy/util-defaults-mode-node": "^4.0.
|
|
53
|
+
"@smithy/util-defaults-mode-browser": "^4.0.27",
|
|
54
|
+
"@smithy/util-defaults-mode-node": "^4.0.27",
|
|
55
55
|
"@smithy/util-endpoints": "^3.0.7",
|
|
56
56
|
"@smithy/util-middleware": "^4.0.5",
|
|
57
57
|
"@smithy/util-retry": "^4.0.7",
|