@aws-sdk/client-neptune-graph 3.693.0 → 3.699.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 (49) hide show
  1. package/README.md +32 -0
  2. package/dist-cjs/index.js +399 -26
  3. package/dist-es/NeptuneGraph.js +8 -0
  4. package/dist-es/commands/CancelExportTaskCommand.js +25 -0
  5. package/dist-es/commands/GetExportTaskCommand.js +25 -0
  6. package/dist-es/commands/ListExportTasksCommand.js +25 -0
  7. package/dist-es/commands/StartExportTaskCommand.js +25 -0
  8. package/dist-es/commands/index.js +4 -0
  9. package/dist-es/models/models_0.js +22 -0
  10. package/dist-es/pagination/ListExportTasksPaginator.js +4 -0
  11. package/dist-es/pagination/index.js +1 -0
  12. package/dist-es/protocols/Aws_restJson1.js +149 -0
  13. package/dist-es/waiters/index.js +2 -0
  14. package/dist-es/waiters/waitForExportTaskCancelled.js +40 -0
  15. package/dist-es/waiters/waitForExportTaskSuccessful.js +58 -0
  16. package/dist-types/NeptuneGraph.d.ts +29 -0
  17. package/dist-types/NeptuneGraphClient.d.ts +6 -2
  18. package/dist-types/commands/CancelExportTaskCommand.d.ts +94 -0
  19. package/dist-types/commands/CancelImportTaskCommand.d.ts +3 -2
  20. package/dist-types/commands/CreateGraphUsingImportTaskCommand.d.ts +5 -3
  21. package/dist-types/commands/GetExportTaskCommand.d.ts +122 -0
  22. package/dist-types/commands/GetImportTaskCommand.d.ts +3 -2
  23. package/dist-types/commands/ListExportTasksCommand.d.ts +97 -0
  24. package/dist-types/commands/ListImportTasksCommand.d.ts +3 -2
  25. package/dist-types/commands/StartExportTaskCommand.d.ts +150 -0
  26. package/dist-types/commands/StartImportTaskCommand.d.ts +5 -3
  27. package/dist-types/commands/index.d.ts +4 -0
  28. package/dist-types/models/models_0.d.ts +493 -1
  29. package/dist-types/pagination/ListExportTasksPaginator.d.ts +7 -0
  30. package/dist-types/pagination/index.d.ts +1 -0
  31. package/dist-types/protocols/Aws_restJson1.d.ts +36 -0
  32. package/dist-types/ts3.4/NeptuneGraph.d.ts +69 -0
  33. package/dist-types/ts3.4/NeptuneGraphClient.d.ts +24 -0
  34. package/dist-types/ts3.4/commands/CancelExportTaskCommand.d.ts +50 -0
  35. package/dist-types/ts3.4/commands/GetExportTaskCommand.d.ts +47 -0
  36. package/dist-types/ts3.4/commands/ListExportTasksCommand.d.ts +50 -0
  37. package/dist-types/ts3.4/commands/StartExportTaskCommand.d.ts +50 -0
  38. package/dist-types/ts3.4/commands/index.d.ts +4 -0
  39. package/dist-types/ts3.4/models/models_0.d.ts +125 -0
  40. package/dist-types/ts3.4/pagination/ListExportTasksPaginator.d.ts +11 -0
  41. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  42. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +48 -0
  43. package/dist-types/ts3.4/waiters/index.d.ts +2 -0
  44. package/dist-types/ts3.4/waiters/waitForExportTaskCancelled.d.ts +11 -0
  45. package/dist-types/ts3.4/waiters/waitForExportTaskSuccessful.d.ts +11 -0
  46. package/dist-types/waiters/index.d.ts +2 -0
  47. package/dist-types/waiters/waitForExportTaskCancelled.d.ts +14 -0
  48. package/dist-types/waiters/waitForExportTaskSuccessful.d.ts +14 -0
  49. package/package.json +37 -37
