@aws-sdk/client-neptunedata 3.474.0 → 3.477.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/protocols/Aws_restJson1.js +248 -551
- package/dist-es/protocols/Aws_restJson1.js +249 -552
- package/package.json +5 -4
|
@@ -2,137 +2,91 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.de_CreateMLEndpointCommand = exports.de_CancelOpenCypherQueryCommand = exports.de_CancelMLModelTransformJobCommand = exports.de_CancelMLModelTrainingJobCommand = exports.de_CancelMLDataProcessingJobCommand = exports.de_CancelLoaderJobCommand = exports.de_CancelGremlinQueryCommand = exports.se_StartMLModelTransformJobCommand = exports.se_StartMLModelTrainingJobCommand = exports.se_StartMLDataProcessingJobCommand = exports.se_StartLoaderJobCommand = exports.se_ManageSparqlStatisticsCommand = exports.se_ManagePropertygraphStatisticsCommand = exports.se_ListOpenCypherQueriesCommand = exports.se_ListMLModelTransformJobsCommand = exports.se_ListMLModelTrainingJobsCommand = exports.se_ListMLEndpointsCommand = exports.se_ListMLDataProcessingJobsCommand = exports.se_ListLoaderJobsCommand = exports.se_ListGremlinQueriesCommand = exports.se_GetSparqlStreamCommand = exports.se_GetSparqlStatisticsCommand = exports.se_GetRDFGraphSummaryCommand = exports.se_GetPropertygraphSummaryCommand = exports.se_GetPropertygraphStreamCommand = exports.se_GetPropertygraphStatisticsCommand = exports.se_GetOpenCypherQueryStatusCommand = exports.se_GetMLModelTransformJobCommand = exports.se_GetMLModelTrainingJobCommand = exports.se_GetMLEndpointCommand = exports.se_GetMLDataProcessingJobCommand = exports.se_GetLoaderJobStatusCommand = exports.se_GetGremlinQueryStatusCommand = exports.se_GetEngineStatusCommand = exports.se_ExecuteOpenCypherQueryCommand = exports.se_ExecuteOpenCypherExplainQueryCommand = exports.se_ExecuteGremlinQueryCommand = exports.se_ExecuteGremlinProfileQueryCommand = exports.se_ExecuteGremlinExplainQueryCommand = exports.se_ExecuteFastResetCommand = exports.se_DeleteSparqlStatisticsCommand = exports.se_DeletePropertygraphStatisticsCommand = exports.se_DeleteMLEndpointCommand = exports.se_CreateMLEndpointCommand = exports.se_CancelOpenCypherQueryCommand = exports.se_CancelMLModelTransformJobCommand = exports.se_CancelMLModelTrainingJobCommand = exports.se_CancelMLDataProcessingJobCommand = exports.se_CancelLoaderJobCommand = exports.se_CancelGremlinQueryCommand = void 0;
|
|
4
4
|
exports.de_StartMLModelTransformJobCommand = exports.de_StartMLModelTrainingJobCommand = exports.de_StartMLDataProcessingJobCommand = exports.de_StartLoaderJobCommand = exports.de_ManageSparqlStatisticsCommand = exports.de_ManagePropertygraphStatisticsCommand = exports.de_ListOpenCypherQueriesCommand = exports.de_ListMLModelTransformJobsCommand = exports.de_ListMLModelTrainingJobsCommand = exports.de_ListMLEndpointsCommand = exports.de_ListMLDataProcessingJobsCommand = exports.de_ListLoaderJobsCommand = exports.de_ListGremlinQueriesCommand = exports.de_GetSparqlStreamCommand = exports.de_GetSparqlStatisticsCommand = exports.de_GetRDFGraphSummaryCommand = exports.de_GetPropertygraphSummaryCommand = exports.de_GetPropertygraphStreamCommand = exports.de_GetPropertygraphStatisticsCommand = exports.de_GetOpenCypherQueryStatusCommand = exports.de_GetMLModelTransformJobCommand = exports.de_GetMLModelTrainingJobCommand = exports.de_GetMLEndpointCommand = exports.de_GetMLDataProcessingJobCommand = exports.de_GetLoaderJobStatusCommand = exports.de_GetGremlinQueryStatusCommand = exports.de_GetEngineStatusCommand = exports.de_ExecuteOpenCypherQueryCommand = exports.de_ExecuteOpenCypherExplainQueryCommand = exports.de_ExecuteGremlinQueryCommand = exports.de_ExecuteGremlinProfileQueryCommand = exports.de_ExecuteGremlinExplainQueryCommand = exports.de_ExecuteFastResetCommand = exports.de_DeleteSparqlStatisticsCommand = exports.de_DeletePropertygraphStatisticsCommand = exports.de_DeleteMLEndpointCommand = void 0;
|
|
5
|
-
const
|
|
5
|
+
const core_1 = require("@smithy/core");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
const models_0_1 = require("../models/models_0");
|
|
8
8
|
const NeptunedataServiceException_1 = require("../models/NeptunedataServiceException");
|
|
9
9
|
const se_CancelGremlinQueryCommand = async (input, context) => {
|
|
10
|
-
const
|
|
10
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
11
11
|
const headers = {};
|
|
12
|
-
|
|
13
|
-
|
|
12
|
+
b.bp("/gremlin/status/{queryId}");
|
|
13
|
+
b.p("queryId", () => input.queryId, "{queryId}", false);
|
|
14
14
|
let body;
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
hostname,
|
|
18
|
-
port,
|
|
19
|
-
method: "DELETE",
|
|
20
|
-
headers,
|
|
21
|
-
path: resolvedPath,
|
|
22
|
-
body,
|
|
23
|
-
});
|
|
15
|
+
b.m("DELETE").h(headers).b(body);
|
|
16
|
+
return b.build();
|
|
24
17
|
};
|
|
25
18
|
exports.se_CancelGremlinQueryCommand = se_CancelGremlinQueryCommand;
|
|
26
19
|
const se_CancelLoaderJobCommand = async (input, context) => {
|
|
27
|
-
const
|
|
20
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
28
21
|
const headers = {};
|
|
29
|
-
|
|
30
|
-
|
|
22
|
+
b.bp("/loader/{loadId}");
|
|
23
|
+
b.p("loadId", () => input.loadId, "{loadId}", false);
|
|
31
24
|
let body;
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
hostname,
|
|
35
|
-
port,
|
|
36
|
-
method: "DELETE",
|
|
37
|
-
headers,
|
|
38
|
-
path: resolvedPath,
|
|
39
|
-
body,
|
|
40
|
-
});
|
|
25
|
+
b.m("DELETE").h(headers).b(body);
|
|
26
|
+
return b.build();
|
|
41
27
|
};
|
|
42
28
|
exports.se_CancelLoaderJobCommand = se_CancelLoaderJobCommand;
|
|
43
29
|
const se_CancelMLDataProcessingJobCommand = async (input, context) => {
|
|
44
|
-
const
|
|
30
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
45
31
|
const headers = {};
|
|
46
|
-
|
|
47
|
-
|
|
32
|
+
b.bp("/ml/dataprocessing/{id}");
|
|
33
|
+
b.p("id", () => input.id, "{id}", false);
|
|
48
34
|
const query = (0, smithy_client_1.map)({
|
|
49
|
-
|
|
50
|
-
|
|
35
|
+
[_nIRA]: [, input[_nIRA]],
|
|
36
|
+
[_c]: [() => input.clean !== void 0, () => input[_c].toString()],
|
|
51
37
|
});
|
|
52
38
|
let body;
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
hostname,
|
|
56
|
-
port,
|
|
57
|
-
method: "DELETE",
|
|
58
|
-
headers,
|
|
59
|
-
path: resolvedPath,
|
|
60
|
-
query,
|
|
61
|
-
body,
|
|
62
|
-
});
|
|
39
|
+
b.m("DELETE").h(headers).q(query).b(body);
|
|
40
|
+
return b.build();
|
|
63
41
|
};
|
|
64
42
|
exports.se_CancelMLDataProcessingJobCommand = se_CancelMLDataProcessingJobCommand;
|
|
65
43
|
const se_CancelMLModelTrainingJobCommand = async (input, context) => {
|
|
66
|
-
const
|
|
44
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
67
45
|
const headers = {};
|
|
68
|
-
|
|
69
|
-
|
|
46
|
+
b.bp("/ml/modeltraining/{id}");
|
|
47
|
+
b.p("id", () => input.id, "{id}", false);
|
|
70
48
|
const query = (0, smithy_client_1.map)({
|
|
71
|
-
|
|
72
|
-
|
|
49
|
+
[_nIRA]: [, input[_nIRA]],
|
|
50
|
+
[_c]: [() => input.clean !== void 0, () => input[_c].toString()],
|
|
73
51
|
});
|
|
74
52
|
let body;
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
hostname,
|
|
78
|
-
port,
|
|
79
|
-
method: "DELETE",
|
|
80
|
-
headers,
|
|
81
|
-
path: resolvedPath,
|
|
82
|
-
query,
|
|
83
|
-
body,
|
|
84
|
-
});
|
|
53
|
+
b.m("DELETE").h(headers).q(query).b(body);
|
|
54
|
+
return b.build();
|
|
85
55
|
};
|
|
86
56
|
exports.se_CancelMLModelTrainingJobCommand = se_CancelMLModelTrainingJobCommand;
|
|
87
57
|
const se_CancelMLModelTransformJobCommand = async (input, context) => {
|
|
88
|
-
const
|
|
58
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
89
59
|
const headers = {};
|
|
90
|
-
|
|
91
|
-
|
|
60
|
+
b.bp("/ml/modeltransform/{id}");
|
|
61
|
+
b.p("id", () => input.id, "{id}", false);
|
|
92
62
|
const query = (0, smithy_client_1.map)({
|
|
93
|
-
|
|
94
|
-
|
|
63
|
+
[_nIRA]: [, input[_nIRA]],
|
|
64
|
+
[_c]: [() => input.clean !== void 0, () => input[_c].toString()],
|
|
95
65
|
});
|
|
96
66
|
let body;
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
hostname,
|
|
100
|
-
port,
|
|
101
|
-
method: "DELETE",
|
|
102
|
-
headers,
|
|
103
|
-
path: resolvedPath,
|
|
104
|
-
query,
|
|
105
|
-
body,
|
|
106
|
-
});
|
|
67
|
+
b.m("DELETE").h(headers).q(query).b(body);
|
|
68
|
+
return b.build();
|
|
107
69
|
};
|
|
108
70
|
exports.se_CancelMLModelTransformJobCommand = se_CancelMLModelTransformJobCommand;
|
|
109
71
|
const se_CancelOpenCypherQueryCommand = async (input, context) => {
|
|
110
|
-
const
|
|
72
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
111
73
|
const headers = {};
|
|
112
|
-
|
|
113
|
-
|
|
74
|
+
b.bp("/opencypher/status/{queryId}");
|
|
75
|
+
b.p("queryId", () => input.queryId, "{queryId}", false);
|
|
114
76
|
const query = (0, smithy_client_1.map)({
|
|
115
|
-
|
|
77
|
+
[_s]: [() => input.silent !== void 0, () => input[_s].toString()],
|
|
116
78
|
});
|
|
117
79
|
let body;
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
hostname,
|
|
121
|
-
port,
|
|
122
|
-
method: "DELETE",
|
|
123
|
-
headers,
|
|
124
|
-
path: resolvedPath,
|
|
125
|
-
query,
|
|
126
|
-
body,
|
|
127
|
-
});
|
|
80
|
+
b.m("DELETE").h(headers).q(query).b(body);
|
|
81
|
+
return b.build();
|
|
128
82
|
};
|
|
129
83
|
exports.se_CancelOpenCypherQueryCommand = se_CancelOpenCypherQueryCommand;
|
|
130
84
|
const se_CreateMLEndpointCommand = async (input, context) => {
|
|
131
|
-
const
|
|
85
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
132
86
|
const headers = {
|
|
133
87
|
"content-type": "application/json",
|
|
134
88
|
};
|
|
135
|
-
|
|
89
|
+
b.bp("/ml/endpoints");
|
|
136
90
|
let body;
|
|
137
91
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
138
92
|
id: [],
|
|
@@ -145,126 +99,83 @@ const se_CreateMLEndpointCommand = async (input, context) => {
|
|
|
145
99
|
update: [],
|
|
146
100
|
volumeEncryptionKMSKey: [],
|
|
147
101
|
}));
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
hostname,
|
|
151
|
-
port,
|
|
152
|
-
method: "POST",
|
|
153
|
-
headers,
|
|
154
|
-
path: resolvedPath,
|
|
155
|
-
body,
|
|
156
|
-
});
|
|
102
|
+
b.m("POST").h(headers).b(body);
|
|
103
|
+
return b.build();
|
|
157
104
|
};
|
|
158
105
|
exports.se_CreateMLEndpointCommand = se_CreateMLEndpointCommand;
|
|
159
106
|
const se_DeleteMLEndpointCommand = async (input, context) => {
|
|
160
|
-
const
|
|
107
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
161
108
|
const headers = {};
|
|
162
|
-
|
|
163
|
-
|
|
109
|
+
b.bp("/ml/endpoints/{id}");
|
|
110
|
+
b.p("id", () => input.id, "{id}", false);
|
|
164
111
|
const query = (0, smithy_client_1.map)({
|
|
165
|
-
|
|
166
|
-
|
|
112
|
+
[_nIRA]: [, input[_nIRA]],
|
|
113
|
+
[_c]: [() => input.clean !== void 0, () => input[_c].toString()],
|
|
167
114
|
});
|
|
168
115
|
let body;
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
hostname,
|
|
172
|
-
port,
|
|
173
|
-
method: "DELETE",
|
|
174
|
-
headers,
|
|
175
|
-
path: resolvedPath,
|
|
176
|
-
query,
|
|
177
|
-
body,
|
|
178
|
-
});
|
|
116
|
+
b.m("DELETE").h(headers).q(query).b(body);
|
|
117
|
+
return b.build();
|
|
179
118
|
};
|
|
180
119
|
exports.se_DeleteMLEndpointCommand = se_DeleteMLEndpointCommand;
|
|
181
120
|
const se_DeletePropertygraphStatisticsCommand = async (input, context) => {
|
|
182
|
-
const
|
|
121
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
183
122
|
const headers = {
|
|
184
123
|
"content-type": "application/json",
|
|
185
124
|
};
|
|
186
|
-
|
|
125
|
+
b.bp("/propertygraph/statistics");
|
|
187
126
|
let body;
|
|
188
127
|
body = "";
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
hostname,
|
|
192
|
-
port,
|
|
193
|
-
method: "DELETE",
|
|
194
|
-
headers,
|
|
195
|
-
path: resolvedPath,
|
|
196
|
-
body,
|
|
197
|
-
});
|
|
128
|
+
b.m("DELETE").h(headers).b(body);
|
|
129
|
+
return b.build();
|
|
198
130
|
};
|
|
199
131
|
exports.se_DeletePropertygraphStatisticsCommand = se_DeletePropertygraphStatisticsCommand;
|
|
200
132
|
const se_DeleteSparqlStatisticsCommand = async (input, context) => {
|
|
201
|
-
const
|
|
133
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
202
134
|
const headers = {
|
|
203
135
|
"content-type": "application/json",
|
|
204
136
|
};
|
|
205
|
-
|
|
137
|
+
b.bp("/sparql/statistics");
|
|
206
138
|
let body;
|
|
207
139
|
body = "";
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
hostname,
|
|
211
|
-
port,
|
|
212
|
-
method: "DELETE",
|
|
213
|
-
headers,
|
|
214
|
-
path: resolvedPath,
|
|
215
|
-
body,
|
|
216
|
-
});
|
|
140
|
+
b.m("DELETE").h(headers).b(body);
|
|
141
|
+
return b.build();
|
|
217
142
|
};
|
|
218
143
|
exports.se_DeleteSparqlStatisticsCommand = se_DeleteSparqlStatisticsCommand;
|
|
219
144
|
const se_ExecuteFastResetCommand = async (input, context) => {
|
|
220
|
-
const
|
|
145
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
221
146
|
const headers = {
|
|
222
147
|
"content-type": "application/json",
|
|
223
148
|
};
|
|
224
|
-
|
|
149
|
+
b.bp("/system");
|
|
225
150
|
let body;
|
|
226
151
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
227
152
|
action: [],
|
|
228
153
|
token: [],
|
|
229
154
|
}));
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
hostname,
|
|
233
|
-
port,
|
|
234
|
-
method: "POST",
|
|
235
|
-
headers,
|
|
236
|
-
path: resolvedPath,
|
|
237
|
-
body,
|
|
238
|
-
});
|
|
155
|
+
b.m("POST").h(headers).b(body);
|
|
156
|
+
return b.build();
|
|
239
157
|
};
|
|
240
158
|
exports.se_ExecuteFastResetCommand = se_ExecuteFastResetCommand;
|
|
241
159
|
const se_ExecuteGremlinExplainQueryCommand = async (input, context) => {
|
|
242
|
-
const
|
|
160
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
243
161
|
const headers = {
|
|
244
162
|
"content-type": "application/json",
|
|
245
163
|
};
|
|
246
|
-
|
|
164
|
+
b.bp("/gremlin/explain");
|
|
247
165
|
let body;
|
|
248
166
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
249
167
|
gremlin: [, , `gremlinQuery`],
|
|
250
168
|
}));
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
hostname,
|
|
254
|
-
port,
|
|
255
|
-
method: "POST",
|
|
256
|
-
headers,
|
|
257
|
-
path: resolvedPath,
|
|
258
|
-
body,
|
|
259
|
-
});
|
|
169
|
+
b.m("POST").h(headers).b(body);
|
|
170
|
+
return b.build();
|
|
260
171
|
};
|
|
261
172
|
exports.se_ExecuteGremlinExplainQueryCommand = se_ExecuteGremlinExplainQueryCommand;
|
|
262
173
|
const se_ExecuteGremlinProfileQueryCommand = async (input, context) => {
|
|
263
|
-
const
|
|
174
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
264
175
|
const headers = {
|
|
265
176
|
"content-type": "application/json",
|
|
266
177
|
};
|
|
267
|
-
|
|
178
|
+
b.bp("/gremlin/profile");
|
|
268
179
|
let body;
|
|
269
180
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
270
181
|
"profile.chop": [, , `chop`],
|
|
@@ -273,566 +184,361 @@ const se_ExecuteGremlinProfileQueryCommand = async (input, context) => {
|
|
|
273
184
|
"profile.results": [, , `results`],
|
|
274
185
|
"profile.serializer": [, , `serializer`],
|
|
275
186
|
}));
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
hostname,
|
|
279
|
-
port,
|
|
280
|
-
method: "POST",
|
|
281
|
-
headers,
|
|
282
|
-
path: resolvedPath,
|
|
283
|
-
body,
|
|
284
|
-
});
|
|
187
|
+
b.m("POST").h(headers).b(body);
|
|
188
|
+
return b.build();
|
|
285
189
|
};
|
|
286
190
|
exports.se_ExecuteGremlinProfileQueryCommand = se_ExecuteGremlinProfileQueryCommand;
|
|
287
191
|
const se_ExecuteGremlinQueryCommand = async (input, context) => {
|
|
288
|
-
const
|
|
192
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
289
193
|
const headers = (0, smithy_client_1.map)({}, isSerializableHeaderValue, {
|
|
290
194
|
"content-type": "application/json",
|
|
291
|
-
|
|
195
|
+
[_a]: input[_se],
|
|
292
196
|
});
|
|
293
|
-
|
|
197
|
+
b.bp("/gremlin");
|
|
294
198
|
let body;
|
|
295
199
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
296
200
|
gremlin: [, , `gremlinQuery`],
|
|
297
201
|
}));
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
hostname,
|
|
301
|
-
port,
|
|
302
|
-
method: "POST",
|
|
303
|
-
headers,
|
|
304
|
-
path: resolvedPath,
|
|
305
|
-
body,
|
|
306
|
-
});
|
|
202
|
+
b.m("POST").h(headers).b(body);
|
|
203
|
+
return b.build();
|
|
307
204
|
};
|
|
308
205
|
exports.se_ExecuteGremlinQueryCommand = se_ExecuteGremlinQueryCommand;
|
|
309
206
|
const se_ExecuteOpenCypherExplainQueryCommand = async (input, context) => {
|
|
310
|
-
const
|
|
207
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
311
208
|
const headers = {
|
|
312
209
|
"content-type": "application/json",
|
|
313
210
|
};
|
|
314
|
-
|
|
211
|
+
b.bp("/opencypher/explain");
|
|
315
212
|
let body;
|
|
316
213
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
317
214
|
explain: [, , `explainMode`],
|
|
318
215
|
query: [, , `openCypherQuery`],
|
|
319
216
|
parameters: [],
|
|
320
217
|
}));
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
hostname,
|
|
324
|
-
port,
|
|
325
|
-
method: "POST",
|
|
326
|
-
headers,
|
|
327
|
-
path: resolvedPath,
|
|
328
|
-
body,
|
|
329
|
-
});
|
|
218
|
+
b.m("POST").h(headers).b(body);
|
|
219
|
+
return b.build();
|
|
330
220
|
};
|
|
331
221
|
exports.se_ExecuteOpenCypherExplainQueryCommand = se_ExecuteOpenCypherExplainQueryCommand;
|
|
332
222
|
const se_ExecuteOpenCypherQueryCommand = async (input, context) => {
|
|
333
|
-
const
|
|
223
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
334
224
|
const headers = {
|
|
335
225
|
"content-type": "application/json",
|
|
336
226
|
};
|
|
337
|
-
|
|
227
|
+
b.bp("/opencypher");
|
|
338
228
|
let body;
|
|
339
229
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
340
230
|
query: [, , `openCypherQuery`],
|
|
341
231
|
parameters: [],
|
|
342
232
|
}));
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
hostname,
|
|
346
|
-
port,
|
|
347
|
-
method: "POST",
|
|
348
|
-
headers,
|
|
349
|
-
path: resolvedPath,
|
|
350
|
-
body,
|
|
351
|
-
});
|
|
233
|
+
b.m("POST").h(headers).b(body);
|
|
234
|
+
return b.build();
|
|
352
235
|
};
|
|
353
236
|
exports.se_ExecuteOpenCypherQueryCommand = se_ExecuteOpenCypherQueryCommand;
|
|
354
237
|
const se_GetEngineStatusCommand = async (input, context) => {
|
|
355
|
-
const
|
|
238
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
356
239
|
const headers = {
|
|
357
240
|
"content-type": "application/json",
|
|
358
241
|
};
|
|
359
|
-
|
|
242
|
+
b.bp("/status");
|
|
360
243
|
let body;
|
|
361
244
|
body = "";
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
hostname,
|
|
365
|
-
port,
|
|
366
|
-
method: "GET",
|
|
367
|
-
headers,
|
|
368
|
-
path: resolvedPath,
|
|
369
|
-
body,
|
|
370
|
-
});
|
|
245
|
+
b.m("GET").h(headers).b(body);
|
|
246
|
+
return b.build();
|
|
371
247
|
};
|
|
372
248
|
exports.se_GetEngineStatusCommand = se_GetEngineStatusCommand;
|
|
373
249
|
const se_GetGremlinQueryStatusCommand = async (input, context) => {
|
|
374
|
-
const
|
|
250
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
375
251
|
const headers = {};
|
|
376
|
-
|
|
377
|
-
|
|
252
|
+
b.bp("/gremlin/status/{queryId}");
|
|
253
|
+
b.p("queryId", () => input.queryId, "{queryId}", false);
|
|
378
254
|
let body;
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
hostname,
|
|
382
|
-
port,
|
|
383
|
-
method: "GET",
|
|
384
|
-
headers,
|
|
385
|
-
path: resolvedPath,
|
|
386
|
-
body,
|
|
387
|
-
});
|
|
255
|
+
b.m("GET").h(headers).b(body);
|
|
256
|
+
return b.build();
|
|
388
257
|
};
|
|
389
258
|
exports.se_GetGremlinQueryStatusCommand = se_GetGremlinQueryStatusCommand;
|
|
390
259
|
const se_GetLoaderJobStatusCommand = async (input, context) => {
|
|
391
|
-
const
|
|
260
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
392
261
|
const headers = {};
|
|
393
|
-
|
|
394
|
-
|
|
262
|
+
b.bp("/loader/{loadId}");
|
|
263
|
+
b.p("loadId", () => input.loadId, "{loadId}", false);
|
|
395
264
|
const query = (0, smithy_client_1.map)({
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
265
|
+
[_d]: [() => input.details !== void 0, () => input[_d].toString()],
|
|
266
|
+
[_e]: [() => input.errors !== void 0, () => input[_e].toString()],
|
|
267
|
+
[_p]: [() => input.page !== void 0, () => input[_p].toString()],
|
|
268
|
+
[_ePP]: [() => input.errorsPerPage !== void 0, () => input[_ePP].toString()],
|
|
400
269
|
});
|
|
401
270
|
let body;
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
hostname,
|
|
405
|
-
port,
|
|
406
|
-
method: "GET",
|
|
407
|
-
headers,
|
|
408
|
-
path: resolvedPath,
|
|
409
|
-
query,
|
|
410
|
-
body,
|
|
411
|
-
});
|
|
271
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
272
|
+
return b.build();
|
|
412
273
|
};
|
|
413
274
|
exports.se_GetLoaderJobStatusCommand = se_GetLoaderJobStatusCommand;
|
|
414
275
|
const se_GetMLDataProcessingJobCommand = async (input, context) => {
|
|
415
|
-
const
|
|
276
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
416
277
|
const headers = {};
|
|
417
|
-
|
|
418
|
-
|
|
278
|
+
b.bp("/ml/dataprocessing/{id}");
|
|
279
|
+
b.p("id", () => input.id, "{id}", false);
|
|
419
280
|
const query = (0, smithy_client_1.map)({
|
|
420
|
-
|
|
281
|
+
[_nIRA]: [, input[_nIRA]],
|
|
421
282
|
});
|
|
422
283
|
let body;
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
hostname,
|
|
426
|
-
port,
|
|
427
|
-
method: "GET",
|
|
428
|
-
headers,
|
|
429
|
-
path: resolvedPath,
|
|
430
|
-
query,
|
|
431
|
-
body,
|
|
432
|
-
});
|
|
284
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
285
|
+
return b.build();
|
|
433
286
|
};
|
|
434
287
|
exports.se_GetMLDataProcessingJobCommand = se_GetMLDataProcessingJobCommand;
|
|
435
288
|
const se_GetMLEndpointCommand = async (input, context) => {
|
|
436
|
-
const
|
|
289
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
437
290
|
const headers = {};
|
|
438
|
-
|
|
439
|
-
|
|
291
|
+
b.bp("/ml/endpoints/{id}");
|
|
292
|
+
b.p("id", () => input.id, "{id}", false);
|
|
440
293
|
const query = (0, smithy_client_1.map)({
|
|
441
|
-
|
|
294
|
+
[_nIRA]: [, input[_nIRA]],
|
|
442
295
|
});
|
|
443
296
|
let body;
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
hostname,
|
|
447
|
-
port,
|
|
448
|
-
method: "GET",
|
|
449
|
-
headers,
|
|
450
|
-
path: resolvedPath,
|
|
451
|
-
query,
|
|
452
|
-
body,
|
|
453
|
-
});
|
|
297
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
298
|
+
return b.build();
|
|
454
299
|
};
|
|
455
300
|
exports.se_GetMLEndpointCommand = se_GetMLEndpointCommand;
|
|
456
301
|
const se_GetMLModelTrainingJobCommand = async (input, context) => {
|
|
457
|
-
const
|
|
302
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
458
303
|
const headers = {};
|
|
459
|
-
|
|
460
|
-
|
|
304
|
+
b.bp("/ml/modeltraining/{id}");
|
|
305
|
+
b.p("id", () => input.id, "{id}", false);
|
|
461
306
|
const query = (0, smithy_client_1.map)({
|
|
462
|
-
|
|
307
|
+
[_nIRA]: [, input[_nIRA]],
|
|
463
308
|
});
|
|
464
309
|
let body;
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
hostname,
|
|
468
|
-
port,
|
|
469
|
-
method: "GET",
|
|
470
|
-
headers,
|
|
471
|
-
path: resolvedPath,
|
|
472
|
-
query,
|
|
473
|
-
body,
|
|
474
|
-
});
|
|
310
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
311
|
+
return b.build();
|
|
475
312
|
};
|
|
476
313
|
exports.se_GetMLModelTrainingJobCommand = se_GetMLModelTrainingJobCommand;
|
|
477
314
|
const se_GetMLModelTransformJobCommand = async (input, context) => {
|
|
478
|
-
const
|
|
315
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
479
316
|
const headers = {};
|
|
480
|
-
|
|
481
|
-
|
|
317
|
+
b.bp("/ml/modeltransform/{id}");
|
|
318
|
+
b.p("id", () => input.id, "{id}", false);
|
|
482
319
|
const query = (0, smithy_client_1.map)({
|
|
483
|
-
|
|
320
|
+
[_nIRA]: [, input[_nIRA]],
|
|
484
321
|
});
|
|
485
322
|
let body;
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
hostname,
|
|
489
|
-
port,
|
|
490
|
-
method: "GET",
|
|
491
|
-
headers,
|
|
492
|
-
path: resolvedPath,
|
|
493
|
-
query,
|
|
494
|
-
body,
|
|
495
|
-
});
|
|
323
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
324
|
+
return b.build();
|
|
496
325
|
};
|
|
497
326
|
exports.se_GetMLModelTransformJobCommand = se_GetMLModelTransformJobCommand;
|
|
498
327
|
const se_GetOpenCypherQueryStatusCommand = async (input, context) => {
|
|
499
|
-
const
|
|
328
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
500
329
|
const headers = {};
|
|
501
|
-
|
|
502
|
-
|
|
330
|
+
b.bp("/opencypher/status/{queryId}");
|
|
331
|
+
b.p("queryId", () => input.queryId, "{queryId}", false);
|
|
503
332
|
let body;
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
hostname,
|
|
507
|
-
port,
|
|
508
|
-
method: "GET",
|
|
509
|
-
headers,
|
|
510
|
-
path: resolvedPath,
|
|
511
|
-
body,
|
|
512
|
-
});
|
|
333
|
+
b.m("GET").h(headers).b(body);
|
|
334
|
+
return b.build();
|
|
513
335
|
};
|
|
514
336
|
exports.se_GetOpenCypherQueryStatusCommand = se_GetOpenCypherQueryStatusCommand;
|
|
515
337
|
const se_GetPropertygraphStatisticsCommand = async (input, context) => {
|
|
516
|
-
const
|
|
338
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
517
339
|
const headers = {
|
|
518
340
|
"content-type": "application/json",
|
|
519
341
|
};
|
|
520
|
-
|
|
342
|
+
b.bp("/propertygraph/statistics");
|
|
521
343
|
let body;
|
|
522
344
|
body = "";
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
hostname,
|
|
526
|
-
port,
|
|
527
|
-
method: "GET",
|
|
528
|
-
headers,
|
|
529
|
-
path: resolvedPath,
|
|
530
|
-
body,
|
|
531
|
-
});
|
|
345
|
+
b.m("GET").h(headers).b(body);
|
|
346
|
+
return b.build();
|
|
532
347
|
};
|
|
533
348
|
exports.se_GetPropertygraphStatisticsCommand = se_GetPropertygraphStatisticsCommand;
|
|
534
349
|
const se_GetPropertygraphStreamCommand = async (input, context) => {
|
|
535
|
-
const
|
|
350
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
536
351
|
const headers = (0, smithy_client_1.map)({}, isSerializableHeaderValue, {
|
|
537
|
-
|
|
352
|
+
[_ae]: input[_en],
|
|
538
353
|
});
|
|
539
|
-
|
|
354
|
+
b.bp("/propertygraph/stream");
|
|
540
355
|
const query = (0, smithy_client_1.map)({
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
356
|
+
[_l]: [() => input.limit !== void 0, () => input[_l].toString()],
|
|
357
|
+
[_iT]: [, input[_iT]],
|
|
358
|
+
[_cN]: [() => input.commitNum !== void 0, () => input[_cN].toString()],
|
|
359
|
+
[_oN]: [() => input.opNum !== void 0, () => input[_oN].toString()],
|
|
545
360
|
});
|
|
546
361
|
let body;
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
hostname,
|
|
550
|
-
port,
|
|
551
|
-
method: "GET",
|
|
552
|
-
headers,
|
|
553
|
-
path: resolvedPath,
|
|
554
|
-
query,
|
|
555
|
-
body,
|
|
556
|
-
});
|
|
362
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
363
|
+
return b.build();
|
|
557
364
|
};
|
|
558
365
|
exports.se_GetPropertygraphStreamCommand = se_GetPropertygraphStreamCommand;
|
|
559
366
|
const se_GetPropertygraphSummaryCommand = async (input, context) => {
|
|
560
|
-
const
|
|
367
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
561
368
|
const headers = {};
|
|
562
|
-
|
|
369
|
+
b.bp("/propertygraph/statistics/summary");
|
|
563
370
|
const query = (0, smithy_client_1.map)({
|
|
564
|
-
|
|
371
|
+
[_m]: [, input[_m]],
|
|
565
372
|
});
|
|
566
373
|
let body;
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
hostname,
|
|
570
|
-
port,
|
|
571
|
-
method: "GET",
|
|
572
|
-
headers,
|
|
573
|
-
path: resolvedPath,
|
|
574
|
-
query,
|
|
575
|
-
body,
|
|
576
|
-
});
|
|
374
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
375
|
+
return b.build();
|
|
577
376
|
};
|
|
578
377
|
exports.se_GetPropertygraphSummaryCommand = se_GetPropertygraphSummaryCommand;
|
|
579
378
|
const se_GetRDFGraphSummaryCommand = async (input, context) => {
|
|
580
|
-
const
|
|
379
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
581
380
|
const headers = {};
|
|
582
|
-
|
|
381
|
+
b.bp("/rdf/statistics/summary");
|
|
583
382
|
const query = (0, smithy_client_1.map)({
|
|
584
|
-
|
|
383
|
+
[_m]: [, input[_m]],
|
|
585
384
|
});
|
|
586
385
|
let body;
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
hostname,
|
|
590
|
-
port,
|
|
591
|
-
method: "GET",
|
|
592
|
-
headers,
|
|
593
|
-
path: resolvedPath,
|
|
594
|
-
query,
|
|
595
|
-
body,
|
|
596
|
-
});
|
|
386
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
387
|
+
return b.build();
|
|
597
388
|
};
|
|
598
389
|
exports.se_GetRDFGraphSummaryCommand = se_GetRDFGraphSummaryCommand;
|
|
599
390
|
const se_GetSparqlStatisticsCommand = async (input, context) => {
|
|
600
|
-
const
|
|
391
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
601
392
|
const headers = {
|
|
602
393
|
"content-type": "application/json",
|
|
603
394
|
};
|
|
604
|
-
|
|
395
|
+
b.bp("/sparql/statistics");
|
|
605
396
|
let body;
|
|
606
397
|
body = "";
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
hostname,
|
|
610
|
-
port,
|
|
611
|
-
method: "GET",
|
|
612
|
-
headers,
|
|
613
|
-
path: resolvedPath,
|
|
614
|
-
body,
|
|
615
|
-
});
|
|
398
|
+
b.m("GET").h(headers).b(body);
|
|
399
|
+
return b.build();
|
|
616
400
|
};
|
|
617
401
|
exports.se_GetSparqlStatisticsCommand = se_GetSparqlStatisticsCommand;
|
|
618
402
|
const se_GetSparqlStreamCommand = async (input, context) => {
|
|
619
|
-
const
|
|
403
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
620
404
|
const headers = (0, smithy_client_1.map)({}, isSerializableHeaderValue, {
|
|
621
|
-
|
|
405
|
+
[_ae]: input[_en],
|
|
622
406
|
});
|
|
623
|
-
|
|
407
|
+
b.bp("/sparql/stream");
|
|
624
408
|
const query = (0, smithy_client_1.map)({
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
|
|
409
|
+
[_l]: [() => input.limit !== void 0, () => input[_l].toString()],
|
|
410
|
+
[_iT]: [, input[_iT]],
|
|
411
|
+
[_cN]: [() => input.commitNum !== void 0, () => input[_cN].toString()],
|
|
412
|
+
[_oN]: [() => input.opNum !== void 0, () => input[_oN].toString()],
|
|
629
413
|
});
|
|
630
414
|
let body;
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
hostname,
|
|
634
|
-
port,
|
|
635
|
-
method: "GET",
|
|
636
|
-
headers,
|
|
637
|
-
path: resolvedPath,
|
|
638
|
-
query,
|
|
639
|
-
body,
|
|
640
|
-
});
|
|
415
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
416
|
+
return b.build();
|
|
641
417
|
};
|
|
642
418
|
exports.se_GetSparqlStreamCommand = se_GetSparqlStreamCommand;
|
|
643
419
|
const se_ListGremlinQueriesCommand = async (input, context) => {
|
|
644
|
-
const
|
|
420
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
645
421
|
const headers = {};
|
|
646
|
-
|
|
422
|
+
b.bp("/gremlin/status");
|
|
647
423
|
const query = (0, smithy_client_1.map)({
|
|
648
|
-
|
|
424
|
+
[_iW]: [() => input.includeWaiting !== void 0, () => input[_iW].toString()],
|
|
649
425
|
});
|
|
650
426
|
let body;
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
hostname,
|
|
654
|
-
port,
|
|
655
|
-
method: "GET",
|
|
656
|
-
headers,
|
|
657
|
-
path: resolvedPath,
|
|
658
|
-
query,
|
|
659
|
-
body,
|
|
660
|
-
});
|
|
427
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
428
|
+
return b.build();
|
|
661
429
|
};
|
|
662
430
|
exports.se_ListGremlinQueriesCommand = se_ListGremlinQueriesCommand;
|
|
663
431
|
const se_ListLoaderJobsCommand = async (input, context) => {
|
|
664
|
-
const
|
|
432
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
665
433
|
const headers = {};
|
|
666
|
-
|
|
434
|
+
b.bp("/loader");
|
|
667
435
|
const query = (0, smithy_client_1.map)({
|
|
668
|
-
|
|
669
|
-
|
|
436
|
+
[_l]: [() => input.limit !== void 0, () => input[_l].toString()],
|
|
437
|
+
[_iQL]: [() => input.includeQueuedLoads !== void 0, () => input[_iQL].toString()],
|
|
670
438
|
});
|
|
671
439
|
let body;
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
hostname,
|
|
675
|
-
port,
|
|
676
|
-
method: "GET",
|
|
677
|
-
headers,
|
|
678
|
-
path: resolvedPath,
|
|
679
|
-
query,
|
|
680
|
-
body,
|
|
681
|
-
});
|
|
440
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
441
|
+
return b.build();
|
|
682
442
|
};
|
|
683
443
|
exports.se_ListLoaderJobsCommand = se_ListLoaderJobsCommand;
|
|
684
444
|
const se_ListMLDataProcessingJobsCommand = async (input, context) => {
|
|
685
|
-
const
|
|
445
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
686
446
|
const headers = {};
|
|
687
|
-
|
|
447
|
+
b.bp("/ml/dataprocessing");
|
|
688
448
|
const query = (0, smithy_client_1.map)({
|
|
689
|
-
|
|
690
|
-
|
|
449
|
+
[_mI]: [() => input.maxItems !== void 0, () => input[_mI].toString()],
|
|
450
|
+
[_nIRA]: [, input[_nIRA]],
|
|
691
451
|
});
|
|
692
452
|
let body;
|
|
693
|
-
|
|
694
|
-
|
|
695
|
-
hostname,
|
|
696
|
-
port,
|
|
697
|
-
method: "GET",
|
|
698
|
-
headers,
|
|
699
|
-
path: resolvedPath,
|
|
700
|
-
query,
|
|
701
|
-
body,
|
|
702
|
-
});
|
|
453
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
454
|
+
return b.build();
|
|
703
455
|
};
|
|
704
456
|
exports.se_ListMLDataProcessingJobsCommand = se_ListMLDataProcessingJobsCommand;
|
|
705
457
|
const se_ListMLEndpointsCommand = async (input, context) => {
|
|
706
|
-
const
|
|
458
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
707
459
|
const headers = {};
|
|
708
|
-
|
|
460
|
+
b.bp("/ml/endpoints");
|
|
709
461
|
const query = (0, smithy_client_1.map)({
|
|
710
|
-
|
|
711
|
-
|
|
462
|
+
[_mI]: [() => input.maxItems !== void 0, () => input[_mI].toString()],
|
|
463
|
+
[_nIRA]: [, input[_nIRA]],
|
|
712
464
|
});
|
|
713
465
|
let body;
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
hostname,
|
|
717
|
-
port,
|
|
718
|
-
method: "GET",
|
|
719
|
-
headers,
|
|
720
|
-
path: resolvedPath,
|
|
721
|
-
query,
|
|
722
|
-
body,
|
|
723
|
-
});
|
|
466
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
467
|
+
return b.build();
|
|
724
468
|
};
|
|
725
469
|
exports.se_ListMLEndpointsCommand = se_ListMLEndpointsCommand;
|
|
726
470
|
const se_ListMLModelTrainingJobsCommand = async (input, context) => {
|
|
727
|
-
const
|
|
471
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
728
472
|
const headers = {};
|
|
729
|
-
|
|
473
|
+
b.bp("/ml/modeltraining");
|
|
730
474
|
const query = (0, smithy_client_1.map)({
|
|
731
|
-
|
|
732
|
-
|
|
475
|
+
[_mI]: [() => input.maxItems !== void 0, () => input[_mI].toString()],
|
|
476
|
+
[_nIRA]: [, input[_nIRA]],
|
|
733
477
|
});
|
|
734
478
|
let body;
|
|
735
|
-
|
|
736
|
-
|
|
737
|
-
hostname,
|
|
738
|
-
port,
|
|
739
|
-
method: "GET",
|
|
740
|
-
headers,
|
|
741
|
-
path: resolvedPath,
|
|
742
|
-
query,
|
|
743
|
-
body,
|
|
744
|
-
});
|
|
479
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
480
|
+
return b.build();
|
|
745
481
|
};
|
|
746
482
|
exports.se_ListMLModelTrainingJobsCommand = se_ListMLModelTrainingJobsCommand;
|
|
747
483
|
const se_ListMLModelTransformJobsCommand = async (input, context) => {
|
|
748
|
-
const
|
|
484
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
749
485
|
const headers = {};
|
|
750
|
-
|
|
486
|
+
b.bp("/ml/modeltransform");
|
|
751
487
|
const query = (0, smithy_client_1.map)({
|
|
752
|
-
|
|
753
|
-
|
|
488
|
+
[_mI]: [() => input.maxItems !== void 0, () => input[_mI].toString()],
|
|
489
|
+
[_nIRA]: [, input[_nIRA]],
|
|
754
490
|
});
|
|
755
491
|
let body;
|
|
756
|
-
|
|
757
|
-
|
|
758
|
-
hostname,
|
|
759
|
-
port,
|
|
760
|
-
method: "GET",
|
|
761
|
-
headers,
|
|
762
|
-
path: resolvedPath,
|
|
763
|
-
query,
|
|
764
|
-
body,
|
|
765
|
-
});
|
|
492
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
493
|
+
return b.build();
|
|
766
494
|
};
|
|
767
495
|
exports.se_ListMLModelTransformJobsCommand = se_ListMLModelTransformJobsCommand;
|
|
768
496
|
const se_ListOpenCypherQueriesCommand = async (input, context) => {
|
|
769
|
-
const
|
|
497
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
770
498
|
const headers = {};
|
|
771
|
-
|
|
499
|
+
b.bp("/opencypher/status");
|
|
772
500
|
const query = (0, smithy_client_1.map)({
|
|
773
|
-
|
|
501
|
+
[_iW]: [() => input.includeWaiting !== void 0, () => input[_iW].toString()],
|
|
774
502
|
});
|
|
775
503
|
let body;
|
|
776
|
-
|
|
777
|
-
|
|
778
|
-
hostname,
|
|
779
|
-
port,
|
|
780
|
-
method: "GET",
|
|
781
|
-
headers,
|
|
782
|
-
path: resolvedPath,
|
|
783
|
-
query,
|
|
784
|
-
body,
|
|
785
|
-
});
|
|
504
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
505
|
+
return b.build();
|
|
786
506
|
};
|
|
787
507
|
exports.se_ListOpenCypherQueriesCommand = se_ListOpenCypherQueriesCommand;
|
|
788
508
|
const se_ManagePropertygraphStatisticsCommand = async (input, context) => {
|
|
789
|
-
const
|
|
509
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
790
510
|
const headers = {
|
|
791
511
|
"content-type": "application/json",
|
|
792
512
|
};
|
|
793
|
-
|
|
513
|
+
b.bp("/propertygraph/statistics");
|
|
794
514
|
let body;
|
|
795
515
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
796
516
|
mode: [],
|
|
797
517
|
}));
|
|
798
|
-
|
|
799
|
-
|
|
800
|
-
hostname,
|
|
801
|
-
port,
|
|
802
|
-
method: "POST",
|
|
803
|
-
headers,
|
|
804
|
-
path: resolvedPath,
|
|
805
|
-
body,
|
|
806
|
-
});
|
|
518
|
+
b.m("POST").h(headers).b(body);
|
|
519
|
+
return b.build();
|
|
807
520
|
};
|
|
808
521
|
exports.se_ManagePropertygraphStatisticsCommand = se_ManagePropertygraphStatisticsCommand;
|
|
809
522
|
const se_ManageSparqlStatisticsCommand = async (input, context) => {
|
|
810
|
-
const
|
|
523
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
811
524
|
const headers = {
|
|
812
525
|
"content-type": "application/json",
|
|
813
526
|
};
|
|
814
|
-
|
|
527
|
+
b.bp("/sparql/statistics");
|
|
815
528
|
let body;
|
|
816
529
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
817
530
|
mode: [],
|
|
818
531
|
}));
|
|
819
|
-
|
|
820
|
-
|
|
821
|
-
hostname,
|
|
822
|
-
port,
|
|
823
|
-
method: "POST",
|
|
824
|
-
headers,
|
|
825
|
-
path: resolvedPath,
|
|
826
|
-
body,
|
|
827
|
-
});
|
|
532
|
+
b.m("POST").h(headers).b(body);
|
|
533
|
+
return b.build();
|
|
828
534
|
};
|
|
829
535
|
exports.se_ManageSparqlStatisticsCommand = se_ManageSparqlStatisticsCommand;
|
|
830
536
|
const se_StartLoaderJobCommand = async (input, context) => {
|
|
831
|
-
const
|
|
537
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
832
538
|
const headers = {
|
|
833
539
|
"content-type": "application/json",
|
|
834
540
|
};
|
|
835
|
-
|
|
541
|
+
b.bp("/loader");
|
|
836
542
|
let body;
|
|
837
543
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
838
544
|
dependencies: (_) => (0, smithy_client_1._json)(_),
|
|
@@ -848,23 +554,16 @@ const se_StartLoaderJobCommand = async (input, context) => {
|
|
|
848
554
|
updateSingleCardinalityProperties: [],
|
|
849
555
|
userProvidedEdgeIds: [],
|
|
850
556
|
}));
|
|
851
|
-
|
|
852
|
-
|
|
853
|
-
hostname,
|
|
854
|
-
port,
|
|
855
|
-
method: "POST",
|
|
856
|
-
headers,
|
|
857
|
-
path: resolvedPath,
|
|
858
|
-
body,
|
|
859
|
-
});
|
|
557
|
+
b.m("POST").h(headers).b(body);
|
|
558
|
+
return b.build();
|
|
860
559
|
};
|
|
861
560
|
exports.se_StartLoaderJobCommand = se_StartLoaderJobCommand;
|
|
862
561
|
const se_StartMLDataProcessingJobCommand = async (input, context) => {
|
|
863
|
-
const
|
|
562
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
864
563
|
const headers = {
|
|
865
564
|
"content-type": "application/json",
|
|
866
565
|
};
|
|
867
|
-
|
|
566
|
+
b.bp("/ml/dataprocessing");
|
|
868
567
|
let body;
|
|
869
568
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
870
569
|
configFileName: [],
|
|
@@ -883,23 +582,16 @@ const se_StartMLDataProcessingJobCommand = async (input, context) => {
|
|
|
883
582
|
subnets: (_) => (0, smithy_client_1._json)(_),
|
|
884
583
|
volumeEncryptionKMSKey: [],
|
|
885
584
|
}));
|
|
886
|
-
|
|
887
|
-
|
|
888
|
-
hostname,
|
|
889
|
-
port,
|
|
890
|
-
method: "POST",
|
|
891
|
-
headers,
|
|
892
|
-
path: resolvedPath,
|
|
893
|
-
body,
|
|
894
|
-
});
|
|
585
|
+
b.m("POST").h(headers).b(body);
|
|
586
|
+
return b.build();
|
|
895
587
|
};
|
|
896
588
|
exports.se_StartMLDataProcessingJobCommand = se_StartMLDataProcessingJobCommand;
|
|
897
589
|
const se_StartMLModelTrainingJobCommand = async (input, context) => {
|
|
898
|
-
const
|
|
590
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
899
591
|
const headers = {
|
|
900
592
|
"content-type": "application/json",
|
|
901
593
|
};
|
|
902
|
-
|
|
594
|
+
b.bp("/ml/modeltraining");
|
|
903
595
|
let body;
|
|
904
596
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
905
597
|
baseProcessingInstanceType: [],
|
|
@@ -921,23 +613,16 @@ const se_StartMLModelTrainingJobCommand = async (input, context) => {
|
|
|
921
613
|
trainingTimeOutInSeconds: [],
|
|
922
614
|
volumeEncryptionKMSKey: [],
|
|
923
615
|
}));
|
|
924
|
-
|
|
925
|
-
|
|
926
|
-
hostname,
|
|
927
|
-
port,
|
|
928
|
-
method: "POST",
|
|
929
|
-
headers,
|
|
930
|
-
path: resolvedPath,
|
|
931
|
-
body,
|
|
932
|
-
});
|
|
616
|
+
b.m("POST").h(headers).b(body);
|
|
617
|
+
return b.build();
|
|
933
618
|
};
|
|
934
619
|
exports.se_StartMLModelTrainingJobCommand = se_StartMLModelTrainingJobCommand;
|
|
935
620
|
const se_StartMLModelTransformJobCommand = async (input, context) => {
|
|
936
|
-
const
|
|
621
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
937
622
|
const headers = {
|
|
938
623
|
"content-type": "application/json",
|
|
939
624
|
};
|
|
940
|
-
|
|
625
|
+
b.bp("/ml/modeltransform");
|
|
941
626
|
let body;
|
|
942
627
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
943
628
|
baseProcessingInstanceType: [],
|
|
@@ -955,15 +640,8 @@ const se_StartMLModelTransformJobCommand = async (input, context) => {
|
|
|
955
640
|
trainingJobName: [],
|
|
956
641
|
volumeEncryptionKMSKey: [],
|
|
957
642
|
}));
|
|
958
|
-
|
|
959
|
-
|
|
960
|
-
hostname,
|
|
961
|
-
port,
|
|
962
|
-
method: "POST",
|
|
963
|
-
headers,
|
|
964
|
-
path: resolvedPath,
|
|
965
|
-
body,
|
|
966
|
-
});
|
|
643
|
+
b.m("POST").h(headers).b(body);
|
|
644
|
+
return b.build();
|
|
967
645
|
};
|
|
968
646
|
exports.se_StartMLModelTransformJobCommand = se_StartMLModelTransformJobCommand;
|
|
969
647
|
const de_CancelGremlinQueryCommand = async (output, context) => {
|
|
@@ -4729,6 +4407,25 @@ const isSerializableHeaderValue = (value) => value !== undefined &&
|
|
|
4729
4407
|
value !== "" &&
|
|
4730
4408
|
(!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) &&
|
|
4731
4409
|
(!Object.getOwnPropertyNames(value).includes("size") || value.size != 0);
|
|
4410
|
+
const _a = "accept";
|
|
4411
|
+
const _ae = "accept-encoding";
|
|
4412
|
+
const _c = "clean";
|
|
4413
|
+
const _cN = "commitNum";
|
|
4414
|
+
const _d = "details";
|
|
4415
|
+
const _e = "errors";
|
|
4416
|
+
const _ePP = "errorsPerPage";
|
|
4417
|
+
const _en = "encoding";
|
|
4418
|
+
const _iQL = "includeQueuedLoads";
|
|
4419
|
+
const _iT = "iteratorType";
|
|
4420
|
+
const _iW = "includeWaiting";
|
|
4421
|
+
const _l = "limit";
|
|
4422
|
+
const _m = "mode";
|
|
4423
|
+
const _mI = "maxItems";
|
|
4424
|
+
const _nIRA = "neptuneIamRoleArn";
|
|
4425
|
+
const _oN = "opNum";
|
|
4426
|
+
const _p = "page";
|
|
4427
|
+
const _s = "silent";
|
|
4428
|
+
const _se = "serializer";
|
|
4732
4429
|
const parseBody = (streamBody, context) => collectBodyString(streamBody, context).then((encoded) => {
|
|
4733
4430
|
if (encoded.length) {
|
|
4734
4431
|
return JSON.parse(encoded);
|