@aws-sdk/client-neptune-graph 3.490.0 → 3.495.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/NeptuneGraph.js +1 -55
- package/dist-cjs/NeptuneGraphClient.js +1 -43
- package/dist-cjs/commands/CancelImportTaskCommand.js +1 -29
- package/dist-cjs/commands/CreateGraphCommand.js +1 -29
- package/dist-cjs/commands/CreateGraphSnapshotCommand.js +1 -29
- package/dist-cjs/commands/CreateGraphUsingImportTaskCommand.js +1 -29
- package/dist-cjs/commands/CreatePrivateGraphEndpointCommand.js +1 -29
- package/dist-cjs/commands/DeleteGraphCommand.js +1 -29
- package/dist-cjs/commands/DeleteGraphSnapshotCommand.js +1 -29
- package/dist-cjs/commands/DeletePrivateGraphEndpointCommand.js +1 -29
- package/dist-cjs/commands/GetGraphCommand.js +1 -29
- package/dist-cjs/commands/GetGraphSnapshotCommand.js +1 -29
- package/dist-cjs/commands/GetImportTaskCommand.js +1 -29
- package/dist-cjs/commands/GetPrivateGraphEndpointCommand.js +1 -29
- package/dist-cjs/commands/ListGraphSnapshotsCommand.js +1 -29
- package/dist-cjs/commands/ListGraphsCommand.js +1 -29
- package/dist-cjs/commands/ListImportTasksCommand.js +1 -29
- package/dist-cjs/commands/ListPrivateGraphEndpointsCommand.js +1 -29
- package/dist-cjs/commands/ListTagsForResourceCommand.js +1 -29
- package/dist-cjs/commands/ResetGraphCommand.js +1 -29
- package/dist-cjs/commands/RestoreGraphFromSnapshotCommand.js +1 -29
- package/dist-cjs/commands/TagResourceCommand.js +1 -29
- package/dist-cjs/commands/UntagResourceCommand.js +1 -29
- package/dist-cjs/commands/UpdateGraphCommand.js +1 -29
- package/dist-cjs/commands/index.js +1 -25
- package/dist-cjs/endpoint/EndpointParameters.js +1 -18
- package/dist-cjs/extensionConfiguration.js +1 -2
- package/dist-cjs/index.js +2794 -12
- package/dist-cjs/models/NeptuneGraphServiceException.js +1 -12
- package/dist-cjs/models/index.js +1 -4
- package/dist-cjs/models/models_0.js +1 -149
- package/dist-cjs/pagination/Interfaces.js +1 -2
- package/dist-cjs/pagination/ListGraphSnapshotsPaginator.js +1 -7
- package/dist-cjs/pagination/ListGraphsPaginator.js +1 -7
- package/dist-cjs/pagination/ListImportTasksPaginator.js +1 -7
- package/dist-cjs/pagination/ListPrivateGraphEndpointsPaginator.js +1 -7
- package/dist-cjs/pagination/index.js +1 -8
- package/dist-cjs/protocols/Aws_restJson1.js +1 -1606
- package/dist-cjs/runtimeExtensions.js +1 -22
- package/dist-cjs/waiters/index.js +1 -11
- package/dist-cjs/waiters/waitForGraphAvailable.js +1 -54
- package/dist-cjs/waiters/waitForGraphDeleted.js +1 -39
- package/dist-cjs/waiters/waitForGraphSnapshotAvailable.js +1 -54
- package/dist-cjs/waiters/waitForGraphSnapshotDeleted.js +1 -39
- package/dist-cjs/waiters/waitForImportTaskCancelled.js +1 -45
- package/dist-cjs/waiters/waitForImportTaskSuccessful.js +1 -72
- package/dist-cjs/waiters/waitForPrivateGraphEndpointAvailable.js +1 -54
- package/dist-cjs/waiters/waitForPrivateGraphEndpointDeleted.js +1 -39
- package/package.json +41 -41
|
@@ -1,12 +1 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.NeptuneGraphServiceException = exports.__ServiceException = void 0;
|
|
4
|
-
const smithy_client_1 = require("@smithy/smithy-client");
|
|
5
|
-
Object.defineProperty(exports, "__ServiceException", { enumerable: true, get: function () { return smithy_client_1.ServiceException; } });
|
|
6
|
-
class NeptuneGraphServiceException extends smithy_client_1.ServiceException {
|
|
7
|
-
constructor(options) {
|
|
8
|
-
super(options);
|
|
9
|
-
Object.setPrototypeOf(this, NeptuneGraphServiceException.prototype);
|
|
10
|
-
}
|
|
11
|
-
}
|
|
12
|
-
exports.NeptuneGraphServiceException = NeptuneGraphServiceException;
|
|
1
|
+
module.exports = require("../index.js");
|
package/dist-cjs/models/index.js
CHANGED
|
@@ -1,149 +1 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ImportOptions = exports.ImportTaskStatus = exports.Format = exports.SnapshotStatus = exports.PrivateGraphEndpointStatus = exports.ResourceNotFoundException = exports.ValidationException = exports.ValidationExceptionReason = exports.ThrottlingException = exports.ServiceQuotaExceededException = exports.InternalServerException = exports.GraphStatus = exports.ConflictException = exports.ConflictExceptionReason = void 0;
|
|
4
|
-
const NeptuneGraphServiceException_1 = require("./NeptuneGraphServiceException");
|
|
5
|
-
exports.ConflictExceptionReason = {
|
|
6
|
-
CONCURRENT_MODIFICATION: "CONCURRENT_MODIFICATION",
|
|
7
|
-
};
|
|
8
|
-
class ConflictException extends NeptuneGraphServiceException_1.NeptuneGraphServiceException {
|
|
9
|
-
constructor(opts) {
|
|
10
|
-
super({
|
|
11
|
-
name: "ConflictException",
|
|
12
|
-
$fault: "client",
|
|
13
|
-
...opts,
|
|
14
|
-
});
|
|
15
|
-
this.name = "ConflictException";
|
|
16
|
-
this.$fault = "client";
|
|
17
|
-
Object.setPrototypeOf(this, ConflictException.prototype);
|
|
18
|
-
this.reason = opts.reason;
|
|
19
|
-
}
|
|
20
|
-
}
|
|
21
|
-
exports.ConflictException = ConflictException;
|
|
22
|
-
exports.GraphStatus = {
|
|
23
|
-
AVAILABLE: "AVAILABLE",
|
|
24
|
-
CREATING: "CREATING",
|
|
25
|
-
DELETING: "DELETING",
|
|
26
|
-
FAILED: "FAILED",
|
|
27
|
-
RESETTING: "RESETTING",
|
|
28
|
-
SNAPSHOTTING: "SNAPSHOTTING",
|
|
29
|
-
UPDATING: "UPDATING",
|
|
30
|
-
};
|
|
31
|
-
class InternalServerException extends NeptuneGraphServiceException_1.NeptuneGraphServiceException {
|
|
32
|
-
constructor(opts) {
|
|
33
|
-
super({
|
|
34
|
-
name: "InternalServerException",
|
|
35
|
-
$fault: "server",
|
|
36
|
-
...opts,
|
|
37
|
-
});
|
|
38
|
-
this.name = "InternalServerException";
|
|
39
|
-
this.$fault = "server";
|
|
40
|
-
this.$retryable = {};
|
|
41
|
-
Object.setPrototypeOf(this, InternalServerException.prototype);
|
|
42
|
-
}
|
|
43
|
-
}
|
|
44
|
-
exports.InternalServerException = InternalServerException;
|
|
45
|
-
class ServiceQuotaExceededException extends NeptuneGraphServiceException_1.NeptuneGraphServiceException {
|
|
46
|
-
constructor(opts) {
|
|
47
|
-
super({
|
|
48
|
-
name: "ServiceQuotaExceededException",
|
|
49
|
-
$fault: "client",
|
|
50
|
-
...opts,
|
|
51
|
-
});
|
|
52
|
-
this.name = "ServiceQuotaExceededException";
|
|
53
|
-
this.$fault = "client";
|
|
54
|
-
Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
|
|
55
|
-
this.resourceId = opts.resourceId;
|
|
56
|
-
this.resourceType = opts.resourceType;
|
|
57
|
-
this.serviceCode = opts.serviceCode;
|
|
58
|
-
this.quotaCode = opts.quotaCode;
|
|
59
|
-
}
|
|
60
|
-
}
|
|
61
|
-
exports.ServiceQuotaExceededException = ServiceQuotaExceededException;
|
|
62
|
-
class ThrottlingException extends NeptuneGraphServiceException_1.NeptuneGraphServiceException {
|
|
63
|
-
constructor(opts) {
|
|
64
|
-
super({
|
|
65
|
-
name: "ThrottlingException",
|
|
66
|
-
$fault: "client",
|
|
67
|
-
...opts,
|
|
68
|
-
});
|
|
69
|
-
this.name = "ThrottlingException";
|
|
70
|
-
this.$fault = "client";
|
|
71
|
-
this.$retryable = {
|
|
72
|
-
throttling: true,
|
|
73
|
-
};
|
|
74
|
-
Object.setPrototypeOf(this, ThrottlingException.prototype);
|
|
75
|
-
}
|
|
76
|
-
}
|
|
77
|
-
exports.ThrottlingException = ThrottlingException;
|
|
78
|
-
exports.ValidationExceptionReason = {
|
|
79
|
-
BAD_REQUEST: "BAD_REQUEST",
|
|
80
|
-
CONSTRAINT_VIOLATION: "CONSTRAINT_VIOLATION",
|
|
81
|
-
ILLEGAL_ARGUMENT: "ILLEGAL_ARGUMENT",
|
|
82
|
-
MALFORMED_QUERY: "MALFORMED_QUERY",
|
|
83
|
-
QUERY_CANCELLED: "QUERY_CANCELLED",
|
|
84
|
-
QUERY_TOO_LARGE: "QUERY_TOO_LARGE",
|
|
85
|
-
UNSUPPORTED_OPERATION: "UNSUPPORTED_OPERATION",
|
|
86
|
-
};
|
|
87
|
-
class ValidationException extends NeptuneGraphServiceException_1.NeptuneGraphServiceException {
|
|
88
|
-
constructor(opts) {
|
|
89
|
-
super({
|
|
90
|
-
name: "ValidationException",
|
|
91
|
-
$fault: "client",
|
|
92
|
-
...opts,
|
|
93
|
-
});
|
|
94
|
-
this.name = "ValidationException";
|
|
95
|
-
this.$fault = "client";
|
|
96
|
-
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
97
|
-
this.reason = opts.reason;
|
|
98
|
-
}
|
|
99
|
-
}
|
|
100
|
-
exports.ValidationException = ValidationException;
|
|
101
|
-
class ResourceNotFoundException extends NeptuneGraphServiceException_1.NeptuneGraphServiceException {
|
|
102
|
-
constructor(opts) {
|
|
103
|
-
super({
|
|
104
|
-
name: "ResourceNotFoundException",
|
|
105
|
-
$fault: "client",
|
|
106
|
-
...opts,
|
|
107
|
-
});
|
|
108
|
-
this.name = "ResourceNotFoundException";
|
|
109
|
-
this.$fault = "client";
|
|
110
|
-
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
111
|
-
}
|
|
112
|
-
}
|
|
113
|
-
exports.ResourceNotFoundException = ResourceNotFoundException;
|
|
114
|
-
exports.PrivateGraphEndpointStatus = {
|
|
115
|
-
AVAILABLE: "AVAILABLE",
|
|
116
|
-
CREATING: "CREATING",
|
|
117
|
-
DELETING: "DELETING",
|
|
118
|
-
FAILED: "FAILED",
|
|
119
|
-
};
|
|
120
|
-
exports.SnapshotStatus = {
|
|
121
|
-
AVAILABLE: "AVAILABLE",
|
|
122
|
-
CREATING: "CREATING",
|
|
123
|
-
DELETING: "DELETING",
|
|
124
|
-
FAILED: "FAILED",
|
|
125
|
-
};
|
|
126
|
-
exports.Format = {
|
|
127
|
-
CSV: "CSV",
|
|
128
|
-
OPEN_CYPHER: "OPEN_CYPHER",
|
|
129
|
-
};
|
|
130
|
-
exports.ImportTaskStatus = {
|
|
131
|
-
ANALYZING_DATA: "ANALYZING_DATA",
|
|
132
|
-
CANCELLED: "CANCELLED",
|
|
133
|
-
CANCELLING: "CANCELLING",
|
|
134
|
-
EXPORTING: "EXPORTING",
|
|
135
|
-
FAILED: "FAILED",
|
|
136
|
-
IMPORTING: "IMPORTING",
|
|
137
|
-
INITIALIZING: "INITIALIZING",
|
|
138
|
-
REPROVISIONING: "REPROVISIONING",
|
|
139
|
-
ROLLING_BACK: "ROLLING_BACK",
|
|
140
|
-
SUCCEEDED: "SUCCEEDED",
|
|
141
|
-
};
|
|
142
|
-
var ImportOptions;
|
|
143
|
-
(function (ImportOptions) {
|
|
144
|
-
ImportOptions.visit = (value, visitor) => {
|
|
145
|
-
if (value.neptune !== undefined)
|
|
146
|
-
return visitor.neptune(value.neptune);
|
|
147
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
148
|
-
};
|
|
149
|
-
})(ImportOptions = exports.ImportOptions || (exports.ImportOptions = {}));
|
|
1
|
+
module.exports = require("../index.js");
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
module.exports = require("../index.js");
|
|
@@ -1,7 +1 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.paginateListGraphSnapshots = void 0;
|
|
4
|
-
const core_1 = require("@smithy/core");
|
|
5
|
-
const ListGraphSnapshotsCommand_1 = require("../commands/ListGraphSnapshotsCommand");
|
|
6
|
-
const NeptuneGraphClient_1 = require("../NeptuneGraphClient");
|
|
7
|
-
exports.paginateListGraphSnapshots = (0, core_1.createPaginator)(NeptuneGraphClient_1.NeptuneGraphClient, ListGraphSnapshotsCommand_1.ListGraphSnapshotsCommand, "nextToken", "nextToken", "maxResults");
|
|
1
|
+
module.exports = require("../index.js");
|
|
@@ -1,7 +1 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.paginateListGraphs = void 0;
|
|
4
|
-
const core_1 = require("@smithy/core");
|
|
5
|
-
const ListGraphsCommand_1 = require("../commands/ListGraphsCommand");
|
|
6
|
-
const NeptuneGraphClient_1 = require("../NeptuneGraphClient");
|
|
7
|
-
exports.paginateListGraphs = (0, core_1.createPaginator)(NeptuneGraphClient_1.NeptuneGraphClient, ListGraphsCommand_1.ListGraphsCommand, "nextToken", "nextToken", "maxResults");
|
|
1
|
+
module.exports = require("../index.js");
|
|
@@ -1,7 +1 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.paginateListImportTasks = void 0;
|
|
4
|
-
const core_1 = require("@smithy/core");
|
|
5
|
-
const ListImportTasksCommand_1 = require("../commands/ListImportTasksCommand");
|
|
6
|
-
const NeptuneGraphClient_1 = require("../NeptuneGraphClient");
|
|
7
|
-
exports.paginateListImportTasks = (0, core_1.createPaginator)(NeptuneGraphClient_1.NeptuneGraphClient, ListImportTasksCommand_1.ListImportTasksCommand, "nextToken", "nextToken", "maxResults");
|
|
1
|
+
module.exports = require("../index.js");
|
|
@@ -1,7 +1 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.paginateListPrivateGraphEndpoints = void 0;
|
|
4
|
-
const core_1 = require("@smithy/core");
|
|
5
|
-
const ListPrivateGraphEndpointsCommand_1 = require("../commands/ListPrivateGraphEndpointsCommand");
|
|
6
|
-
const NeptuneGraphClient_1 = require("../NeptuneGraphClient");
|
|
7
|
-
exports.paginateListPrivateGraphEndpoints = (0, core_1.createPaginator)(NeptuneGraphClient_1.NeptuneGraphClient, ListPrivateGraphEndpointsCommand_1.ListPrivateGraphEndpointsCommand, "nextToken", "nextToken", "maxResults");
|
|
1
|
+
module.exports = require("../index.js");
|
|
@@ -1,8 +1 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
const tslib_1 = require("tslib");
|
|
4
|
-
tslib_1.__exportStar(require("./Interfaces"), exports);
|
|
5
|
-
tslib_1.__exportStar(require("./ListGraphSnapshotsPaginator"), exports);
|
|
6
|
-
tslib_1.__exportStar(require("./ListGraphsPaginator"), exports);
|
|
7
|
-
tslib_1.__exportStar(require("./ListImportTasksPaginator"), exports);
|
|
8
|
-
tslib_1.__exportStar(require("./ListPrivateGraphEndpointsPaginator"), exports);
|
|
1
|
+
module.exports = require("../index.js");
|