@@ -1,4 +1,5 @@
1
1
  import { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
2
+ import { CancelExportTaskCommandInput, CancelExportTaskCommandOutput } from "./commands/CancelExportTaskCommand";
2
3
  import { CancelImportTaskCommandInput, CancelImportTaskCommandOutput } from "./commands/CancelImportTaskCommand";
3
4
  import { CancelQueryCommandInput, CancelQueryCommandOutput } from "./commands/CancelQueryCommand";
4
5
  import { CreateGraphCommandInput, CreateGraphCommandOutput } from "./commands/CreateGraphCommand";
@@ -9,12 +10,14 @@ import { DeleteGraphCommandInput, DeleteGraphCommandOutput } from "./commands/De
9
10
  import { DeleteGraphSnapshotCommandInput, DeleteGraphSnapshotCommandOutput } from "./commands/DeleteGraphSnapshotCommand";
10
11
  import { DeletePrivateGraphEndpointCommandInput, DeletePrivateGraphEndpointCommandOutput } from "./commands/DeletePrivateGraphEndpointCommand";
11
12
  import { ExecuteQueryCommandInput, ExecuteQueryCommandOutput } from "./commands/ExecuteQueryCommand";
13
+ import { GetExportTaskCommandInput, GetExportTaskCommandOutput } from "./commands/GetExportTaskCommand";
12
14
  import { GetGraphCommandInput, GetGraphCommandOutput } from "./commands/GetGraphCommand";
13
15
  import { GetGraphSnapshotCommandInput, GetGraphSnapshotCommandOutput } from "./commands/GetGraphSnapshotCommand";
14
16
  import { GetGraphSummaryCommandInput, GetGraphSummaryCommandOutput } from "./commands/GetGraphSummaryCommand";
15
17
  import { GetImportTaskCommandInput, GetImportTaskCommandOutput } from "./commands/GetImportTaskCommand";
16
18
  import { GetPrivateGraphEndpointCommandInput, GetPrivateGraphEndpointCommandOutput } from "./commands/GetPrivateGraphEndpointCommand";
17
19
  import { GetQueryCommandInput, GetQueryCommandOutput } from "./commands/GetQueryCommand";
20
+ import { ListExportTasksCommandInput, ListExportTasksCommandOutput } from "./commands/ListExportTasksCommand";
18
21
  import { ListGraphsCommandInput, ListGraphsCommandOutput } from "./commands/ListGraphsCommand";
19
22
  import { ListGraphSnapshotsCommandInput, ListGraphSnapshotsCommandOutput } from "./commands/ListGraphSnapshotsCommand";
20
23
  import { ListImportTasksCommandInput, ListImportTasksCommandOutput } from "./commands/ListImportTasksCommand";
@@ -23,12 +26,19 @@ import { ListQueriesCommandInput, ListQueriesCommandOutput } from "./commands/Li
23
26
  import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
24
27
  import { ResetGraphCommandInput, ResetGraphCommandOutput } from "./commands/ResetGraphCommand";
25
28
  import { RestoreGraphFromSnapshotCommandInput, RestoreGraphFromSnapshotCommandOutput } from "./commands/RestoreGraphFromSnapshotCommand";
29
+ import { StartExportTaskCommandInput, StartExportTaskCommandOutput } from "./commands/StartExportTaskCommand";
26
30
  import { StartImportTaskCommandInput, StartImportTaskCommandOutput } from "./commands/StartImportTaskCommand";
27
31
  import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
28
32
  import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
29
33
  import { UpdateGraphCommandInput, UpdateGraphCommandOutput } from "./commands/UpdateGraphCommand";
30
34
  import { NeptuneGraphClient } from "./NeptuneGraphClient";
31
35
  export interface NeptuneGraph {
36
+ /**
37
+ * @see {@link CancelExportTaskCommand}
38
+ */
39
+ cancelExportTask(args: CancelExportTaskCommandInput, options?: __HttpHandlerOptions): Promise<CancelExportTaskCommandOutput>;
40
+ cancelExportTask(args: CancelExportTaskCommandInput, cb: (err: any, data?: CancelExportTaskCommandOutput) => void): void;
41
+ cancelExportTask(args: CancelExportTaskCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CancelExportTaskCommandOutput) => void): void;
32
42
  /**
33
43
  * @see {@link CancelImportTaskCommand}
34
44
  */
@@ -89,6 +99,12 @@ export interface NeptuneGraph {
89
99
  executeQuery(args: ExecuteQueryCommandInput, options?: __HttpHandlerOptions): Promise<ExecuteQueryCommandOutput>;
90
100
  executeQuery(args: ExecuteQueryCommandInput, cb: (err: any, data?: ExecuteQueryCommandOutput) => void): void;
91
101
  executeQuery(args: ExecuteQueryCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ExecuteQueryCommandOutput) => void): void;
102
+ /**
103
+ * @see {@link GetExportTaskCommand}
104
+ */
105
+ getExportTask(args: GetExportTaskCommandInput, options?: __HttpHandlerOptions): Promise<GetExportTaskCommandOutput>;
106
+ getExportTask(args: GetExportTaskCommandInput, cb: (err: any, data?: GetExportTaskCommandOutput) => void): void;
107
+ getExportTask(args: GetExportTaskCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetExportTaskCommandOutput) => void): void;
92
108
  /**
93
109
  * @see {@link GetGraphCommand}
94
110
  */
@@ -125,6 +141,13 @@ export interface NeptuneGraph {
125
141
  getQuery(args: GetQueryCommandInput, options?: __HttpHandlerOptions): Promise<GetQueryCommandOutput>;
126
142
  getQuery(args: GetQueryCommandInput, cb: (err: any, data?: GetQueryCommandOutput) => void): void;
127
143
  getQuery(args: GetQueryCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetQueryCommandOutput) => void): void;
