@aws-sdk/client-neptune-graph 3.1037.0 → 3.1038.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 (34) hide show
  1. package/dist-cjs/index.js +3 -3
  2. package/dist-es/waiters/waitForExportTaskCancelled.js +1 -1
  3. package/dist-es/waiters/waitForExportTaskSuccessful.js +1 -1
  4. package/dist-es/waiters/waitForGraphDeleted.js +1 -1
  5. package/dist-es/waiters/waitForGraphSnapshotAvailable.js +1 -1
  6. package/dist-es/waiters/waitForGraphSnapshotDeleted.js +2 -2
  7. package/dist-es/waiters/waitForImportTaskCancelled.js +1 -1
  8. package/dist-es/waiters/waitForImportTaskSuccessful.js +1 -1
  9. package/dist-es/waiters/waitForPrivateGraphEndpointDeleted.js +1 -1
  10. package/dist-types/NeptuneGraph.d.ts +12 -11
  11. package/dist-types/ts3.4/NeptuneGraph.d.ts +12 -11
  12. package/dist-types/ts3.4/waiters/waitForExportTaskCancelled.d.ts +9 -3
  13. package/dist-types/ts3.4/waiters/waitForExportTaskSuccessful.d.ts +9 -3
  14. package/dist-types/ts3.4/waiters/waitForGraphAvailable.d.ts +9 -3
  15. package/dist-types/ts3.4/waiters/waitForGraphDeleted.d.ts +10 -3
  16. package/dist-types/ts3.4/waiters/waitForGraphSnapshotAvailable.d.ts +9 -3
  17. package/dist-types/ts3.4/waiters/waitForGraphSnapshotDeleted.d.ts +10 -3
  18. package/dist-types/ts3.4/waiters/waitForGraphStopped.d.ts +9 -3
  19. package/dist-types/ts3.4/waiters/waitForImportTaskCancelled.d.ts +9 -3
  20. package/dist-types/ts3.4/waiters/waitForImportTaskSuccessful.d.ts +9 -3
  21. package/dist-types/ts3.4/waiters/waitForPrivateGraphEndpointAvailable.d.ts +11 -3
  22. package/dist-types/ts3.4/waiters/waitForPrivateGraphEndpointDeleted.d.ts +12 -3
  23. package/dist-types/waiters/waitForExportTaskCancelled.d.ts +4 -3
  24. package/dist-types/waiters/waitForExportTaskSuccessful.d.ts +4 -3
  25. package/dist-types/waiters/waitForGraphAvailable.d.ts +4 -3
  26. package/dist-types/waiters/waitForGraphDeleted.d.ts +5 -3
  27. package/dist-types/waiters/waitForGraphSnapshotAvailable.d.ts +4 -3
  28. package/dist-types/waiters/waitForGraphSnapshotDeleted.d.ts +5 -3
  29. package/dist-types/waiters/waitForGraphStopped.d.ts +4 -3
  30. package/dist-types/waiters/waitForImportTaskCancelled.d.ts +4 -3
  31. package/dist-types/waiters/waitForImportTaskSuccessful.d.ts +4 -3
  32. package/dist-types/waiters/waitForPrivateGraphEndpointAvailable.d.ts +4 -3
  33. package/dist-types/waiters/waitForPrivateGraphEndpointDeleted.d.ts +5 -3
  34. package/package.json +8 -8
package/dist-cjs/index.js CHANGED
@@ -795,7 +795,7 @@ const checkState$7 = async (client, input) => {
795
795
  }
