@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
@@ -0,0 +1,150 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { StartExportTaskInput, StartExportTaskOutput } 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 StartExportTaskCommand}.
14
+ */
15
+ export interface StartExportTaskCommandInput extends StartExportTaskInput {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link StartExportTaskCommand}.
21
+ */
22
+ export interface StartExportTaskCommandOutput extends StartExportTaskOutput, __MetadataBearer {
23
+ }
24
+ declare const StartExportTaskCommand_base: {
25
+ new (input: StartExportTaskCommandInput): import("@smithy/smithy-client").CommandImpl<StartExportTaskCommandInput, StartExportTaskCommandOutput, NeptuneGraphClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: StartExportTaskCommandInput): import("@smithy/smithy-client").CommandImpl<StartExportTaskCommandInput, StartExportTaskCommandOutput, NeptuneGraphClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Export data from an existing Neptune Analytics graph to Amazon S3. The graph state should be <code>AVAILABLE</code>.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { NeptuneGraphClient, StartExportTaskCommand } from "@aws-sdk/client-neptune-graph"; // ES Modules import
35
+ * // const { NeptuneGraphClient, StartExportTaskCommand } = require("@aws-sdk/client-neptune-graph"); // CommonJS import
36
+ * const client = new NeptuneGraphClient(config);
37
+ * const input = { // StartExportTaskInput
38
+ * graphIdentifier: "STRING_VALUE", // required
39
+ * roleArn: "STRING_VALUE", // required
40
+ * format: "PARQUET" || "CSV", // required
41
+ * destination: "STRING_VALUE", // required
42
+ * kmsKeyIdentifier: "STRING_VALUE", // required
43
+ * parquetType: "COLUMNAR",
44
+ * exportFilter: { // ExportFilter
45
+ * vertexFilter: { // ExportFilterPerLabelMap
46
+ * "<keys>": { // ExportFilterElement
47
+ * properties: { // ExportFilterPropertyMap
48
+ * "<keys>": { // ExportFilterPropertyAttributes
49
+ * outputType: "STRING_VALUE",
50
+ * sourcePropertyName: "STRING_VALUE",
51
+ * multiValueHandling: "TO_LIST" || "PICK_FIRST",
52
+ * },
53
+ * },
54
+ * },
55
+ * },
56
+ * edgeFilter: {
57
+ * "<keys>": {
58
+ * properties: {
59
+ * "<keys>": {
60
+ * outputType: "STRING_VALUE",
61
+ * sourcePropertyName: "STRING_VALUE",
62
+ * multiValueHandling: "TO_LIST" || "PICK_FIRST",
63
+ * },
64
+ * },
65
+ * },
66
+ * },
67
+ * },
68
+ * tags: { // TagMap
69
+ * "<keys>": "STRING_VALUE",
70
+ * },
71
+ * };
72
+ * const command = new StartExportTaskCommand(input);
73
+ * const response = await client.send(command);
74
+ * // { // StartExportTaskOutput
75
+ * // graphId: "STRING_VALUE", // required
76
+ * // roleArn: "STRING_VALUE", // required
77
+ * // taskId: "STRING_VALUE", // required
78
+ * // status: "INITIALIZING" || "EXPORTING" || "SUCCEEDED" || "FAILED" || "CANCELLING" || "CANCELLED" || "DELETED", // required
79
+ * // format: "PARQUET" || "CSV", // required
80
+ * // destination: "STRING_VALUE", // required
81
+ * // kmsKeyIdentifier: "STRING_VALUE", // required
82
+ * // parquetType: "COLUMNAR",
83
+ * // statusReason: "STRING_VALUE",
84
+ * // exportFilter: { // ExportFilter
85
+ * // vertexFilter: { // ExportFilterPerLabelMap
86
+ * // "<keys>": { // ExportFilterElement
87
+ * // properties: { // ExportFilterPropertyMap
88
+ * // "<keys>": { // ExportFilterPropertyAttributes
89
+ * // outputType: "STRING_VALUE",
90
+ * // sourcePropertyName: "STRING_VALUE",
91
+ * // multiValueHandling: "TO_LIST" || "PICK_FIRST",
92
+ * // },
93
+ * // },
94
+ * // },
95
+ * // },
96
+ * // edgeFilter: {
97
+ * // "<keys>": {
98
+ * // properties: {
99
+ * // "<keys>": {
100
+ * // outputType: "STRING_VALUE",
101
+ * // sourcePropertyName: "STRING_VALUE",
102
+ * // multiValueHandling: "TO_LIST" || "PICK_FIRST",
103
+ * // },
104
+ * // },
105
+ * // },
106
+ * // },
107
+ * // },
108
+ * // };
109
+ *
110
+ * ```
111
+ *
112
+ * @param StartExportTaskCommandInput - {@link StartExportTaskCommandInput}
113
+ * @returns {@link StartExportTaskCommandOutput}
114
+ * @see {@link StartExportTaskCommandInput} for command's `input` shape.
115
+ * @see {@link StartExportTaskCommandOutput} for command's `response` shape.
116
+ * @see {@link NeptuneGraphClientResolvedConfig | config} for NeptuneGraphClient's `config` shape.
117
+ *
118
+ * @throws {@link ConflictException} (client fault)
119
+ * <p>Raised when a conflict is encountered.</p>
120
+ *
121
+ * @throws {@link InternalServerException} (server fault)
122
+ * <p>A failure occurred on the server.</p>
123
+ *
124
+ * @throws {@link ResourceNotFoundException} (client fault)
125
+ * <p>A specified resource could not be located.</p>
126
+ *
127
+ * @throws {@link ThrottlingException} (client fault)
128
+ * <p>The exception was interrupted by throttling.</p>
129
+ *
130
+ * @throws {@link ValidationException} (client fault)
131
+ * <p>A resource could not be validated.</p>
132
+ *
133
+ * @throws {@link NeptuneGraphServiceException}
134
+ * <p>Base exception class for all service exceptions from NeptuneGraph service.</p>
135
+ *
136
+ * @public
137
+ */
138
+ export declare class StartExportTaskCommand extends StartExportTaskCommand_base {
139
+ /** @internal type navigation helper, not in runtime. */
140
+ protected static __types: {
141
+ api: {
142
+ input: StartExportTaskInput;
143
+ output: StartExportTaskOutput;
144
+ };
145
+ sdk: {
146
+ input: StartExportTaskCommandInput;
147
+ output: StartExportTaskCommandOutput;
148
+ };
149
+ };
150
+ }
@@ -45,7 +45,8 @@ declare const StartImportTaskCommand_base: {
45
45
  * },
46
46
  * failOnError: true || false,
47
47
  * source: "STRING_VALUE", // required
48
- * format: "CSV" || "OPEN_CYPHER" || "NTRIPLES",
48
+ * format: "CSV" || "OPEN_CYPHER" || "PARQUET" || "NTRIPLES",
49
+ * parquetType: "COLUMNAR",
49
50
  * blankNodeHandling: "convertToIri",
50
51
  * graphIdentifier: "STRING_VALUE", // required
51
52
  * roleArn: "STRING_VALUE", // required
@@ -56,9 +57,10 @@ declare const StartImportTaskCommand_base: {
56
57
  * // graphId: "STRING_VALUE",
57
58
  * // taskId: "STRING_VALUE", // required
58
59
  * // source: "STRING_VALUE", // required
59
- * // format: "CSV" || "OPEN_CYPHER" || "NTRIPLES",
60
+ * // format: "CSV" || "OPEN_CYPHER" || "PARQUET" || "NTRIPLES",
61
+ * // parquetType: "COLUMNAR",
60
62
  * // roleArn: "STRING_VALUE", // required
61
- * // status: "INITIALIZING" || "EXPORTING" || "ANALYZING_DATA" || "IMPORTING" || "REPROVISIONING" || "ROLLING_BACK" || "SUCCEEDED" || "FAILED" || "CANCELLING" || "CANCELLED", // required
63
+ * // status: "INITIALIZING" || "EXPORTING" || "ANALYZING_DATA" || "IMPORTING" || "REPROVISIONING" || "ROLLING_BACK" || "SUCCEEDED" || "FAILED" || "CANCELLING" || "CANCELLED" || "DELETED", // required
62
64
  * // importOptions: { // ImportOptions Union: only one key present
63
65
  * // neptune: { // NeptuneImportOptions
64
66
  * // s3ExportPath: "STRING_VALUE", // required
@@ -1,3 +1,4 @@
1
+ export * from "./CancelExportTaskCommand";
1
2
  export * from "./CancelImportTaskCommand";
2
3
  export * from "./CancelQueryCommand";
3
4
  export * from "./CreateGraphCommand";
@@ -8,12 +9,14 @@ export * from "./DeleteGraphCommand";
8
9
  export * from "./DeleteGraphSnapshotCommand";
9
10
  export * from "./DeletePrivateGraphEndpointCommand";
10
11
  export * from "./ExecuteQueryCommand";
12
+ export * from "./GetExportTaskCommand";
11
13
  export * from "./GetGraphCommand";
12
14
  export * from "./GetGraphSnapshotCommand";
13
15
  export * from "./GetGraphSummaryCommand";
14
16
  export * from "./GetImportTaskCommand";
15
17
  export * from "./GetPrivateGraphEndpointCommand";
16
18
  export * from "./GetQueryCommand";
19
+ export * from "./ListExportTasksCommand";
17
20
  export * from "./ListGraphSnapshotsCommand";
18
21
  export * from "./ListGraphsCommand";
19
22
  export * from "./ListImportTasksCommand";
@@ -22,6 +25,7 @@ export * from "./ListQueriesCommand";
22
25
  export * from "./ListTagsForResourceCommand";
23
26
  export * from "./ResetGraphCommand";
24
27
  export * from "./RestoreGraphFromSnapshotCommand";
28
+ export * from "./StartExportTaskCommand";
25
29
  export * from "./StartImportTaskCommand";
26
30
  export * from "./TagResourceCommand";
27
31
  export * from "./UntagResourceCommand";