144
+ /**
145
+ * @see {@link ListExportTasksCommand}
146
+ */
147
+ listExportTasks(): Promise<ListExportTasksCommandOutput>;
148
+ listExportTasks(args: ListExportTasksCommandInput, options?: __HttpHandlerOptions): Promise<ListExportTasksCommandOutput>;
149
+ listExportTasks(args: ListExportTasksCommandInput, cb: (err: any, data?: ListExportTasksCommandOutput) => void): void;
150
+ listExportTasks(args: ListExportTasksCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListExportTasksCommandOutput) => void): void;
128
151
  /**
129
152
  * @see {@link ListGraphsCommand}
130
153
  */
@@ -176,6 +199,12 @@ export interface NeptuneGraph {
176
199
  restoreGraphFromSnapshot(args: RestoreGraphFromSnapshotCommandInput, options?: __HttpHandlerOptions): Promise<RestoreGraphFromSnapshotCommandOutput>;
177
200
  restoreGraphFromSnapshot(args: RestoreGraphFromSnapshotCommandInput, cb: (err: any, data?: RestoreGraphFromSnapshotCommandOutput) => void): void;
178
201
  restoreGraphFromSnapshot(args: RestoreGraphFromSnapshotCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: RestoreGraphFromSnapshotCommandOutput) => void): void;
202
+ /**
203
+ * @see {@link StartExportTaskCommand}
204
+ */
205
+ startExportTask(args: StartExportTaskCommandInput, options?: __HttpHandlerOptions): Promise<StartExportTaskCommandOutput>;
206
+ startExportTask(args: StartExportTaskCommandInput, cb: (err: any, data?: StartExportTaskCommandOutput) => void): void;
207
+ startExportTask(args: StartExportTaskCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StartExportTaskCommandOutput) => void): void;
179
208
  /**
180
209
  * @see {@link StartImportTaskCommand}
181
210
  */
