@aws-sdk/client-neptune-graph 3.934.0 → 3.936.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.
@@ -1,90 +1,29 @@
1
- import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
1
  import {
3
2
  DocumentType as __DocumentType,
4
3
  StreamingBlobTypes,
5
4
  } from "@smithy/types";
6
- import { NeptuneGraphServiceException as __BaseException } from "./NeptuneGraphServiceException";
7
- export declare class AccessDeniedException extends __BaseException {
8
- readonly name: "AccessDeniedException";
9
- readonly $fault: "client";
10
- constructor(
11
- opts: __ExceptionOptionType<AccessDeniedException, __BaseException>
12
- );
13
- }
5
+ import {
6
+ BlankNodeHandling,
7
+ ExplainMode,
8
+ ExportFormat,
9
+ ExportTaskStatus,
10
+ Format,
11
+ GraphStatus,
12
+ GraphSummaryMode,
13
+ ImportTaskStatus,
14
+ MultiValueHandlingType,
15
+ ParquetType,
16
+ PlanCacheType,
17
+ PrivateGraphEndpointStatus,
18
+ QueryLanguage,
19
+ QueryState,
20
+ QueryStateInput,
21
+ SnapshotStatus,
22
+ } from "./enums";
14
23
  export interface CancelQueryInput {
15
24
  graphIdentifier: string | undefined;
16
25
  queryId: string | undefined;
17
26
  }