796
796
  catch (exception) {
797
797
  reason = exception;
798
- if (exception.name && exception.name == "ResourceNotFoundException") {
798
+ if (exception.name === "ResourceNotFoundException") {
799
799
  return { state: utilWaiter.WaiterState.SUCCESS, reason };
800
800
  }
801
801
  }
@@ -876,7 +876,7 @@ const checkState$5 = async (client, input) => {
876
876
  }
877
877
  catch (exception) {
878
878
  reason = exception;
879
- if (exception.name && exception.name == "ResourceNotFoundException") {
879
+ if (exception.name === "ResourceNotFoundException") {
880
880
  return { state: utilWaiter.WaiterState.SUCCESS, reason };
881
881
  }
882
882
  }
@@ -1101,7 +1101,7 @@ const checkState = async (client, input) => {
1101
1101
  }
1102
1102
  catch (exception) {
1103
1103
  reason = exception;
1104
- if (exception.name && exception.name == "ResourceNotFoundException") {
1104
+ if (exception.name === "ResourceNotFoundException") {
1105
1105
  return { state: utilWaiter.WaiterState.SUCCESS, reason };
1106
1106
  }
1107
1107
  }
@@ -1,5 +1,5 @@
1
1
  import { checkExceptions, createWaiter, WaiterState, } from "@smithy/util-waiter";
2
- import { GetExportTaskCommand } from "../commands/GetExportTaskCommand";
2
+ import { GetExportTaskCommand, } from "../commands/GetExportTaskCommand";
3
3
  const checkState = async (client, input) => {
4
4
  let reason;
5
5
  try {
@@ -1,5 +1,5 @@
1
1
  import { checkExceptions, createWaiter, WaiterState, } from "@smithy/util-waiter";
2
- import { GetExportTaskCommand } from "../commands/GetExportTaskCommand";
2
+ import { GetExportTaskCommand, } from "../commands/GetExportTaskCommand";
3
3
  const checkState = async (client, input) => {
4
4
  let reason;
5
5
  try {
@@ -17,7 +17,7 @@ const checkState = async (client, input) => {
17
17
  }
18
18
  catch (exception) {
19
19
  reason = exception;
20
- if (exception.name && exception.name == "ResourceNotFoundException") {
20
+ if (exception.name === "ResourceNotFoundException") {
21
21
  return { state: WaiterState.SUCCESS, reason };
22
22
  }
23
23
  }
@@ -1,5 +1,5 @@
1
1
  import { checkExceptions, createWaiter, WaiterState, } from "@smithy/util-waiter";
2
- import { GetGraphSnapshotCommand } from "../commands/GetGraphSnapshotCommand";
2
+ import { GetGraphSnapshotCommand, } from "../commands/GetGraphSnapshotCommand";
3
3
  const checkState = async (client, input) => {
4
4
  let reason;
5
5
  try {
@@ -1,5 +1,5 @@
1
1
  import { checkExceptions, createWaiter, WaiterState, } from "@smithy/util-waiter";
2
- import { GetGraphSnapshotCommand } from "../commands/GetGraphSnapshotCommand";
2
+ import { GetGraphSnapshotCommand, } from "../commands/GetGraphSnapshotCommand";
3
3
  const checkState = async (client, input) => {
4
4
  let reason;
5
5
  try {
@@ -17,7 +17,7 @@ const checkState = async (client, input) => {
17
17
  }
18
18
  catch (exception) {
19
19
  reason = exception;
20
- if (exception.name && exception.name == "ResourceNotFoundException") {
20
+ if (exception.name === "ResourceNotFoundException") {
21
21
  return { state: WaiterState.SUCCESS, reason };
22
22
  }
23
23
  }
@@ -1,5 +1,5 @@
1
1
  import { checkExceptions, createWaiter, WaiterState, } from "@smithy/util-waiter";
2
- import { GetImportTaskCommand } from "../commands/GetImportTaskCommand";
2
+ import { GetImportTaskCommand, } from "../commands/GetImportTaskCommand";
3
3
  const checkState = async (client, input) => {
4
4
  let reason;
5
5
  try {
@@ -1,5 +1,5 @@
1
1
  import { checkExceptions, createWaiter, WaiterState, } from "@smithy/util-waiter";
2
- import { GetImportTaskCommand } from "../commands/GetImportTaskCommand";
2
+ import { GetImportTaskCommand, } from "../commands/GetImportTaskCommand";
3
3
  const checkState = async (client, input) => {
4
4
  let reason;
5
5
  try {
@@ -17,7 +17,7 @@ const checkState = async (client, input) => {
17
17
  }
18
18
  catch (exception) {
19
19
  reason = exception;
20
- if (exception.name && exception.name == "ResourceNotFoundException") {
20
+ if (exception.name === "ResourceNotFoundException") {
21
21
  return { state: WaiterState.SUCCESS, reason };
22
22
  }
23
23
  }
@@ -34,6 +34,7 @@ import { type StopGraphCommandInput, type StopGraphCommandOutput } from "./comma
34
34
  import { type TagResourceCommandInput, type TagResourceCommandOutput } from "./commands/TagResourceCommand";
35
35
  import { type UntagResourceCommandInput, type UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
36
36
  import { type UpdateGraphCommandInput, type UpdateGraphCommandOutput } from "./commands/UpdateGraphCommand";
37
+ import type { ResourceNotFoundException } from "./models/errors";
37
38
  import { NeptuneGraphClient } from "./NeptuneGraphClient";
38
39
  export interface NeptuneGraph {
39
40
  /**
@@ -284,67 +285,67 @@ export interface NeptuneGraph {
284
285
  * @param args - command input.
285
286
  * @param waiterConfig - `maxWaitTime` in seconds or waiter config object.
286
287
  */
287
- waitUntilExportTaskSuccessful(args: GetExportTaskCommandInput, waiterConfig: number | Omit<WaiterConfiguration<NeptuneGraph>, "client">): Promise<WaiterResult>;
288
+ waitUntilExportTaskSuccessful(args: GetExportTaskCommandInput, waiterConfig: number | Omit<WaiterConfiguration<NeptuneGraph>, "client">): Promise<WaiterResult<GetExportTaskCommandOutput>>;
288
289
  /**
289
290
  * @see {@link GetExportTaskCommand}
290
291
  * @param args - command input.
291
292
  * @param waiterConfig - `maxWaitTime` in seconds or waiter config object.
292
293
  */
293
- waitUntilExportTaskCancelled(args: GetExportTaskCommandInput, waiterConfig: number | Omit<WaiterConfiguration<NeptuneGraph>, "client">): Promise<WaiterResult>;
294
+ waitUntilExportTaskCancelled(args: GetExportTaskCommandInput, waiterConfig: number | Omit<WaiterConfiguration<NeptuneGraph>, "client">): Promise<WaiterResult<GetExportTaskCommandOutput>>;
294
295
  /**
295
296
  * @see {@link GetGraphCommand}
296
297
  * @param args - command input.
297
298
  * @param waiterConfig - `maxWaitTime` in seconds or waiter config object.
298
299
  */
299
- waitUntilGraphAvailable(args: GetGraphCommandInput, waiterConfig: number | Omit<WaiterConfiguration<NeptuneGraph>, "client">): Promise<WaiterResult>;
300
+ waitUntilGraphAvailable(args: GetGraphCommandInput, waiterConfig: number | Omit<WaiterConfiguration<NeptuneGraph>, "client">): Promise<WaiterResult<GetGraphCommandOutput>>;
300
301
  /**
301
302
  * @see {@link GetGraphCommand}
302
303
  * @param args - command input.
303
304
  * @param waiterConfig - `maxWaitTime` in seconds or waiter config object.
304
305
  */
305
- waitUntilGraphDeleted(args: GetGraphCommandInput, waiterConfig: number | Omit<WaiterConfiguration<NeptuneGraph>, "client">): Promise<WaiterResult>;
306
+ waitUntilGraphDeleted(args: GetGraphCommandInput, waiterConfig: number | Omit<WaiterConfiguration<NeptuneGraph>, "client">): Promise<WaiterResult<ResourceNotFoundException>>;
306
307
  /**
307
308
  * @see {@link GetGraphCommand}
308
309
  * @param args - command input.
309
310
  * @param waiterConfig - `maxWaitTime` in seconds or waiter config object.
310
311
  */
311
- waitUntilGraphStopped(args: GetGraphCommandInput, waiterConfig: number | Omit<WaiterConfiguration<NeptuneGraph>, "client">): Promise<WaiterResult>;
312
+ waitUntilGraphStopped(args: GetGraphCommandInput, waiterConfig: number | Omit<WaiterConfiguration<NeptuneGraph>, "client">): Promise<WaiterResult<GetGraphCommandOutput>>;
312
313
  /**
313
314
  * @see {@link GetGraphSnapshotCommand}
314
315
  * @param args - command input.
315
316
  * @param waiterConfig - `maxWaitTime` in seconds or waiter config object.
316
317
  */
317
- waitUntilGraphSnapshotAvailable(args: GetGraphSnapshotCommandInput, waiterConfig: number | Omit<WaiterConfiguration<NeptuneGraph>, "client">): Promise<WaiterResult>;
318
+ waitUntilGraphSnapshotAvailable(args: GetGraphSnapshotCommandInput, waiterConfig: number | Omit<WaiterConfiguration<NeptuneGraph>, "client">): Promise<WaiterResult<GetGraphSnapshotCommandOutput>>;
318
319
  /**
319
320
  * @see {@link GetGraphSnapshotCommand}
320
321
  * @param args - command input.
321
322
  * @param waiterConfig - `maxWaitTime` in seconds or waiter config object.
322
323
  */
323
- waitUntilGraphSnapshotDeleted(args: GetGraphSnapshotCommandInput, waiterConfig: number | Omit<WaiterConfiguration<NeptuneGraph>, "client">): Promise<WaiterResult>;
324
+ waitUntilGraphSnapshotDeleted(args: GetGraphSnapshotCommandInput, waiterConfig: number | Omit<WaiterConfiguration<NeptuneGraph>, "client">): Promise<WaiterResult<ResourceNotFoundException>>;
324
325
  /**
325
326
  * @see {@link GetImportTaskCommand}
326
327
  * @param args - command input.
327
328
  * @param waiterConfig - `maxWaitTime` in seconds or waiter config object.
328
329
  */
329
- waitUntilImportTaskSuccessful(args: GetImportTaskCommandInput, waiterConfig: number | Omit<WaiterConfiguration<NeptuneGraph>, "client">): Promise<WaiterResult>;
330
+ waitUntilImportTaskSuccessful(args: GetImportTaskCommandInput, waiterConfig: number | Omit<WaiterConfiguration<NeptuneGraph>, "client">): Promise<WaiterResult<GetImportTaskCommandOutput>>;
330
331
  /**
331
332
  * @see {@link GetImportTaskCommand}
332
333
  * @param args - command input.
333
334
  * @param waiterConfig - `maxWaitTime` in seconds or waiter config object.
334
335
  */
335
- waitUntilImportTaskCancelled(args: GetImportTaskCommandInput, waiterConfig: number | Omit<WaiterConfiguration<NeptuneGraph>, "client">): Promise<WaiterResult>;
336
+ waitUntilImportTaskCancelled(args: GetImportTaskCommandInput, waiterConfig: number | Omit<WaiterConfiguration<NeptuneGraph>, "client">): Promise<WaiterResult<GetImportTaskCommandOutput>>;
336
337
  /**
337
338
  * @see {@link GetPrivateGraphEndpointCommand}
338
339
  * @param args - command input.
339
340
  * @param waiterConfig - `maxWaitTime` in seconds or waiter config object.
340
341
  */
341
- waitUntilPrivateGraphEndpointAvailable(args: GetPrivateGraphEndpointCommandInput, waiterConfig: number | Omit<WaiterConfiguration<NeptuneGraph>, "client">): Promise<WaiterResult>;
342
+ waitUntilPrivateGraphEndpointAvailable(args: GetPrivateGraphEndpointCommandInput, waiterConfig: number | Omit<WaiterConfiguration<NeptuneGraph>, "client">): Promise<WaiterResult<GetPrivateGraphEndpointCommandOutput>>;
342
343
  /**
343
344
  * @see {@link GetPrivateGraphEndpointCommand}
344
345
  * @param args - command input.
345
346
  * @param waiterConfig - `maxWaitTime` in seconds or waiter config object.
346
347
  */
347
- waitUntilPrivateGraphEndpointDeleted(args: GetPrivateGraphEndpointCommandInput, waiterConfig: number | Omit<WaiterConfiguration<NeptuneGraph>, "client">): Promise<WaiterResult>;
348
+ waitUntilPrivateGraphEndpointDeleted(args: GetPrivateGraphEndpointCommandInput, waiterConfig: number | Omit<WaiterConfiguration<NeptuneGraph>, "client">): Promise<WaiterResult<ResourceNotFoundException>>;
348
349
  }
349
350
  /**
350
351
  * <p>Neptune Analytics is a new analytics database engine for Amazon Neptune that helps customers get to insights faster by quickly processing large amounts of graph data, invoking popular graph analytic algorithms in low-latency queries, and getting analytics results in seconds.</p>
@@ -141,6 +141,7 @@ import {
141
141
  UpdateGraphCommandInput,
142
142
  UpdateGraphCommandOutput,
143
143
  } from "./commands/UpdateGraphCommand";
144
+ import { ResourceNotFoundException } from "./models/errors";
144
145
  import { NeptuneGraphClient } from "./NeptuneGraphClient";
145
146
  export interface NeptuneGraph {
146
147
  cancelExportTask(
@@ -632,7 +633,7 @@ export interface NeptuneGraph {
632
633
  WaiterConfiguration<NeptuneGraph>,
633
634
  Exclude<keyof WaiterConfiguration<NeptuneGraph>, "client">
634
635
  >
635
- ): Promise<WaiterResult>;
636
+ ): Promise<WaiterResult<GetExportTaskCommandOutput>>;
636
637
  waitUntilExportTaskCancelled(
637
638
  args: GetExportTaskCommandInput,
638
639
  waiterConfig:
@@ -641,7 +642,7 @@ export interface NeptuneGraph {
641
642
  WaiterConfiguration<NeptuneGraph>,
642
643
  Exclude<keyof WaiterConfiguration<NeptuneGraph>, "client">
643
644
  >
644
- ): Promise<WaiterResult>;
645
+ ): Promise<WaiterResult<GetExportTaskCommandOutput>>;
645
646
  waitUntilGraphAvailable(
646
647
  args: GetGraphCommandInput,
647
648
  waiterConfig:
@@ -650,7 +651,7 @@ export interface NeptuneGraph {
650
651
  WaiterConfiguration<NeptuneGraph>,
651
652
  Exclude<keyof WaiterConfiguration<NeptuneGraph>, "client">
652
653
  >
653
- ): Promise<WaiterResult>;
654
+ ): Promise<WaiterResult<GetGraphCommandOutput>>;
654
655
  waitUntilGraphDeleted(
655
656
  args: GetGraphCommandInput,
656
657
  waiterConfig:
@@ -659,7 +660,7 @@ export interface NeptuneGraph {
659
660
  WaiterConfiguration<NeptuneGraph>,
660
661
  Exclude<keyof WaiterConfiguration<NeptuneGraph>, "client">
661
662
  >
662
- ): Promise<WaiterResult>;
663
+ ): Promise<WaiterResult<ResourceNotFoundException>>;
663
664
  waitUntilGraphStopped(
664
665
  args: GetGraphCommandInput,
665
666
  waiterConfig:
@@ -668,7 +669,7 @@ export interface NeptuneGraph {
668
669
  WaiterConfiguration<NeptuneGraph>,
669
670
  Exclude<keyof WaiterConfiguration<NeptuneGraph>, "client">
670
671
  >
671
- ): Promise<WaiterResult>;
672
+ ): Promise<WaiterResult<GetGraphCommandOutput>>;
672
673
  waitUntilGraphSnapshotAvailable(
673
674
  args: GetGraphSnapshotCommandInput,
674
675
  waiterConfig:
@@ -677,7 +678,7 @@ export interface NeptuneGraph {
677
678
  WaiterConfiguration<NeptuneGraph>,
678
679
  Exclude<keyof WaiterConfiguration<NeptuneGraph>, "client">
679
680
  >
680
- ): Promise<WaiterResult>;
681
+ ): Promise<WaiterResult<GetGraphSnapshotCommandOutput>>;
681
682
  waitUntilGraphSnapshotDeleted(
682
683
  args: GetGraphSnapshotCommandInput,
683
684
  waiterConfig:
@@ -686,7 +687,7 @@ export interface NeptuneGraph {
686
687
  WaiterConfiguration<NeptuneGraph>,
687
688
  Exclude<keyof WaiterConfiguration<NeptuneGraph>, "client">
688
689
  >
689
- ): Promise<WaiterResult>;
690
+ ): Promise<WaiterResult<ResourceNotFoundException>>;
690
691
  waitUntilImportTaskSuccessful(
691
692
  args: GetImportTaskCommandInput,
692
693
  waiterConfig:
@@ -695,7 +696,7 @@ export interface NeptuneGraph {
695
696
  WaiterConfiguration<NeptuneGraph>,
696
697
  Exclude<keyof WaiterConfiguration<NeptuneGraph>, "client">
697
698
  >
698
- ): Promise<WaiterResult>;
699
+ ): Promise<WaiterResult<GetImportTaskCommandOutput>>;
699
700
  waitUntilImportTaskCancelled(
700
701
  args: GetImportTaskCommandInput,
701
702
  waiterConfig:
@@ -704,7 +705,7 @@ export interface NeptuneGraph {
704
705
  WaiterConfiguration<NeptuneGraph>,
705
706
  Exclude<keyof WaiterConfiguration<NeptuneGraph>, "client">
706
707
  >
707
- ): Promise<WaiterResult>;
708
+ ): Promise<WaiterResult<GetImportTaskCommandOutput>>;
708
709
  waitUntilPrivateGraphEndpointAvailable(
709
710
  args: GetPrivateGraphEndpointCommandInput,
710
711
  waiterConfig:
@@ -713,7 +714,7 @@ export interface NeptuneGraph {
713
714
  WaiterConfiguration<NeptuneGraph>,
714
715
  Exclude<keyof WaiterConfiguration<NeptuneGraph>, "client">
715
716
  >
716
- ): Promise<WaiterResult>;
717
+ ): Promise<WaiterResult<GetPrivateGraphEndpointCommandOutput>>;
717
718
  waitUntilPrivateGraphEndpointDeleted(
718
719
  args: GetPrivateGraphEndpointCommandInput,
719
720
  waiterConfig:
@@ -722,7 +723,7 @@ export interface NeptuneGraph {
722
723
  WaiterConfiguration<NeptuneGraph>,
723
724
  Exclude<keyof WaiterConfiguration<NeptuneGraph>, "client">
724
725
  >
725
- ): Promise<WaiterResult>;
726
+ ): Promise<WaiterResult<ResourceNotFoundException>>;
726
727
  }
727
728
  export declare class NeptuneGraph
728
729
  extends NeptuneGraphClient
@@ -1,11 +1,17 @@
1
1
  import { WaiterConfiguration, WaiterResult } from "@smithy/util-waiter";
2
- import { GetExportTaskCommandInput } from "../commands/GetExportTaskCommand";
2
+ import {
3
+ GetExportTaskCommandInput,
4
+ GetExportTaskCommandOutput,
5
+ } from "../commands/GetExportTaskCommand";
6
+ import { NeptuneGraphServiceException } from "../models/NeptuneGraphServiceException";
3
7
  import { NeptuneGraphClient } from "../NeptuneGraphClient";
4
8
  export declare const waitForExportTaskCancelled: (
5
9
  params: WaiterConfiguration<NeptuneGraphClient>,
6
10
  input: GetExportTaskCommandInput
7
- ) => Promise<WaiterResult>;
11
+ ) => Promise<
12
+ WaiterResult<GetExportTaskCommandOutput | NeptuneGraphServiceException>
13
+ >;
8
14
  export declare const waitUntilExportTaskCancelled: (
9
15
  params: WaiterConfiguration<NeptuneGraphClient>,
10
16
  input: GetExportTaskCommandInput
11
- ) => Promise<WaiterResult>;
17
+ ) => Promise<WaiterResult<GetExportTaskCommandOutput>>;
@@ -1,11 +1,17 @@
1
1
  import { WaiterConfiguration, WaiterResult } from "@smithy/util-waiter";
2
- import { GetExportTaskCommandInput } from "../commands/GetExportTaskCommand";
2
+ import {
3
+ GetExportTaskCommandInput,
4
+ GetExportTaskCommandOutput,
5
+ } from "../commands/GetExportTaskCommand";
6
+ import { NeptuneGraphServiceException } from "../models/NeptuneGraphServiceException";
3
7
  import { NeptuneGraphClient } from "../NeptuneGraphClient";
4
8
  export declare const waitForExportTaskSuccessful: (
5
9
  params: WaiterConfiguration<NeptuneGraphClient>,
6
10
  input: GetExportTaskCommandInput
7
- ) => Promise<WaiterResult>;
11
+ ) => Promise<
12
+ WaiterResult<GetExportTaskCommandOutput | NeptuneGraphServiceException>
13
+ >;
8
14
  export declare const waitUntilExportTaskSuccessful: (
9
15
  params: WaiterConfiguration<NeptuneGraphClient>,
10
16
  input: GetExportTaskCommandInput
11
- ) => Promise<WaiterResult>;
17
+ ) => Promise<WaiterResult<GetExportTaskCommandOutput>>;
@@ -1,11 +1,17 @@
1
1
  import { WaiterConfiguration, WaiterResult } from "@smithy/util-waiter";
2
- import { GetGraphCommandInput } from "../commands/GetGraphCommand";
2
+ import {
3
+ GetGraphCommandInput,
4
+ GetGraphCommandOutput,
5
+ } from "../commands/GetGraphCommand";
6
+ import { NeptuneGraphServiceException } from "../models/NeptuneGraphServiceException";
3
7
  import { NeptuneGraphClient } from "../NeptuneGraphClient";
4
8
  export declare const waitForGraphAvailable: (
5
9
  params: WaiterConfiguration<NeptuneGraphClient>,
6
10
  input: GetGraphCommandInput
7
- ) => Promise<WaiterResult>;
11
+ ) => Promise<
12
+ WaiterResult<GetGraphCommandOutput | NeptuneGraphServiceException>
13
+ >;
8
14
  export declare const waitUntilGraphAvailable: (
9
15
  params: WaiterConfiguration<NeptuneGraphClient>,
10
16
  input: GetGraphCommandInput
11
- ) => Promise<WaiterResult>;
17
+ ) => Promise<WaiterResult<GetGraphCommandOutput>>;
@@ -1,11 +1,18 @@
1
1
  import { WaiterConfiguration, WaiterResult } from "@smithy/util-waiter";
2
- import { GetGraphCommandInput } from "../commands/GetGraphCommand";
2
+ import {
3
+ GetGraphCommandInput,
4
+ GetGraphCommandOutput,
5
+ } from "../commands/GetGraphCommand";
6
+ import { ResourceNotFoundException } from "../models/errors";
7
+ import { NeptuneGraphServiceException } from "../models/NeptuneGraphServiceException";
3
8
  import { NeptuneGraphClient } from "../NeptuneGraphClient";
4
9
  export declare const waitForGraphDeleted: (
5
10
  params: WaiterConfiguration<NeptuneGraphClient>,
6
11
  input: GetGraphCommandInput
7
- ) => Promise<WaiterResult>;
12
+ ) => Promise<
13
+ WaiterResult<GetGraphCommandOutput | NeptuneGraphServiceException>
14
+ >;
8
15
  export declare const waitUntilGraphDeleted: (
9
16
  params: WaiterConfiguration<NeptuneGraphClient>,
10
17
  input: GetGraphCommandInput
11
- ) => Promise<WaiterResult>;
18
+ ) => Promise<WaiterResult<ResourceNotFoundException>>;
@@ -1,11 +1,17 @@
1
1
  import { WaiterConfiguration, WaiterResult } from "@smithy/util-waiter";
2
- import { GetGraphSnapshotCommandInput } from "../commands/GetGraphSnapshotCommand";
2
+ import {
3
+ GetGraphSnapshotCommandInput,
4
+ GetGraphSnapshotCommandOutput,
5
+ } from "../commands/GetGraphSnapshotCommand";
6
+ import { NeptuneGraphServiceException } from "../models/NeptuneGraphServiceException";
3
7
  import { NeptuneGraphClient } from "../NeptuneGraphClient";
4
8
  export declare const waitForGraphSnapshotAvailable: (
5
9
  params: WaiterConfiguration<NeptuneGraphClient>,
6
10
  input: GetGraphSnapshotCommandInput
7
- ) => Promise<WaiterResult>;
11
+ ) => Promise<
12
+ WaiterResult<GetGraphSnapshotCommandOutput | NeptuneGraphServiceException>
13
+ >;
8
14
  export declare const waitUntilGraphSnapshotAvailable: (
9
15
  params: WaiterConfiguration<NeptuneGraphClient>,
10
16
  input: GetGraphSnapshotCommandInput
11
- ) => Promise<WaiterResult>;
17
+ ) => Promise<WaiterResult<GetGraphSnapshotCommandOutput>>;
@@ -1,11 +1,18 @@
1
1
  import { WaiterConfiguration, WaiterResult } from "@smithy/util-waiter";
2
- import { GetGraphSnapshotCommandInput } from "../commands/GetGraphSnapshotCommand";
2
+ import {
3
+ GetGraphSnapshotCommandInput,
4
+ GetGraphSnapshotCommandOutput,
5
+ } from "../commands/GetGraphSnapshotCommand";
6
+ import { ResourceNotFoundException } from "../models/errors";
7
+ import { NeptuneGraphServiceException } from "../models/NeptuneGraphServiceException";
3
8
  import { NeptuneGraphClient } from "../NeptuneGraphClient";
4
9
  export declare const waitForGraphSnapshotDeleted: (
5
10
  params: WaiterConfiguration<NeptuneGraphClient>,
6
11
  input: GetGraphSnapshotCommandInput
7
- ) => Promise<WaiterResult>;
12
+ ) => Promise<
13
+ WaiterResult<GetGraphSnapshotCommandOutput | NeptuneGraphServiceException>
14
+ >;
8
15
  export declare const waitUntilGraphSnapshotDeleted: (
9
16
  params: WaiterConfiguration<NeptuneGraphClient>,
10
17
  input: GetGraphSnapshotCommandInput
11
- ) => Promise<WaiterResult>;
18
+ ) => Promise<WaiterResult<ResourceNotFoundException>>;
@@ -1,11 +1,17 @@
1
1
  import { WaiterConfiguration, WaiterResult } from "@smithy/util-waiter";
2
- import { GetGraphCommandInput } from "../commands/GetGraphCommand";
2
+ import {
3
+ GetGraphCommandInput,
4
+ GetGraphCommandOutput,
5
+ } from "../commands/GetGraphCommand";
6
+ import { NeptuneGraphServiceException } from "../models/NeptuneGraphServiceException";
3
7
  import { NeptuneGraphClient } from "../NeptuneGraphClient";
4
8
  export declare const waitForGraphStopped: (
5
9
  params: WaiterConfiguration<NeptuneGraphClient>,
6
10
  input: GetGraphCommandInput
7
- ) => Promise<WaiterResult>;
11
+ ) => Promise<
12
+ WaiterResult<GetGraphCommandOutput | NeptuneGraphServiceException>
13
+ >;
8
14
  export declare const waitUntilGraphStopped: (
9
15
  params: WaiterConfiguration<NeptuneGraphClient>,
10
16
  input: GetGraphCommandInput
11
- ) => Promise<WaiterResult>;
17
+ ) => Promise<WaiterResult<GetGraphCommandOutput>>;
@@ -1,11 +1,17 @@
1
1
  import { WaiterConfiguration, WaiterResult } from "@smithy/util-waiter";
2
- import { GetImportTaskCommandInput } from "../commands/GetImportTaskCommand";
2
+ import {
3
+ GetImportTaskCommandInput,
4
+ GetImportTaskCommandOutput,
5
+ } from "../commands/GetImportTaskCommand";
6
+ import { NeptuneGraphServiceException } from "../models/NeptuneGraphServiceException";
3
7
  import { NeptuneGraphClient } from "../NeptuneGraphClient";
4
8
  export declare const waitForImportTaskCancelled: (
5
9
  params: WaiterConfiguration<NeptuneGraphClient>,
6
10
  input: GetImportTaskCommandInput
7
- ) => Promise<WaiterResult>;
11
+ ) => Promise<
12
+ WaiterResult<GetImportTaskCommandOutput | NeptuneGraphServiceException>
13
+ >;
8
14
  export declare const waitUntilImportTaskCancelled: (
9
15
  params: WaiterConfiguration<NeptuneGraphClient>,
10
16
  input: GetImportTaskCommandInput
11
- ) => Promise<WaiterResult>;
17
+ ) => Promise<WaiterResult<GetImportTaskCommandOutput>>;
@@ -1,11 +1,17 @@
1
1
  import { WaiterConfiguration, WaiterResult } from "@smithy/util-waiter";
2
- import { GetImportTaskCommandInput } from "../commands/GetImportTaskCommand";
2
+ import {
3
+ GetImportTaskCommandInput,
4
+ GetImportTaskCommandOutput,
5
+ } from "../commands/GetImportTaskCommand";
6
+ import { NeptuneGraphServiceException } from "../models/NeptuneGraphServiceException";
3
7
  import { NeptuneGraphClient } from "../NeptuneGraphClient";
4
8
  export declare const waitForImportTaskSuccessful: (
5
9
  params: WaiterConfiguration<NeptuneGraphClient>,
6
10
  input: GetImportTaskCommandInput
7
- ) => Promise<WaiterResult>;
11
+ ) => Promise<
12
+ WaiterResult<GetImportTaskCommandOutput | NeptuneGraphServiceException>
13
+ >;
8
14
  export declare const waitUntilImportTaskSuccessful: (
9
15
  params: WaiterConfiguration<NeptuneGraphClient>,
10
16
  input: GetImportTaskCommandInput
11
- ) => Promise<WaiterResult>;
17
+ ) => Promise<WaiterResult<GetImportTaskCommandOutput>>;
@@ -1,11 +1,19 @@
1
1
  import { WaiterConfiguration, WaiterResult } from "@smithy/util-waiter";
2
- import { GetPrivateGraphEndpointCommandInput } from "../commands/GetPrivateGraphEndpointCommand";
2
+ import {
3
+ GetPrivateGraphEndpointCommandInput,
4
+ GetPrivateGraphEndpointCommandOutput,
5
+ } from "../commands/GetPrivateGraphEndpointCommand";
6
+ import { NeptuneGraphServiceException } from "../models/NeptuneGraphServiceException";
3
7
  import { NeptuneGraphClient } from "../NeptuneGraphClient";
4
8
  export declare const waitForPrivateGraphEndpointAvailable: (
5
9
  params: WaiterConfiguration<NeptuneGraphClient>,
6
10
  input: GetPrivateGraphEndpointCommandInput
7
- ) => Promise<WaiterResult>;
11
+ ) => Promise<
12
+ WaiterResult<
13
+ GetPrivateGraphEndpointCommandOutput | NeptuneGraphServiceException
14
+ >
15
+ >;
8
16
  export declare const waitUntilPrivateGraphEndpointAvailable: (
9
17
  params: WaiterConfiguration<NeptuneGraphClient>,
10
18
  input: GetPrivateGraphEndpointCommandInput
11
- ) => Promise<WaiterResult>;
19
+ ) => Promise<WaiterResult<GetPrivateGraphEndpointCommandOutput>>;
@@ -1,11 +1,20 @@
1
1
  import { WaiterConfiguration, WaiterResult } from "@smithy/util-waiter";
2
- import { GetPrivateGraphEndpointCommandInput } from "../commands/GetPrivateGraphEndpointCommand";
2
+ import {
3
+ GetPrivateGraphEndpointCommandInput,
4
+ GetPrivateGraphEndpointCommandOutput,
5
+ } from "../commands/GetPrivateGraphEndpointCommand";
6
+ import { ResourceNotFoundException } from "../models/errors";
7
+ import { NeptuneGraphServiceException } from "../models/NeptuneGraphServiceException";
3
8
  import { NeptuneGraphClient } from "../NeptuneGraphClient";
4
9
  export declare const waitForPrivateGraphEndpointDeleted: (
5
10
  params: WaiterConfiguration<NeptuneGraphClient>,
6
11
  input: GetPrivateGraphEndpointCommandInput
7
- ) => Promise<WaiterResult>;
12
+ ) => Promise<
13
+ WaiterResult<
14
+ GetPrivateGraphEndpointCommandOutput | NeptuneGraphServiceException
15
+ >
16
+ >;
8
17
  export declare const waitUntilPrivateGraphEndpointDeleted: (
9
18
  params: WaiterConfiguration<NeptuneGraphClient>,
10
19
  input: GetPrivateGraphEndpointCommandInput
11
- ) => Promise<WaiterResult>;
20
+ ) => Promise<WaiterResult<ResourceNotFoundException>>;
@@ -1,14 +1,15 @@
1
1
  import { type WaiterConfiguration, type WaiterResult } from "@smithy/util-waiter";
2
- import { type GetExportTaskCommandInput } from "../commands/GetExportTaskCommand";
2
+ import { type GetExportTaskCommandInput, type GetExportTaskCommandOutput } from "../commands/GetExportTaskCommand";
3
+ import type { NeptuneGraphServiceException } from "../models/NeptuneGraphServiceException";
3
4
  import type { NeptuneGraphClient } from "../NeptuneGraphClient";
4
5
  /**
5
6
  * Wait until Export Task is Cancelled
6
7
  * @deprecated Use waitUntilExportTaskCancelled instead. waitForExportTaskCancelled does not throw error in non-success cases.
7
8
  */
8
- export declare const waitForExportTaskCancelled: (params: WaiterConfiguration<NeptuneGraphClient>, input: GetExportTaskCommandInput) => Promise<WaiterResult>;
9
+ export declare const waitForExportTaskCancelled: (params: WaiterConfiguration<NeptuneGraphClient>, input: GetExportTaskCommandInput) => Promise<WaiterResult<GetExportTaskCommandOutput | NeptuneGraphServiceException>>;
9
10
  /**
10
11
  * Wait until Export Task is Cancelled
11
12
  * @param params - Waiter configuration options.
12
13
  * @param input - The input to GetExportTaskCommand for polling.
13
14
  */
14
- export declare const waitUntilExportTaskCancelled: (params: WaiterConfiguration<NeptuneGraphClient>, input: GetExportTaskCommandInput) => Promise<WaiterResult>;
15
+ export declare const waitUntilExportTaskCancelled: (params: WaiterConfiguration<NeptuneGraphClient>, input: GetExportTaskCommandInput) => Promise<WaiterResult<GetExportTaskCommandOutput>>;
@@ -1,14 +1,15 @@
1
1
  import { type WaiterConfiguration, type WaiterResult } from "@smithy/util-waiter";
2
- import { type GetExportTaskCommandInput } from "../commands/GetExportTaskCommand";
2
+ import { type GetExportTaskCommandInput, type GetExportTaskCommandOutput } from "../commands/GetExportTaskCommand";
3
+ import type { NeptuneGraphServiceException } from "../models/NeptuneGraphServiceException";
3
4
  import type { NeptuneGraphClient } from "../NeptuneGraphClient";
4
5
  /**
5
6
  * Wait until Export Task is Successful
6
7
  * @deprecated Use waitUntilExportTaskSuccessful instead. waitForExportTaskSuccessful does not throw error in non-success cases.
7
8
  */
8
- export declare const waitForExportTaskSuccessful: (params: WaiterConfiguration<NeptuneGraphClient>, input: GetExportTaskCommandInput) => Promise<WaiterResult>;
9
+ export declare const waitForExportTaskSuccessful: (params: WaiterConfiguration<NeptuneGraphClient>, input: GetExportTaskCommandInput) => Promise<WaiterResult<GetExportTaskCommandOutput | NeptuneGraphServiceException>>;
9
10
  /**
10
11
  * Wait until Export Task is Successful
11
12
  * @param params - Waiter configuration options.
12
13
  * @param input - The input to GetExportTaskCommand for polling.
13
14
  */
14
- export declare const waitUntilExportTaskSuccessful: (params: WaiterConfiguration<NeptuneGraphClient>, input: GetExportTaskCommandInput) => Promise<WaiterResult>;
15
+ export declare const waitUntilExportTaskSuccessful: (params: WaiterConfiguration<NeptuneGraphClient>, input: GetExportTaskCommandInput) => Promise<WaiterResult<GetExportTaskCommandOutput>>;
@@ -1,14 +1,15 @@
1
1
  import { type WaiterConfiguration, type WaiterResult } from "@smithy/util-waiter";
2
- import { type GetGraphCommandInput } from "../commands/GetGraphCommand";
2
+ import { type GetGraphCommandInput, type GetGraphCommandOutput } from "../commands/GetGraphCommand";
3
+ import type { NeptuneGraphServiceException } from "../models/NeptuneGraphServiceException";
3
4
  import type { NeptuneGraphClient } from "../NeptuneGraphClient";
4
5
  /**
5
6
  * Wait until Graph is Available
6
7
  * @deprecated Use waitUntilGraphAvailable instead. waitForGraphAvailable does not throw error in non-success cases.
7
8
  */
8
- export declare const waitForGraphAvailable: (params: WaiterConfiguration<NeptuneGraphClient>, input: GetGraphCommandInput) => Promise<WaiterResult>;
9
+ export declare const waitForGraphAvailable: (params: WaiterConfiguration<NeptuneGraphClient>, input: GetGraphCommandInput) => Promise<WaiterResult<GetGraphCommandOutput | NeptuneGraphServiceException>>;
9
10
  /**
10
11
  * Wait until Graph is Available
11
12
  * @param params - Waiter configuration options.
12
13
  * @param input - The input to GetGraphCommand for polling.
13
14
  */
14
- export declare const waitUntilGraphAvailable: (params: WaiterConfiguration<NeptuneGraphClient>, input: GetGraphCommandInput) => Promise<WaiterResult>;
15
+ export declare const waitUntilGraphAvailable: (params: WaiterConfiguration<NeptuneGraphClient>, input: GetGraphCommandInput) => Promise<WaiterResult<GetGraphCommandOutput>>;
@@ -1,14 +1,16 @@
1
1
  import { type WaiterConfiguration, type WaiterResult } from "@smithy/util-waiter";
2
- import { type GetGraphCommandInput } from "../commands/GetGraphCommand";
2
+ import { type GetGraphCommandInput, type GetGraphCommandOutput } from "../commands/GetGraphCommand";
3
+ import type { ResourceNotFoundException } from "../models/errors";
4
+ import type { NeptuneGraphServiceException } from "../models/NeptuneGraphServiceException";
3
5
  import type { NeptuneGraphClient } from "../NeptuneGraphClient";
4
6
  /**
5
7
  * Wait until Graph is Deleted
6
8
  * @deprecated Use waitUntilGraphDeleted instead. waitForGraphDeleted does not throw error in non-success cases.
7
9
  */
8
- export declare const waitForGraphDeleted: (params: WaiterConfiguration<NeptuneGraphClient>, input: GetGraphCommandInput) => Promise<WaiterResult>;
10
+ export declare const waitForGraphDeleted: (params: WaiterConfiguration<NeptuneGraphClient>, input: GetGraphCommandInput) => Promise<WaiterResult<GetGraphCommandOutput | NeptuneGraphServiceException>>;
9
11
  /**
10
12
  * Wait until Graph is Deleted
11
13
  * @param params - Waiter configuration options.
12
14
  * @param input - The input to GetGraphCommand for polling.
13
15
  */
14
- export declare const waitUntilGraphDeleted: (params: WaiterConfiguration<NeptuneGraphClient>, input: GetGraphCommandInput) => Promise<WaiterResult>;
16
+ export declare const waitUntilGraphDeleted: (params: WaiterConfiguration<NeptuneGraphClient>, input: GetGraphCommandInput) => Promise<WaiterResult<ResourceNotFoundException>>;
@@ -1,14 +1,15 @@
1
1
  import { type WaiterConfiguration, type WaiterResult } from "@smithy/util-waiter";
2
- import { type GetGraphSnapshotCommandInput } from "../commands/GetGraphSnapshotCommand";
2
+ import { type GetGraphSnapshotCommandInput, type GetGraphSnapshotCommandOutput } from "../commands/GetGraphSnapshotCommand";
3
+ import type { NeptuneGraphServiceException } from "../models/NeptuneGraphServiceException";
3
4
  import type { NeptuneGraphClient } from "../NeptuneGraphClient";
4
5
  /**
5
6
  * Wait until GraphSnapshot is Available
6
7
  * @deprecated Use waitUntilGraphSnapshotAvailable instead. waitForGraphSnapshotAvailable does not throw error in non-success cases.
7
8
  */
8
- export declare const waitForGraphSnapshotAvailable: (params: WaiterConfiguration<NeptuneGraphClient>, input: GetGraphSnapshotCommandInput) => Promise<WaiterResult>;
9
+ export declare const waitForGraphSnapshotAvailable: (params: WaiterConfiguration<NeptuneGraphClient>, input: GetGraphSnapshotCommandInput) => Promise<WaiterResult<GetGraphSnapshotCommandOutput | NeptuneGraphServiceException>>;
9
10
  /**
10
11
  * Wait until GraphSnapshot is Available
11
12
  * @param params - Waiter configuration options.
12
13
  * @param input - The input to GetGraphSnapshotCommand for polling.
13
14
  */
14
- export declare const waitUntilGraphSnapshotAvailable: (params: WaiterConfiguration<NeptuneGraphClient>, input: GetGraphSnapshotCommandInput) => Promise<WaiterResult>;
15
+ export declare const waitUntilGraphSnapshotAvailable: (params: WaiterConfiguration<NeptuneGraphClient>, input: GetGraphSnapshotCommandInput) => Promise<WaiterResult<GetGraphSnapshotCommandOutput>>;
@@ -1,14 +1,16 @@
1
1
  import { type WaiterConfiguration, type WaiterResult } from "@smithy/util-waiter";
2
- import { type GetGraphSnapshotCommandInput } from "../commands/GetGraphSnapshotCommand";
2
+ import { type GetGraphSnapshotCommandInput, type GetGraphSnapshotCommandOutput } from "../commands/GetGraphSnapshotCommand";
3
+ import type { ResourceNotFoundException } from "../models/errors";
4
+ import type { NeptuneGraphServiceException } from "../models/NeptuneGraphServiceException";
3
5
  import type { NeptuneGraphClient } from "../NeptuneGraphClient";
4
6
  /**
5
7
  * Wait until GraphSnapshot is Deleted
6
8
  * @deprecated Use waitUntilGraphSnapshotDeleted instead. waitForGraphSnapshotDeleted does not throw error in non-success cases.
7
9
  */
8
- export declare const waitForGraphSnapshotDeleted: (params: WaiterConfiguration<NeptuneGraphClient>, input: GetGraphSnapshotCommandInput) => Promise<WaiterResult>;
10
+ export declare const waitForGraphSnapshotDeleted: (params: WaiterConfiguration<NeptuneGraphClient>, input: GetGraphSnapshotCommandInput) => Promise<WaiterResult<GetGraphSnapshotCommandOutput | NeptuneGraphServiceException>>;
9
11
  /**
10
12
  * Wait until GraphSnapshot is Deleted
11
13
  * @param params - Waiter configuration options.
12
14
  * @param input - The input to GetGraphSnapshotCommand for polling.
13
15
  */
14
- export declare const waitUntilGraphSnapshotDeleted: (params: WaiterConfiguration<NeptuneGraphClient>, input: GetGraphSnapshotCommandInput) => Promise<WaiterResult>;
16
+ export declare const waitUntilGraphSnapshotDeleted: (params: WaiterConfiguration<NeptuneGraphClient>, input: GetGraphSnapshotCommandInput) => Promise<WaiterResult<ResourceNotFoundException>>;
@@ -1,14 +1,15 @@
1
1
  import { type WaiterConfiguration, type WaiterResult } from "@smithy/util-waiter";
2
- import { type GetGraphCommandInput } from "../commands/GetGraphCommand";
2
+ import { type GetGraphCommandInput, type GetGraphCommandOutput } from "../commands/GetGraphCommand";
3
+ import type { NeptuneGraphServiceException } from "../models/NeptuneGraphServiceException";
3
4
  import type { NeptuneGraphClient } from "../NeptuneGraphClient";
4
5
  /**
5
6
  * Wait until Graph is Stopped
6
7
  * @deprecated Use waitUntilGraphStopped instead. waitForGraphStopped does not throw error in non-success cases.
7
8
  */
8
- export declare const waitForGraphStopped: (params: WaiterConfiguration<NeptuneGraphClient>, input: GetGraphCommandInput) => Promise<WaiterResult>;
9
+ export declare const waitForGraphStopped: (params: WaiterConfiguration<NeptuneGraphClient>, input: GetGraphCommandInput) => Promise<WaiterResult<GetGraphCommandOutput | NeptuneGraphServiceException>>;
9
10
  /**
10
11
  * Wait until Graph is Stopped
11
12
  * @param params - Waiter configuration options.
12
13
  * @param input - The input to GetGraphCommand for polling.
13
14
  */
14
- export declare const waitUntilGraphStopped: (params: WaiterConfiguration<NeptuneGraphClient>, input: GetGraphCommandInput) => Promise<WaiterResult>;
15
+ export declare const waitUntilGraphStopped: (params: WaiterConfiguration<NeptuneGraphClient>, input: GetGraphCommandInput) => Promise<WaiterResult<GetGraphCommandOutput>>;
@@ -1,14 +1,15 @@
1
1
  import { type WaiterConfiguration, type WaiterResult } from "@smithy/util-waiter";
2
- import { type GetImportTaskCommandInput } from "../commands/GetImportTaskCommand";
2
+ import { type GetImportTaskCommandInput, type GetImportTaskCommandOutput } from "../commands/GetImportTaskCommand";
3
+ import type { NeptuneGraphServiceException } from "../models/NeptuneGraphServiceException";
3
4
  import type { NeptuneGraphClient } from "../NeptuneGraphClient";
4
5
  /**
5
6
  * Wait until Import Task is Cancelled
6
7
  * @deprecated Use waitUntilImportTaskCancelled instead. waitForImportTaskCancelled does not throw error in non-success cases.
7
8
  */
8
- export declare const waitForImportTaskCancelled: (params: WaiterConfiguration<NeptuneGraphClient>, input: GetImportTaskCommandInput) => Promise<WaiterResult>;
9
+ export declare const waitForImportTaskCancelled: (params: WaiterConfiguration<NeptuneGraphClient>, input: GetImportTaskCommandInput) => Promise<WaiterResult<GetImportTaskCommandOutput | NeptuneGraphServiceException>>;
9
10
  /**
10
11
  * Wait until Import Task is Cancelled
11
12
  * @param params - Waiter configuration options.
12
13
  * @param input - The input to GetImportTaskCommand for polling.
13
14
  */
14
- export declare const waitUntilImportTaskCancelled: (params: WaiterConfiguration<NeptuneGraphClient>, input: GetImportTaskCommandInput) => Promise<WaiterResult>;
15
+ export declare const waitUntilImportTaskCancelled: (params: WaiterConfiguration<NeptuneGraphClient>, input: GetImportTaskCommandInput) => Promise<WaiterResult<GetImportTaskCommandOutput>>;
@@ -1,14 +1,15 @@
1
1
  import { type WaiterConfiguration, type WaiterResult } from "@smithy/util-waiter";
2
- import { type GetImportTaskCommandInput } from "../commands/GetImportTaskCommand";
2
+ import { type GetImportTaskCommandInput, type GetImportTaskCommandOutput } from "../commands/GetImportTaskCommand";
3
+ import type { NeptuneGraphServiceException } from "../models/NeptuneGraphServiceException";
3
4
  import type { NeptuneGraphClient } from "../NeptuneGraphClient";
4
5
  /**
5
6
  * Wait until Import Task is Successful
6
7
  * @deprecated Use waitUntilImportTaskSuccessful instead. waitForImportTaskSuccessful does not throw error in non-success cases.
7
8
  */
8
- export declare const waitForImportTaskSuccessful: (params: WaiterConfiguration<NeptuneGraphClient>, input: GetImportTaskCommandInput) => Promise<WaiterResult>;
9
+ export declare const waitForImportTaskSuccessful: (params: WaiterConfiguration<NeptuneGraphClient>, input: GetImportTaskCommandInput) => Promise<WaiterResult<GetImportTaskCommandOutput | NeptuneGraphServiceException>>;
9
10
  /**
10
11
  * Wait until Import Task is Successful
11
12
  * @param params - Waiter configuration options.
12
13
  * @param input - The input to GetImportTaskCommand for polling.
13
14
  */
14
- export declare const waitUntilImportTaskSuccessful: (params: WaiterConfiguration<NeptuneGraphClient>, input: GetImportTaskCommandInput) => Promise<WaiterResult>;
15
+ export declare const waitUntilImportTaskSuccessful: (params: WaiterConfiguration<NeptuneGraphClient>, input: GetImportTaskCommandInput) => Promise<WaiterResult<GetImportTaskCommandOutput>>;
@@ -1,14 +1,15 @@
1
1
  import { type WaiterConfiguration, type WaiterResult } from "@smithy/util-waiter";
2
- import { type GetPrivateGraphEndpointCommandInput } from "../commands/GetPrivateGraphEndpointCommand";
2
+ import { type GetPrivateGraphEndpointCommandInput, type GetPrivateGraphEndpointCommandOutput } from "../commands/GetPrivateGraphEndpointCommand";
3
+ import type { NeptuneGraphServiceException } from "../models/NeptuneGraphServiceException";
3
4
  import type { NeptuneGraphClient } from "../NeptuneGraphClient";
4
5
  /**
5
6
  * Wait until PrivateGraphEndpoint is Available
6
7
  * @deprecated Use waitUntilPrivateGraphEndpointAvailable instead. waitForPrivateGraphEndpointAvailable does not throw error in non-success cases.
7
8
  */
8
- export declare const waitForPrivateGraphEndpointAvailable: (params: WaiterConfiguration<NeptuneGraphClient>, input: GetPrivateGraphEndpointCommandInput) => Promise<WaiterResult>;
9
+ export declare const waitForPrivateGraphEndpointAvailable: (params: WaiterConfiguration<NeptuneGraphClient>, input: GetPrivateGraphEndpointCommandInput) => Promise<WaiterResult<GetPrivateGraphEndpointCommandOutput | NeptuneGraphServiceException>>;
9
10
  /**
10
11
  * Wait until PrivateGraphEndpoint is Available
11
12
  * @param params - Waiter configuration options.
12
13
  * @param input - The input to GetPrivateGraphEndpointCommand for polling.
13
14
  */
14
- export declare const waitUntilPrivateGraphEndpointAvailable: (params: WaiterConfiguration<NeptuneGraphClient>, input: GetPrivateGraphEndpointCommandInput) => Promise<WaiterResult>;
15
+ export declare const waitUntilPrivateGraphEndpointAvailable: (params: WaiterConfiguration<NeptuneGraphClient>, input: GetPrivateGraphEndpointCommandInput) => Promise<WaiterResult<GetPrivateGraphEndpointCommandOutput>>;
@@ -1,14 +1,16 @@
1
1
  import { type WaiterConfiguration, type WaiterResult } from "@smithy/util-waiter";
2
- import { type GetPrivateGraphEndpointCommandInput } from "../commands/GetPrivateGraphEndpointCommand";
2
+ import { type GetPrivateGraphEndpointCommandInput, type GetPrivateGraphEndpointCommandOutput } from "../commands/GetPrivateGraphEndpointCommand";
3
+ import type { ResourceNotFoundException } from "../models/errors";
4
+ import type { NeptuneGraphServiceException } from "../models/NeptuneGraphServiceException";
3
5
  import type { NeptuneGraphClient } from "../NeptuneGraphClient";
4
6
  /**
5
7
  * Wait until PrivateGraphEndpoint is Deleted
6
8
  * @deprecated Use waitUntilPrivateGraphEndpointDeleted instead. waitForPrivateGraphEndpointDeleted does not throw error in non-success cases.
7
9
  */
8
- export declare const waitForPrivateGraphEndpointDeleted: (params: WaiterConfiguration<NeptuneGraphClient>, input: GetPrivateGraphEndpointCommandInput) => Promise<WaiterResult>;
10
+ export declare const waitForPrivateGraphEndpointDeleted: (params: WaiterConfiguration<NeptuneGraphClient>, input: GetPrivateGraphEndpointCommandInput) => Promise<WaiterResult<GetPrivateGraphEndpointCommandOutput | NeptuneGraphServiceException>>;
9
11
  /**
10
12
  * Wait until PrivateGraphEndpoint is Deleted
11
13
  * @param params - Waiter configuration options.
12
14
  * @param input - The input to GetPrivateGraphEndpointCommand for polling.
13
15
  */
14
- export declare const waitUntilPrivateGraphEndpointDeleted: (params: WaiterConfiguration<NeptuneGraphClient>, input: GetPrivateGraphEndpointCommandInput) => Promise<WaiterResult>;
16
+ export declare const waitUntilPrivateGraphEndpointDeleted: (params: WaiterConfiguration<NeptuneGraphClient>, input: GetPrivateGraphEndpointCommandInput) => Promise<WaiterResult<ResourceNotFoundException>>;
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.1037.0",
4
+ "version": "3.1038.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-neptune-graph",
@@ -21,17 +21,17 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "5.2.0",
23
23
  "@aws-crypto/sha256-js": "5.2.0",
24
- "@aws-sdk/core": "^3.974.5",
25
- "@aws-sdk/credential-provider-node": "^3.972.36",
24
+ "@aws-sdk/core": "^3.974.6",
25
+ "@aws-sdk/credential-provider-node": "^3.972.37",
26
26
  "@aws-sdk/middleware-host-header": "^3.972.10",
27
27
  "@aws-sdk/middleware-logger": "^3.972.10",
28
28
  "@aws-sdk/middleware-recursion-detection": "^3.972.11",
29
- "@aws-sdk/middleware-user-agent": "^3.972.35",
29
+ "@aws-sdk/middleware-user-agent": "^3.972.36",
30
30
  "@aws-sdk/region-config-resolver": "^3.972.13",
31
31
  "@aws-sdk/types": "^3.973.8",
32
32
  "@aws-sdk/util-endpoints": "^3.996.8",
33
33
  "@aws-sdk/util-user-agent-browser": "^3.972.10",
34
- "@aws-sdk/util-user-agent-node": "^3.973.21",
34
+ "@aws-sdk/util-user-agent-node": "^3.973.22",
35
35
  "@smithy/config-resolver": "^4.4.17",
36
36
  "@smithy/core": "^3.23.17",
37
37
  "@smithy/fetch-http-handler": "^5.3.17",
@@ -39,7 +39,7 @@
39
39
  "@smithy/invalid-dependency": "^4.2.14",
40
40
  "@smithy/middleware-content-length": "^4.2.14",
41
41
  "@smithy/middleware-endpoint": "^4.4.32",
42
- "@smithy/middleware-retry": "^4.5.5",
42
+ "@smithy/middleware-retry": "^4.5.6",
43
43
  "@smithy/middleware-serde": "^4.2.20",
44
44
  "@smithy/middleware-stack": "^4.2.14",
45
45
  "@smithy/node-config-provider": "^4.3.14",
@@ -55,10 +55,10 @@
55
55
  "@smithy/util-defaults-mode-node": "^4.2.54",
56
56
  "@smithy/util-endpoints": "^3.4.2",
57
57
  "@smithy/util-middleware": "^4.2.14",
58
- "@smithy/util-retry": "^4.3.4",
58
+ "@smithy/util-retry": "^4.3.5",
59
59
  "@smithy/util-stream": "^4.5.25",
60
60
  "@smithy/util-utf8": "^4.2.2",
61
- "@smithy/util-waiter": "^4.2.16",
61
+ "@smithy/util-waiter": "^4.3.0",
62
62
  "tslib": "^2.6.2"
63
63
  },
64
64
  "devDependencies": {