@@ -7,6 +7,7 @@ import { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/protocol
7
7
  import { Client as __Client, DefaultsMode as __DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@smithy/smithy-client";
8
8
  import { AwsCredentialIdentityProvider, BodyLengthCalculator as __BodyLengthCalculator, CheckOptionalClientConfig as __CheckOptionalClientConfig, ChecksumConstructor as __ChecksumConstructor, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, SdkStreamMixinInjector as __SdkStreamMixinInjector, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@smithy/types";
9
9
  import { HttpAuthSchemeInputConfig, HttpAuthSchemeResolvedConfig } from "./auth/httpAuthSchemeProvider";
10
+ import { CancelExportTaskCommandInput, CancelExportTaskCommandOutput } from "./commands/CancelExportTaskCommand";
10
11
  import { CancelImportTaskCommandInput, CancelImportTaskCommandOutput } from "./commands/CancelImportTaskCommand";
11
12
  import { CancelQueryCommandInput, CancelQueryCommandOutput } from "./commands/CancelQueryCommand";
12
13
  import { CreateGraphCommandInput, CreateGraphCommandOutput } from "./commands/CreateGraphCommand";
@@ -17,12 +18,14 @@ import { DeleteGraphCommandInput, DeleteGraphCommandOutput } from "./commands/De
17
18
  import { DeleteGraphSnapshotCommandInput, DeleteGraphSnapshotCommandOutput } from "./commands/DeleteGraphSnapshotCommand";
18
19
  import { DeletePrivateGraphEndpointCommandInput, DeletePrivateGraphEndpointCommandOutput } from "./commands/DeletePrivateGraphEndpointCommand";
19
20
  import { ExecuteQueryCommandInput, ExecuteQueryCommandOutput } from "./commands/ExecuteQueryCommand";
21
+ import { GetExportTaskCommandInput, GetExportTaskCommandOutput } from "./commands/GetExportTaskCommand";
20
22
  import { GetGraphCommandInput, GetGraphCommandOutput } from "./commands/GetGraphCommand";
21
23
  import { GetGraphSnapshotCommandInput, GetGraphSnapshotCommandOutput } from "./commands/GetGraphSnapshotCommand";
22
24
  import { GetGraphSummaryCommandInput, GetGraphSummaryCommandOutput } from "./commands/GetGraphSummaryCommand";
23
25
  import { GetImportTaskCommandInput, GetImportTaskCommandOutput } from "./commands/GetImportTaskCommand";
24
26
  import { GetPrivateGraphEndpointCommandInput, GetPrivateGraphEndpointCommandOutput } from "./commands/GetPrivateGraphEndpointCommand";
25
27
  import { GetQueryCommandInput, GetQueryCommandOutput } from "./commands/GetQueryCommand";
28
+ import { ListExportTasksCommandInput, ListExportTasksCommandOutput } from "./commands/ListExportTasksCommand";
26
29
  import { ListGraphsCommandInput, ListGraphsCommandOutput } from "./commands/ListGraphsCommand";
27
30
  import { ListGraphSnapshotsCommandInput, ListGraphSnapshotsCommandOutput } from "./commands/ListGraphSnapshotsCommand";
28
31
  import { ListImportTasksCommandInput, ListImportTasksCommandOutput } from "./commands/ListImportTasksCommand";
@@ -31,6 +34,7 @@ import { ListQueriesCommandInput, ListQueriesCommandOutput } from "./commands/Li
31
34
  import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
32
35
  import { ResetGraphCommandInput, ResetGraphCommandOutput } from "./commands/ResetGraphCommand";
33
36
  import { RestoreGraphFromSnapshotCommandInput, RestoreGraphFromSnapshotCommandOutput } from "./commands/RestoreGraphFromSnapshotCommand";
37
+ import { StartExportTaskCommandInput, StartExportTaskCommandOutput } from "./commands/StartExportTaskCommand";
34
38
  import { StartImportTaskCommandInput, StartImportTaskCommandOutput } from "./commands/StartImportTaskCommand";
35
39
  import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
36
40
  import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
@@ -41,11 +45,11 @@ export { __Client };
41
45
  /**
42
46
  * @public
43
47
  */
44
- export type ServiceInputTypes = CancelImportTaskCommandInput | CancelQueryCommandInput | CreateGraphCommandInput | CreateGraphSnapshotCommandInput | CreateGraphUsingImportTaskCommandInput | CreatePrivateGraphEndpointCommandInput | DeleteGraphCommandInput | DeleteGraphSnapshotCommandInput | DeletePrivateGraphEndpointCommandInput | ExecuteQueryCommandInput | GetGraphCommandInput | GetGraphSnapshotCommandInput | GetGraphSummaryCommandInput | GetImportTaskCommandInput | GetPrivateGraphEndpointCommandInput | GetQueryCommandInput | ListGraphSnapshotsCommandInput | ListGraphsCommandInput | ListImportTasksCommandInput | ListPrivateGraphEndpointsCommandInput | ListQueriesCommandInput | ListTagsForResourceCommandInput | ResetGraphCommandInput | RestoreGraphFromSnapshotCommandInput | StartImportTaskCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateGraphCommandInput;
48
+ export type ServiceInputTypes = CancelExportTaskCommandInput | CancelImportTaskCommandInput | CancelQueryCommandInput | CreateGraphCommandInput | CreateGraphSnapshotCommandInput | CreateGraphUsingImportTaskCommandInput | CreatePrivateGraphEndpointCommandInput | DeleteGraphCommandInput | DeleteGraphSnapshotCommandInput | DeletePrivateGraphEndpointCommandInput | ExecuteQueryCommandInput | GetExportTaskCommandInput | GetGraphCommandInput | GetGraphSnapshotCommandInput | GetGraphSummaryCommandInput | GetImportTaskCommandInput | GetPrivateGraphEndpointCommandInput | GetQueryCommandInput | ListExportTasksCommandInput | ListGraphSnapshotsCommandInput | ListGraphsCommandInput | ListImportTasksCommandInput | ListPrivateGraphEndpointsCommandInput | ListQueriesCommandInput | ListTagsForResourceCommandInput | ResetGraphCommandInput | RestoreGraphFromSnapshotCommandInput | StartExportTaskCommandInput | StartImportTaskCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateGraphCommandInput;
45
49
  /**
46
50
  * @public
47
51
  */
48
- export type ServiceOutputTypes = CancelImportTaskCommandOutput | CancelQueryCommandOutput | CreateGraphCommandOutput | CreateGraphSnapshotCommandOutput | CreateGraphUsingImportTaskCommandOutput | CreatePrivateGraphEndpointCommandOutput | DeleteGraphCommandOutput | DeleteGraphSnapshotCommandOutput | DeletePrivateGraphEndpointCommandOutput | ExecuteQueryCommandOutput | GetGraphCommandOutput | GetGraphSnapshotCommandOutput | GetGraphSummaryCommandOutput | GetImportTaskCommandOutput | GetPrivateGraphEndpointCommandOutput | GetQueryCommandOutput | ListGraphSnapshotsCommandOutput | ListGraphsCommandOutput | ListImportTasksCommandOutput | ListPrivateGraphEndpointsCommandOutput | ListQueriesCommandOutput | ListTagsForResourceCommandOutput | ResetGraphCommandOutput | RestoreGraphFromSnapshotCommandOutput | StartImportTaskCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateGraphCommandOutput;
52
+ export type ServiceOutputTypes = CancelExportTaskCommandOutput | CancelImportTaskCommandOutput | CancelQueryCommandOutput | CreateGraphCommandOutput | CreateGraphSnapshotCommandOutput | CreateGraphUsingImportTaskCommandOutput | CreatePrivateGraphEndpointCommandOutput | DeleteGraphCommandOutput | DeleteGraphSnapshotCommandOutput | DeletePrivateGraphEndpointCommandOutput | ExecuteQueryCommandOutput | GetExportTaskCommandOutput | GetGraphCommandOutput | GetGraphSnapshotCommandOutput | GetGraphSummaryCommandOutput | GetImportTaskCommandOutput | GetPrivateGraphEndpointCommandOutput | GetQueryCommandOutput | ListExportTasksCommandOutput | ListGraphSnapshotsCommandOutput | ListGraphsCommandOutput | ListImportTasksCommandOutput | ListPrivateGraphEndpointsCommandOutput | ListQueriesCommandOutput | ListTagsForResourceCommandOutput | ResetGraphCommandOutput | RestoreGraphFromSnapshotCommandOutput | StartExportTaskCommandOutput | StartImportTaskCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateGraphCommandOutput;
49
53
  /**
50
54
  * @public
51
55
  */
@@ -0,0 +1,94 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { CancelExportTaskInput, CancelExportTaskOutput } from "../models/models_0";
4
+ import { NeptuneGraphClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../NeptuneGraphClient";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link CancelExportTaskCommand}.
14
+ */
15
+ export interface CancelExportTaskCommandInput extends CancelExportTaskInput {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link CancelExportTaskCommand}.
21
+ */
22
+ export interface CancelExportTaskCommandOutput extends CancelExportTaskOutput, __MetadataBearer {
23
+ }
24
+ declare const CancelExportTaskCommand_base: {
25
+ new (input: CancelExportTaskCommandInput): import("@smithy/smithy-client").CommandImpl<CancelExportTaskCommandInput, CancelExportTaskCommandOutput, NeptuneGraphClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: CancelExportTaskCommandInput): import("@smithy/smithy-client").CommandImpl<CancelExportTaskCommandInput, CancelExportTaskCommandOutput, NeptuneGraphClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Cancel the specified export task.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { NeptuneGraphClient, CancelExportTaskCommand } from "@aws-sdk/client-neptune-graph"; // ES Modules import
35
+ * // const { NeptuneGraphClient, CancelExportTaskCommand } = require("@aws-sdk/client-neptune-graph"); // CommonJS import
36
+ * const client = new NeptuneGraphClient(config);
37
+ * const input = { // CancelExportTaskInput
38
+ * taskIdentifier: "STRING_VALUE", // required
39
+ * };
40
+ * const command = new CancelExportTaskCommand(input);
41
+ * const response = await client.send(command);
42
+ * // { // CancelExportTaskOutput
43
+ * // graphId: "STRING_VALUE", // required
44
+ * // roleArn: "STRING_VALUE", // required
45
+ * // taskId: "STRING_VALUE", // required
46
+ * // status: "INITIALIZING" || "EXPORTING" || "SUCCEEDED" || "FAILED" || "CANCELLING" || "CANCELLED" || "DELETED", // required
47
+ * // format: "PARQUET" || "CSV", // required
48
+ * // destination: "STRING_VALUE", // required
49
+ * // kmsKeyIdentifier: "STRING_VALUE", // required
50
+ * // parquetType: "COLUMNAR",
51
+ * // statusReason: "STRING_VALUE",
52
+ * // };
53
+ *
54
+ * ```
55
+ *
56
+ * @param CancelExportTaskCommandInput - {@link CancelExportTaskCommandInput}
57
+ * @returns {@link CancelExportTaskCommandOutput}
58
+ * @see {@link CancelExportTaskCommandInput} for command's `input` shape.
59
+ * @see {@link CancelExportTaskCommandOutput} for command's `response` shape.
60
+ * @see {@link NeptuneGraphClientResolvedConfig | config} for NeptuneGraphClient's `config` shape.
61
+ *
62
+ * @throws {@link ConflictException} (client fault)
63
+ * <p>Raised when a conflict is encountered.</p>
64
+ *
65
+ * @throws {@link InternalServerException} (server fault)
66
+ * <p>A failure occurred on the server.</p>
67
+ *
68
+ * @throws {@link ResourceNotFoundException} (client fault)
69
+ * <p>A specified resource could not be located.</p>
70
+ *
71
+ * @throws {@link ThrottlingException} (client fault)
72
+ * <p>The exception was interrupted by throttling.</p>
73
+ *
74
+ * @throws {@link ValidationException} (client fault)
75
+ * <p>A resource could not be validated.</p>
76
+ *
77
+ * @throws {@link NeptuneGraphServiceException}
78
+ * <p>Base exception class for all service exceptions from NeptuneGraph service.</p>
79
+ *
80
+ * @public
81
+ */
82
+ export declare class CancelExportTaskCommand extends CancelExportTaskCommand_base {
83
+ /** @internal type navigation helper, not in runtime. */
84
+ protected static __types: {
85
+ api: {
86
+ input: CancelExportTaskInput;
87
+ output: CancelExportTaskOutput;
88
+ };
89
+ sdk: {
90
+ input: CancelExportTaskCommandInput;
91
+ output: CancelExportTaskCommandOutput;
92
+ };
93
+ };
94
+ }
@@ -43,9 +43,10 @@ declare const CancelImportTaskCommand_base: {
43
43
  * // graphId: "STRING_VALUE",
44
44
  * // taskId: "STRING_VALUE", // required
45
45
  * // source: "STRING_VALUE", // required
46
- * // format: "CSV" || "OPEN_CYPHER" || "NTRIPLES",
46
+ * // format: "CSV" || "OPEN_CYPHER" || "PARQUET" || "NTRIPLES",
47
+ * // parquetType: "COLUMNAR",
47
48
  * // roleArn: "STRING_VALUE", // required
48
- * // status: "INITIALIZING" || "EXPORTING" || "ANALYZING_DATA" || "IMPORTING" || "REPROVISIONING" || "ROLLING_BACK" || "SUCCEEDED" || "FAILED" || "CANCELLING" || "CANCELLED", // required
49
+ * // status: "INITIALIZING" || "EXPORTING" || "ANALYZING_DATA" || "IMPORTING" || "REPROVISIONING" || "ROLLING_BACK" || "SUCCEEDED" || "FAILED" || "CANCELLING" || "CANCELLED" || "DELETED", // required
49
50
  * // };
50
51
  *
51
52
  * ```
@@ -62,7 +62,8 @@ declare const CreateGraphUsingImportTaskCommand_base: {
62
62
  * minProvisionedMemory: Number("int"),
63
63
  * failOnError: true || false,
64
64
  * source: "STRING_VALUE", // required
65
- * format: "CSV" || "OPEN_CYPHER" || "NTRIPLES",
65
+ * format: "CSV" || "OPEN_CYPHER" || "PARQUET" || "NTRIPLES",
66
+ * parquetType: "COLUMNAR",
66
67
  * blankNodeHandling: "convertToIri",
67
68
  * roleArn: "STRING_VALUE", // required
68
69
  * };
@@ -72,9 +73,10 @@ declare const CreateGraphUsingImportTaskCommand_base: {
72
73
  * // graphId: "STRING_VALUE",
73
74
  * // taskId: "STRING_VALUE", // required
74
75
  * // source: "STRING_VALUE", // required
75
- * // format: "CSV" || "OPEN_CYPHER" || "NTRIPLES",
76
+ * // format: "CSV" || "OPEN_CYPHER" || "PARQUET" || "NTRIPLES",
77
+ * // parquetType: "COLUMNAR",
76
78
  * // roleArn: "STRING_VALUE", // required
77
- * // status: "INITIALIZING" || "EXPORTING" || "ANALYZING_DATA" || "IMPORTING" || "REPROVISIONING" || "ROLLING_BACK" || "SUCCEEDED" || "FAILED" || "CANCELLING" || "CANCELLED", // required
79
+ * // status: "INITIALIZING" || "EXPORTING" || "ANALYZING_DATA" || "IMPORTING" || "REPROVISIONING" || "ROLLING_BACK" || "SUCCEEDED" || "FAILED" || "CANCELLING" || "CANCELLED" || "DELETED", // required
78
80
  * // importOptions: { // ImportOptions Union: only one key present
79
81
  * // neptune: { // NeptuneImportOptions
80
82
  * // s3ExportPath: "STRING_VALUE", // required
@@ -0,0 +1,122 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { GetExportTaskInput, GetExportTaskOutput } from "../models/models_0";
4
+ import { NeptuneGraphClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../NeptuneGraphClient";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link GetExportTaskCommand}.
14
+ */
15
+ export interface GetExportTaskCommandInput extends GetExportTaskInput {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link GetExportTaskCommand}.
21
+ */
22
+ export interface GetExportTaskCommandOutput extends GetExportTaskOutput, __MetadataBearer {
23
+ }
24
+ declare const GetExportTaskCommand_base: {
25
+ new (input: GetExportTaskCommandInput): import("@smithy/smithy-client").CommandImpl<GetExportTaskCommandInput, GetExportTaskCommandOutput, NeptuneGraphClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: GetExportTaskCommandInput): import("@smithy/smithy-client").CommandImpl<GetExportTaskCommandInput, GetExportTaskCommandOutput, NeptuneGraphClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Retrieves a specified export task.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { NeptuneGraphClient, GetExportTaskCommand } from "@aws-sdk/client-neptune-graph"; // ES Modules import
35
+ * // const { NeptuneGraphClient, GetExportTaskCommand } = require("@aws-sdk/client-neptune-graph"); // CommonJS import
36
+ * const client = new NeptuneGraphClient(config);
37
+ * const input = { // GetExportTaskInput
38
+ * taskIdentifier: "STRING_VALUE", // required
39
+ * };
40
+ * const command = new GetExportTaskCommand(input);
41
+ * const response = await client.send(command);
42
+ * // { // GetExportTaskOutput
43
+ * // graphId: "STRING_VALUE", // required
44
+ * // roleArn: "STRING_VALUE", // required
45
+ * // taskId: "STRING_VALUE", // required
46
+ * // status: "INITIALIZING" || "EXPORTING" || "SUCCEEDED" || "FAILED" || "CANCELLING" || "CANCELLED" || "DELETED", // required
47
+ * // format: "PARQUET" || "CSV", // required
48
+ * // destination: "STRING_VALUE", // required
49
+ * // kmsKeyIdentifier: "STRING_VALUE", // required
50
+ * // parquetType: "COLUMNAR",
51
+ * // statusReason: "STRING_VALUE",
52
+ * // exportTaskDetails: { // ExportTaskDetails
53
+ * // startTime: new Date("TIMESTAMP"), // required
54
+ * // timeElapsedSeconds: Number("long"), // required
55
+ * // progressPercentage: Number("int"), // required
56
+ * // numVerticesWritten: Number("long"),
57
+ * // numEdgesWritten: Number("long"),
58
+ * // },
59
+ * // exportFilter: { // ExportFilter
60
+ * // vertexFilter: { // ExportFilterPerLabelMap
61
+ * // "<keys>": { // ExportFilterElement
62
+ * // properties: { // ExportFilterPropertyMap
63
+ * // "<keys>": { // ExportFilterPropertyAttributes
64
+ * // outputType: "STRING_VALUE",
65
+ * // sourcePropertyName: "STRING_VALUE",
66
+ * // multiValueHandling: "TO_LIST" || "PICK_FIRST",
67
+ * // },
68
+ * // },
69
+ * // },
70
+ * // },
71
+ * // edgeFilter: {
72
+ * // "<keys>": {
73
+ * // properties: {
74
+ * // "<keys>": {
75
+ * // outputType: "STRING_VALUE",
76
+ * // sourcePropertyName: "STRING_VALUE",
77
+ * // multiValueHandling: "TO_LIST" || "PICK_FIRST",
78
+ * // },
79
+ * // },
80
+ * // },
81
+ * // },
82
+ * // },
83
+ * // };
84
+ *
85
+ * ```
86
+ *
87
+ * @param GetExportTaskCommandInput - {@link GetExportTaskCommandInput}
88
+ * @returns {@link GetExportTaskCommandOutput}
89
+ * @see {@link GetExportTaskCommandInput} for command's `input` shape.
90
+ * @see {@link GetExportTaskCommandOutput} for command's `response` shape.
91
+ * @see {@link NeptuneGraphClientResolvedConfig | config} for NeptuneGraphClient's `config` shape.
92
+ *
93
+ * @throws {@link InternalServerException} (server fault)
94
+ * <p>A failure occurred on the server.</p>
95
+ *
96
+ * @throws {@link ResourceNotFoundException} (client fault)
97
+ * <p>A specified resource could not be located.</p>
98
+ *
99
+ * @throws {@link ThrottlingException} (client fault)
100
+ * <p>The exception was interrupted by throttling.</p>
101
+ *
102
+ * @throws {@link ValidationException} (client fault)
103
+ * <p>A resource could not be validated.</p>
104
+ *
105
+ * @throws {@link NeptuneGraphServiceException}
106
+ * <p>Base exception class for all service exceptions from NeptuneGraph service.</p>
107
+ *
108
+ * @public
109
+ */
110
+ export declare class GetExportTaskCommand extends GetExportTaskCommand_base {
111
+ /** @internal type navigation helper, not in runtime. */
112
+ protected static __types: {
113
+ api: {
114
+ input: GetExportTaskInput;
115
+ output: GetExportTaskOutput;
116
+ };
117
+ sdk: {
118
+ input: GetExportTaskCommandInput;
119
+ output: GetExportTaskCommandOutput;
120
+ };
121
+ };
122
+ }
@@ -43,9 +43,10 @@ declare const GetImportTaskCommand_base: {
43
43
  * // graphId: "STRING_VALUE",
44
44
  * // taskId: "STRING_VALUE", // required
45
45
  * // source: "STRING_VALUE", // required
46
- * // format: "CSV" || "OPEN_CYPHER" || "NTRIPLES",
46
+ * // format: "CSV" || "OPEN_CYPHER" || "PARQUET" || "NTRIPLES",
47
+ * // parquetType: "COLUMNAR",
47
48
  * // roleArn: "STRING_VALUE", // required
48
- * // status: "INITIALIZING" || "EXPORTING" || "ANALYZING_DATA" || "IMPORTING" || "REPROVISIONING" || "ROLLING_BACK" || "SUCCEEDED" || "FAILED" || "CANCELLING" || "CANCELLED", // required
49
+ * // status: "INITIALIZING" || "EXPORTING" || "ANALYZING_DATA" || "IMPORTING" || "REPROVISIONING" || "ROLLING_BACK" || "SUCCEEDED" || "FAILED" || "CANCELLING" || "CANCELLED" || "DELETED", // required
49
50
  * // importOptions: { // ImportOptions Union: only one key present
50
51
  * // neptune: { // NeptuneImportOptions
51
52
  * // s3ExportPath: "STRING_VALUE", // required
@@ -0,0 +1,97 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { ListExportTasksInput, ListExportTasksOutput } from "../models/models_0";
4
+ import { NeptuneGraphClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../NeptuneGraphClient";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link ListExportTasksCommand}.
14
+ */
15
+ export interface ListExportTasksCommandInput extends ListExportTasksInput {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link ListExportTasksCommand}.
21
+ */
22
+ export interface ListExportTasksCommandOutput extends ListExportTasksOutput, __MetadataBearer {
23
+ }
24
+ declare const ListExportTasksCommand_base: {
25
+ new (input: ListExportTasksCommandInput): import("@smithy/smithy-client").CommandImpl<ListExportTasksCommandInput, ListExportTasksCommandOutput, NeptuneGraphClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (...[input]: [] | [ListExportTasksCommandInput]): import("@smithy/smithy-client").CommandImpl<ListExportTasksCommandInput, ListExportTasksCommandOutput, NeptuneGraphClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Retrieves a list of export tasks.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { NeptuneGraphClient, ListExportTasksCommand } from "@aws-sdk/client-neptune-graph"; // ES Modules import
35
+ * // const { NeptuneGraphClient, ListExportTasksCommand } = require("@aws-sdk/client-neptune-graph"); // CommonJS import
36
+ * const client = new NeptuneGraphClient(config);
37
+ * const input = { // ListExportTasksInput
38
+ * nextToken: "STRING_VALUE",
39
+ * maxResults: Number("int"),
40
+ * };
41
+ * const command = new ListExportTasksCommand(input);
42
+ * const response = await client.send(command);
43
+ * // { // ListExportTasksOutput
44
+ * // tasks: [ // ExportTaskSummaryList // required
45
+ * // { // ExportTaskSummary
46
+ * // graphId: "STRING_VALUE", // required
47
+ * // roleArn: "STRING_VALUE", // required
48
+ * // taskId: "STRING_VALUE", // required
49
+ * // status: "INITIALIZING" || "EXPORTING" || "SUCCEEDED" || "FAILED" || "CANCELLING" || "CANCELLED" || "DELETED", // required
50
+ * // format: "PARQUET" || "CSV", // required
51
+ * // destination: "STRING_VALUE", // required
52
+ * // kmsKeyIdentifier: "STRING_VALUE", // required
53
+ * // parquetType: "COLUMNAR",
54
+ * // statusReason: "STRING_VALUE",
55
+ * // },
56
+ * // ],
57
+ * // nextToken: "STRING_VALUE",
58
+ * // };
59
+ *
60
+ * ```
61
+ *
62
+ * @param ListExportTasksCommandInput - {@link ListExportTasksCommandInput}
63
+ * @returns {@link ListExportTasksCommandOutput}
64
+ * @see {@link ListExportTasksCommandInput} for command's `input` shape.
65
+ * @see {@link ListExportTasksCommandOutput} for command's `response` shape.
66
+ * @see {@link NeptuneGraphClientResolvedConfig | config} for NeptuneGraphClient's `config` shape.
67
+ *
68
+ * @throws {@link InternalServerException} (server fault)
69
+ * <p>A failure occurred on the server.</p>
70
+ *
71
+ * @throws {@link ResourceNotFoundException} (client fault)
72
+ * <p>A specified resource could not be located.</p>
73
+ *
74
+ * @throws {@link ThrottlingException} (client fault)
75
+ * <p>The exception was interrupted by throttling.</p>
76
+ *
77
+ * @throws {@link ValidationException} (client fault)
78
+ * <p>A resource could not be validated.</p>
79
+ *
80
+ * @throws {@link NeptuneGraphServiceException}
81
+ * <p>Base exception class for all service exceptions from NeptuneGraph service.</p>
82
+ *
83
+ * @public
84
+ */
85
+ export declare class ListExportTasksCommand extends ListExportTasksCommand_base {
86
+ /** @internal type navigation helper, not in runtime. */
87
+ protected static __types: {
88
+ api: {
89
+ input: ListExportTasksInput;
90
+ output: ListExportTasksOutput;
91
+ };
92
+ sdk: {
93
+ input: ListExportTasksCommandInput;
94
+ output: ListExportTasksCommandOutput;
95
+ };
96
+ };
97
+ }
@@ -46,9 +46,10 @@ declare const ListImportTasksCommand_base: {
46
46
  * // graphId: "STRING_VALUE",
47
47
  * // taskId: "STRING_VALUE", // required
48
48
  * // source: "STRING_VALUE", // required
49
- * // format: "CSV" || "OPEN_CYPHER" || "NTRIPLES",
49
+ * // format: "CSV" || "OPEN_CYPHER" || "PARQUET" || "NTRIPLES",
50
+ * // parquetType: "COLUMNAR",
50
51
  * // roleArn: "STRING_VALUE", // required
51
- * // status: "INITIALIZING" || "EXPORTING" || "ANALYZING_DATA" || "IMPORTING" || "REPROVISIONING" || "ROLLING_BACK" || "SUCCEEDED" || "FAILED" || "CANCELLING" || "CANCELLED", // required
52
+ * // status: "INITIALIZING" || "EXPORTING" || "ANALYZING_DATA" || "IMPORTING" || "REPROVISIONING" || "ROLLING_BACK" || "SUCCEEDED" || "FAILED" || "CANCELLING" || "CANCELLED" || "DELETED", // required
52
53
  * // },
53
54
  * // ],
54
55
  * // nextToken: "STRING_VALUE",