@aws-sdk/client-neptune-graph 3.476.0 → 3.478.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/pagination/ListGraphSnapshotsPaginator.js +2 -24
- package/dist-cjs/pagination/ListGraphsPaginator.js +2 -24
- package/dist-cjs/pagination/ListImportTasksPaginator.js +2 -24
- package/dist-cjs/pagination/ListPrivateGraphEndpointsPaginator.js +2 -24
- package/dist-cjs/protocols/Aws_restJson1.js +124 -281
- package/dist-es/pagination/ListGraphSnapshotsPaginator.js +2 -23
- package/dist-es/pagination/ListGraphsPaginator.js +2 -23
- package/dist-es/pagination/ListImportTasksPaginator.js +2 -23
- package/dist-es/pagination/ListPrivateGraphEndpointsPaginator.js +2 -23
- package/dist-es/protocols/Aws_restJson1.js +125 -282
- package/dist-types/pagination/ListGraphSnapshotsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListGraphsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListImportTasksPaginator.d.ts +1 -1
- package/dist-types/pagination/ListPrivateGraphEndpointsPaginator.d.ts +1 -1
- package/dist-types/ts3.4/pagination/ListGraphSnapshotsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListGraphsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListImportTasksPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListPrivateGraphEndpointsPaginator.d.ts +3 -3
- package/package.json +7 -6
|
@@ -1,30 +1,23 @@
|
|
|
1
1
|
import { awsExpectUnion as __expectUnion } from "@aws-sdk/core";
|
|
2
|
-
import {
|
|
3
|
-
import { _json, collectBody, decorateServiceException as __decorateServiceException, expectBoolean as __expectBoolean, expectInt32 as __expectInt32, expectLong as __expectLong, expectNonNull as __expectNonNull, expectNumber as __expectNumber, expectObject as __expectObject, expectString as __expectString, map, parseEpochTimestamp as __parseEpochTimestamp,
|
|
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, expectNumber as __expectNumber, expectObject as __expectObject, expectString as __expectString, map, parseEpochTimestamp as __parseEpochTimestamp, take, withBaseException, } from "@smithy/smithy-client";
|
|
4
4
|
import { ConflictException, InternalServerException, ResourceNotFoundException, ServiceQuotaExceededException, ThrottlingException, ValidationException, } from "../models/models_0";
|
|
5
5
|
import { NeptuneGraphServiceException as __BaseException } from "../models/NeptuneGraphServiceException";
|
|
6
6
|
export const se_CancelImportTaskCommand = async (input, context) => {
|
|
7
|
-
const
|
|
7
|
+
const b = rb(input, context);
|
|
8
8
|
const headers = {};
|
|
9
|
-
|
|
10
|
-
|
|
9
|
+
b.bp("/importtasks/{taskIdentifier}");
|
|
10
|
+
b.p("taskIdentifier", () => input.taskIdentifier, "{taskIdentifier}", false);
|
|
11
11
|
let body;
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
hostname,
|
|
15
|
-
port,
|
|
16
|
-
method: "DELETE",
|
|
17
|
-
headers,
|
|
18
|
-
path: resolvedPath,
|
|
19
|
-
body,
|
|
20
|
-
});
|
|
12
|
+
b.m("DELETE").h(headers).b(body);
|
|
13
|
+
return b.build();
|
|
21
14
|
};
|
|
22
15
|
export const se_CreateGraphCommand = async (input, context) => {
|
|
23
|
-
const
|
|
16
|
+
const b = rb(input, context);
|
|
24
17
|
const headers = {
|
|
25
18
|
"content-type": "application/json",
|
|
26
19
|
};
|
|
27
|
-
|
|
20
|
+
b.bp("/graphs");
|
|
28
21
|
let body;
|
|
29
22
|
body = JSON.stringify(take(input, {
|
|
30
23
|
deletionProtection: [],
|
|
@@ -36,44 +29,30 @@ export const se_CreateGraphCommand = async (input, context) => {
|
|
|
36
29
|
tags: (_) => _json(_),
|
|
37
30
|
vectorSearchConfiguration: (_) => _json(_),
|
|
38
31
|
}));
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
hostname,
|
|
42
|
-
port,
|
|
43
|
-
method: "POST",
|
|
44
|
-
headers,
|
|
45
|
-
path: resolvedPath,
|
|
46
|
-
body,
|
|
47
|
-
});
|
|
32
|
+
b.m("POST").h(headers).b(body);
|
|
33
|
+
return b.build();
|
|
48
34
|
};
|
|
49
35
|
export const se_CreateGraphSnapshotCommand = async (input, context) => {
|
|
50
|
-
const
|
|
36
|
+
const b = rb(input, context);
|
|
51
37
|
const headers = {
|
|
52
38
|
"content-type": "application/json",
|
|
53
39
|
};
|
|
54
|
-
|
|
40
|
+
b.bp("/snapshots");
|
|
55
41
|
let body;
|
|
56
42
|
body = JSON.stringify(take(input, {
|
|
57
43
|
graphIdentifier: [],
|
|
58
44
|
snapshotName: [],
|
|
59
45
|
tags: (_) => _json(_),
|
|
60
46
|
}));
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
hostname,
|
|
64
|
-
port,
|
|
65
|
-
method: "POST",
|
|
66
|
-
headers,
|
|
67
|
-
path: resolvedPath,
|
|
68
|
-
body,
|
|
69
|
-
});
|
|
47
|
+
b.m("POST").h(headers).b(body);
|
|
48
|
+
return b.build();
|
|
70
49
|
};
|
|
71
50
|
export const se_CreateGraphUsingImportTaskCommand = async (input, context) => {
|
|
72
|
-
const
|
|
51
|
+
const b = rb(input, context);
|
|
73
52
|
const headers = {
|
|
74
53
|
"content-type": "application/json",
|
|
75
54
|
};
|
|
76
|
-
|
|
55
|
+
b.bp("/importtasks");
|
|
77
56
|
let body;
|
|
78
57
|
body = JSON.stringify(take(input, {
|
|
79
58
|
deletionProtection: [],
|
|
@@ -91,285 +70,173 @@ export const se_CreateGraphUsingImportTaskCommand = async (input, context) => {
|
|
|
91
70
|
tags: (_) => _json(_),
|
|
92
71
|
vectorSearchConfiguration: (_) => _json(_),
|
|
93
72
|
}));
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
hostname,
|
|
97
|
-
port,
|
|
98
|
-
method: "POST",
|
|
99
|
-
headers,
|
|
100
|
-
path: resolvedPath,
|
|
101
|
-
body,
|
|
102
|
-
});
|
|
73
|
+
b.m("POST").h(headers).b(body);
|
|
74
|
+
return b.build();
|
|
103
75
|
};
|
|
104
76
|
export const se_CreatePrivateGraphEndpointCommand = async (input, context) => {
|
|
105
|
-
const
|
|
77
|
+
const b = rb(input, context);
|
|
106
78
|
const headers = {
|
|
107
79
|
"content-type": "application/json",
|
|
108
80
|
};
|
|
109
|
-
|
|
110
|
-
|
|
81
|
+
b.bp("/graphs/{graphIdentifier}/endpoints");
|
|
82
|
+
b.p("graphIdentifier", () => input.graphIdentifier, "{graphIdentifier}", false);
|
|
111
83
|
let body;
|
|
112
84
|
body = JSON.stringify(take(input, {
|
|
113
85
|
subnetIds: (_) => _json(_),
|
|
114
86
|
vpcId: [],
|
|
115
87
|
vpcSecurityGroupIds: (_) => _json(_),
|
|
116
88
|
}));
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
hostname,
|
|
120
|
-
port,
|
|
121
|
-
method: "POST",
|
|
122
|
-
headers,
|
|
123
|
-
path: resolvedPath,
|
|
124
|
-
body,
|
|
125
|
-
});
|
|
89
|
+
b.m("POST").h(headers).b(body);
|
|
90
|
+
return b.build();
|
|
126
91
|
};
|
|
127
92
|
export const se_DeleteGraphCommand = async (input, context) => {
|
|
128
|
-
const
|
|
93
|
+
const b = rb(input, context);
|
|
129
94
|
const headers = {};
|
|
130
|
-
|
|
131
|
-
|
|
95
|
+
b.bp("/graphs/{graphIdentifier}");
|
|
96
|
+
b.p("graphIdentifier", () => input.graphIdentifier, "{graphIdentifier}", false);
|
|
132
97
|
const query = map({
|
|
133
|
-
|
|
98
|
+
[_sS]: [__expectNonNull(input.skipSnapshot, `skipSnapshot`) != null, () => input[_sS].toString()],
|
|
134
99
|
});
|
|
135
100
|
let body;
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
hostname,
|
|
139
|
-
port,
|
|
140
|
-
method: "DELETE",
|
|
141
|
-
headers,
|
|
142
|
-
path: resolvedPath,
|
|
143
|
-
query,
|
|
144
|
-
body,
|
|
145
|
-
});
|
|
101
|
+
b.m("DELETE").h(headers).q(query).b(body);
|
|
102
|
+
return b.build();
|
|
146
103
|
};
|
|
147
104
|
export const se_DeleteGraphSnapshotCommand = async (input, context) => {
|
|
148
|
-
const
|
|
105
|
+
const b = rb(input, context);
|
|
149
106
|
const headers = {};
|
|
150
|
-
|
|
151
|
-
|
|
107
|
+
b.bp("/snapshots/{snapshotIdentifier}");
|
|
108
|
+
b.p("snapshotIdentifier", () => input.snapshotIdentifier, "{snapshotIdentifier}", false);
|
|
152
109
|
let body;
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
hostname,
|
|
156
|
-
port,
|
|
157
|
-
method: "DELETE",
|
|
158
|
-
headers,
|
|
159
|
-
path: resolvedPath,
|
|
160
|
-
body,
|
|
161
|
-
});
|
|
110
|
+
b.m("DELETE").h(headers).b(body);
|
|
111
|
+
return b.build();
|
|
162
112
|
};
|
|
163
113
|
export const se_DeletePrivateGraphEndpointCommand = async (input, context) => {
|
|
164
|
-
const
|
|
114
|
+
const b = rb(input, context);
|
|
165
115
|
const headers = {};
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
resolvedPath = __resolvedPath(resolvedPath, input, "vpcId", () => input.vpcId, "{vpcId}", false);
|
|
116
|
+
b.bp("/graphs/{graphIdentifier}/endpoints/{vpcId}");
|
|
117
|
+
b.p("graphIdentifier", () => input.graphIdentifier, "{graphIdentifier}", false);
|
|
118
|
+
b.p("vpcId", () => input.vpcId, "{vpcId}", false);
|
|
170
119
|
let body;
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
hostname,
|
|
174
|
-
port,
|
|
175
|
-
method: "DELETE",
|
|
176
|
-
headers,
|
|
177
|
-
path: resolvedPath,
|
|
178
|
-
body,
|
|
179
|
-
});
|
|
120
|
+
b.m("DELETE").h(headers).b(body);
|
|
121
|
+
return b.build();
|
|
180
122
|
};
|
|
181
123
|
export const se_GetGraphCommand = async (input, context) => {
|
|
182
|
-
const
|
|
124
|
+
const b = rb(input, context);
|
|
183
125
|
const headers = {};
|
|
184
|
-
|
|
185
|
-
|
|
126
|
+
b.bp("/graphs/{graphIdentifier}");
|
|
127
|
+
b.p("graphIdentifier", () => input.graphIdentifier, "{graphIdentifier}", false);
|
|
186
128
|
let body;
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
hostname,
|
|
190
|
-
port,
|
|
191
|
-
method: "GET",
|
|
192
|
-
headers,
|
|
193
|
-
path: resolvedPath,
|
|
194
|
-
body,
|
|
195
|
-
});
|
|
129
|
+
b.m("GET").h(headers).b(body);
|
|
130
|
+
return b.build();
|
|
196
131
|
};
|
|
197
132
|
export const se_GetGraphSnapshotCommand = async (input, context) => {
|
|
198
|
-
const
|
|
133
|
+
const b = rb(input, context);
|
|
199
134
|
const headers = {};
|
|
200
|
-
|
|
201
|
-
|
|
135
|
+
b.bp("/snapshots/{snapshotIdentifier}");
|
|
136
|
+
b.p("snapshotIdentifier", () => input.snapshotIdentifier, "{snapshotIdentifier}", false);
|
|
202
137
|
let body;
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
hostname,
|
|
206
|
-
port,
|
|
207
|
-
method: "GET",
|
|
208
|
-
headers,
|
|
209
|
-
path: resolvedPath,
|
|
210
|
-
body,
|
|
211
|
-
});
|
|
138
|
+
b.m("GET").h(headers).b(body);
|
|
139
|
+
return b.build();
|
|
212
140
|
};
|
|
213
141
|
export const se_GetImportTaskCommand = async (input, context) => {
|
|
214
|
-
const
|
|
142
|
+
const b = rb(input, context);
|
|
215
143
|
const headers = {};
|
|
216
|
-
|
|
217
|
-
|
|
144
|
+
b.bp("/importtasks/{taskIdentifier}");
|
|
145
|
+
b.p("taskIdentifier", () => input.taskIdentifier, "{taskIdentifier}", false);
|
|
218
146
|
let body;
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
hostname,
|
|
222
|
-
port,
|
|
223
|
-
method: "GET",
|
|
224
|
-
headers,
|
|
225
|
-
path: resolvedPath,
|
|
226
|
-
body,
|
|
227
|
-
});
|
|
147
|
+
b.m("GET").h(headers).b(body);
|
|
148
|
+
return b.build();
|
|
228
149
|
};
|
|
229
150
|
export const se_GetPrivateGraphEndpointCommand = async (input, context) => {
|
|
230
|
-
const
|
|
151
|
+
const b = rb(input, context);
|
|
231
152
|
const headers = {};
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
resolvedPath = __resolvedPath(resolvedPath, input, "vpcId", () => input.vpcId, "{vpcId}", false);
|
|
153
|
+
b.bp("/graphs/{graphIdentifier}/endpoints/{vpcId}");
|
|
154
|
+
b.p("graphIdentifier", () => input.graphIdentifier, "{graphIdentifier}", false);
|
|
155
|
+
b.p("vpcId", () => input.vpcId, "{vpcId}", false);
|
|
236
156
|
let body;
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
hostname,
|
|
240
|
-
port,
|
|
241
|
-
method: "GET",
|
|
242
|
-
headers,
|
|
243
|
-
path: resolvedPath,
|
|
244
|
-
body,
|
|
245
|
-
});
|
|
157
|
+
b.m("GET").h(headers).b(body);
|
|
158
|
+
return b.build();
|
|
246
159
|
};
|
|
247
160
|
export const se_ListGraphsCommand = async (input, context) => {
|
|
248
|
-
const
|
|
161
|
+
const b = rb(input, context);
|
|
249
162
|
const headers = {};
|
|
250
|
-
|
|
163
|
+
b.bp("/graphs");
|
|
251
164
|
const query = map({
|
|
252
|
-
|
|
253
|
-
|
|
165
|
+
[_nT]: [, input[_nT]],
|
|
166
|
+
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
|
|
254
167
|
});
|
|
255
168
|
let body;
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
hostname,
|
|
259
|
-
port,
|
|
260
|
-
method: "GET",
|
|
261
|
-
headers,
|
|
262
|
-
path: resolvedPath,
|
|
263
|
-
query,
|
|
264
|
-
body,
|
|
265
|
-
});
|
|
169
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
170
|
+
return b.build();
|
|
266
171
|
};
|
|
267
172
|
export const se_ListGraphSnapshotsCommand = async (input, context) => {
|
|
268
|
-
const
|
|
173
|
+
const b = rb(input, context);
|
|
269
174
|
const headers = {};
|
|
270
|
-
|
|
175
|
+
b.bp("/snapshots");
|
|
271
176
|
const query = map({
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
177
|
+
[_gI]: [, input[_gI]],
|
|
178
|
+
[_nT]: [, input[_nT]],
|
|
179
|
+
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
|
|
275
180
|
});
|
|
276
181
|
let body;
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
hostname,
|
|
280
|
-
port,
|
|
281
|
-
method: "GET",
|
|
282
|
-
headers,
|
|
283
|
-
path: resolvedPath,
|
|
284
|
-
query,
|
|
285
|
-
body,
|
|
286
|
-
});
|
|
182
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
183
|
+
return b.build();
|
|
287
184
|
};
|
|
288
185
|
export const se_ListImportTasksCommand = async (input, context) => {
|
|
289
|
-
const
|
|
186
|
+
const b = rb(input, context);
|
|
290
187
|
const headers = {};
|
|
291
|
-
|
|
188
|
+
b.bp("/importtasks");
|
|
292
189
|
const query = map({
|
|
293
|
-
|
|
294
|
-
|
|
190
|
+
[_nT]: [, input[_nT]],
|
|
191
|
+
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
|
|
295
192
|
});
|
|
296
193
|
let body;
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
hostname,
|
|
300
|
-
port,
|
|
301
|
-
method: "GET",
|
|
302
|
-
headers,
|
|
303
|
-
path: resolvedPath,
|
|
304
|
-
query,
|
|
305
|
-
body,
|
|
306
|
-
});
|
|
194
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
195
|
+
return b.build();
|
|
307
196
|
};
|
|
308
197
|
export const se_ListPrivateGraphEndpointsCommand = async (input, context) => {
|
|
309
|
-
const
|
|
198
|
+
const b = rb(input, context);
|
|
310
199
|
const headers = {};
|
|
311
|
-
|
|
312
|
-
|
|
200
|
+
b.bp("/graphs/{graphIdentifier}/endpoints");
|
|
201
|
+
b.p("graphIdentifier", () => input.graphIdentifier, "{graphIdentifier}", false);
|
|
313
202
|
const query = map({
|
|
314
|
-
|
|
315
|
-
|
|
203
|
+
[_nT]: [, input[_nT]],
|
|
204
|
+
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
|
|
316
205
|
});
|
|
317
206
|
let body;
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
hostname,
|
|
321
|
-
port,
|
|
322
|
-
method: "GET",
|
|
323
|
-
headers,
|
|
324
|
-
path: resolvedPath,
|
|
325
|
-
query,
|
|
326
|
-
body,
|
|
327
|
-
});
|
|
207
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
208
|
+
return b.build();
|
|
328
209
|
};
|
|
329
210
|
export const se_ListTagsForResourceCommand = async (input, context) => {
|
|
330
|
-
const
|
|
211
|
+
const b = rb(input, context);
|
|
331
212
|
const headers = {};
|
|
332
|
-
|
|
333
|
-
|
|
213
|
+
b.bp("/tags/{resourceArn}");
|
|
214
|
+
b.p("resourceArn", () => input.resourceArn, "{resourceArn}", false);
|
|
334
215
|
let body;
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
hostname,
|
|
338
|
-
port,
|
|
339
|
-
method: "GET",
|
|
340
|
-
headers,
|
|
341
|
-
path: resolvedPath,
|
|
342
|
-
body,
|
|
343
|
-
});
|
|
216
|
+
b.m("GET").h(headers).b(body);
|
|
217
|
+
return b.build();
|
|
344
218
|
};
|
|
345
219
|
export const se_ResetGraphCommand = async (input, context) => {
|
|
346
|
-
const
|
|
220
|
+
const b = rb(input, context);
|
|
347
221
|
const headers = {
|
|
348
222
|
"content-type": "application/json",
|
|
349
223
|
};
|
|
350
|
-
|
|
351
|
-
|
|
224
|
+
b.bp("/graphs/{graphIdentifier}");
|
|
225
|
+
b.p("graphIdentifier", () => input.graphIdentifier, "{graphIdentifier}", false);
|
|
352
226
|
let body;
|
|
353
227
|
body = JSON.stringify(take(input, {
|
|
354
228
|
skipSnapshot: [],
|
|
355
229
|
}));
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
hostname,
|
|
359
|
-
port,
|
|
360
|
-
method: "PUT",
|
|
361
|
-
headers,
|
|
362
|
-
path: resolvedPath,
|
|
363
|
-
body,
|
|
364
|
-
});
|
|
230
|
+
b.m("PUT").h(headers).b(body);
|
|
231
|
+
return b.build();
|
|
365
232
|
};
|
|
366
233
|
export const se_RestoreGraphFromSnapshotCommand = async (input, context) => {
|
|
367
|
-
const
|
|
234
|
+
const b = rb(input, context);
|
|
368
235
|
const headers = {
|
|
369
236
|
"content-type": "application/json",
|
|
370
237
|
};
|
|
371
|
-
|
|
372
|
-
|
|
238
|
+
b.bp("/snapshots/{snapshotIdentifier}/restore");
|
|
239
|
+
b.p("snapshotIdentifier", () => input.snapshotIdentifier, "{snapshotIdentifier}", false);
|
|
373
240
|
let body;
|
|
374
241
|
body = JSON.stringify(take(input, {
|
|
375
242
|
deletionProtection: [],
|
|
@@ -379,82 +246,53 @@ export const se_RestoreGraphFromSnapshotCommand = async (input, context) => {
|
|
|
379
246
|
replicaCount: [],
|
|
380
247
|
tags: (_) => _json(_),
|
|
381
248
|
}));
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
hostname,
|
|
385
|
-
port,
|
|
386
|
-
method: "POST",
|
|
387
|
-
headers,
|
|
388
|
-
path: resolvedPath,
|
|
389
|
-
body,
|
|
390
|
-
});
|
|
249
|
+
b.m("POST").h(headers).b(body);
|
|
250
|
+
return b.build();
|
|
391
251
|
};
|
|
392
252
|
export const se_TagResourceCommand = async (input, context) => {
|
|
393
|
-
const
|
|
253
|
+
const b = rb(input, context);
|
|
394
254
|
const headers = {
|
|
395
255
|
"content-type": "application/json",
|
|
396
256
|
};
|
|
397
|
-
|
|
398
|
-
|
|
257
|
+
b.bp("/tags/{resourceArn}");
|
|
258
|
+
b.p("resourceArn", () => input.resourceArn, "{resourceArn}", false);
|
|
399
259
|
let body;
|
|
400
260
|
body = JSON.stringify(take(input, {
|
|
401
261
|
tags: (_) => _json(_),
|
|
402
262
|
}));
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
hostname,
|
|
406
|
-
port,
|
|
407
|
-
method: "POST",
|
|
408
|
-
headers,
|
|
409
|
-
path: resolvedPath,
|
|
410
|
-
body,
|
|
411
|
-
});
|
|
263
|
+
b.m("POST").h(headers).b(body);
|
|
264
|
+
return b.build();
|
|
412
265
|
};
|
|
413
266
|
export const se_UntagResourceCommand = async (input, context) => {
|
|
414
|
-
const
|
|
267
|
+
const b = rb(input, context);
|
|
415
268
|
const headers = {};
|
|
416
|
-
|
|
417
|
-
|
|
269
|
+
b.bp("/tags/{resourceArn}");
|
|
270
|
+
b.p("resourceArn", () => input.resourceArn, "{resourceArn}", false);
|
|
418
271
|
const query = map({
|
|
419
|
-
|
|
272
|
+
[_tK]: [
|
|
420
273
|
__expectNonNull(input.tagKeys, `tagKeys`) != null,
|
|
421
|
-
() => (input
|
|
274
|
+
() => (input[_tK] || []).map((_entry) => _entry),
|
|
422
275
|
],
|
|
423
276
|
});
|
|
424
277
|
let body;
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
hostname,
|
|
428
|
-
port,
|
|
429
|
-
method: "DELETE",
|
|
430
|
-
headers,
|
|
431
|
-
path: resolvedPath,
|
|
432
|
-
query,
|
|
433
|
-
body,
|
|
434
|
-
});
|
|
278
|
+
b.m("DELETE").h(headers).q(query).b(body);
|
|
279
|
+
return b.build();
|
|
435
280
|
};
|
|
436
281
|
export const se_UpdateGraphCommand = async (input, context) => {
|
|
437
|
-
const
|
|
282
|
+
const b = rb(input, context);
|
|
438
283
|
const headers = {
|
|
439
284
|
"content-type": "application/json",
|
|
440
285
|
};
|
|
441
|
-
|
|
442
|
-
|
|
286
|
+
b.bp("/graphs/{graphIdentifier}");
|
|
287
|
+
b.p("graphIdentifier", () => input.graphIdentifier, "{graphIdentifier}", false);
|
|
443
288
|
let body;
|
|
444
289
|
body = JSON.stringify(take(input, {
|
|
445
290
|
deletionProtection: [],
|
|
446
291
|
provisionedMemory: [],
|
|
447
292
|
publicConnectivity: [],
|
|
448
293
|
}));
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
hostname,
|
|
452
|
-
port,
|
|
453
|
-
method: "PATCH",
|
|
454
|
-
headers,
|
|
455
|
-
path: resolvedPath,
|
|
456
|
-
body,
|
|
457
|
-
});
|
|
294
|
+
b.m("PATCH").h(headers).b(body);
|
|
295
|
+
return b.build();
|
|
458
296
|
};
|
|
459
297
|
export const de_CancelImportTaskCommand = async (output, context) => {
|
|
460
298
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
@@ -1674,6 +1512,11 @@ const isSerializableHeaderValue = (value) => value !== undefined &&
|
|
|
1674
1512
|
value !== "" &&
|
|
1675
1513
|
(!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) &&
|
|
1676
1514
|
(!Object.getOwnPropertyNames(value).includes("size") || value.size != 0);
|
|
1515
|
+
const _gI = "graphIdentifier";
|
|
1516
|
+
const _mR = "maxResults";
|
|
1517
|
+
const _nT = "nextToken";
|
|
1518
|
+
const _sS = "skipSnapshot";
|
|
1519
|
+
const _tK = "tagKeys";
|
|
1677
1520
|
const parseBody = (streamBody, context) => collectBodyString(streamBody, context).then((encoded) => {
|
|
1678
1521
|
if (encoded.length) {
|
|
1679
1522
|
return JSON.parse(encoded);
|
|
@@ -4,4 +4,4 @@ import { NeptuneGraphPaginationConfiguration } from "./Interfaces";
|
|
|
4
4
|
/**
|
|
5
5
|
* @public
|
|
6
6
|
*/
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateListGraphSnapshots: (config: NeptuneGraphPaginationConfiguration, input: ListGraphSnapshotsCommandInput, ...rest: any[]) => Paginator<ListGraphSnapshotsCommandOutput>;
|
|
@@ -4,4 +4,4 @@ import { NeptuneGraphPaginationConfiguration } from "./Interfaces";
|
|
|
4
4
|
/**
|
|
5
5
|
* @public
|
|
6
6
|
*/
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateListGraphs: (config: NeptuneGraphPaginationConfiguration, input: ListGraphsCommandInput, ...rest: any[]) => Paginator<ListGraphsCommandOutput>;
|
|
@@ -4,4 +4,4 @@ import { NeptuneGraphPaginationConfiguration } from "./Interfaces";
|
|
|
4
4
|
/**
|
|
5
5
|
* @public
|
|
6
6
|
*/
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateListImportTasks: (config: NeptuneGraphPaginationConfiguration, input: ListImportTasksCommandInput, ...rest: any[]) => Paginator<ListImportTasksCommandOutput>;
|
|
@@ -4,4 +4,4 @@ import { NeptuneGraphPaginationConfiguration } from "./Interfaces";
|
|
|
4
4
|
/**
|
|
5
5
|
* @public
|
|
6
6
|
*/
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateListPrivateGraphEndpoints: (config: NeptuneGraphPaginationConfiguration, input: ListPrivateGraphEndpointsCommandInput, ...rest: any[]) => Paginator<ListPrivateGraphEndpointsCommandOutput>;
|
|
@@ -4,8 +4,8 @@ import {
|
|
|
4
4
|
ListGraphSnapshotsCommandOutput,
|
|
5
5
|
} from "../commands/ListGraphSnapshotsCommand";
|
|
6
6
|
import { NeptuneGraphPaginationConfiguration } from "./Interfaces";
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateListGraphSnapshots: (
|
|
8
8
|
config: NeptuneGraphPaginationConfiguration,
|
|
9
9
|
input: ListGraphSnapshotsCommandInput,
|
|
10
|
-
...
|
|
11
|
-
)
|
|
10
|
+
...rest: any[]
|
|
11
|
+
) => Paginator<ListGraphSnapshotsCommandOutput>;
|
|
@@ -4,8 +4,8 @@ import {
|
|
|
4
4
|
ListGraphsCommandOutput,
|
|
5
5
|
} from "../commands/ListGraphsCommand";
|
|
6
6
|
import { NeptuneGraphPaginationConfiguration } from "./Interfaces";
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateListGraphs: (
|
|
8
8
|
config: NeptuneGraphPaginationConfiguration,
|
|
9
9
|
input: ListGraphsCommandInput,
|
|
10
|
-
...
|
|
11
|
-
)
|
|
10
|
+
...rest: any[]
|
|
11
|
+
) => Paginator<ListGraphsCommandOutput>;
|
|
@@ -4,8 +4,8 @@ import {
|
|
|
4
4
|
ListImportTasksCommandOutput,
|
|
5
5
|
} from "../commands/ListImportTasksCommand";
|
|
6
6
|
import { NeptuneGraphPaginationConfiguration } from "./Interfaces";
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateListImportTasks: (
|
|
8
8
|
config: NeptuneGraphPaginationConfiguration,
|
|
9
9
|
input: ListImportTasksCommandInput,
|
|
10
|
-
...
|
|
11
|
-
)
|
|
10
|
+
...rest: any[]
|
|
11
|
+
) => Paginator<ListImportTasksCommandOutput>;
|