18
- export declare class InternalServerException extends __BaseException {
19
- readonly name: "InternalServerException";
20
- readonly $fault: "server";
21
- $retryable: {};
22
- constructor(
23
- opts: __ExceptionOptionType<InternalServerException, __BaseException>
24
- );
25
- }
26
- export declare class ResourceNotFoundException extends __BaseException {
27
- readonly name: "ResourceNotFoundException";
28
- readonly $fault: "client";
29
- constructor(
30
- opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
31
- );
32
- }
33
- export declare class ThrottlingException extends __BaseException {
34
- readonly name: "ThrottlingException";
35
- readonly $fault: "client";
36
- $retryable: {
37
- throttling: boolean;
38
- };
39
- constructor(
40
- opts: __ExceptionOptionType<ThrottlingException, __BaseException>
41
- );
42
- }
43
- export declare const ValidationExceptionReason: {
44
- readonly BAD_REQUEST: "BAD_REQUEST";
45
- readonly CONSTRAINT_VIOLATION: "CONSTRAINT_VIOLATION";
46
- readonly ILLEGAL_ARGUMENT: "ILLEGAL_ARGUMENT";
47
- readonly MALFORMED_QUERY: "MALFORMED_QUERY";
48
- readonly QUERY_CANCELLED: "QUERY_CANCELLED";
49
- readonly QUERY_TOO_LARGE: "QUERY_TOO_LARGE";
50
- readonly UNSUPPORTED_OPERATION: "UNSUPPORTED_OPERATION";
51
- };
52
- export type ValidationExceptionReason =
53
- (typeof ValidationExceptionReason)[keyof typeof ValidationExceptionReason];
54
- export declare class ValidationException extends __BaseException {
55
- readonly name: "ValidationException";
56
- readonly $fault: "client";
57
- reason?: ValidationExceptionReason | undefined;
58
- constructor(
59
- opts: __ExceptionOptionType<ValidationException, __BaseException>
60
- );
61
- }
62
- export declare const ConflictExceptionReason: {
63
- readonly CONCURRENT_MODIFICATION: "CONCURRENT_MODIFICATION";
64
- };
65
- export type ConflictExceptionReason =
66
- (typeof ConflictExceptionReason)[keyof typeof ConflictExceptionReason];
67
- export declare class ConflictException extends __BaseException {
68
- readonly name: "ConflictException";
69
- readonly $fault: "client";
70
- reason?: ConflictExceptionReason | undefined;
71
- constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
72
- }
73
- export declare const ExplainMode: {
74
- readonly DETAILS: "DETAILS";
75
- readonly STATIC: "STATIC";
76
- };
77
- export type ExplainMode = (typeof ExplainMode)[keyof typeof ExplainMode];
78
- export declare const QueryLanguage: {
79
- readonly OPEN_CYPHER: "OPEN_CYPHER";
80
- };
81
- export type QueryLanguage = (typeof QueryLanguage)[keyof typeof QueryLanguage];
82
- export declare const PlanCacheType: {
83
- readonly AUTO: "AUTO";
84
- readonly DISABLED: "DISABLED";
85
- readonly ENABLED: "ENABLED";
86
- };
87
- export type PlanCacheType = (typeof PlanCacheType)[keyof typeof PlanCacheType];
88
27
  export interface ExecuteQueryInput {
89
28
  graphIdentifier: string | undefined;
90
29
  queryString: string | undefined;
@@ -97,29 +36,6 @@ export interface ExecuteQueryInput {
97
36
  export interface ExecuteQueryOutput {
98
37
  payload: StreamingBlobTypes | undefined;
99
38
  }
100
- export declare const UnprocessableExceptionReason: {
101
- readonly INTERNAL_LIMIT_EXCEEDED: "INTERNAL_LIMIT_EXCEEDED";
102
- readonly MEMORY_LIMIT_EXCEEDED: "MEMORY_LIMIT_EXCEEDED";
103
- readonly PARTITION_FULL: "PARTITION_FULL";
104
- readonly QUERY_TIMEOUT: "QUERY_TIMEOUT";
105
- readonly STORAGE_LIMIT_EXCEEDED: "STORAGE_LIMIT_EXCEEDED";
106
- };
107
- export type UnprocessableExceptionReason =
108
- (typeof UnprocessableExceptionReason)[keyof typeof UnprocessableExceptionReason];
109
- export declare class UnprocessableException extends __BaseException {
110
- readonly name: "UnprocessableException";
111
- readonly $fault: "client";
112
- reason: UnprocessableExceptionReason | undefined;
113
- constructor(
114
- opts: __ExceptionOptionType<UnprocessableException, __BaseException>
115
- );
116
- }
117
- export declare const GraphSummaryMode: {
118
- readonly BASIC: "BASIC";
119
- readonly DETAILED: "DETAILED";
120
- };
121
- export type GraphSummaryMode =
122
- (typeof GraphSummaryMode)[keyof typeof GraphSummaryMode];
123
39
  export interface GetGraphSummaryInput {
124
40
  graphIdentifier: string | undefined;
125
41
  mode?: GraphSummaryMode | undefined;
@@ -158,12 +74,6 @@ export interface GetQueryInput {
158
74
  graphIdentifier: string | undefined;
159
75
  queryId: string | undefined;
160
76
  }
161
- export declare const QueryState: {
162
- readonly CANCELLING: "CANCELLING";
163
- readonly RUNNING: "RUNNING";
164
- readonly WAITING: "WAITING";
165
- };
166
- export type QueryState = (typeof QueryState)[keyof typeof QueryState];
167
77
  export interface GetQueryOutput {
168
78
  id?: string | undefined;
169
79
  queryString?: string | undefined;
@@ -184,20 +94,6 @@ export interface CreateGraphInput {
184
94
  deletionProtection?: boolean | undefined;
185
95
  provisionedMemory: number | undefined;
186
96
  }
187
- export declare const GraphStatus: {
188
- readonly AVAILABLE: "AVAILABLE";
189
- readonly CREATING: "CREATING";
190
- readonly DELETING: "DELETING";
191
- readonly FAILED: "FAILED";
192
- readonly IMPORTING: "IMPORTING";
193
- readonly RESETTING: "RESETTING";
194
- readonly SNAPSHOTTING: "SNAPSHOTTING";
195
- readonly STARTING: "STARTING";
196
- readonly STOPPED: "STOPPED";
197
- readonly STOPPING: "STOPPING";
198
- readonly UPDATING: "UPDATING";
199
- };
200
- export type GraphStatus = (typeof GraphStatus)[keyof typeof GraphStatus];
201
97
  export interface CreateGraphOutput {
202
98
  id: string | undefined;
203
99
  name: string | undefined;
@@ -215,17 +111,6 @@ export interface CreateGraphOutput {
215
111
  deletionProtection?: boolean | undefined;
216
112
  buildNumber?: string | undefined;
217
113
  }
218
- export declare class ServiceQuotaExceededException extends __BaseException {
219
- readonly name: "ServiceQuotaExceededException";
220
- readonly $fault: "client";
221
- resourceId?: string | undefined;
222
- resourceType?: string | undefined;
223
- serviceCode?: string | undefined;
224
- quotaCode?: string | undefined;
225
- constructor(
226
- opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>
227
- );
228
- }
229
114
  export interface DeleteGraphInput {
230
115
  graphIdentifier: string | undefined;
231
116
  skipSnapshot: boolean | undefined;
@@ -397,14 +282,6 @@ export interface UpdateGraphOutput {
397
282
  deletionProtection?: boolean | undefined;
398
283
  buildNumber?: string | undefined;
399
284
  }
400
- export declare const QueryStateInput: {
401
- readonly ALL: "ALL";
402
- readonly CANCELLING: "CANCELLING";
403
- readonly RUNNING: "RUNNING";
404
- readonly WAITING: "WAITING";
405
- };
406
- export type QueryStateInput =
407
- (typeof QueryStateInput)[keyof typeof QueryStateInput];
408
285
  export interface ListQueriesInput {
409
286
  graphIdentifier: string | undefined;
410
287
  maxResults: number | undefined;
@@ -432,14 +309,6 @@ export interface CreatePrivateGraphEndpointInput {
432
309
  subnetIds?: string[] | undefined;
433
310
  vpcSecurityGroupIds?: string[] | undefined;
434
311
  }
435
- export declare const PrivateGraphEndpointStatus: {
436
- readonly AVAILABLE: "AVAILABLE";
437
- readonly CREATING: "CREATING";
438
- readonly DELETING: "DELETING";
439
- readonly FAILED: "FAILED";
440
- };
441
- export type PrivateGraphEndpointStatus =
442
- (typeof PrivateGraphEndpointStatus)[keyof typeof PrivateGraphEndpointStatus];
443
312
  export interface CreatePrivateGraphEndpointOutput {
444
313
  vpcId: string | undefined;
445
314
  subnetIds: string[] | undefined;
@@ -486,14 +355,6 @@ export interface CreateGraphSnapshotInput {
486
355
  snapshotName: string | undefined;
487
356
  tags?: Record<string, string> | undefined;
488
357
  }
489
- export declare const SnapshotStatus: {
490
- readonly AVAILABLE: "AVAILABLE";
491
- readonly CREATING: "CREATING";
492
- readonly DELETING: "DELETING";
493
- readonly FAILED: "FAILED";
494
- };
495
- export type SnapshotStatus =
496
- (typeof SnapshotStatus)[keyof typeof SnapshotStatus];
497
358
  export interface CreateGraphSnapshotOutput {
498
359
  id: string | undefined;
499
360
  name: string | undefined;
@@ -553,26 +414,6 @@ export interface TagResourceOutput {}
553
414
  export interface CancelExportTaskInput {
554
415
  taskIdentifier: string | undefined;
555
416
  }
556
- export declare const ExportFormat: {
557
- readonly CSV: "CSV";
558
- readonly PARQUET: "PARQUET";
559
- };
560
- export type ExportFormat = (typeof ExportFormat)[keyof typeof ExportFormat];
561
- export declare const ParquetType: {
562
- readonly COLUMNAR: "COLUMNAR";
563
- };
564
- export type ParquetType = (typeof ParquetType)[keyof typeof ParquetType];
565
- export declare const ExportTaskStatus: {
566
- readonly CANCELLED: "CANCELLED";
567
- readonly CANCELLING: "CANCELLING";
568
- readonly DELETED: "DELETED";
569
- readonly EXPORTING: "EXPORTING";
570
- readonly FAILED: "FAILED";
571
- readonly INITIALIZING: "INITIALIZING";
572
- readonly SUCCEEDED: "SUCCEEDED";
573
- };
574
- export type ExportTaskStatus =
575
- (typeof ExportTaskStatus)[keyof typeof ExportTaskStatus];
576
417
  export interface CancelExportTaskOutput {
577
418
  graphId: string | undefined;
578
419
  roleArn: string | undefined;
@@ -587,28 +428,6 @@ export interface CancelExportTaskOutput {
587
428
  export interface CancelImportTaskInput {
588
429
  taskIdentifier: string | undefined;
589
430
  }
590
- export declare const Format: {
591
- readonly CSV: "CSV";
592
- readonly NTRIPLES: "NTRIPLES";
593
- readonly OPEN_CYPHER: "OPEN_CYPHER";
594
- readonly PARQUET: "PARQUET";
595
- };
596
- export type Format = (typeof Format)[keyof typeof Format];
597
- export declare const ImportTaskStatus: {
598
- readonly ANALYZING_DATA: "ANALYZING_DATA";
599
- readonly CANCELLED: "CANCELLED";
600
- readonly CANCELLING: "CANCELLING";
601
- readonly DELETED: "DELETED";
602
- readonly EXPORTING: "EXPORTING";
603
- readonly FAILED: "FAILED";
604
- readonly IMPORTING: "IMPORTING";
605
- readonly INITIALIZING: "INITIALIZING";
606
- readonly REPROVISIONING: "REPROVISIONING";
607
- readonly ROLLING_BACK: "ROLLING_BACK";
608
- readonly SUCCEEDED: "SUCCEEDED";
609
- };
610
- export type ImportTaskStatus =
611
- (typeof ImportTaskStatus)[keyof typeof ImportTaskStatus];
612
431
  export interface CancelImportTaskOutput {
613
432
  graphId?: string | undefined;
614
433
  taskId: string | undefined;
@@ -618,11 +437,6 @@ export interface CancelImportTaskOutput {
618
437
  roleArn: string | undefined;
619
438
  status: ImportTaskStatus | undefined;
620
439
  }
621
- export declare const BlankNodeHandling: {
622
- readonly CONVERT_TO_IRI: "convertToIri";
623
- };
624
- export type BlankNodeHandling =
625
- (typeof BlankNodeHandling)[keyof typeof BlankNodeHandling];
626
440
  export interface NeptuneImportOptions {
627
441
  s3ExportPath: string | undefined;
628
442
  s3ExportKmsKeyId: string | undefined;
@@ -677,12 +491,6 @@ export interface CreateGraphUsingImportTaskOutput {
677
491
  export interface GetExportTaskInput {
678
492
  taskIdentifier: string | undefined;
679
493
  }
680
- export declare const MultiValueHandlingType: {
681
- readonly PICK_FIRST: "PICK_FIRST";
682
- readonly TO_LIST: "TO_LIST";
683
- };
684
- export type MultiValueHandlingType =
685
- (typeof MultiValueHandlingType)[keyof typeof MultiValueHandlingType];
686
494
  export interface ExportFilterPropertyAttributes {
687
495
  outputType?: string | undefined;
688
496
  sourcePropertyName?: string | undefined;
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.934.0",
4
+ "version": "3.936.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-neptune-graph",
@@ -20,38 +20,38 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/core": "3.934.0",
24
- "@aws-sdk/credential-provider-node": "3.934.0",
25
- "@aws-sdk/middleware-host-header": "3.930.0",
26
- "@aws-sdk/middleware-logger": "3.930.0",
27
- "@aws-sdk/middleware-recursion-detection": "3.933.0",
28
- "@aws-sdk/middleware-user-agent": "3.934.0",
29
- "@aws-sdk/region-config-resolver": "3.930.0",
30
- "@aws-sdk/types": "3.930.0",
31
- "@aws-sdk/util-endpoints": "3.930.0",
32
- "@aws-sdk/util-user-agent-browser": "3.930.0",
33
- "@aws-sdk/util-user-agent-node": "3.934.0",
23
+ "@aws-sdk/core": "3.936.0",
24
+ "@aws-sdk/credential-provider-node": "3.936.0",
25
+ "@aws-sdk/middleware-host-header": "3.936.0",
26
+ "@aws-sdk/middleware-logger": "3.936.0",
27
+ "@aws-sdk/middleware-recursion-detection": "3.936.0",
28
+ "@aws-sdk/middleware-user-agent": "3.936.0",
29
+ "@aws-sdk/region-config-resolver": "3.936.0",
30
+ "@aws-sdk/types": "3.936.0",
31
+ "@aws-sdk/util-endpoints": "3.936.0",
32
+ "@aws-sdk/util-user-agent-browser": "3.936.0",
33
+ "@aws-sdk/util-user-agent-node": "3.936.0",
34
34
  "@smithy/config-resolver": "^4.4.3",
35
- "@smithy/core": "^3.18.2",
35
+ "@smithy/core": "^3.18.5",
36
36
  "@smithy/fetch-http-handler": "^5.3.6",
37
37
  "@smithy/hash-node": "^4.2.5",
38
38
  "@smithy/invalid-dependency": "^4.2.5",
39
39
  "@smithy/middleware-content-length": "^4.2.5",
40
- "@smithy/middleware-endpoint": "^4.3.9",
41
- "@smithy/middleware-retry": "^4.4.9",
42
- "@smithy/middleware-serde": "^4.2.5",
40
+ "@smithy/middleware-endpoint": "^4.3.12",
41
+ "@smithy/middleware-retry": "^4.4.12",
42
+ "@smithy/middleware-serde": "^4.2.6",
43
43
  "@smithy/middleware-stack": "^4.2.5",
44
44
  "@smithy/node-config-provider": "^4.3.5",
45
45
  "@smithy/node-http-handler": "^4.4.5",
46
46
  "@smithy/protocol-http": "^5.3.5",
47
- "@smithy/smithy-client": "^4.9.5",
47
+ "@smithy/smithy-client": "^4.9.8",
48
48
  "@smithy/types": "^4.9.0",
49
49
  "@smithy/url-parser": "^4.2.5",
50
50
  "@smithy/util-base64": "^4.3.0",
51
51
  "@smithy/util-body-length-browser": "^4.2.0",
52
52
  "@smithy/util-body-length-node": "^4.2.1",
53
- "@smithy/util-defaults-mode-browser": "^4.3.8",
54
- "@smithy/util-defaults-mode-node": "^4.2.11",
53
+ "@smithy/util-defaults-mode-browser": "^4.3.11",
54
+ "@smithy/util-defaults-mode-node": "^4.2.14",
55
55
  "@smithy/util-endpoints": "^3.2.5",
56
56
  "@smithy/util-middleware": "^4.2.5",
57
57
  "@smithy/util-retry": "^4.2.5",
@@ -1 +0,0 @@
1
- export * from "./models_0";
@@ -1 +0,0 @@
1
- export * from "./models_0";
@@ -1 +0,0 @@
1
- export * from "./models_0";