@aws-sdk/client-neptunedata 3.928.0 → 3.930.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/index.js +2421 -2420
- package/dist-cjs/runtimeConfig.shared.js +2 -0
- package/dist-es/NeptunedataClient.js +2 -0
- package/dist-es/commands/CancelGremlinQueryCommand.js +3 -9
- package/dist-es/commands/CancelLoaderJobCommand.js +3 -9
- package/dist-es/commands/CancelMLDataProcessingJobCommand.js +3 -9
- package/dist-es/commands/CancelMLModelTrainingJobCommand.js +3 -9
- package/dist-es/commands/CancelMLModelTransformJobCommand.js +3 -9
- package/dist-es/commands/CancelOpenCypherQueryCommand.js +3 -9
- package/dist-es/commands/CreateMLEndpointCommand.js +3 -9
- package/dist-es/commands/DeleteMLEndpointCommand.js +3 -9
- package/dist-es/commands/DeletePropertygraphStatisticsCommand.js +3 -9
- package/dist-es/commands/DeleteSparqlStatisticsCommand.js +3 -9
- package/dist-es/commands/ExecuteFastResetCommand.js +3 -9
- package/dist-es/commands/ExecuteGremlinExplainQueryCommand.js +3 -9
- package/dist-es/commands/ExecuteGremlinProfileQueryCommand.js +3 -9
- package/dist-es/commands/ExecuteGremlinQueryCommand.js +3 -9
- package/dist-es/commands/ExecuteOpenCypherExplainQueryCommand.js +3 -9
- package/dist-es/commands/ExecuteOpenCypherQueryCommand.js +3 -9
- package/dist-es/commands/GetEngineStatusCommand.js +3 -9
- package/dist-es/commands/GetGremlinQueryStatusCommand.js +3 -9
- package/dist-es/commands/GetLoaderJobStatusCommand.js +3 -9
- package/dist-es/commands/GetMLDataProcessingJobCommand.js +3 -9
- package/dist-es/commands/GetMLEndpointCommand.js +3 -9
- package/dist-es/commands/GetMLModelTrainingJobCommand.js +3 -9
- package/dist-es/commands/GetMLModelTransformJobCommand.js +3 -9
- package/dist-es/commands/GetOpenCypherQueryStatusCommand.js +3 -9
- package/dist-es/commands/GetPropertygraphStatisticsCommand.js +3 -9
- package/dist-es/commands/GetPropertygraphStreamCommand.js +3 -9
- package/dist-es/commands/GetPropertygraphSummaryCommand.js +3 -9
- package/dist-es/commands/GetRDFGraphSummaryCommand.js +3 -9
- package/dist-es/commands/GetSparqlStatisticsCommand.js +3 -9
- package/dist-es/commands/GetSparqlStreamCommand.js +3 -9
- package/dist-es/commands/ListGremlinQueriesCommand.js +3 -9
- package/dist-es/commands/ListLoaderJobsCommand.js +3 -9
- package/dist-es/commands/ListMLDataProcessingJobsCommand.js +3 -9
- package/dist-es/commands/ListMLEndpointsCommand.js +3 -9
- package/dist-es/commands/ListMLModelTrainingJobsCommand.js +3 -9
- package/dist-es/commands/ListMLModelTransformJobsCommand.js +3 -9
- package/dist-es/commands/ListOpenCypherQueriesCommand.js +3 -9
- package/dist-es/commands/ManagePropertygraphStatisticsCommand.js +3 -9
- package/dist-es/commands/ManageSparqlStatisticsCommand.js +3 -9
- package/dist-es/commands/StartLoaderJobCommand.js +3 -9
- package/dist-es/commands/StartMLDataProcessingJobCommand.js +3 -9
- package/dist-es/commands/StartMLModelTrainingJobCommand.js +3 -9
- package/dist-es/commands/StartMLModelTransformJobCommand.js +3 -9
- package/dist-es/runtimeConfig.shared.js +2 -0
- package/dist-es/schemas/schemas_0.js +2252 -0
- package/dist-types/NeptunedataClient.d.ts +10 -1
- package/dist-types/runtimeConfig.browser.d.ts +1 -0
- package/dist-types/runtimeConfig.d.ts +1 -0
- package/dist-types/runtimeConfig.native.d.ts +1 -0
- package/dist-types/runtimeConfig.shared.d.ts +1 -0
- package/dist-types/schemas/schemas_0.d.ts +208 -0
- package/dist-types/ts3.4/NeptunedataClient.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +214 -0
- package/package.json +34 -34
- package/dist-es/protocols/Aws_restJson1.js +0 -2027
- package/dist-types/protocols/Aws_restJson1.d.ts +0 -389
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +0 -521
|
@@ -1,2027 +0,0 @@
|
|
|
1
|
-
import { loadRestJsonErrorCode, parseJsonBody as parseBody, parseJsonErrorBody as parseErrorBody } from "@aws-sdk/core";
|
|
2
|
-
import { requestBuilder as rb } from "@smithy/core";
|
|
3
|
-
import { _json, collectBody, decorateServiceException as __decorateServiceException, expectBoolean as __expectBoolean, expectInt32 as __expectInt32, expectLong as __expectLong, expectNonNull as __expectNonNull, expectObject as __expectObject, expectString as __expectString, isSerializableHeaderValue, map, parseRfc3339DateTimeWithOffset as __parseRfc3339DateTimeWithOffset, take, withBaseException, } from "@smithy/smithy-client";
|
|
4
|
-
import { AccessDeniedException, BadRequestException, BulkLoadIdNotFoundException, CancelledByUserException, ClientTimeoutException, ConcurrentModificationException, ConstraintViolationException, ExpiredStreamException, FailureByQueryException, IllegalArgumentException, InternalFailureException, InvalidArgumentException, InvalidNumericDataException, InvalidParameterException, LoadUrlAccessDeniedException, MalformedQueryException, MemoryLimitExceededException, MethodNotAllowedException, MissingParameterException, MLResourceNotFoundException, ParsingException, PreconditionsFailedException, QueryLimitExceededException, QueryLimitException, QueryTooLargeException, ReadOnlyViolationException, S3Exception, ServerShutdownException, StatisticsNotAvailableException, StreamRecordsNotFoundException, ThrottlingException, TimeLimitExceededException, TooManyRequestsException, UnsupportedOperationException, } from "../models/models_0";
|
|
5
|
-
import { NeptunedataServiceException as __BaseException } from "../models/NeptunedataServiceException";
|
|
6
|
-
export const se_CancelGremlinQueryCommand = async (input, context) => {
|
|
7
|
-
const b = rb(input, context);
|
|
8
|
-
const headers = {};
|
|
9
|
-
b.bp("/gremlin/status/{queryId}");
|
|
10
|
-
b.p("queryId", () => input.queryId, "{queryId}", false);
|
|
11
|
-
let body;
|
|
12
|
-
b.m("DELETE").h(headers).b(body);
|
|
13
|
-
return b.build();
|
|
14
|
-
};
|
|
15
|
-
export const se_CancelLoaderJobCommand = async (input, context) => {
|
|
16
|
-
const b = rb(input, context);
|
|
17
|
-
const headers = {};
|
|
18
|
-
b.bp("/loader/{loadId}");
|
|
19
|
-
b.p("loadId", () => input.loadId, "{loadId}", false);
|
|
20
|
-
let body;
|
|
21
|
-
b.m("DELETE").h(headers).b(body);
|
|
22
|
-
return b.build();
|
|
23
|
-
};
|
|
24
|
-
export const se_CancelMLDataProcessingJobCommand = async (input, context) => {
|
|
25
|
-
const b = rb(input, context);
|
|
26
|
-
const headers = {};
|
|
27
|
-
b.bp("/ml/dataprocessing/{id}");
|
|
28
|
-
b.p("id", () => input.id, "{id}", false);
|
|
29
|
-
const query = map({
|
|
30
|
-
[_nIRA]: [, input[_nIRA]],
|
|
31
|
-
[_c]: [() => input.clean !== void 0, () => input[_c].toString()],
|
|
32
|
-
});
|
|
33
|
-
let body;
|
|
34
|
-
b.m("DELETE").h(headers).q(query).b(body);
|
|
35
|
-
return b.build();
|
|
36
|
-
};
|
|
37
|
-
export const se_CancelMLModelTrainingJobCommand = async (input, context) => {
|
|
38
|
-
const b = rb(input, context);
|
|
39
|
-
const headers = {};
|
|
40
|
-
b.bp("/ml/modeltraining/{id}");
|
|
41
|
-
b.p("id", () => input.id, "{id}", false);
|
|
42
|
-
const query = map({
|
|
43
|
-
[_nIRA]: [, input[_nIRA]],
|
|
44
|
-
[_c]: [() => input.clean !== void 0, () => input[_c].toString()],
|
|
45
|
-
});
|
|
46
|
-
let body;
|
|
47
|
-
b.m("DELETE").h(headers).q(query).b(body);
|
|
48
|
-
return b.build();
|
|
49
|
-
};
|
|
50
|
-
export const se_CancelMLModelTransformJobCommand = async (input, context) => {
|
|
51
|
-
const b = rb(input, context);
|
|
52
|
-
const headers = {};
|
|
53
|
-
b.bp("/ml/modeltransform/{id}");
|
|
54
|
-
b.p("id", () => input.id, "{id}", false);
|
|
55
|
-
const query = map({
|
|
56
|
-
[_nIRA]: [, input[_nIRA]],
|
|
57
|
-
[_c]: [() => input.clean !== void 0, () => input[_c].toString()],
|
|
58
|
-
});
|
|
59
|
-
let body;
|
|
60
|
-
b.m("DELETE").h(headers).q(query).b(body);
|
|
61
|
-
return b.build();
|
|
62
|
-
};
|
|
63
|
-
export const se_CancelOpenCypherQueryCommand = async (input, context) => {
|
|
64
|
-
const b = rb(input, context);
|
|
65
|
-
const headers = {};
|
|
66
|
-
b.bp("/opencypher/status/{queryId}");
|
|
67
|
-
b.p("queryId", () => input.queryId, "{queryId}", false);
|
|
68
|
-
const query = map({
|
|
69
|
-
[_s]: [() => input.silent !== void 0, () => input[_s].toString()],
|
|
70
|
-
});
|
|
71
|
-
let body;
|
|
72
|
-
b.m("DELETE").h(headers).q(query).b(body);
|
|
73
|
-
return b.build();
|
|
74
|
-
};
|
|
75
|
-
export const se_CreateMLEndpointCommand = async (input, context) => {
|
|
76
|
-
const b = rb(input, context);
|
|
77
|
-
const headers = {
|
|
78
|
-
"content-type": "application/json",
|
|
79
|
-
};
|
|
80
|
-
b.bp("/ml/endpoints");
|
|
81
|
-
let body;
|
|
82
|
-
body = JSON.stringify(take(input, {
|
|
83
|
-
id: [],
|
|
84
|
-
instanceCount: [],
|
|
85
|
-
instanceType: [],
|
|
86
|
-
mlModelTrainingJobId: [],
|
|
87
|
-
mlModelTransformJobId: [],
|
|
88
|
-
modelName: [],
|
|
89
|
-
neptuneIamRoleArn: [],
|
|
90
|
-
update: [],
|
|
91
|
-
volumeEncryptionKMSKey: [],
|
|
92
|
-
}));
|
|
93
|
-
b.m("POST").h(headers).b(body);
|
|
94
|
-
return b.build();
|
|
95
|
-
};
|
|
96
|
-
export const se_DeleteMLEndpointCommand = async (input, context) => {
|
|
97
|
-
const b = rb(input, context);
|
|
98
|
-
const headers = {};
|
|
99
|
-
b.bp("/ml/endpoints/{id}");
|
|
100
|
-
b.p("id", () => input.id, "{id}", false);
|
|
101
|
-
const query = map({
|
|
102
|
-
[_nIRA]: [, input[_nIRA]],
|
|
103
|
-
[_c]: [() => input.clean !== void 0, () => input[_c].toString()],
|
|
104
|
-
});
|
|
105
|
-
let body;
|
|
106
|
-
b.m("DELETE").h(headers).q(query).b(body);
|
|
107
|
-
return b.build();
|
|
108
|
-
};
|
|
109
|
-
export const se_DeletePropertygraphStatisticsCommand = async (input, context) => {
|
|
110
|
-
const b = rb(input, context);
|
|
111
|
-
const headers = {};
|
|
112
|
-
b.bp("/propertygraph/statistics");
|
|
113
|
-
let body;
|
|
114
|
-
b.m("DELETE").h(headers).b(body);
|
|
115
|
-
return b.build();
|
|
116
|
-
};
|
|
117
|
-
export const se_DeleteSparqlStatisticsCommand = async (input, context) => {
|
|
118
|
-
const b = rb(input, context);
|
|
119
|
-
const headers = {};
|
|
120
|
-
b.bp("/sparql/statistics");
|
|
121
|
-
let body;
|
|
122
|
-
b.m("DELETE").h(headers).b(body);
|
|
123
|
-
return b.build();
|
|
124
|
-
};
|
|
125
|
-
export const se_ExecuteFastResetCommand = async (input, context) => {
|
|
126
|
-
const b = rb(input, context);
|
|
127
|
-
const headers = {
|
|
128
|
-
"content-type": "application/json",
|
|
129
|
-
};
|
|
130
|
-
b.bp("/system");
|
|
131
|
-
let body;
|
|
132
|
-
body = JSON.stringify(take(input, {
|
|
133
|
-
action: [],
|
|
134
|
-
token: [],
|
|
135
|
-
}));
|
|
136
|
-
b.m("POST").h(headers).b(body);
|
|
137
|
-
return b.build();
|
|
138
|
-
};
|
|
139
|
-
export const se_ExecuteGremlinExplainQueryCommand = async (input, context) => {
|
|
140
|
-
const b = rb(input, context);
|
|
141
|
-
const headers = {
|
|
142
|
-
"content-type": "application/json",
|
|
143
|
-
};
|
|
144
|
-
b.bp("/gremlin/explain");
|
|
145
|
-
let body;
|
|
146
|
-
body = JSON.stringify(take(input, {
|
|
147
|
-
gremlin: [, , `gremlinQuery`],
|
|
148
|
-
}));
|
|
149
|
-
b.m("POST").h(headers).b(body);
|
|
150
|
-
return b.build();
|
|
151
|
-
};
|
|
152
|
-
export const se_ExecuteGremlinProfileQueryCommand = async (input, context) => {
|
|
153
|
-
const b = rb(input, context);
|
|
154
|
-
const headers = {
|
|
155
|
-
"content-type": "application/json",
|
|
156
|
-
};
|
|
157
|
-
b.bp("/gremlin/profile");
|
|
158
|
-
let body;
|
|
159
|
-
body = JSON.stringify(take(input, {
|
|
160
|
-
"profile.chop": [, , `chop`],
|
|
161
|
-
gremlin: [, , `gremlinQuery`],
|
|
162
|
-
"profile.indexOps": [, , `indexOps`],
|
|
163
|
-
"profile.results": [, , `results`],
|
|
164
|
-
"profile.serializer": [, , `serializer`],
|
|
165
|
-
}));
|
|
166
|
-
b.m("POST").h(headers).b(body);
|
|
167
|
-
return b.build();
|
|
168
|
-
};
|
|
169
|
-
export const se_ExecuteGremlinQueryCommand = async (input, context) => {
|
|
170
|
-
const b = rb(input, context);
|
|
171
|
-
const headers = map({}, isSerializableHeaderValue, {
|
|
172
|
-
"content-type": "application/json",
|
|
173
|
-
[_a]: input[_se],
|
|
174
|
-
});
|
|
175
|
-
b.bp("/gremlin");
|
|
176
|
-
let body;
|
|
177
|
-
body = JSON.stringify(take(input, {
|
|
178
|
-
gremlin: [, , `gremlinQuery`],
|
|
179
|
-
}));
|
|
180
|
-
b.m("POST").h(headers).b(body);
|
|
181
|
-
return b.build();
|
|
182
|
-
};
|
|
183
|
-
export const se_ExecuteOpenCypherExplainQueryCommand = async (input, context) => {
|
|
184
|
-
const b = rb(input, context);
|
|
185
|
-
const headers = {
|
|
186
|
-
"content-type": "application/json",
|
|
187
|
-
};
|
|
188
|
-
b.bp("/opencypher/explain");
|
|
189
|
-
let body;
|
|
190
|
-
body = JSON.stringify(take(input, {
|
|
191
|
-
explain: [, , `explainMode`],
|
|
192
|
-
query: [, , `openCypherQuery`],
|
|
193
|
-
parameters: [],
|
|
194
|
-
}));
|
|
195
|
-
b.m("POST").h(headers).b(body);
|
|
196
|
-
return b.build();
|
|
197
|
-
};
|
|
198
|
-
export const se_ExecuteOpenCypherQueryCommand = async (input, context) => {
|
|
199
|
-
const b = rb(input, context);
|
|
200
|
-
const headers = {
|
|
201
|
-
"content-type": "application/json",
|
|
202
|
-
};
|
|
203
|
-
b.bp("/opencypher");
|
|
204
|
-
let body;
|
|
205
|
-
body = JSON.stringify(take(input, {
|
|
206
|
-
query: [, , `openCypherQuery`],
|
|
207
|
-
parameters: [],
|
|
208
|
-
}));
|
|
209
|
-
b.m("POST").h(headers).b(body);
|
|
210
|
-
return b.build();
|
|
211
|
-
};
|
|
212
|
-
export const se_GetEngineStatusCommand = async (input, context) => {
|
|
213
|
-
const b = rb(input, context);
|
|
214
|
-
const headers = {};
|
|
215
|
-
b.bp("/status");
|
|
216
|
-
let body;
|
|
217
|
-
b.m("GET").h(headers).b(body);
|
|
218
|
-
return b.build();
|
|
219
|
-
};
|
|
220
|
-
export const se_GetGremlinQueryStatusCommand = async (input, context) => {
|
|
221
|
-
const b = rb(input, context);
|
|
222
|
-
const headers = {};
|
|
223
|
-
b.bp("/gremlin/status/{queryId}");
|
|
224
|
-
b.p("queryId", () => input.queryId, "{queryId}", false);
|
|
225
|
-
let body;
|
|
226
|
-
b.m("GET").h(headers).b(body);
|
|
227
|
-
return b.build();
|
|
228
|
-
};
|
|
229
|
-
export const se_GetLoaderJobStatusCommand = async (input, context) => {
|
|
230
|
-
const b = rb(input, context);
|
|
231
|
-
const headers = {};
|
|
232
|
-
b.bp("/loader/{loadId}");
|
|
233
|
-
b.p("loadId", () => input.loadId, "{loadId}", false);
|
|
234
|
-
const query = map({
|
|
235
|
-
[_d]: [() => input.details !== void 0, () => input[_d].toString()],
|
|
236
|
-
[_e]: [() => input.errors !== void 0, () => input[_e].toString()],
|
|
237
|
-
[_p]: [() => input.page !== void 0, () => input[_p].toString()],
|
|
238
|
-
[_ePP]: [() => input.errorsPerPage !== void 0, () => input[_ePP].toString()],
|
|
239
|
-
});
|
|
240
|
-
let body;
|
|
241
|
-
b.m("GET").h(headers).q(query).b(body);
|
|
242
|
-
return b.build();
|
|
243
|
-
};
|
|
244
|
-
export const se_GetMLDataProcessingJobCommand = async (input, context) => {
|
|
245
|
-
const b = rb(input, context);
|
|
246
|
-
const headers = {};
|
|
247
|
-
b.bp("/ml/dataprocessing/{id}");
|
|
248
|
-
b.p("id", () => input.id, "{id}", false);
|
|
249
|
-
const query = map({
|
|
250
|
-
[_nIRA]: [, input[_nIRA]],
|
|
251
|
-
});
|
|
252
|
-
let body;
|
|
253
|
-
b.m("GET").h(headers).q(query).b(body);
|
|
254
|
-
return b.build();
|
|
255
|
-
};
|
|
256
|
-
export const se_GetMLEndpointCommand = async (input, context) => {
|
|
257
|
-
const b = rb(input, context);
|
|
258
|
-
const headers = {};
|
|
259
|
-
b.bp("/ml/endpoints/{id}");
|
|
260
|
-
b.p("id", () => input.id, "{id}", false);
|
|
261
|
-
const query = map({
|
|
262
|
-
[_nIRA]: [, input[_nIRA]],
|
|
263
|
-
});
|
|
264
|
-
let body;
|
|
265
|
-
b.m("GET").h(headers).q(query).b(body);
|
|
266
|
-
return b.build();
|
|
267
|
-
};
|
|
268
|
-
export const se_GetMLModelTrainingJobCommand = async (input, context) => {
|
|
269
|
-
const b = rb(input, context);
|
|
270
|
-
const headers = {};
|
|
271
|
-
b.bp("/ml/modeltraining/{id}");
|
|
272
|
-
b.p("id", () => input.id, "{id}", false);
|
|
273
|
-
const query = map({
|
|
274
|
-
[_nIRA]: [, input[_nIRA]],
|
|
275
|
-
});
|
|
276
|
-
let body;
|
|
277
|
-
b.m("GET").h(headers).q(query).b(body);
|
|
278
|
-
return b.build();
|
|
279
|
-
};
|
|
280
|
-
export const se_GetMLModelTransformJobCommand = async (input, context) => {
|
|
281
|
-
const b = rb(input, context);
|
|
282
|
-
const headers = {};
|
|
283
|
-
b.bp("/ml/modeltransform/{id}");
|
|
284
|
-
b.p("id", () => input.id, "{id}", false);
|
|
285
|
-
const query = map({
|
|
286
|
-
[_nIRA]: [, input[_nIRA]],
|
|
287
|
-
});
|
|
288
|
-
let body;
|
|
289
|
-
b.m("GET").h(headers).q(query).b(body);
|
|
290
|
-
return b.build();
|
|
291
|
-
};
|
|
292
|
-
export const se_GetOpenCypherQueryStatusCommand = async (input, context) => {
|
|
293
|
-
const b = rb(input, context);
|
|
294
|
-
const headers = {};
|
|
295
|
-
b.bp("/opencypher/status/{queryId}");
|
|
296
|
-
b.p("queryId", () => input.queryId, "{queryId}", false);
|
|
297
|
-
let body;
|
|
298
|
-
b.m("GET").h(headers).b(body);
|
|
299
|
-
return b.build();
|
|
300
|
-
};
|
|
301
|
-
export const se_GetPropertygraphStatisticsCommand = async (input, context) => {
|
|
302
|
-
const b = rb(input, context);
|
|
303
|
-
const headers = {};
|
|
304
|
-
b.bp("/propertygraph/statistics");
|
|
305
|
-
let body;
|
|
306
|
-
b.m("GET").h(headers).b(body);
|
|
307
|
-
return b.build();
|
|
308
|
-
};
|
|
309
|
-
export const se_GetPropertygraphStreamCommand = async (input, context) => {
|
|
310
|
-
const b = rb(input, context);
|
|
311
|
-
const headers = map({}, isSerializableHeaderValue, {
|
|
312
|
-
[_ae]: input[_en],
|
|
313
|
-
});
|
|
314
|
-
b.bp("/propertygraph/stream");
|
|
315
|
-
const query = map({
|
|
316
|
-
[_l]: [() => input.limit !== void 0, () => input[_l].toString()],
|
|
317
|
-
[_iT]: [, input[_iT]],
|
|
318
|
-
[_cN]: [() => input.commitNum !== void 0, () => input[_cN].toString()],
|
|
319
|
-
[_oN]: [() => input.opNum !== void 0, () => input[_oN].toString()],
|
|
320
|
-
});
|
|
321
|
-
let body;
|
|
322
|
-
b.m("GET").h(headers).q(query).b(body);
|
|
323
|
-
return b.build();
|
|
324
|
-
};
|
|
325
|
-
export const se_GetPropertygraphSummaryCommand = async (input, context) => {
|
|
326
|
-
const b = rb(input, context);
|
|
327
|
-
const headers = {};
|
|
328
|
-
b.bp("/propertygraph/statistics/summary");
|
|
329
|
-
const query = map({
|
|
330
|
-
[_m]: [, input[_m]],
|
|
331
|
-
});
|
|
332
|
-
let body;
|
|
333
|
-
b.m("GET").h(headers).q(query).b(body);
|
|
334
|
-
return b.build();
|
|
335
|
-
};
|
|
336
|
-
export const se_GetRDFGraphSummaryCommand = async (input, context) => {
|
|
337
|
-
const b = rb(input, context);
|
|
338
|
-
const headers = {};
|
|
339
|
-
b.bp("/rdf/statistics/summary");
|
|
340
|
-
const query = map({
|
|
341
|
-
[_m]: [, input[_m]],
|
|
342
|
-
});
|
|
343
|
-
let body;
|
|
344
|
-
b.m("GET").h(headers).q(query).b(body);
|
|
345
|
-
return b.build();
|
|
346
|
-
};
|
|
347
|
-
export const se_GetSparqlStatisticsCommand = async (input, context) => {
|
|
348
|
-
const b = rb(input, context);
|
|
349
|
-
const headers = {};
|
|
350
|
-
b.bp("/sparql/statistics");
|
|
351
|
-
let body;
|
|
352
|
-
b.m("GET").h(headers).b(body);
|
|
353
|
-
return b.build();
|
|
354
|
-
};
|
|
355
|
-
export const se_GetSparqlStreamCommand = async (input, context) => {
|
|
356
|
-
const b = rb(input, context);
|
|
357
|
-
const headers = map({}, isSerializableHeaderValue, {
|
|
358
|
-
[_ae]: input[_en],
|
|
359
|
-
});
|
|
360
|
-
b.bp("/sparql/stream");
|
|
361
|
-
const query = map({
|
|
362
|
-
[_l]: [() => input.limit !== void 0, () => input[_l].toString()],
|
|
363
|
-
[_iT]: [, input[_iT]],
|
|
364
|
-
[_cN]: [() => input.commitNum !== void 0, () => input[_cN].toString()],
|
|
365
|
-
[_oN]: [() => input.opNum !== void 0, () => input[_oN].toString()],
|
|
366
|
-
});
|
|
367
|
-
let body;
|
|
368
|
-
b.m("GET").h(headers).q(query).b(body);
|
|
369
|
-
return b.build();
|
|
370
|
-
};
|
|
371
|
-
export const se_ListGremlinQueriesCommand = async (input, context) => {
|
|
372
|
-
const b = rb(input, context);
|
|
373
|
-
const headers = {};
|
|
374
|
-
b.bp("/gremlin/status");
|
|
375
|
-
const query = map({
|
|
376
|
-
[_iW]: [() => input.includeWaiting !== void 0, () => input[_iW].toString()],
|
|
377
|
-
});
|
|
378
|
-
let body;
|
|
379
|
-
b.m("GET").h(headers).q(query).b(body);
|
|
380
|
-
return b.build();
|
|
381
|
-
};
|
|
382
|
-
export const se_ListLoaderJobsCommand = async (input, context) => {
|
|
383
|
-
const b = rb(input, context);
|
|
384
|
-
const headers = {};
|
|
385
|
-
b.bp("/loader");
|
|
386
|
-
const query = map({
|
|
387
|
-
[_l]: [() => input.limit !== void 0, () => input[_l].toString()],
|
|
388
|
-
[_iQL]: [() => input.includeQueuedLoads !== void 0, () => input[_iQL].toString()],
|
|
389
|
-
});
|
|
390
|
-
let body;
|
|
391
|
-
b.m("GET").h(headers).q(query).b(body);
|
|
392
|
-
return b.build();
|
|
393
|
-
};
|
|
394
|
-
export const se_ListMLDataProcessingJobsCommand = async (input, context) => {
|
|
395
|
-
const b = rb(input, context);
|
|
396
|
-
const headers = {};
|
|
397
|
-
b.bp("/ml/dataprocessing");
|
|
398
|
-
const query = map({
|
|
399
|
-
[_mI]: [() => input.maxItems !== void 0, () => input[_mI].toString()],
|
|
400
|
-
[_nIRA]: [, input[_nIRA]],
|
|
401
|
-
});
|
|
402
|
-
let body;
|
|
403
|
-
b.m("GET").h(headers).q(query).b(body);
|
|
404
|
-
return b.build();
|
|
405
|
-
};
|
|
406
|
-
export const se_ListMLEndpointsCommand = async (input, context) => {
|
|
407
|
-
const b = rb(input, context);
|
|
408
|
-
const headers = {};
|
|
409
|
-
b.bp("/ml/endpoints");
|
|
410
|
-
const query = map({
|
|
411
|
-
[_mI]: [() => input.maxItems !== void 0, () => input[_mI].toString()],
|
|
412
|
-
[_nIRA]: [, input[_nIRA]],
|
|
413
|
-
});
|
|
414
|
-
let body;
|
|
415
|
-
b.m("GET").h(headers).q(query).b(body);
|
|
416
|
-
return b.build();
|
|
417
|
-
};
|
|
418
|
-
export const se_ListMLModelTrainingJobsCommand = async (input, context) => {
|
|
419
|
-
const b = rb(input, context);
|
|
420
|
-
const headers = {};
|
|
421
|
-
b.bp("/ml/modeltraining");
|
|
422
|
-
const query = map({
|
|
423
|
-
[_mI]: [() => input.maxItems !== void 0, () => input[_mI].toString()],
|
|
424
|
-
[_nIRA]: [, input[_nIRA]],
|
|
425
|
-
});
|
|
426
|
-
let body;
|
|
427
|
-
b.m("GET").h(headers).q(query).b(body);
|
|
428
|
-
return b.build();
|
|
429
|
-
};
|
|
430
|
-
export const se_ListMLModelTransformJobsCommand = async (input, context) => {
|
|
431
|
-
const b = rb(input, context);
|
|
432
|
-
const headers = {};
|
|
433
|
-
b.bp("/ml/modeltransform");
|
|
434
|
-
const query = map({
|
|
435
|
-
[_mI]: [() => input.maxItems !== void 0, () => input[_mI].toString()],
|
|
436
|
-
[_nIRA]: [, input[_nIRA]],
|
|
437
|
-
});
|
|
438
|
-
let body;
|
|
439
|
-
b.m("GET").h(headers).q(query).b(body);
|
|
440
|
-
return b.build();
|
|
441
|
-
};
|
|
442
|
-
export const se_ListOpenCypherQueriesCommand = async (input, context) => {
|
|
443
|
-
const b = rb(input, context);
|
|
444
|
-
const headers = {};
|
|
445
|
-
b.bp("/opencypher/status");
|
|
446
|
-
const query = map({
|
|
447
|
-
[_iW]: [() => input.includeWaiting !== void 0, () => input[_iW].toString()],
|
|
448
|
-
});
|
|
449
|
-
let body;
|
|
450
|
-
b.m("GET").h(headers).q(query).b(body);
|
|
451
|
-
return b.build();
|
|
452
|
-
};
|
|
453
|
-
export const se_ManagePropertygraphStatisticsCommand = async (input, context) => {
|
|
454
|
-
const b = rb(input, context);
|
|
455
|
-
const headers = {
|
|
456
|
-
"content-type": "application/json",
|
|
457
|
-
};
|
|
458
|
-
b.bp("/propertygraph/statistics");
|
|
459
|
-
let body;
|
|
460
|
-
body = JSON.stringify(take(input, {
|
|
461
|
-
mode: [],
|
|
462
|
-
}));
|
|
463
|
-
b.m("POST").h(headers).b(body);
|
|
464
|
-
return b.build();
|
|
465
|
-
};
|
|
466
|
-
export const se_ManageSparqlStatisticsCommand = async (input, context) => {
|
|
467
|
-
const b = rb(input, context);
|
|
468
|
-
const headers = {
|
|
469
|
-
"content-type": "application/json",
|
|
470
|
-
};
|
|
471
|
-
b.bp("/sparql/statistics");
|
|
472
|
-
let body;
|
|
473
|
-
body = JSON.stringify(take(input, {
|
|
474
|
-
mode: [],
|
|
475
|
-
}));
|
|
476
|
-
b.m("POST").h(headers).b(body);
|
|
477
|
-
return b.build();
|
|
478
|
-
};
|
|
479
|
-
export const se_StartLoaderJobCommand = async (input, context) => {
|
|
480
|
-
const b = rb(input, context);
|
|
481
|
-
const headers = {
|
|
482
|
-
"content-type": "application/json",
|
|
483
|
-
};
|
|
484
|
-
b.bp("/loader");
|
|
485
|
-
let body;
|
|
486
|
-
body = JSON.stringify(take(input, {
|
|
487
|
-
dependencies: (_) => _json(_),
|
|
488
|
-
failOnError: [],
|
|
489
|
-
format: [],
|
|
490
|
-
iamRoleArn: [],
|
|
491
|
-
mode: [],
|
|
492
|
-
parallelism: [],
|
|
493
|
-
parserConfiguration: (_) => _json(_),
|
|
494
|
-
queueRequest: [],
|
|
495
|
-
region: [, , `s3BucketRegion`],
|
|
496
|
-
source: [],
|
|
497
|
-
updateSingleCardinalityProperties: [],
|
|
498
|
-
userProvidedEdgeIds: [],
|
|
499
|
-
}));
|
|
500
|
-
b.m("POST").h(headers).b(body);
|
|
501
|
-
return b.build();
|
|
502
|
-
};
|
|
503
|
-
export const se_StartMLDataProcessingJobCommand = async (input, context) => {
|
|
504
|
-
const b = rb(input, context);
|
|
505
|
-
const headers = {
|
|
506
|
-
"content-type": "application/json",
|
|
507
|
-
};
|
|
508
|
-
b.bp("/ml/dataprocessing");
|
|
509
|
-
let body;
|
|
510
|
-
body = JSON.stringify(take(input, {
|
|
511
|
-
configFileName: [],
|
|
512
|
-
id: [],
|
|
513
|
-
inputDataS3Location: [],
|
|
514
|
-
modelType: [],
|
|
515
|
-
neptuneIamRoleArn: [],
|
|
516
|
-
previousDataProcessingJobId: [],
|
|
517
|
-
processedDataS3Location: [],
|
|
518
|
-
processingInstanceType: [],
|
|
519
|
-
processingInstanceVolumeSizeInGB: [],
|
|
520
|
-
processingTimeOutInSeconds: [],
|
|
521
|
-
s3OutputEncryptionKMSKey: [],
|
|
522
|
-
sagemakerIamRoleArn: [],
|
|
523
|
-
securityGroupIds: (_) => _json(_),
|
|
524
|
-
subnets: (_) => _json(_),
|
|
525
|
-
volumeEncryptionKMSKey: [],
|
|
526
|
-
}));
|
|
527
|
-
b.m("POST").h(headers).b(body);
|
|
528
|
-
return b.build();
|
|
529
|
-
};
|
|
530
|
-
export const se_StartMLModelTrainingJobCommand = async (input, context) => {
|
|
531
|
-
const b = rb(input, context);
|
|
532
|
-
const headers = {
|
|
533
|
-
"content-type": "application/json",
|
|
534
|
-
};
|
|
535
|
-
b.bp("/ml/modeltraining");
|
|
536
|
-
let body;
|
|
537
|
-
body = JSON.stringify(take(input, {
|
|
538
|
-
baseProcessingInstanceType: [],
|
|
539
|
-
customModelTrainingParameters: (_) => _json(_),
|
|
540
|
-
dataProcessingJobId: [],
|
|
541
|
-
enableManagedSpotTraining: [],
|
|
542
|
-
id: [],
|
|
543
|
-
maxHPONumberOfTrainingJobs: [],
|
|
544
|
-
maxHPOParallelTrainingJobs: [],
|
|
545
|
-
neptuneIamRoleArn: [],
|
|
546
|
-
previousModelTrainingJobId: [],
|
|
547
|
-
s3OutputEncryptionKMSKey: [],
|
|
548
|
-
sagemakerIamRoleArn: [],
|
|
549
|
-
securityGroupIds: (_) => _json(_),
|
|
550
|
-
subnets: (_) => _json(_),
|
|
551
|
-
trainModelS3Location: [],
|
|
552
|
-
trainingInstanceType: [],
|
|
553
|
-
trainingInstanceVolumeSizeInGB: [],
|
|
554
|
-
trainingTimeOutInSeconds: [],
|
|
555
|
-
volumeEncryptionKMSKey: [],
|
|
556
|
-
}));
|
|
557
|
-
b.m("POST").h(headers).b(body);
|
|
558
|
-
return b.build();
|
|
559
|
-
};
|
|
560
|
-
export const se_StartMLModelTransformJobCommand = async (input, context) => {
|
|
561
|
-
const b = rb(input, context);
|
|
562
|
-
const headers = {
|
|
563
|
-
"content-type": "application/json",
|
|
564
|
-
};
|
|
565
|
-
b.bp("/ml/modeltransform");
|
|
566
|
-
let body;
|
|
567
|
-
body = JSON.stringify(take(input, {
|
|
568
|
-
baseProcessingInstanceType: [],
|
|
569
|
-
baseProcessingInstanceVolumeSizeInGB: [],
|
|
570
|
-
customModelTransformParameters: (_) => _json(_),
|
|
571
|
-
dataProcessingJobId: [],
|
|
572
|
-
id: [],
|
|
573
|
-
mlModelTrainingJobId: [],
|
|
574
|
-
modelTransformOutputS3Location: [],
|
|
575
|
-
neptuneIamRoleArn: [],
|
|
576
|
-
s3OutputEncryptionKMSKey: [],
|
|
577
|
-
sagemakerIamRoleArn: [],
|
|
578
|
-
securityGroupIds: (_) => _json(_),
|
|
579
|
-
subnets: (_) => _json(_),
|
|
580
|
-
trainingJobName: [],
|
|
581
|
-
volumeEncryptionKMSKey: [],
|
|
582
|
-
}));
|
|
583
|
-
b.m("POST").h(headers).b(body);
|
|
584
|
-
return b.build();
|
|
585
|
-
};
|
|
586
|
-
export const de_CancelGremlinQueryCommand = async (output, context) => {
|
|
587
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
588
|
-
return de_CommandError(output, context);
|
|
589
|
-
}
|
|
590
|
-
const contents = map({
|
|
591
|
-
$metadata: deserializeMetadata(output),
|
|
592
|
-
});
|
|
593
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
594
|
-
const doc = take(data, {
|
|
595
|
-
status: __expectString,
|
|
596
|
-
});
|
|
597
|
-
Object.assign(contents, doc);
|
|
598
|
-
return contents;
|
|
599
|
-
};
|
|
600
|
-
export const de_CancelLoaderJobCommand = async (output, context) => {
|
|
601
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
602
|
-
return de_CommandError(output, context);
|
|
603
|
-
}
|
|
604
|
-
const contents = map({
|
|
605
|
-
$metadata: deserializeMetadata(output),
|
|
606
|
-
});
|
|
607
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
608
|
-
const doc = take(data, {
|
|
609
|
-
status: __expectString,
|
|
610
|
-
});
|
|
611
|
-
Object.assign(contents, doc);
|
|
612
|
-
return contents;
|
|
613
|
-
};
|
|
614
|
-
export const de_CancelMLDataProcessingJobCommand = async (output, context) => {
|
|
615
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
616
|
-
return de_CommandError(output, context);
|
|
617
|
-
}
|
|
618
|
-
const contents = map({
|
|
619
|
-
$metadata: deserializeMetadata(output),
|
|
620
|
-
});
|
|
621
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
622
|
-
const doc = take(data, {
|
|
623
|
-
status: __expectString,
|
|
624
|
-
});
|
|
625
|
-
Object.assign(contents, doc);
|
|
626
|
-
return contents;
|
|
627
|
-
};
|
|
628
|
-
export const de_CancelMLModelTrainingJobCommand = async (output, context) => {
|
|
629
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
630
|
-
return de_CommandError(output, context);
|
|
631
|
-
}
|
|
632
|
-
const contents = map({
|
|
633
|
-
$metadata: deserializeMetadata(output),
|
|
634
|
-
});
|
|
635
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
636
|
-
const doc = take(data, {
|
|
637
|
-
status: __expectString,
|
|
638
|
-
});
|
|
639
|
-
Object.assign(contents, doc);
|
|
640
|
-
return contents;
|
|
641
|
-
};
|
|
642
|
-
export const de_CancelMLModelTransformJobCommand = async (output, context) => {
|
|
643
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
644
|
-
return de_CommandError(output, context);
|
|
645
|
-
}
|
|
646
|
-
const contents = map({
|
|
647
|
-
$metadata: deserializeMetadata(output),
|
|
648
|
-
});
|
|
649
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
650
|
-
const doc = take(data, {
|
|
651
|
-
status: __expectString,
|
|
652
|
-
});
|
|
653
|
-
Object.assign(contents, doc);
|
|
654
|
-
return contents;
|
|
655
|
-
};
|
|
656
|
-
export const de_CancelOpenCypherQueryCommand = async (output, context) => {
|
|
657
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
658
|
-
return de_CommandError(output, context);
|
|
659
|
-
}
|
|
660
|
-
const contents = map({
|
|
661
|
-
$metadata: deserializeMetadata(output),
|
|
662
|
-
});
|
|
663
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
664
|
-
const doc = take(data, {
|
|
665
|
-
payload: __expectBoolean,
|
|
666
|
-
status: __expectString,
|
|
667
|
-
});
|
|
668
|
-
Object.assign(contents, doc);
|
|
669
|
-
return contents;
|
|
670
|
-
};
|
|
671
|
-
export const de_CreateMLEndpointCommand = async (output, context) => {
|
|
672
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
673
|
-
return de_CommandError(output, context);
|
|
674
|
-
}
|
|
675
|
-
const contents = map({
|
|
676
|
-
$metadata: deserializeMetadata(output),
|
|
677
|
-
});
|
|
678
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
679
|
-
const doc = take(data, {
|
|
680
|
-
arn: __expectString,
|
|
681
|
-
creationTimeInMillis: __expectLong,
|
|
682
|
-
id: __expectString,
|
|
683
|
-
});
|
|
684
|
-
Object.assign(contents, doc);
|
|
685
|
-
return contents;
|
|
686
|
-
};
|
|
687
|
-
export const de_DeleteMLEndpointCommand = async (output, context) => {
|
|
688
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
689
|
-
return de_CommandError(output, context);
|
|
690
|
-
}
|
|
691
|
-
const contents = map({
|
|
692
|
-
$metadata: deserializeMetadata(output),
|
|
693
|
-
});
|
|
694
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
695
|
-
const doc = take(data, {
|
|
696
|
-
status: __expectString,
|
|
697
|
-
});
|
|
698
|
-
Object.assign(contents, doc);
|
|
699
|
-
return contents;
|
|
700
|
-
};
|
|
701
|
-
export const de_DeletePropertygraphStatisticsCommand = async (output, context) => {
|
|
702
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
703
|
-
return de_CommandError(output, context);
|
|
704
|
-
}
|
|
705
|
-
const contents = map({
|
|
706
|
-
$metadata: deserializeMetadata(output),
|
|
707
|
-
});
|
|
708
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
709
|
-
const doc = take(data, {
|
|
710
|
-
payload: _json,
|
|
711
|
-
status: __expectString,
|
|
712
|
-
});
|
|
713
|
-
Object.assign(contents, doc);
|
|
714
|
-
map(contents, {
|
|
715
|
-
statusCode: [, output.statusCode],
|
|
716
|
-
});
|
|
717
|
-
return contents;
|
|
718
|
-
};
|
|
719
|
-
export const de_DeleteSparqlStatisticsCommand = async (output, context) => {
|
|
720
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
721
|
-
return de_CommandError(output, context);
|
|
722
|
-
}
|
|
723
|
-
const contents = map({
|
|
724
|
-
$metadata: deserializeMetadata(output),
|
|
725
|
-
});
|
|
726
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
727
|
-
const doc = take(data, {
|
|
728
|
-
payload: _json,
|
|
729
|
-
status: __expectString,
|
|
730
|
-
});
|
|
731
|
-
Object.assign(contents, doc);
|
|
732
|
-
map(contents, {
|
|
733
|
-
statusCode: [, output.statusCode],
|
|
734
|
-
});
|
|
735
|
-
return contents;
|
|
736
|
-
};
|
|
737
|
-
export const de_ExecuteFastResetCommand = async (output, context) => {
|
|
738
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
739
|
-
return de_CommandError(output, context);
|
|
740
|
-
}
|
|
741
|
-
const contents = map({
|
|
742
|
-
$metadata: deserializeMetadata(output),
|
|
743
|
-
});
|
|
744
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
745
|
-
const doc = take(data, {
|
|
746
|
-
payload: _json,
|
|
747
|
-
status: __expectString,
|
|
748
|
-
});
|
|
749
|
-
Object.assign(contents, doc);
|
|
750
|
-
return contents;
|
|
751
|
-
};
|
|
752
|
-
export const de_ExecuteGremlinExplainQueryCommand = async (output, context) => {
|
|
753
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
754
|
-
return de_CommandError(output, context);
|
|
755
|
-
}
|
|
756
|
-
const contents = map({
|
|
757
|
-
$metadata: deserializeMetadata(output),
|
|
758
|
-
});
|
|
759
|
-
const data = await collectBody(output.body, context);
|
|
760
|
-
contents.output = data;
|
|
761
|
-
return contents;
|
|
762
|
-
};
|
|
763
|
-
export const de_ExecuteGremlinProfileQueryCommand = async (output, context) => {
|
|
764
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
765
|
-
return de_CommandError(output, context);
|
|
766
|
-
}
|
|
767
|
-
const contents = map({
|
|
768
|
-
$metadata: deserializeMetadata(output),
|
|
769
|
-
});
|
|
770
|
-
const data = await collectBody(output.body, context);
|
|
771
|
-
contents.output = data;
|
|
772
|
-
return contents;
|
|
773
|
-
};
|
|
774
|
-
export const de_ExecuteGremlinQueryCommand = async (output, context) => {
|
|
775
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
776
|
-
return de_CommandError(output, context);
|
|
777
|
-
}
|
|
778
|
-
const contents = map({
|
|
779
|
-
$metadata: deserializeMetadata(output),
|
|
780
|
-
});
|
|
781
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
782
|
-
const doc = take(data, {
|
|
783
|
-
meta: (_) => de_Document(_, context),
|
|
784
|
-
requestId: __expectString,
|
|
785
|
-
result: (_) => de_Document(_, context),
|
|
786
|
-
status: (_) => de_GremlinQueryStatusAttributes(_, context),
|
|
787
|
-
});
|
|
788
|
-
Object.assign(contents, doc);
|
|
789
|
-
return contents;
|
|
790
|
-
};
|
|
791
|
-
export const de_ExecuteOpenCypherExplainQueryCommand = async (output, context) => {
|
|
792
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
793
|
-
return de_CommandError(output, context);
|
|
794
|
-
}
|
|
795
|
-
const contents = map({
|
|
796
|
-
$metadata: deserializeMetadata(output),
|
|
797
|
-
});
|
|
798
|
-
const data = await collectBody(output.body, context);
|
|
799
|
-
contents.results = data;
|
|
800
|
-
return contents;
|
|
801
|
-
};
|
|
802
|
-
export const de_ExecuteOpenCypherQueryCommand = async (output, context) => {
|
|
803
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
804
|
-
return de_CommandError(output, context);
|
|
805
|
-
}
|
|
806
|
-
const contents = map({
|
|
807
|
-
$metadata: deserializeMetadata(output),
|
|
808
|
-
});
|
|
809
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
810
|
-
const doc = take(data, {
|
|
811
|
-
results: (_) => de_Document(_, context),
|
|
812
|
-
});
|
|
813
|
-
Object.assign(contents, doc);
|
|
814
|
-
return contents;
|
|
815
|
-
};
|
|
816
|
-
export const de_GetEngineStatusCommand = async (output, context) => {
|
|
817
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
818
|
-
return de_CommandError(output, context);
|
|
819
|
-
}
|
|
820
|
-
const contents = map({
|
|
821
|
-
$metadata: deserializeMetadata(output),
|
|
822
|
-
});
|
|
823
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
824
|
-
const doc = take(data, {
|
|
825
|
-
dbEngineVersion: __expectString,
|
|
826
|
-
dfeQueryEngine: __expectString,
|
|
827
|
-
features: (_) => de_DocumentValuedMap(_, context),
|
|
828
|
-
gremlin: _json,
|
|
829
|
-
labMode: _json,
|
|
830
|
-
opencypher: _json,
|
|
831
|
-
role: __expectString,
|
|
832
|
-
rollingBackTrxCount: __expectInt32,
|
|
833
|
-
rollingBackTrxEarliestStartTime: __expectString,
|
|
834
|
-
settings: _json,
|
|
835
|
-
sparql: _json,
|
|
836
|
-
startTime: __expectString,
|
|
837
|
-
status: __expectString,
|
|
838
|
-
});
|
|
839
|
-
Object.assign(contents, doc);
|
|
840
|
-
return contents;
|
|
841
|
-
};
|
|
842
|
-
export const de_GetGremlinQueryStatusCommand = async (output, context) => {
|
|
843
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
844
|
-
return de_CommandError(output, context);
|
|
845
|
-
}
|
|
846
|
-
const contents = map({
|
|
847
|
-
$metadata: deserializeMetadata(output),
|
|
848
|
-
});
|
|
849
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
850
|
-
const doc = take(data, {
|
|
851
|
-
queryEvalStats: (_) => de_QueryEvalStats(_, context),
|
|
852
|
-
queryId: __expectString,
|
|
853
|
-
queryString: __expectString,
|
|
854
|
-
});
|
|
855
|
-
Object.assign(contents, doc);
|
|
856
|
-
return contents;
|
|
857
|
-
};
|
|
858
|
-
export const de_GetLoaderJobStatusCommand = async (output, context) => {
|
|
859
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
860
|
-
return de_CommandError(output, context);
|
|
861
|
-
}
|
|
862
|
-
const contents = map({
|
|
863
|
-
$metadata: deserializeMetadata(output),
|
|
864
|
-
});
|
|
865
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
866
|
-
const doc = take(data, {
|
|
867
|
-
payload: (_) => de_Document(_, context),
|
|
868
|
-
status: __expectString,
|
|
869
|
-
});
|
|
870
|
-
Object.assign(contents, doc);
|
|
871
|
-
return contents;
|
|
872
|
-
};
|
|
873
|
-
export const de_GetMLDataProcessingJobCommand = async (output, context) => {
|
|
874
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
875
|
-
return de_CommandError(output, context);
|
|
876
|
-
}
|
|
877
|
-
const contents = map({
|
|
878
|
-
$metadata: deserializeMetadata(output),
|
|
879
|
-
});
|
|
880
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
881
|
-
const doc = take(data, {
|
|
882
|
-
id: __expectString,
|
|
883
|
-
processingJob: _json,
|
|
884
|
-
status: __expectString,
|
|
885
|
-
});
|
|
886
|
-
Object.assign(contents, doc);
|
|
887
|
-
return contents;
|
|
888
|
-
};
|
|
889
|
-
export const de_GetMLEndpointCommand = async (output, context) => {
|
|
890
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
891
|
-
return de_CommandError(output, context);
|
|
892
|
-
}
|
|
893
|
-
const contents = map({
|
|
894
|
-
$metadata: deserializeMetadata(output),
|
|
895
|
-
});
|
|
896
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
897
|
-
const doc = take(data, {
|
|
898
|
-
endpoint: _json,
|
|
899
|
-
endpointConfig: _json,
|
|
900
|
-
id: __expectString,
|
|
901
|
-
status: __expectString,
|
|
902
|
-
});
|
|
903
|
-
Object.assign(contents, doc);
|
|
904
|
-
return contents;
|
|
905
|
-
};
|
|
906
|
-
export const de_GetMLModelTrainingJobCommand = async (output, context) => {
|
|
907
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
908
|
-
return de_CommandError(output, context);
|
|
909
|
-
}
|
|
910
|
-
const contents = map({
|
|
911
|
-
$metadata: deserializeMetadata(output),
|
|
912
|
-
});
|
|
913
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
914
|
-
const doc = take(data, {
|
|
915
|
-
hpoJob: _json,
|
|
916
|
-
id: __expectString,
|
|
917
|
-
mlModels: _json,
|
|
918
|
-
modelTransformJob: _json,
|
|
919
|
-
processingJob: _json,
|
|
920
|
-
status: __expectString,
|
|
921
|
-
});
|
|
922
|
-
Object.assign(contents, doc);
|
|
923
|
-
return contents;
|
|
924
|
-
};
|
|
925
|
-
export const de_GetMLModelTransformJobCommand = async (output, context) => {
|
|
926
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
927
|
-
return de_CommandError(output, context);
|
|
928
|
-
}
|
|
929
|
-
const contents = map({
|
|
930
|
-
$metadata: deserializeMetadata(output),
|
|
931
|
-
});
|
|
932
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
933
|
-
const doc = take(data, {
|
|
934
|
-
baseProcessingJob: _json,
|
|
935
|
-
id: __expectString,
|
|
936
|
-
models: _json,
|
|
937
|
-
remoteModelTransformJob: _json,
|
|
938
|
-
status: __expectString,
|
|
939
|
-
});
|
|
940
|
-
Object.assign(contents, doc);
|
|
941
|
-
return contents;
|
|
942
|
-
};
|
|
943
|
-
export const de_GetOpenCypherQueryStatusCommand = async (output, context) => {
|
|
944
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
945
|
-
return de_CommandError(output, context);
|
|
946
|
-
}
|
|
947
|
-
const contents = map({
|
|
948
|
-
$metadata: deserializeMetadata(output),
|
|
949
|
-
});
|
|
950
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
951
|
-
const doc = take(data, {
|
|
952
|
-
queryEvalStats: (_) => de_QueryEvalStats(_, context),
|
|
953
|
-
queryId: __expectString,
|
|
954
|
-
queryString: __expectString,
|
|
955
|
-
});
|
|
956
|
-
Object.assign(contents, doc);
|
|
957
|
-
return contents;
|
|
958
|
-
};
|
|
959
|
-
export const de_GetPropertygraphStatisticsCommand = async (output, context) => {
|
|
960
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
961
|
-
return de_CommandError(output, context);
|
|
962
|
-
}
|
|
963
|
-
const contents = map({
|
|
964
|
-
$metadata: deserializeMetadata(output),
|
|
965
|
-
});
|
|
966
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
967
|
-
const doc = take(data, {
|
|
968
|
-
payload: (_) => de_Statistics(_, context),
|
|
969
|
-
status: __expectString,
|
|
970
|
-
});
|
|
971
|
-
Object.assign(contents, doc);
|
|
972
|
-
return contents;
|
|
973
|
-
};
|
|
974
|
-
export const de_GetPropertygraphStreamCommand = async (output, context) => {
|
|
975
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
976
|
-
return de_CommandError(output, context);
|
|
977
|
-
}
|
|
978
|
-
const contents = map({
|
|
979
|
-
$metadata: deserializeMetadata(output),
|
|
980
|
-
});
|
|
981
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
982
|
-
const doc = take(data, {
|
|
983
|
-
format: __expectString,
|
|
984
|
-
lastEventId: _json,
|
|
985
|
-
lastTrxTimestampInMillis: [, __expectLong, `lastTrxTimestamp`],
|
|
986
|
-
records: (_) => de_PropertygraphRecordsList(_, context),
|
|
987
|
-
totalRecords: __expectInt32,
|
|
988
|
-
});
|
|
989
|
-
Object.assign(contents, doc);
|
|
990
|
-
return contents;
|
|
991
|
-
};
|
|
992
|
-
export const de_GetPropertygraphSummaryCommand = async (output, context) => {
|
|
993
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
994
|
-
return de_CommandError(output, context);
|
|
995
|
-
}
|
|
996
|
-
const contents = map({
|
|
997
|
-
$metadata: deserializeMetadata(output),
|
|
998
|
-
});
|
|
999
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1000
|
-
const doc = take(data, {
|
|
1001
|
-
payload: (_) => de_PropertygraphSummaryValueMap(_, context),
|
|
1002
|
-
});
|
|
1003
|
-
Object.assign(contents, doc);
|
|
1004
|
-
map(contents, {
|
|
1005
|
-
statusCode: [, output.statusCode],
|
|
1006
|
-
});
|
|
1007
|
-
return contents;
|
|
1008
|
-
};
|
|
1009
|
-
export const de_GetRDFGraphSummaryCommand = async (output, context) => {
|
|
1010
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1011
|
-
return de_CommandError(output, context);
|
|
1012
|
-
}
|
|
1013
|
-
const contents = map({
|
|
1014
|
-
$metadata: deserializeMetadata(output),
|
|
1015
|
-
});
|
|
1016
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1017
|
-
const doc = take(data, {
|
|
1018
|
-
payload: (_) => de_RDFGraphSummaryValueMap(_, context),
|
|
1019
|
-
});
|
|
1020
|
-
Object.assign(contents, doc);
|
|
1021
|
-
map(contents, {
|
|
1022
|
-
statusCode: [, output.statusCode],
|
|
1023
|
-
});
|
|
1024
|
-
return contents;
|
|
1025
|
-
};
|
|
1026
|
-
export const de_GetSparqlStatisticsCommand = async (output, context) => {
|
|
1027
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1028
|
-
return de_CommandError(output, context);
|
|
1029
|
-
}
|
|
1030
|
-
const contents = map({
|
|
1031
|
-
$metadata: deserializeMetadata(output),
|
|
1032
|
-
});
|
|
1033
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1034
|
-
const doc = take(data, {
|
|
1035
|
-
payload: (_) => de_Statistics(_, context),
|
|
1036
|
-
status: __expectString,
|
|
1037
|
-
});
|
|
1038
|
-
Object.assign(contents, doc);
|
|
1039
|
-
return contents;
|
|
1040
|
-
};
|
|
1041
|
-
export const de_GetSparqlStreamCommand = async (output, context) => {
|
|
1042
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1043
|
-
return de_CommandError(output, context);
|
|
1044
|
-
}
|
|
1045
|
-
const contents = map({
|
|
1046
|
-
$metadata: deserializeMetadata(output),
|
|
1047
|
-
});
|
|
1048
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1049
|
-
const doc = take(data, {
|
|
1050
|
-
format: __expectString,
|
|
1051
|
-
lastEventId: _json,
|
|
1052
|
-
lastTrxTimestampInMillis: [, __expectLong, `lastTrxTimestamp`],
|
|
1053
|
-
records: (_) => de_SparqlRecordsList(_, context),
|
|
1054
|
-
totalRecords: __expectInt32,
|
|
1055
|
-
});
|
|
1056
|
-
Object.assign(contents, doc);
|
|
1057
|
-
return contents;
|
|
1058
|
-
};
|
|
1059
|
-
export const de_ListGremlinQueriesCommand = async (output, context) => {
|
|
1060
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1061
|
-
return de_CommandError(output, context);
|
|
1062
|
-
}
|
|
1063
|
-
const contents = map({
|
|
1064
|
-
$metadata: deserializeMetadata(output),
|
|
1065
|
-
});
|
|
1066
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1067
|
-
const doc = take(data, {
|
|
1068
|
-
acceptedQueryCount: __expectInt32,
|
|
1069
|
-
queries: (_) => de_GremlinQueries(_, context),
|
|
1070
|
-
runningQueryCount: __expectInt32,
|
|
1071
|
-
});
|
|
1072
|
-
Object.assign(contents, doc);
|
|
1073
|
-
return contents;
|
|
1074
|
-
};
|
|
1075
|
-
export const de_ListLoaderJobsCommand = async (output, context) => {
|
|
1076
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1077
|
-
return de_CommandError(output, context);
|
|
1078
|
-
}
|
|
1079
|
-
const contents = map({
|
|
1080
|
-
$metadata: deserializeMetadata(output),
|
|
1081
|
-
});
|
|
1082
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1083
|
-
const doc = take(data, {
|
|
1084
|
-
payload: _json,
|
|
1085
|
-
status: __expectString,
|
|
1086
|
-
});
|
|
1087
|
-
Object.assign(contents, doc);
|
|
1088
|
-
return contents;
|
|
1089
|
-
};
|
|
1090
|
-
export const de_ListMLDataProcessingJobsCommand = async (output, context) => {
|
|
1091
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1092
|
-
return de_CommandError(output, context);
|
|
1093
|
-
}
|
|
1094
|
-
const contents = map({
|
|
1095
|
-
$metadata: deserializeMetadata(output),
|
|
1096
|
-
});
|
|
1097
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1098
|
-
const doc = take(data, {
|
|
1099
|
-
ids: _json,
|
|
1100
|
-
});
|
|
1101
|
-
Object.assign(contents, doc);
|
|
1102
|
-
return contents;
|
|
1103
|
-
};
|
|
1104
|
-
export const de_ListMLEndpointsCommand = async (output, context) => {
|
|
1105
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1106
|
-
return de_CommandError(output, context);
|
|
1107
|
-
}
|
|
1108
|
-
const contents = map({
|
|
1109
|
-
$metadata: deserializeMetadata(output),
|
|
1110
|
-
});
|
|
1111
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1112
|
-
const doc = take(data, {
|
|
1113
|
-
ids: _json,
|
|
1114
|
-
});
|
|
1115
|
-
Object.assign(contents, doc);
|
|
1116
|
-
return contents;
|
|
1117
|
-
};
|
|
1118
|
-
export const de_ListMLModelTrainingJobsCommand = async (output, context) => {
|
|
1119
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1120
|
-
return de_CommandError(output, context);
|
|
1121
|
-
}
|
|
1122
|
-
const contents = map({
|
|
1123
|
-
$metadata: deserializeMetadata(output),
|
|
1124
|
-
});
|
|
1125
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1126
|
-
const doc = take(data, {
|
|
1127
|
-
ids: _json,
|
|
1128
|
-
});
|
|
1129
|
-
Object.assign(contents, doc);
|
|
1130
|
-
return contents;
|
|
1131
|
-
};
|
|
1132
|
-
export const de_ListMLModelTransformJobsCommand = async (output, context) => {
|
|
1133
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1134
|
-
return de_CommandError(output, context);
|
|
1135
|
-
}
|
|
1136
|
-
const contents = map({
|
|
1137
|
-
$metadata: deserializeMetadata(output),
|
|
1138
|
-
});
|
|
1139
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1140
|
-
const doc = take(data, {
|
|
1141
|
-
ids: _json,
|
|
1142
|
-
});
|
|
1143
|
-
Object.assign(contents, doc);
|
|
1144
|
-
return contents;
|
|
1145
|
-
};
|
|
1146
|
-
export const de_ListOpenCypherQueriesCommand = async (output, context) => {
|
|
1147
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1148
|
-
return de_CommandError(output, context);
|
|
1149
|
-
}
|
|
1150
|
-
const contents = map({
|
|
1151
|
-
$metadata: deserializeMetadata(output),
|
|
1152
|
-
});
|
|
1153
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1154
|
-
const doc = take(data, {
|
|
1155
|
-
acceptedQueryCount: __expectInt32,
|
|
1156
|
-
queries: (_) => de_OpenCypherQueries(_, context),
|
|
1157
|
-
runningQueryCount: __expectInt32,
|
|
1158
|
-
});
|
|
1159
|
-
Object.assign(contents, doc);
|
|
1160
|
-
return contents;
|
|
1161
|
-
};
|
|
1162
|
-
export const de_ManagePropertygraphStatisticsCommand = async (output, context) => {
|
|
1163
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1164
|
-
return de_CommandError(output, context);
|
|
1165
|
-
}
|
|
1166
|
-
const contents = map({
|
|
1167
|
-
$metadata: deserializeMetadata(output),
|
|
1168
|
-
});
|
|
1169
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1170
|
-
const doc = take(data, {
|
|
1171
|
-
payload: _json,
|
|
1172
|
-
status: __expectString,
|
|
1173
|
-
});
|
|
1174
|
-
Object.assign(contents, doc);
|
|
1175
|
-
return contents;
|
|
1176
|
-
};
|
|
1177
|
-
export const de_ManageSparqlStatisticsCommand = async (output, context) => {
|
|
1178
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1179
|
-
return de_CommandError(output, context);
|
|
1180
|
-
}
|
|
1181
|
-
const contents = map({
|
|
1182
|
-
$metadata: deserializeMetadata(output),
|
|
1183
|
-
});
|
|
1184
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1185
|
-
const doc = take(data, {
|
|
1186
|
-
payload: _json,
|
|
1187
|
-
status: __expectString,
|
|
1188
|
-
});
|
|
1189
|
-
Object.assign(contents, doc);
|
|
1190
|
-
return contents;
|
|
1191
|
-
};
|
|
1192
|
-
export const de_StartLoaderJobCommand = async (output, context) => {
|
|
1193
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1194
|
-
return de_CommandError(output, context);
|
|
1195
|
-
}
|
|
1196
|
-
const contents = map({
|
|
1197
|
-
$metadata: deserializeMetadata(output),
|
|
1198
|
-
});
|
|
1199
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1200
|
-
const doc = take(data, {
|
|
1201
|
-
payload: _json,
|
|
1202
|
-
status: __expectString,
|
|
1203
|
-
});
|
|
1204
|
-
Object.assign(contents, doc);
|
|
1205
|
-
return contents;
|
|
1206
|
-
};
|
|
1207
|
-
export const de_StartMLDataProcessingJobCommand = async (output, context) => {
|
|
1208
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1209
|
-
return de_CommandError(output, context);
|
|
1210
|
-
}
|
|
1211
|
-
const contents = map({
|
|
1212
|
-
$metadata: deserializeMetadata(output),
|
|
1213
|
-
});
|
|
1214
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1215
|
-
const doc = take(data, {
|
|
1216
|
-
arn: __expectString,
|
|
1217
|
-
creationTimeInMillis: __expectLong,
|
|
1218
|
-
id: __expectString,
|
|
1219
|
-
});
|
|
1220
|
-
Object.assign(contents, doc);
|
|
1221
|
-
return contents;
|
|
1222
|
-
};
|
|
1223
|
-
export const de_StartMLModelTrainingJobCommand = async (output, context) => {
|
|
1224
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1225
|
-
return de_CommandError(output, context);
|
|
1226
|
-
}
|
|
1227
|
-
const contents = map({
|
|
1228
|
-
$metadata: deserializeMetadata(output),
|
|
1229
|
-
});
|
|
1230
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1231
|
-
const doc = take(data, {
|
|
1232
|
-
arn: __expectString,
|
|
1233
|
-
creationTimeInMillis: __expectLong,
|
|
1234
|
-
id: __expectString,
|
|
1235
|
-
});
|
|
1236
|
-
Object.assign(contents, doc);
|
|
1237
|
-
return contents;
|
|
1238
|
-
};
|
|
1239
|
-
export const de_StartMLModelTransformJobCommand = async (output, context) => {
|
|
1240
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1241
|
-
return de_CommandError(output, context);
|
|
1242
|
-
}
|
|
1243
|
-
const contents = map({
|
|
1244
|
-
$metadata: deserializeMetadata(output),
|
|
1245
|
-
});
|
|
1246
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1247
|
-
const doc = take(data, {
|
|
1248
|
-
arn: __expectString,
|
|
1249
|
-
creationTimeInMillis: __expectLong,
|
|
1250
|
-
id: __expectString,
|
|
1251
|
-
});
|
|
1252
|
-
Object.assign(contents, doc);
|
|
1253
|
-
return contents;
|
|
1254
|
-
};
|
|
1255
|
-
const de_CommandError = async (output, context) => {
|
|
1256
|
-
const parsedOutput = {
|
|
1257
|
-
...output,
|
|
1258
|
-
body: await parseErrorBody(output.body, context),
|
|
1259
|
-
};
|
|
1260
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1261
|
-
switch (errorCode) {
|
|
1262
|
-
case "BadRequestException":
|
|
1263
|
-
case "com.amazonaws.neptunedata#BadRequestException":
|
|
1264
|
-
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
1265
|
-
case "ClientTimeoutException":
|
|
1266
|
-
case "com.amazonaws.neptunedata#ClientTimeoutException":
|
|
1267
|
-
throw await de_ClientTimeoutExceptionRes(parsedOutput, context);
|
|
1268
|
-
case "ConcurrentModificationException":
|
|
1269
|
-
case "com.amazonaws.neptunedata#ConcurrentModificationException":
|
|
1270
|
-
throw await de_ConcurrentModificationExceptionRes(parsedOutput, context);
|
|
1271
|
-
case "ConstraintViolationException":
|
|
1272
|
-
case "com.amazonaws.neptunedata#ConstraintViolationException":
|
|
1273
|
-
throw await de_ConstraintViolationExceptionRes(parsedOutput, context);
|
|
1274
|
-
case "FailureByQueryException":
|
|
1275
|
-
case "com.amazonaws.neptunedata#FailureByQueryException":
|
|
1276
|
-
throw await de_FailureByQueryExceptionRes(parsedOutput, context);
|
|
1277
|
-
case "IllegalArgumentException":
|
|
1278
|
-
case "com.amazonaws.neptunedata#IllegalArgumentException":
|
|
1279
|
-
throw await de_IllegalArgumentExceptionRes(parsedOutput, context);
|
|
1280
|
-
case "InvalidArgumentException":
|
|
1281
|
-
case "com.amazonaws.neptunedata#InvalidArgumentException":
|
|
1282
|
-
throw await de_InvalidArgumentExceptionRes(parsedOutput, context);
|
|
1283
|
-
case "InvalidParameterException":
|
|
1284
|
-
case "com.amazonaws.neptunedata#InvalidParameterException":
|
|
1285
|
-
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
1286
|
-
case "MissingParameterException":
|
|
1287
|
-
case "com.amazonaws.neptunedata#MissingParameterException":
|
|
1288
|
-
throw await de_MissingParameterExceptionRes(parsedOutput, context);
|
|
1289
|
-
case "ParsingException":
|
|
1290
|
-
case "com.amazonaws.neptunedata#ParsingException":
|
|
1291
|
-
throw await de_ParsingExceptionRes(parsedOutput, context);
|
|
1292
|
-
case "PreconditionsFailedException":
|
|
1293
|
-
case "com.amazonaws.neptunedata#PreconditionsFailedException":
|
|
1294
|
-
throw await de_PreconditionsFailedExceptionRes(parsedOutput, context);
|
|
1295
|
-
case "TimeLimitExceededException":
|
|
1296
|
-
case "com.amazonaws.neptunedata#TimeLimitExceededException":
|
|
1297
|
-
throw await de_TimeLimitExceededExceptionRes(parsedOutput, context);
|
|
1298
|
-
case "TooManyRequestsException":
|
|
1299
|
-
case "com.amazonaws.neptunedata#TooManyRequestsException":
|
|
1300
|
-
throw await de_TooManyRequestsExceptionRes(parsedOutput, context);
|
|
1301
|
-
case "UnsupportedOperationException":
|
|
1302
|
-
case "com.amazonaws.neptunedata#UnsupportedOperationException":
|
|
1303
|
-
throw await de_UnsupportedOperationExceptionRes(parsedOutput, context);
|
|
1304
|
-
case "BulkLoadIdNotFoundException":
|
|
1305
|
-
case "com.amazonaws.neptunedata#BulkLoadIdNotFoundException":
|
|
1306
|
-
throw await de_BulkLoadIdNotFoundExceptionRes(parsedOutput, context);
|
|
1307
|
-
case "InternalFailureException":
|
|
1308
|
-
case "com.amazonaws.neptunedata#InternalFailureException":
|
|
1309
|
-
throw await de_InternalFailureExceptionRes(parsedOutput, context);
|
|
1310
|
-
case "LoadUrlAccessDeniedException":
|
|
1311
|
-
case "com.amazonaws.neptunedata#LoadUrlAccessDeniedException":
|
|
1312
|
-
throw await de_LoadUrlAccessDeniedExceptionRes(parsedOutput, context);
|
|
1313
|
-
case "MLResourceNotFoundException":
|
|
1314
|
-
case "com.amazonaws.neptunedata#MLResourceNotFoundException":
|
|
1315
|
-
throw await de_MLResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1316
|
-
case "InvalidNumericDataException":
|
|
1317
|
-
case "com.amazonaws.neptunedata#InvalidNumericDataException":
|
|
1318
|
-
throw await de_InvalidNumericDataExceptionRes(parsedOutput, context);
|
|
1319
|
-
case "AccessDeniedException":
|
|
1320
|
-
case "com.amazonaws.neptunedata#AccessDeniedException":
|
|
1321
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1322
|
-
case "ReadOnlyViolationException":
|
|
1323
|
-
case "com.amazonaws.neptunedata#ReadOnlyViolationException":
|
|
1324
|
-
throw await de_ReadOnlyViolationExceptionRes(parsedOutput, context);
|
|
1325
|
-
case "StatisticsNotAvailableException":
|
|
1326
|
-
case "com.amazonaws.neptunedata#StatisticsNotAvailableException":
|
|
1327
|
-
throw await de_StatisticsNotAvailableExceptionRes(parsedOutput, context);
|
|
1328
|
-
case "MethodNotAllowedException":
|
|
1329
|
-
case "com.amazonaws.neptunedata#MethodNotAllowedException":
|
|
1330
|
-
throw await de_MethodNotAllowedExceptionRes(parsedOutput, context);
|
|
1331
|
-
case "ServerShutdownException":
|
|
1332
|
-
case "com.amazonaws.neptunedata#ServerShutdownException":
|
|
1333
|
-
throw await de_ServerShutdownExceptionRes(parsedOutput, context);
|
|
1334
|
-
case "CancelledByUserException":
|
|
1335
|
-
case "com.amazonaws.neptunedata#CancelledByUserException":
|
|
1336
|
-
throw await de_CancelledByUserExceptionRes(parsedOutput, context);
|
|
1337
|
-
case "MalformedQueryException":
|
|
1338
|
-
case "com.amazonaws.neptunedata#MalformedQueryException":
|
|
1339
|
-
throw await de_MalformedQueryExceptionRes(parsedOutput, context);
|
|
1340
|
-
case "MemoryLimitExceededException":
|
|
1341
|
-
case "com.amazonaws.neptunedata#MemoryLimitExceededException":
|
|
1342
|
-
throw await de_MemoryLimitExceededExceptionRes(parsedOutput, context);
|
|
1343
|
-
case "QueryLimitExceededException":
|
|
1344
|
-
case "com.amazonaws.neptunedata#QueryLimitExceededException":
|
|
1345
|
-
throw await de_QueryLimitExceededExceptionRes(parsedOutput, context);
|
|
1346
|
-
case "QueryLimitException":
|
|
1347
|
-
case "com.amazonaws.neptunedata#QueryLimitException":
|
|
1348
|
-
throw await de_QueryLimitExceptionRes(parsedOutput, context);
|
|
1349
|
-
case "QueryTooLargeException":
|
|
1350
|
-
case "com.amazonaws.neptunedata#QueryTooLargeException":
|
|
1351
|
-
throw await de_QueryTooLargeExceptionRes(parsedOutput, context);
|
|
1352
|
-
case "ExpiredStreamException":
|
|
1353
|
-
case "com.amazonaws.neptunedata#ExpiredStreamException":
|
|
1354
|
-
throw await de_ExpiredStreamExceptionRes(parsedOutput, context);
|
|
1355
|
-
case "StreamRecordsNotFoundException":
|
|
1356
|
-
case "com.amazonaws.neptunedata#StreamRecordsNotFoundException":
|
|
1357
|
-
throw await de_StreamRecordsNotFoundExceptionRes(parsedOutput, context);
|
|
1358
|
-
case "ThrottlingException":
|
|
1359
|
-
case "com.amazonaws.neptunedata#ThrottlingException":
|
|
1360
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1361
|
-
case "S3Exception":
|
|
1362
|
-
case "com.amazonaws.neptunedata#S3Exception":
|
|
1363
|
-
throw await de_S3ExceptionRes(parsedOutput, context);
|
|
1364
|
-
default:
|
|
1365
|
-
const parsedBody = parsedOutput.body;
|
|
1366
|
-
return throwDefaultError({
|
|
1367
|
-
output,
|
|
1368
|
-
parsedBody,
|
|
1369
|
-
errorCode,
|
|
1370
|
-
});
|
|
1371
|
-
}
|
|
1372
|
-
};
|
|
1373
|
-
const throwDefaultError = withBaseException(__BaseException);
|
|
1374
|
-
const de_AccessDeniedExceptionRes = async (parsedOutput, context) => {
|
|
1375
|
-
const contents = map({});
|
|
1376
|
-
const data = parsedOutput.body;
|
|
1377
|
-
const doc = take(data, {
|
|
1378
|
-
code: __expectString,
|
|
1379
|
-
detailedMessage: __expectString,
|
|
1380
|
-
requestId: __expectString,
|
|
1381
|
-
});
|
|
1382
|
-
Object.assign(contents, doc);
|
|
1383
|
-
const exception = new AccessDeniedException({
|
|
1384
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1385
|
-
...contents,
|
|
1386
|
-
});
|
|
1387
|
-
return __decorateServiceException(exception, parsedOutput.body);
|
|
1388
|
-
};
|
|
1389
|
-
const de_BadRequestExceptionRes = async (parsedOutput, context) => {
|
|
1390
|
-
const contents = map({});
|
|
1391
|
-
const data = parsedOutput.body;
|
|
1392
|
-
const doc = take(data, {
|
|
1393
|
-
code: __expectString,
|
|
1394
|
-
detailedMessage: __expectString,
|
|
1395
|
-
requestId: __expectString,
|
|
1396
|
-
});
|
|
1397
|
-
Object.assign(contents, doc);
|
|
1398
|
-
const exception = new BadRequestException({
|
|
1399
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1400
|
-
...contents,
|
|
1401
|
-
});
|
|
1402
|
-
return __decorateServiceException(exception, parsedOutput.body);
|
|
1403
|
-
};
|
|
1404
|
-
const de_BulkLoadIdNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
1405
|
-
const contents = map({});
|
|
1406
|
-
const data = parsedOutput.body;
|
|
1407
|
-
const doc = take(data, {
|
|
1408
|
-
code: __expectString,
|
|
1409
|
-
detailedMessage: __expectString,
|
|
1410
|
-
requestId: __expectString,
|
|
1411
|
-
});
|
|
1412
|
-
Object.assign(contents, doc);
|
|
1413
|
-
const exception = new BulkLoadIdNotFoundException({
|
|
1414
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1415
|
-
...contents,
|
|
1416
|
-
});
|
|
1417
|
-
return __decorateServiceException(exception, parsedOutput.body);
|
|
1418
|
-
};
|
|
1419
|
-
const de_CancelledByUserExceptionRes = async (parsedOutput, context) => {
|
|
1420
|
-
const contents = map({});
|
|
1421
|
-
const data = parsedOutput.body;
|
|
1422
|
-
const doc = take(data, {
|
|
1423
|
-
code: __expectString,
|
|
1424
|
-
detailedMessage: __expectString,
|
|
1425
|
-
requestId: __expectString,
|
|
1426
|
-
});
|
|
1427
|
-
Object.assign(contents, doc);
|
|
1428
|
-
const exception = new CancelledByUserException({
|
|
1429
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1430
|
-
...contents,
|
|
1431
|
-
});
|
|
1432
|
-
return __decorateServiceException(exception, parsedOutput.body);
|
|
1433
|
-
};
|
|
1434
|
-
const de_ClientTimeoutExceptionRes = async (parsedOutput, context) => {
|
|
1435
|
-
const contents = map({});
|
|
1436
|
-
const data = parsedOutput.body;
|
|
1437
|
-
const doc = take(data, {
|
|
1438
|
-
code: __expectString,
|
|
1439
|
-
detailedMessage: __expectString,
|
|
1440
|
-
requestId: __expectString,
|
|
1441
|
-
});
|
|
1442
|
-
Object.assign(contents, doc);
|
|
1443
|
-
const exception = new ClientTimeoutException({
|
|
1444
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1445
|
-
...contents,
|
|
1446
|
-
});
|
|
1447
|
-
return __decorateServiceException(exception, parsedOutput.body);
|
|
1448
|
-
};
|
|
1449
|
-
const de_ConcurrentModificationExceptionRes = async (parsedOutput, context) => {
|
|
1450
|
-
const contents = map({});
|
|
1451
|
-
const data = parsedOutput.body;
|
|
1452
|
-
const doc = take(data, {
|
|
1453
|
-
code: __expectString,
|
|
1454
|
-
detailedMessage: __expectString,
|
|
1455
|
-
requestId: __expectString,
|
|
1456
|
-
});
|
|
1457
|
-
Object.assign(contents, doc);
|
|
1458
|
-
const exception = new ConcurrentModificationException({
|
|
1459
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1460
|
-
...contents,
|
|
1461
|
-
});
|
|
1462
|
-
return __decorateServiceException(exception, parsedOutput.body);
|
|
1463
|
-
};
|
|
1464
|
-
const de_ConstraintViolationExceptionRes = async (parsedOutput, context) => {
|
|
1465
|
-
const contents = map({});
|
|
1466
|
-
const data = parsedOutput.body;
|
|
1467
|
-
const doc = take(data, {
|
|
1468
|
-
code: __expectString,
|
|
1469
|
-
detailedMessage: __expectString,
|
|
1470
|
-
requestId: __expectString,
|
|
1471
|
-
});
|
|
1472
|
-
Object.assign(contents, doc);
|
|
1473
|
-
const exception = new ConstraintViolationException({
|
|
1474
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1475
|
-
...contents,
|
|
1476
|
-
});
|
|
1477
|
-
return __decorateServiceException(exception, parsedOutput.body);
|
|
1478
|
-
};
|
|
1479
|
-
const de_ExpiredStreamExceptionRes = async (parsedOutput, context) => {
|
|
1480
|
-
const contents = map({});
|
|
1481
|
-
const data = parsedOutput.body;
|
|
1482
|
-
const doc = take(data, {
|
|
1483
|
-
code: __expectString,
|
|
1484
|
-
detailedMessage: __expectString,
|
|
1485
|
-
requestId: __expectString,
|
|
1486
|
-
});
|
|
1487
|
-
Object.assign(contents, doc);
|
|
1488
|
-
const exception = new ExpiredStreamException({
|
|
1489
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1490
|
-
...contents,
|
|
1491
|
-
});
|
|
1492
|
-
return __decorateServiceException(exception, parsedOutput.body);
|
|
1493
|
-
};
|
|
1494
|
-
const de_FailureByQueryExceptionRes = async (parsedOutput, context) => {
|
|
1495
|
-
const contents = map({});
|
|
1496
|
-
const data = parsedOutput.body;
|
|
1497
|
-
const doc = take(data, {
|
|
1498
|
-
code: __expectString,
|
|
1499
|
-
detailedMessage: __expectString,
|
|
1500
|
-
requestId: __expectString,
|
|
1501
|
-
});
|
|
1502
|
-
Object.assign(contents, doc);
|
|
1503
|
-
const exception = new FailureByQueryException({
|
|
1504
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1505
|
-
...contents,
|
|
1506
|
-
});
|
|
1507
|
-
return __decorateServiceException(exception, parsedOutput.body);
|
|
1508
|
-
};
|
|
1509
|
-
const de_IllegalArgumentExceptionRes = async (parsedOutput, context) => {
|
|
1510
|
-
const contents = map({});
|
|
1511
|
-
const data = parsedOutput.body;
|
|
1512
|
-
const doc = take(data, {
|
|
1513
|
-
code: __expectString,
|
|
1514
|
-
detailedMessage: __expectString,
|
|
1515
|
-
requestId: __expectString,
|
|
1516
|
-
});
|
|
1517
|
-
Object.assign(contents, doc);
|
|
1518
|
-
const exception = new IllegalArgumentException({
|
|
1519
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1520
|
-
...contents,
|
|
1521
|
-
});
|
|
1522
|
-
return __decorateServiceException(exception, parsedOutput.body);
|
|
1523
|
-
};
|
|
1524
|
-
const de_InternalFailureExceptionRes = async (parsedOutput, context) => {
|
|
1525
|
-
const contents = map({});
|
|
1526
|
-
const data = parsedOutput.body;
|
|
1527
|
-
const doc = take(data, {
|
|
1528
|
-
code: __expectString,
|
|
1529
|
-
detailedMessage: __expectString,
|
|
1530
|
-
requestId: __expectString,
|
|
1531
|
-
});
|
|
1532
|
-
Object.assign(contents, doc);
|
|
1533
|
-
const exception = new InternalFailureException({
|
|
1534
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1535
|
-
...contents,
|
|
1536
|
-
});
|
|
1537
|
-
return __decorateServiceException(exception, parsedOutput.body);
|
|
1538
|
-
};
|
|
1539
|
-
const de_InvalidArgumentExceptionRes = async (parsedOutput, context) => {
|
|
1540
|
-
const contents = map({});
|
|
1541
|
-
const data = parsedOutput.body;
|
|
1542
|
-
const doc = take(data, {
|
|
1543
|
-
code: __expectString,
|
|
1544
|
-
detailedMessage: __expectString,
|
|
1545
|
-
requestId: __expectString,
|
|
1546
|
-
});
|
|
1547
|
-
Object.assign(contents, doc);
|
|
1548
|
-
const exception = new InvalidArgumentException({
|
|
1549
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1550
|
-
...contents,
|
|
1551
|
-
});
|
|
1552
|
-
return __decorateServiceException(exception, parsedOutput.body);
|
|
1553
|
-
};
|
|
1554
|
-
const de_InvalidNumericDataExceptionRes = async (parsedOutput, context) => {
|
|
1555
|
-
const contents = map({});
|
|
1556
|
-
const data = parsedOutput.body;
|
|
1557
|
-
const doc = take(data, {
|
|
1558
|
-
code: __expectString,
|
|
1559
|
-
detailedMessage: __expectString,
|
|
1560
|
-
requestId: __expectString,
|
|
1561
|
-
});
|
|
1562
|
-
Object.assign(contents, doc);
|
|
1563
|
-
const exception = new InvalidNumericDataException({
|
|
1564
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1565
|
-
...contents,
|
|
1566
|
-
});
|
|
1567
|
-
return __decorateServiceException(exception, parsedOutput.body);
|
|
1568
|
-
};
|
|
1569
|
-
const de_InvalidParameterExceptionRes = async (parsedOutput, context) => {
|
|
1570
|
-
const contents = map({});
|
|
1571
|
-
const data = parsedOutput.body;
|
|
1572
|
-
const doc = take(data, {
|
|
1573
|
-
code: __expectString,
|
|
1574
|
-
detailedMessage: __expectString,
|
|
1575
|
-
requestId: __expectString,
|
|
1576
|
-
});
|
|
1577
|
-
Object.assign(contents, doc);
|
|
1578
|
-
const exception = new InvalidParameterException({
|
|
1579
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1580
|
-
...contents,
|
|
1581
|
-
});
|
|
1582
|
-
return __decorateServiceException(exception, parsedOutput.body);
|
|
1583
|
-
};
|
|
1584
|
-
const de_LoadUrlAccessDeniedExceptionRes = async (parsedOutput, context) => {
|
|
1585
|
-
const contents = map({});
|
|
1586
|
-
const data = parsedOutput.body;
|
|
1587
|
-
const doc = take(data, {
|
|
1588
|
-
code: __expectString,
|
|
1589
|
-
detailedMessage: __expectString,
|
|
1590
|
-
requestId: __expectString,
|
|
1591
|
-
});
|
|
1592
|
-
Object.assign(contents, doc);
|
|
1593
|
-
const exception = new LoadUrlAccessDeniedException({
|
|
1594
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1595
|
-
...contents,
|
|
1596
|
-
});
|
|
1597
|
-
return __decorateServiceException(exception, parsedOutput.body);
|
|
1598
|
-
};
|
|
1599
|
-
const de_MalformedQueryExceptionRes = async (parsedOutput, context) => {
|
|
1600
|
-
const contents = map({});
|
|
1601
|
-
const data = parsedOutput.body;
|
|
1602
|
-
const doc = take(data, {
|
|
1603
|
-
code: __expectString,
|
|
1604
|
-
detailedMessage: __expectString,
|
|
1605
|
-
requestId: __expectString,
|
|
1606
|
-
});
|
|
1607
|
-
Object.assign(contents, doc);
|
|
1608
|
-
const exception = new MalformedQueryException({
|
|
1609
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1610
|
-
...contents,
|
|
1611
|
-
});
|
|
1612
|
-
return __decorateServiceException(exception, parsedOutput.body);
|
|
1613
|
-
};
|
|
1614
|
-
const de_MemoryLimitExceededExceptionRes = async (parsedOutput, context) => {
|
|
1615
|
-
const contents = map({});
|
|
1616
|
-
const data = parsedOutput.body;
|
|
1617
|
-
const doc = take(data, {
|
|
1618
|
-
code: __expectString,
|
|
1619
|
-
detailedMessage: __expectString,
|
|
1620
|
-
requestId: __expectString,
|
|
1621
|
-
});
|
|
1622
|
-
Object.assign(contents, doc);
|
|
1623
|
-
const exception = new MemoryLimitExceededException({
|
|
1624
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1625
|
-
...contents,
|
|
1626
|
-
});
|
|
1627
|
-
return __decorateServiceException(exception, parsedOutput.body);
|
|
1628
|
-
};
|
|
1629
|
-
const de_MethodNotAllowedExceptionRes = async (parsedOutput, context) => {
|
|
1630
|
-
const contents = map({});
|
|
1631
|
-
const data = parsedOutput.body;
|
|
1632
|
-
const doc = take(data, {
|
|
1633
|
-
code: __expectString,
|
|
1634
|
-
detailedMessage: __expectString,
|
|
1635
|
-
requestId: __expectString,
|
|
1636
|
-
});
|
|
1637
|
-
Object.assign(contents, doc);
|
|
1638
|
-
const exception = new MethodNotAllowedException({
|
|
1639
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1640
|
-
...contents,
|
|
1641
|
-
});
|
|
1642
|
-
return __decorateServiceException(exception, parsedOutput.body);
|
|
1643
|
-
};
|
|
1644
|
-
const de_MissingParameterExceptionRes = async (parsedOutput, context) => {
|
|
1645
|
-
const contents = map({});
|
|
1646
|
-
const data = parsedOutput.body;
|
|
1647
|
-
const doc = take(data, {
|
|
1648
|
-
code: __expectString,
|
|
1649
|
-
detailedMessage: __expectString,
|
|
1650
|
-
requestId: __expectString,
|
|
1651
|
-
});
|
|
1652
|
-
Object.assign(contents, doc);
|
|
1653
|
-
const exception = new MissingParameterException({
|
|
1654
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1655
|
-
...contents,
|
|
1656
|
-
});
|
|
1657
|
-
return __decorateServiceException(exception, parsedOutput.body);
|
|
1658
|
-
};
|
|
1659
|
-
const de_MLResourceNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
1660
|
-
const contents = map({});
|
|
1661
|
-
const data = parsedOutput.body;
|
|
1662
|
-
const doc = take(data, {
|
|
1663
|
-
code: __expectString,
|
|
1664
|
-
detailedMessage: __expectString,
|
|
1665
|
-
requestId: __expectString,
|
|
1666
|
-
});
|
|
1667
|
-
Object.assign(contents, doc);
|
|
1668
|
-
const exception = new MLResourceNotFoundException({
|
|
1669
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1670
|
-
...contents,
|
|
1671
|
-
});
|
|
1672
|
-
return __decorateServiceException(exception, parsedOutput.body);
|
|
1673
|
-
};
|
|
1674
|
-
const de_ParsingExceptionRes = async (parsedOutput, context) => {
|
|
1675
|
-
const contents = map({});
|
|
1676
|
-
const data = parsedOutput.body;
|
|
1677
|
-
const doc = take(data, {
|
|
1678
|
-
code: __expectString,
|
|
1679
|
-
detailedMessage: __expectString,
|
|
1680
|
-
requestId: __expectString,
|
|
1681
|
-
});
|
|
1682
|
-
Object.assign(contents, doc);
|
|
1683
|
-
const exception = new ParsingException({
|
|
1684
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1685
|
-
...contents,
|
|
1686
|
-
});
|
|
1687
|
-
return __decorateServiceException(exception, parsedOutput.body);
|
|
1688
|
-
};
|
|
1689
|
-
const de_PreconditionsFailedExceptionRes = async (parsedOutput, context) => {
|
|
1690
|
-
const contents = map({});
|
|
1691
|
-
const data = parsedOutput.body;
|
|
1692
|
-
const doc = take(data, {
|
|
1693
|
-
code: __expectString,
|
|
1694
|
-
detailedMessage: __expectString,
|
|
1695
|
-
requestId: __expectString,
|
|
1696
|
-
});
|
|
1697
|
-
Object.assign(contents, doc);
|
|
1698
|
-
const exception = new PreconditionsFailedException({
|
|
1699
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1700
|
-
...contents,
|
|
1701
|
-
});
|
|
1702
|
-
return __decorateServiceException(exception, parsedOutput.body);
|
|
1703
|
-
};
|
|
1704
|
-
const de_QueryLimitExceededExceptionRes = async (parsedOutput, context) => {
|
|
1705
|
-
const contents = map({});
|
|
1706
|
-
const data = parsedOutput.body;
|
|
1707
|
-
const doc = take(data, {
|
|
1708
|
-
code: __expectString,
|
|
1709
|
-
detailedMessage: __expectString,
|
|
1710
|
-
requestId: __expectString,
|
|
1711
|
-
});
|
|
1712
|
-
Object.assign(contents, doc);
|
|
1713
|
-
const exception = new QueryLimitExceededException({
|
|
1714
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1715
|
-
...contents,
|
|
1716
|
-
});
|
|
1717
|
-
return __decorateServiceException(exception, parsedOutput.body);
|
|
1718
|
-
};
|
|
1719
|
-
const de_QueryLimitExceptionRes = async (parsedOutput, context) => {
|
|
1720
|
-
const contents = map({});
|
|
1721
|
-
const data = parsedOutput.body;
|
|
1722
|
-
const doc = take(data, {
|
|
1723
|
-
code: __expectString,
|
|
1724
|
-
detailedMessage: __expectString,
|
|
1725
|
-
requestId: __expectString,
|
|
1726
|
-
});
|
|
1727
|
-
Object.assign(contents, doc);
|
|
1728
|
-
const exception = new QueryLimitException({
|
|
1729
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1730
|
-
...contents,
|
|
1731
|
-
});
|
|
1732
|
-
return __decorateServiceException(exception, parsedOutput.body);
|
|
1733
|
-
};
|
|
1734
|
-
const de_QueryTooLargeExceptionRes = async (parsedOutput, context) => {
|
|
1735
|
-
const contents = map({});
|
|
1736
|
-
const data = parsedOutput.body;
|
|
1737
|
-
const doc = take(data, {
|
|
1738
|
-
code: __expectString,
|
|
1739
|
-
detailedMessage: __expectString,
|
|
1740
|
-
requestId: __expectString,
|
|
1741
|
-
});
|
|
1742
|
-
Object.assign(contents, doc);
|
|
1743
|
-
const exception = new QueryTooLargeException({
|
|
1744
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1745
|
-
...contents,
|
|
1746
|
-
});
|
|
1747
|
-
return __decorateServiceException(exception, parsedOutput.body);
|
|
1748
|
-
};
|
|
1749
|
-
const de_ReadOnlyViolationExceptionRes = async (parsedOutput, context) => {
|
|
1750
|
-
const contents = map({});
|
|
1751
|
-
const data = parsedOutput.body;
|
|
1752
|
-
const doc = take(data, {
|
|
1753
|
-
code: __expectString,
|
|
1754
|
-
detailedMessage: __expectString,
|
|
1755
|
-
requestId: __expectString,
|
|
1756
|
-
});
|
|
1757
|
-
Object.assign(contents, doc);
|
|
1758
|
-
const exception = new ReadOnlyViolationException({
|
|
1759
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1760
|
-
...contents,
|
|
1761
|
-
});
|
|
1762
|
-
return __decorateServiceException(exception, parsedOutput.body);
|
|
1763
|
-
};
|
|
1764
|
-
const de_S3ExceptionRes = async (parsedOutput, context) => {
|
|
1765
|
-
const contents = map({});
|
|
1766
|
-
const data = parsedOutput.body;
|
|
1767
|
-
const doc = take(data, {
|
|
1768
|
-
code: __expectString,
|
|
1769
|
-
detailedMessage: __expectString,
|
|
1770
|
-
requestId: __expectString,
|
|
1771
|
-
});
|
|
1772
|
-
Object.assign(contents, doc);
|
|
1773
|
-
const exception = new S3Exception({
|
|
1774
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1775
|
-
...contents,
|
|
1776
|
-
});
|
|
1777
|
-
return __decorateServiceException(exception, parsedOutput.body);
|
|
1778
|
-
};
|
|
1779
|
-
const de_ServerShutdownExceptionRes = async (parsedOutput, context) => {
|
|
1780
|
-
const contents = map({});
|
|
1781
|
-
const data = parsedOutput.body;
|
|
1782
|
-
const doc = take(data, {
|
|
1783
|
-
code: __expectString,
|
|
1784
|
-
detailedMessage: __expectString,
|
|
1785
|
-
requestId: __expectString,
|
|
1786
|
-
});
|
|
1787
|
-
Object.assign(contents, doc);
|
|
1788
|
-
const exception = new ServerShutdownException({
|
|
1789
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1790
|
-
...contents,
|
|
1791
|
-
});
|
|
1792
|
-
return __decorateServiceException(exception, parsedOutput.body);
|
|
1793
|
-
};
|
|
1794
|
-
const de_StatisticsNotAvailableExceptionRes = async (parsedOutput, context) => {
|
|
1795
|
-
const contents = map({});
|
|
1796
|
-
const data = parsedOutput.body;
|
|
1797
|
-
const doc = take(data, {
|
|
1798
|
-
code: __expectString,
|
|
1799
|
-
detailedMessage: __expectString,
|
|
1800
|
-
requestId: __expectString,
|
|
1801
|
-
});
|
|
1802
|
-
Object.assign(contents, doc);
|
|
1803
|
-
const exception = new StatisticsNotAvailableException({
|
|
1804
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1805
|
-
...contents,
|
|
1806
|
-
});
|
|
1807
|
-
return __decorateServiceException(exception, parsedOutput.body);
|
|
1808
|
-
};
|
|
1809
|
-
const de_StreamRecordsNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
1810
|
-
const contents = map({});
|
|
1811
|
-
const data = parsedOutput.body;
|
|
1812
|
-
const doc = take(data, {
|
|
1813
|
-
code: __expectString,
|
|
1814
|
-
detailedMessage: __expectString,
|
|
1815
|
-
requestId: __expectString,
|
|
1816
|
-
});
|
|
1817
|
-
Object.assign(contents, doc);
|
|
1818
|
-
const exception = new StreamRecordsNotFoundException({
|
|
1819
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1820
|
-
...contents,
|
|
1821
|
-
});
|
|
1822
|
-
return __decorateServiceException(exception, parsedOutput.body);
|
|
1823
|
-
};
|
|
1824
|
-
const de_ThrottlingExceptionRes = async (parsedOutput, context) => {
|
|
1825
|
-
const contents = map({});
|
|
1826
|
-
const data = parsedOutput.body;
|
|
1827
|
-
const doc = take(data, {
|
|
1828
|
-
code: __expectString,
|
|
1829
|
-
detailedMessage: __expectString,
|
|
1830
|
-
requestId: __expectString,
|
|
1831
|
-
});
|
|
1832
|
-
Object.assign(contents, doc);
|
|
1833
|
-
const exception = new ThrottlingException({
|
|
1834
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1835
|
-
...contents,
|
|
1836
|
-
});
|
|
1837
|
-
return __decorateServiceException(exception, parsedOutput.body);
|
|
1838
|
-
};
|
|
1839
|
-
const de_TimeLimitExceededExceptionRes = async (parsedOutput, context) => {
|
|
1840
|
-
const contents = map({});
|
|
1841
|
-
const data = parsedOutput.body;
|
|
1842
|
-
const doc = take(data, {
|
|
1843
|
-
code: __expectString,
|
|
1844
|
-
detailedMessage: __expectString,
|
|
1845
|
-
requestId: __expectString,
|
|
1846
|
-
});
|
|
1847
|
-
Object.assign(contents, doc);
|
|
1848
|
-
const exception = new TimeLimitExceededException({
|
|
1849
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1850
|
-
...contents,
|
|
1851
|
-
});
|
|
1852
|
-
return __decorateServiceException(exception, parsedOutput.body);
|
|
1853
|
-
};
|
|
1854
|
-
const de_TooManyRequestsExceptionRes = async (parsedOutput, context) => {
|
|
1855
|
-
const contents = map({});
|
|
1856
|
-
const data = parsedOutput.body;
|
|
1857
|
-
const doc = take(data, {
|
|
1858
|
-
code: __expectString,
|
|
1859
|
-
detailedMessage: __expectString,
|
|
1860
|
-
requestId: __expectString,
|
|
1861
|
-
});
|
|
1862
|
-
Object.assign(contents, doc);
|
|
1863
|
-
const exception = new TooManyRequestsException({
|
|
1864
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1865
|
-
...contents,
|
|
1866
|
-
});
|
|
1867
|
-
return __decorateServiceException(exception, parsedOutput.body);
|
|
1868
|
-
};
|
|
1869
|
-
const de_UnsupportedOperationExceptionRes = async (parsedOutput, context) => {
|
|
1870
|
-
const contents = map({});
|
|
1871
|
-
const data = parsedOutput.body;
|
|
1872
|
-
const doc = take(data, {
|
|
1873
|
-
code: __expectString,
|
|
1874
|
-
detailedMessage: __expectString,
|
|
1875
|
-
requestId: __expectString,
|
|
1876
|
-
});
|
|
1877
|
-
Object.assign(contents, doc);
|
|
1878
|
-
const exception = new UnsupportedOperationException({
|
|
1879
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1880
|
-
...contents,
|
|
1881
|
-
});
|
|
1882
|
-
return __decorateServiceException(exception, parsedOutput.body);
|
|
1883
|
-
};
|
|
1884
|
-
const de_DocumentValuedMap = (output, context) => {
|
|
1885
|
-
return Object.entries(output).reduce((acc, [key, value]) => {
|
|
1886
|
-
if (value === null) {
|
|
1887
|
-
return acc;
|
|
1888
|
-
}
|
|
1889
|
-
acc[key] = de_Document(value, context);
|
|
1890
|
-
return acc;
|
|
1891
|
-
}, {});
|
|
1892
|
-
};
|
|
1893
|
-
const de_GremlinQueries = (output, context) => {
|
|
1894
|
-
const retVal = (output || [])
|
|
1895
|
-
.filter((e) => e != null)
|
|
1896
|
-
.map((entry) => {
|
|
1897
|
-
return de_GremlinQueryStatus(entry, context);
|
|
1898
|
-
});
|
|
1899
|
-
return retVal;
|
|
1900
|
-
};
|
|
1901
|
-
const de_GremlinQueryStatus = (output, context) => {
|
|
1902
|
-
return take(output, {
|
|
1903
|
-
queryEvalStats: (_) => de_QueryEvalStats(_, context),
|
|
1904
|
-
queryId: __expectString,
|
|
1905
|
-
queryString: __expectString,
|
|
1906
|
-
});
|
|
1907
|
-
};
|
|
1908
|
-
const de_GremlinQueryStatusAttributes = (output, context) => {
|
|
1909
|
-
return take(output, {
|
|
1910
|
-
attributes: (_) => de_Document(_, context),
|
|
1911
|
-
code: __expectInt32,
|
|
1912
|
-
message: __expectString,
|
|
1913
|
-
});
|
|
1914
|
-
};
|
|
1915
|
-
const de_OpenCypherQueries = (output, context) => {
|
|
1916
|
-
const retVal = (output || [])
|
|
1917
|
-
.filter((e) => e != null)
|
|
1918
|
-
.map((entry) => {
|
|
1919
|
-
return de_GremlinQueryStatus(entry, context);
|
|
1920
|
-
});
|
|
1921
|
-
return retVal;
|
|
1922
|
-
};
|
|
1923
|
-
const de_PropertygraphData = (output, context) => {
|
|
1924
|
-
return take(output, {
|
|
1925
|
-
from: __expectString,
|
|
1926
|
-
id: __expectString,
|
|
1927
|
-
key: __expectString,
|
|
1928
|
-
to: __expectString,
|
|
1929
|
-
type: __expectString,
|
|
1930
|
-
value: (_) => de_Document(_, context),
|
|
1931
|
-
});
|
|
1932
|
-
};
|
|
1933
|
-
const de_PropertygraphRecord = (output, context) => {
|
|
1934
|
-
return take(output, {
|
|
1935
|
-
commitTimestampInMillis: [, __expectLong, `commitTimestamp`],
|
|
1936
|
-
data: (_) => de_PropertygraphData(_, context),
|
|
1937
|
-
eventId: _json,
|
|
1938
|
-
isLastOp: __expectBoolean,
|
|
1939
|
-
op: __expectString,
|
|
1940
|
-
});
|
|
1941
|
-
};
|
|
1942
|
-
const de_PropertygraphRecordsList = (output, context) => {
|
|
1943
|
-
const retVal = (output || [])
|
|
1944
|
-
.filter((e) => e != null)
|
|
1945
|
-
.map((entry) => {
|
|
1946
|
-
return de_PropertygraphRecord(entry, context);
|
|
1947
|
-
});
|
|
1948
|
-
return retVal;
|
|
1949
|
-
};
|
|
1950
|
-
const de_PropertygraphSummaryValueMap = (output, context) => {
|
|
1951
|
-
return take(output, {
|
|
1952
|
-
graphSummary: _json,
|
|
1953
|
-
lastStatisticsComputationTime: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
1954
|
-
version: __expectString,
|
|
1955
|
-
});
|
|
1956
|
-
};
|
|
1957
|
-
const de_QueryEvalStats = (output, context) => {
|
|
1958
|
-
return take(output, {
|
|
1959
|
-
cancelled: __expectBoolean,
|
|
1960
|
-
elapsed: __expectInt32,
|
|
1961
|
-
subqueries: (_) => de_Document(_, context),
|
|
1962
|
-
waited: __expectInt32,
|
|
1963
|
-
});
|
|
1964
|
-
};
|
|
1965
|
-
const de_RDFGraphSummaryValueMap = (output, context) => {
|
|
1966
|
-
return take(output, {
|
|
1967
|
-
graphSummary: _json,
|
|
1968
|
-
lastStatisticsComputationTime: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
1969
|
-
version: __expectString,
|
|
1970
|
-
});
|
|
1971
|
-
};
|
|
1972
|
-
const de_SparqlRecord = (output, context) => {
|
|
1973
|
-
return take(output, {
|
|
1974
|
-
commitTimestampInMillis: [, __expectLong, `commitTimestamp`],
|
|
1975
|
-
data: _json,
|
|
1976
|
-
eventId: _json,
|
|
1977
|
-
isLastOp: __expectBoolean,
|
|
1978
|
-
op: __expectString,
|
|
1979
|
-
});
|
|
1980
|
-
};
|
|
1981
|
-
const de_SparqlRecordsList = (output, context) => {
|
|
1982
|
-
const retVal = (output || [])
|
|
1983
|
-
.filter((e) => e != null)
|
|
1984
|
-
.map((entry) => {
|
|
1985
|
-
return de_SparqlRecord(entry, context);
|
|
1986
|
-
});
|
|
1987
|
-
return retVal;
|
|
1988
|
-
};
|
|
1989
|
-
const de_Statistics = (output, context) => {
|
|
1990
|
-
return take(output, {
|
|
1991
|
-
active: __expectBoolean,
|
|
1992
|
-
autoCompute: __expectBoolean,
|
|
1993
|
-
date: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
1994
|
-
note: __expectString,
|
|
1995
|
-
signatureInfo: _json,
|
|
1996
|
-
statisticsId: __expectString,
|
|
1997
|
-
});
|
|
1998
|
-
};
|
|
1999
|
-
const de_Document = (output, context) => {
|
|
2000
|
-
return output;
|
|
2001
|
-
};
|
|
2002
|
-
const deserializeMetadata = (output) => ({
|
|
2003
|
-
httpStatusCode: output.statusCode,
|
|
2004
|
-
requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
|
|
2005
|
-
extendedRequestId: output.headers["x-amz-id-2"],
|
|
2006
|
-
cfId: output.headers["x-amz-cf-id"],
|
|
2007
|
-
});
|
|
2008
|
-
const collectBodyString = (streamBody, context) => collectBody(streamBody, context).then((body) => context.utf8Encoder(body));
|
|
2009
|
-
const _a = "accept";
|
|
2010
|
-
const _ae = "accept-encoding";
|
|
2011
|
-
const _c = "clean";
|
|
2012
|
-
const _cN = "commitNum";
|
|
2013
|
-
const _d = "details";
|
|
2014
|
-
const _e = "errors";
|
|
2015
|
-
const _ePP = "errorsPerPage";
|
|
2016
|
-
const _en = "encoding";
|
|
2017
|
-
const _iQL = "includeQueuedLoads";
|
|
2018
|
-
const _iT = "iteratorType";
|
|
2019
|
-
const _iW = "includeWaiting";
|
|
2020
|
-
const _l = "limit";
|
|
2021
|
-
const _m = "mode";
|
|
2022
|
-
const _mI = "maxItems";
|
|
2023
|
-
const _nIRA = "neptuneIamRoleArn";
|
|
2024
|
-
const _oN = "opNum";
|
|
2025
|
-
const _p = "page";
|
|
2026
|
-
const _s = "silent";
|
|
2027
|
-
const _se = "serializer";
|