@aws-sdk/client-clouddirectory 3.312.0 → 3.316.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/CloudDirectory.js +70 -924
- package/dist-cjs/protocols/Aws_restJson1.js +1139 -1927
- package/dist-es/CloudDirectory.js +70 -924
- package/dist-es/protocols/Aws_restJson1.js +985 -1773
- package/dist-types/CloudDirectory.d.ts +78 -226
- package/dist-types/ts3.4/CloudDirectory.d.ts +4 -1
- package/package.json +6 -6
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { HttpRequest as __HttpRequest } from "@aws-sdk/protocol-http";
|
|
2
|
-
import { decorateServiceException as __decorateServiceException, expectBoolean as __expectBoolean, expectInt32 as __expectInt32, expectNonNull as __expectNonNull, expectNumber as __expectNumber, expectObject as __expectObject, expectString as __expectString, expectUnion as __expectUnion, map
|
|
2
|
+
import { _json, decorateServiceException as __decorateServiceException, expectBoolean as __expectBoolean, expectInt32 as __expectInt32, expectNonNull as __expectNonNull, expectNumber as __expectNumber, expectObject as __expectObject, expectString as __expectString, expectUnion as __expectUnion, map, parseEpochTimestamp as __parseEpochTimestamp, take, withBaseException, } from "@aws-sdk/smithy-client";
|
|
3
3
|
import { CloudDirectoryServiceException as __BaseException } from "../models/CloudDirectoryServiceException";
|
|
4
4
|
import { AccessDeniedException, BatchWriteException, CannotListParentOfRootException, DirectoryAlreadyExistsException, DirectoryDeletedException, DirectoryNotDisabledException, DirectoryNotEnabledException, FacetAlreadyExistsException, FacetInUseException, FacetNotFoundException, FacetValidationException, IncompatibleSchemaException, IndexedAttributeMissingException, InternalServiceException, InvalidArnException, InvalidAttachmentException, InvalidFacetUpdateException, InvalidNextTokenException, InvalidRuleException, InvalidSchemaDocException, InvalidTaggingRequestException, LimitExceededException, LinkNameAlreadyInUseException, NotIndexException, NotNodeException, NotPolicyException, ObjectAlreadyDetachedException, ObjectNotDetachedException, ResourceNotFoundException, RetryableConflictException, SchemaAlreadyExistsException, SchemaAlreadyPublishedException, StillContainsLinksException, TypedAttributeValue, UnsupportedIndexTypeException, ValidationException, } from "../models/models_0";
|
|
5
5
|
export const se_AddFacetToObjectCommand = async (input, context) => {
|
|
@@ -11,13 +11,11 @@ export const se_AddFacetToObjectCommand = async (input, context) => {
|
|
|
11
11
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
12
12
|
"/amazonclouddirectory/2017-01-11/object/facets";
|
|
13
13
|
let body;
|
|
14
|
-
body = JSON.stringify({
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
...(input.SchemaFacet != null && { SchemaFacet: se_SchemaFacet(input.SchemaFacet, context) }),
|
|
20
|
-
});
|
|
14
|
+
body = JSON.stringify(take(input, {
|
|
15
|
+
ObjectAttributeList: (_) => se_AttributeKeyAndValueList(_, context),
|
|
16
|
+
ObjectReference: (_) => _json(_),
|
|
17
|
+
SchemaFacet: (_) => _json(_),
|
|
18
|
+
}));
|
|
21
19
|
return new __HttpRequest({
|
|
22
20
|
protocol,
|
|
23
21
|
hostname,
|
|
@@ -37,9 +35,9 @@ export const se_ApplySchemaCommand = async (input, context) => {
|
|
|
37
35
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
38
36
|
"/amazonclouddirectory/2017-01-11/schema/apply";
|
|
39
37
|
let body;
|
|
40
|
-
body = JSON.stringify({
|
|
41
|
-
|
|
42
|
-
});
|
|
38
|
+
body = JSON.stringify(take(input, {
|
|
39
|
+
PublishedSchemaArn: [],
|
|
40
|
+
}));
|
|
43
41
|
return new __HttpRequest({
|
|
44
42
|
protocol,
|
|
45
43
|
hostname,
|
|
@@ -59,11 +57,11 @@ export const se_AttachObjectCommand = async (input, context) => {
|
|
|
59
57
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
60
58
|
"/amazonclouddirectory/2017-01-11/object/attach";
|
|
61
59
|
let body;
|
|
62
|
-
body = JSON.stringify({
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
});
|
|
60
|
+
body = JSON.stringify(take(input, {
|
|
61
|
+
ChildReference: (_) => _json(_),
|
|
62
|
+
LinkName: [],
|
|
63
|
+
ParentReference: (_) => _json(_),
|
|
64
|
+
}));
|
|
67
65
|
return new __HttpRequest({
|
|
68
66
|
protocol,
|
|
69
67
|
hostname,
|
|
@@ -83,10 +81,10 @@ export const se_AttachPolicyCommand = async (input, context) => {
|
|
|
83
81
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
84
82
|
"/amazonclouddirectory/2017-01-11/policy/attach";
|
|
85
83
|
let body;
|
|
86
|
-
body = JSON.stringify({
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
});
|
|
84
|
+
body = JSON.stringify(take(input, {
|
|
85
|
+
ObjectReference: (_) => _json(_),
|
|
86
|
+
PolicyReference: (_) => _json(_),
|
|
87
|
+
}));
|
|
90
88
|
return new __HttpRequest({
|
|
91
89
|
protocol,
|
|
92
90
|
hostname,
|
|
@@ -106,10 +104,10 @@ export const se_AttachToIndexCommand = async (input, context) => {
|
|
|
106
104
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
107
105
|
"/amazonclouddirectory/2017-01-11/index/attach";
|
|
108
106
|
let body;
|
|
109
|
-
body = JSON.stringify({
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
});
|
|
107
|
+
body = JSON.stringify(take(input, {
|
|
108
|
+
IndexReference: (_) => _json(_),
|
|
109
|
+
TargetReference: (_) => _json(_),
|
|
110
|
+
}));
|
|
113
111
|
return new __HttpRequest({
|
|
114
112
|
protocol,
|
|
115
113
|
hostname,
|
|
@@ -129,18 +127,12 @@ export const se_AttachTypedLinkCommand = async (input, context) => {
|
|
|
129
127
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
130
128
|
"/amazonclouddirectory/2017-01-11/typedlink/attach";
|
|
131
129
|
let body;
|
|
132
|
-
body = JSON.stringify({
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
TargetObjectReference: se_ObjectReference(input.TargetObjectReference, context),
|
|
139
|
-
}),
|
|
140
|
-
...(input.TypedLinkFacet != null && {
|
|
141
|
-
TypedLinkFacet: se_TypedLinkSchemaAndFacetName(input.TypedLinkFacet, context),
|
|
142
|
-
}),
|
|
143
|
-
});
|
|
130
|
+
body = JSON.stringify(take(input, {
|
|
131
|
+
Attributes: (_) => se_AttributeNameAndValueList(_, context),
|
|
132
|
+
SourceObjectReference: (_) => _json(_),
|
|
133
|
+
TargetObjectReference: (_) => _json(_),
|
|
134
|
+
TypedLinkFacet: (_) => _json(_),
|
|
135
|
+
}));
|
|
144
136
|
return new __HttpRequest({
|
|
145
137
|
protocol,
|
|
146
138
|
hostname,
|
|
@@ -161,9 +153,9 @@ export const se_BatchReadCommand = async (input, context) => {
|
|
|
161
153
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
162
154
|
"/amazonclouddirectory/2017-01-11/batchread";
|
|
163
155
|
let body;
|
|
164
|
-
body = JSON.stringify({
|
|
165
|
-
|
|
166
|
-
});
|
|
156
|
+
body = JSON.stringify(take(input, {
|
|
157
|
+
Operations: (_) => se_BatchReadOperationList(_, context),
|
|
158
|
+
}));
|
|
167
159
|
return new __HttpRequest({
|
|
168
160
|
protocol,
|
|
169
161
|
hostname,
|
|
@@ -183,9 +175,9 @@ export const se_BatchWriteCommand = async (input, context) => {
|
|
|
183
175
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
184
176
|
"/amazonclouddirectory/2017-01-11/batchwrite";
|
|
185
177
|
let body;
|
|
186
|
-
body = JSON.stringify({
|
|
187
|
-
|
|
188
|
-
});
|
|
178
|
+
body = JSON.stringify(take(input, {
|
|
179
|
+
Operations: (_) => se_BatchWriteOperationList(_, context),
|
|
180
|
+
}));
|
|
189
181
|
return new __HttpRequest({
|
|
190
182
|
protocol,
|
|
191
183
|
hostname,
|
|
@@ -205,9 +197,9 @@ export const se_CreateDirectoryCommand = async (input, context) => {
|
|
|
205
197
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
206
198
|
"/amazonclouddirectory/2017-01-11/directory/create";
|
|
207
199
|
let body;
|
|
208
|
-
body = JSON.stringify({
|
|
209
|
-
|
|
210
|
-
});
|
|
200
|
+
body = JSON.stringify(take(input, {
|
|
201
|
+
Name: [],
|
|
202
|
+
}));
|
|
211
203
|
return new __HttpRequest({
|
|
212
204
|
protocol,
|
|
213
205
|
hostname,
|
|
@@ -227,12 +219,12 @@ export const se_CreateFacetCommand = async (input, context) => {
|
|
|
227
219
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
228
220
|
"/amazonclouddirectory/2017-01-11/facet/create";
|
|
229
221
|
let body;
|
|
230
|
-
body = JSON.stringify({
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
});
|
|
222
|
+
body = JSON.stringify(take(input, {
|
|
223
|
+
Attributes: (_) => se_FacetAttributeList(_, context),
|
|
224
|
+
FacetStyle: [],
|
|
225
|
+
Name: [],
|
|
226
|
+
ObjectType: [],
|
|
227
|
+
}));
|
|
236
228
|
return new __HttpRequest({
|
|
237
229
|
protocol,
|
|
238
230
|
hostname,
|
|
@@ -251,14 +243,12 @@ export const se_CreateIndexCommand = async (input, context) => {
|
|
|
251
243
|
});
|
|
252
244
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/amazonclouddirectory/2017-01-11/index";
|
|
253
245
|
let body;
|
|
254
|
-
body = JSON.stringify({
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
...(input.ParentReference != null && { ParentReference: se_ObjectReference(input.ParentReference, context) }),
|
|
261
|
-
});
|
|
246
|
+
body = JSON.stringify(take(input, {
|
|
247
|
+
IsUnique: [],
|
|
248
|
+
LinkName: [],
|
|
249
|
+
OrderedIndexedAttributeList: (_) => _json(_),
|
|
250
|
+
ParentReference: (_) => _json(_),
|
|
251
|
+
}));
|
|
262
252
|
return new __HttpRequest({
|
|
263
253
|
protocol,
|
|
264
254
|
hostname,
|
|
@@ -277,14 +267,12 @@ export const se_CreateObjectCommand = async (input, context) => {
|
|
|
277
267
|
});
|
|
278
268
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/amazonclouddirectory/2017-01-11/object";
|
|
279
269
|
let body;
|
|
280
|
-
body = JSON.stringify({
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
...(input.SchemaFacets != null && { SchemaFacets: se_SchemaFacetList(input.SchemaFacets, context) }),
|
|
287
|
-
});
|
|
270
|
+
body = JSON.stringify(take(input, {
|
|
271
|
+
LinkName: [],
|
|
272
|
+
ObjectAttributeList: (_) => se_AttributeKeyAndValueList(_, context),
|
|
273
|
+
ParentReference: (_) => _json(_),
|
|
274
|
+
SchemaFacets: (_) => _json(_),
|
|
275
|
+
}));
|
|
288
276
|
return new __HttpRequest({
|
|
289
277
|
protocol,
|
|
290
278
|
hostname,
|
|
@@ -303,9 +291,9 @@ export const se_CreateSchemaCommand = async (input, context) => {
|
|
|
303
291
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
304
292
|
"/amazonclouddirectory/2017-01-11/schema/create";
|
|
305
293
|
let body;
|
|
306
|
-
body = JSON.stringify({
|
|
307
|
-
|
|
308
|
-
});
|
|
294
|
+
body = JSON.stringify(take(input, {
|
|
295
|
+
Name: [],
|
|
296
|
+
}));
|
|
309
297
|
return new __HttpRequest({
|
|
310
298
|
protocol,
|
|
311
299
|
hostname,
|
|
@@ -325,9 +313,9 @@ export const se_CreateTypedLinkFacetCommand = async (input, context) => {
|
|
|
325
313
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
326
314
|
"/amazonclouddirectory/2017-01-11/typedlink/facet/create";
|
|
327
315
|
let body;
|
|
328
|
-
body = JSON.stringify({
|
|
329
|
-
|
|
330
|
-
});
|
|
316
|
+
body = JSON.stringify(take(input, {
|
|
317
|
+
Facet: (_) => se_TypedLinkFacet(_, context),
|
|
318
|
+
}));
|
|
331
319
|
return new __HttpRequest({
|
|
332
320
|
protocol,
|
|
333
321
|
hostname,
|
|
@@ -365,9 +353,9 @@ export const se_DeleteFacetCommand = async (input, context) => {
|
|
|
365
353
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
366
354
|
"/amazonclouddirectory/2017-01-11/facet/delete";
|
|
367
355
|
let body;
|
|
368
|
-
body = JSON.stringify({
|
|
369
|
-
|
|
370
|
-
});
|
|
356
|
+
body = JSON.stringify(take(input, {
|
|
357
|
+
Name: [],
|
|
358
|
+
}));
|
|
371
359
|
return new __HttpRequest({
|
|
372
360
|
protocol,
|
|
373
361
|
hostname,
|
|
@@ -387,9 +375,9 @@ export const se_DeleteObjectCommand = async (input, context) => {
|
|
|
387
375
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
388
376
|
"/amazonclouddirectory/2017-01-11/object/delete";
|
|
389
377
|
let body;
|
|
390
|
-
body = JSON.stringify({
|
|
391
|
-
|
|
392
|
-
});
|
|
378
|
+
body = JSON.stringify(take(input, {
|
|
379
|
+
ObjectReference: (_) => _json(_),
|
|
380
|
+
}));
|
|
393
381
|
return new __HttpRequest({
|
|
394
382
|
protocol,
|
|
395
383
|
hostname,
|
|
@@ -426,9 +414,9 @@ export const se_DeleteTypedLinkFacetCommand = async (input, context) => {
|
|
|
426
414
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
427
415
|
"/amazonclouddirectory/2017-01-11/typedlink/facet/delete";
|
|
428
416
|
let body;
|
|
429
|
-
body = JSON.stringify({
|
|
430
|
-
|
|
431
|
-
});
|
|
417
|
+
body = JSON.stringify(take(input, {
|
|
418
|
+
Name: [],
|
|
419
|
+
}));
|
|
432
420
|
return new __HttpRequest({
|
|
433
421
|
protocol,
|
|
434
422
|
hostname,
|
|
@@ -448,10 +436,10 @@ export const se_DetachFromIndexCommand = async (input, context) => {
|
|
|
448
436
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
449
437
|
"/amazonclouddirectory/2017-01-11/index/detach";
|
|
450
438
|
let body;
|
|
451
|
-
body = JSON.stringify({
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
});
|
|
439
|
+
body = JSON.stringify(take(input, {
|
|
440
|
+
IndexReference: (_) => _json(_),
|
|
441
|
+
TargetReference: (_) => _json(_),
|
|
442
|
+
}));
|
|
455
443
|
return new __HttpRequest({
|
|
456
444
|
protocol,
|
|
457
445
|
hostname,
|
|
@@ -471,10 +459,10 @@ export const se_DetachObjectCommand = async (input, context) => {
|
|
|
471
459
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
472
460
|
"/amazonclouddirectory/2017-01-11/object/detach";
|
|
473
461
|
let body;
|
|
474
|
-
body = JSON.stringify({
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
});
|
|
462
|
+
body = JSON.stringify(take(input, {
|
|
463
|
+
LinkName: [],
|
|
464
|
+
ParentReference: (_) => _json(_),
|
|
465
|
+
}));
|
|
478
466
|
return new __HttpRequest({
|
|
479
467
|
protocol,
|
|
480
468
|
hostname,
|
|
@@ -494,10 +482,10 @@ export const se_DetachPolicyCommand = async (input, context) => {
|
|
|
494
482
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
495
483
|
"/amazonclouddirectory/2017-01-11/policy/detach";
|
|
496
484
|
let body;
|
|
497
|
-
body = JSON.stringify({
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
});
|
|
485
|
+
body = JSON.stringify(take(input, {
|
|
486
|
+
ObjectReference: (_) => _json(_),
|
|
487
|
+
PolicyReference: (_) => _json(_),
|
|
488
|
+
}));
|
|
501
489
|
return new __HttpRequest({
|
|
502
490
|
protocol,
|
|
503
491
|
hostname,
|
|
@@ -517,11 +505,9 @@ export const se_DetachTypedLinkCommand = async (input, context) => {
|
|
|
517
505
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
518
506
|
"/amazonclouddirectory/2017-01-11/typedlink/detach";
|
|
519
507
|
let body;
|
|
520
|
-
body = JSON.stringify({
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
}),
|
|
524
|
-
});
|
|
508
|
+
body = JSON.stringify(take(input, {
|
|
509
|
+
TypedLinkSpecifier: (_) => se_TypedLinkSpecifier(_, context),
|
|
510
|
+
}));
|
|
525
511
|
return new __HttpRequest({
|
|
526
512
|
protocol,
|
|
527
513
|
hostname,
|
|
@@ -576,9 +562,9 @@ export const se_GetAppliedSchemaVersionCommand = async (input, context) => {
|
|
|
576
562
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
577
563
|
"/amazonclouddirectory/2017-01-11/schema/getappliedschema";
|
|
578
564
|
let body;
|
|
579
|
-
body = JSON.stringify({
|
|
580
|
-
|
|
581
|
-
});
|
|
565
|
+
body = JSON.stringify(take(input, {
|
|
566
|
+
SchemaArn: [],
|
|
567
|
+
}));
|
|
582
568
|
return new __HttpRequest({
|
|
583
569
|
protocol,
|
|
584
570
|
hostname,
|
|
@@ -615,9 +601,9 @@ export const se_GetFacetCommand = async (input, context) => {
|
|
|
615
601
|
});
|
|
616
602
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/amazonclouddirectory/2017-01-11/facet";
|
|
617
603
|
let body;
|
|
618
|
-
body = JSON.stringify({
|
|
619
|
-
|
|
620
|
-
});
|
|
604
|
+
body = JSON.stringify(take(input, {
|
|
605
|
+
Name: [],
|
|
606
|
+
}));
|
|
621
607
|
return new __HttpRequest({
|
|
622
608
|
protocol,
|
|
623
609
|
hostname,
|
|
@@ -637,13 +623,11 @@ export const se_GetLinkAttributesCommand = async (input, context) => {
|
|
|
637
623
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
638
624
|
"/amazonclouddirectory/2017-01-11/typedlink/attributes/get";
|
|
639
625
|
let body;
|
|
640
|
-
body = JSON.stringify({
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
}),
|
|
646
|
-
});
|
|
626
|
+
body = JSON.stringify(take(input, {
|
|
627
|
+
AttributeNames: (_) => _json(_),
|
|
628
|
+
ConsistencyLevel: [],
|
|
629
|
+
TypedLinkSpecifier: (_) => se_TypedLinkSpecifier(_, context),
|
|
630
|
+
}));
|
|
647
631
|
return new __HttpRequest({
|
|
648
632
|
protocol,
|
|
649
633
|
hostname,
|
|
@@ -664,11 +648,11 @@ export const se_GetObjectAttributesCommand = async (input, context) => {
|
|
|
664
648
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
665
649
|
"/amazonclouddirectory/2017-01-11/object/attributes/get";
|
|
666
650
|
let body;
|
|
667
|
-
body = JSON.stringify({
|
|
668
|
-
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
});
|
|
651
|
+
body = JSON.stringify(take(input, {
|
|
652
|
+
AttributeNames: (_) => _json(_),
|
|
653
|
+
ObjectReference: (_) => _json(_),
|
|
654
|
+
SchemaFacet: (_) => _json(_),
|
|
655
|
+
}));
|
|
672
656
|
return new __HttpRequest({
|
|
673
657
|
protocol,
|
|
674
658
|
hostname,
|
|
@@ -689,9 +673,9 @@ export const se_GetObjectInformationCommand = async (input, context) => {
|
|
|
689
673
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
690
674
|
"/amazonclouddirectory/2017-01-11/object/information";
|
|
691
675
|
let body;
|
|
692
|
-
body = JSON.stringify({
|
|
693
|
-
|
|
694
|
-
});
|
|
676
|
+
body = JSON.stringify(take(input, {
|
|
677
|
+
ObjectReference: (_) => _json(_),
|
|
678
|
+
}));
|
|
695
679
|
return new __HttpRequest({
|
|
696
680
|
protocol,
|
|
697
681
|
hostname,
|
|
@@ -729,9 +713,9 @@ export const se_GetTypedLinkFacetInformationCommand = async (input, context) =>
|
|
|
729
713
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
730
714
|
"/amazonclouddirectory/2017-01-11/typedlink/facet/get";
|
|
731
715
|
let body;
|
|
732
|
-
body = JSON.stringify({
|
|
733
|
-
|
|
734
|
-
});
|
|
716
|
+
body = JSON.stringify(take(input, {
|
|
717
|
+
Name: [],
|
|
718
|
+
}));
|
|
735
719
|
return new __HttpRequest({
|
|
736
720
|
protocol,
|
|
737
721
|
hostname,
|
|
@@ -750,12 +734,12 @@ export const se_ListAppliedSchemaArnsCommand = async (input, context) => {
|
|
|
750
734
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
751
735
|
"/amazonclouddirectory/2017-01-11/schema/applied";
|
|
752
736
|
let body;
|
|
753
|
-
body = JSON.stringify({
|
|
754
|
-
|
|
755
|
-
|
|
756
|
-
|
|
757
|
-
|
|
758
|
-
});
|
|
737
|
+
body = JSON.stringify(take(input, {
|
|
738
|
+
DirectoryArn: [],
|
|
739
|
+
MaxResults: [],
|
|
740
|
+
NextToken: [],
|
|
741
|
+
SchemaArn: [],
|
|
742
|
+
}));
|
|
759
743
|
return new __HttpRequest({
|
|
760
744
|
protocol,
|
|
761
745
|
hostname,
|
|
@@ -776,11 +760,11 @@ export const se_ListAttachedIndicesCommand = async (input, context) => {
|
|
|
776
760
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
777
761
|
"/amazonclouddirectory/2017-01-11/object/indices";
|
|
778
762
|
let body;
|
|
779
|
-
body = JSON.stringify({
|
|
780
|
-
|
|
781
|
-
|
|
782
|
-
|
|
783
|
-
});
|
|
763
|
+
body = JSON.stringify(take(input, {
|
|
764
|
+
MaxResults: [],
|
|
765
|
+
NextToken: [],
|
|
766
|
+
TargetReference: (_) => _json(_),
|
|
767
|
+
}));
|
|
784
768
|
return new __HttpRequest({
|
|
785
769
|
protocol,
|
|
786
770
|
hostname,
|
|
@@ -799,10 +783,10 @@ export const se_ListDevelopmentSchemaArnsCommand = async (input, context) => {
|
|
|
799
783
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
800
784
|
"/amazonclouddirectory/2017-01-11/schema/development";
|
|
801
785
|
let body;
|
|
802
|
-
body = JSON.stringify({
|
|
803
|
-
|
|
804
|
-
|
|
805
|
-
});
|
|
786
|
+
body = JSON.stringify(take(input, {
|
|
787
|
+
MaxResults: [],
|
|
788
|
+
NextToken: [],
|
|
789
|
+
}));
|
|
806
790
|
return new __HttpRequest({
|
|
807
791
|
protocol,
|
|
808
792
|
hostname,
|
|
@@ -821,11 +805,11 @@ export const se_ListDirectoriesCommand = async (input, context) => {
|
|
|
821
805
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
822
806
|
"/amazonclouddirectory/2017-01-11/directory/list";
|
|
823
807
|
let body;
|
|
824
|
-
body = JSON.stringify({
|
|
825
|
-
|
|
826
|
-
|
|
827
|
-
|
|
828
|
-
});
|
|
808
|
+
body = JSON.stringify(take(input, {
|
|
809
|
+
MaxResults: [],
|
|
810
|
+
NextToken: [],
|
|
811
|
+
state: [],
|
|
812
|
+
}));
|
|
829
813
|
return new __HttpRequest({
|
|
830
814
|
protocol,
|
|
831
815
|
hostname,
|
|
@@ -845,11 +829,11 @@ export const se_ListFacetAttributesCommand = async (input, context) => {
|
|
|
845
829
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
846
830
|
"/amazonclouddirectory/2017-01-11/facet/attributes";
|
|
847
831
|
let body;
|
|
848
|
-
body = JSON.stringify({
|
|
849
|
-
|
|
850
|
-
|
|
851
|
-
|
|
852
|
-
});
|
|
832
|
+
body = JSON.stringify(take(input, {
|
|
833
|
+
MaxResults: [],
|
|
834
|
+
Name: [],
|
|
835
|
+
NextToken: [],
|
|
836
|
+
}));
|
|
853
837
|
return new __HttpRequest({
|
|
854
838
|
protocol,
|
|
855
839
|
hostname,
|
|
@@ -869,10 +853,10 @@ export const se_ListFacetNamesCommand = async (input, context) => {
|
|
|
869
853
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
870
854
|
"/amazonclouddirectory/2017-01-11/facet/list";
|
|
871
855
|
let body;
|
|
872
|
-
body = JSON.stringify({
|
|
873
|
-
|
|
874
|
-
|
|
875
|
-
});
|
|
856
|
+
body = JSON.stringify(take(input, {
|
|
857
|
+
MaxResults: [],
|
|
858
|
+
NextToken: [],
|
|
859
|
+
}));
|
|
876
860
|
return new __HttpRequest({
|
|
877
861
|
protocol,
|
|
878
862
|
hostname,
|
|
@@ -892,18 +876,14 @@ export const se_ListIncomingTypedLinksCommand = async (input, context) => {
|
|
|
892
876
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
893
877
|
"/amazonclouddirectory/2017-01-11/typedlink/incoming";
|
|
894
878
|
let body;
|
|
895
|
-
body = JSON.stringify({
|
|
896
|
-
|
|
897
|
-
|
|
898
|
-
|
|
899
|
-
|
|
900
|
-
|
|
901
|
-
|
|
902
|
-
|
|
903
|
-
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
904
|
-
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
905
|
-
...(input.ObjectReference != null && { ObjectReference: se_ObjectReference(input.ObjectReference, context) }),
|
|
906
|
-
});
|
|
879
|
+
body = JSON.stringify(take(input, {
|
|
880
|
+
ConsistencyLevel: [],
|
|
881
|
+
FilterAttributeRanges: (_) => se_TypedLinkAttributeRangeList(_, context),
|
|
882
|
+
FilterTypedLink: (_) => _json(_),
|
|
883
|
+
MaxResults: [],
|
|
884
|
+
NextToken: [],
|
|
885
|
+
ObjectReference: (_) => _json(_),
|
|
886
|
+
}));
|
|
907
887
|
return new __HttpRequest({
|
|
908
888
|
protocol,
|
|
909
889
|
hostname,
|
|
@@ -924,14 +904,12 @@ export const se_ListIndexCommand = async (input, context) => {
|
|
|
924
904
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
925
905
|
"/amazonclouddirectory/2017-01-11/index/targets";
|
|
926
906
|
let body;
|
|
927
|
-
body = JSON.stringify({
|
|
928
|
-
|
|
929
|
-
|
|
930
|
-
|
|
931
|
-
|
|
932
|
-
|
|
933
|
-
}),
|
|
934
|
-
});
|
|
907
|
+
body = JSON.stringify(take(input, {
|
|
908
|
+
IndexReference: (_) => _json(_),
|
|
909
|
+
MaxResults: [],
|
|
910
|
+
NextToken: [],
|
|
911
|
+
RangesOnIndexedValues: (_) => se_ObjectAttributeRangeList(_, context),
|
|
912
|
+
}));
|
|
935
913
|
return new __HttpRequest({
|
|
936
914
|
protocol,
|
|
937
915
|
hostname,
|
|
@@ -950,11 +928,11 @@ export const se_ListManagedSchemaArnsCommand = async (input, context) => {
|
|
|
950
928
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
951
929
|
"/amazonclouddirectory/2017-01-11/schema/managed";
|
|
952
930
|
let body;
|
|
953
|
-
body = JSON.stringify({
|
|
954
|
-
|
|
955
|
-
|
|
956
|
-
|
|
957
|
-
});
|
|
931
|
+
body = JSON.stringify(take(input, {
|
|
932
|
+
MaxResults: [],
|
|
933
|
+
NextToken: [],
|
|
934
|
+
SchemaArn: [],
|
|
935
|
+
}));
|
|
958
936
|
return new __HttpRequest({
|
|
959
937
|
protocol,
|
|
960
938
|
hostname,
|
|
@@ -975,12 +953,12 @@ export const se_ListObjectAttributesCommand = async (input, context) => {
|
|
|
975
953
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
976
954
|
"/amazonclouddirectory/2017-01-11/object/attributes";
|
|
977
955
|
let body;
|
|
978
|
-
body = JSON.stringify({
|
|
979
|
-
|
|
980
|
-
|
|
981
|
-
|
|
982
|
-
|
|
983
|
-
});
|
|
956
|
+
body = JSON.stringify(take(input, {
|
|
957
|
+
FacetFilter: (_) => _json(_),
|
|
958
|
+
MaxResults: [],
|
|
959
|
+
NextToken: [],
|
|
960
|
+
ObjectReference: (_) => _json(_),
|
|
961
|
+
}));
|
|
984
962
|
return new __HttpRequest({
|
|
985
963
|
protocol,
|
|
986
964
|
hostname,
|
|
@@ -1001,11 +979,11 @@ export const se_ListObjectChildrenCommand = async (input, context) => {
|
|
|
1001
979
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
1002
980
|
"/amazonclouddirectory/2017-01-11/object/children";
|
|
1003
981
|
let body;
|
|
1004
|
-
body = JSON.stringify({
|
|
1005
|
-
|
|
1006
|
-
|
|
1007
|
-
|
|
1008
|
-
});
|
|
982
|
+
body = JSON.stringify(take(input, {
|
|
983
|
+
MaxResults: [],
|
|
984
|
+
NextToken: [],
|
|
985
|
+
ObjectReference: (_) => _json(_),
|
|
986
|
+
}));
|
|
1009
987
|
return new __HttpRequest({
|
|
1010
988
|
protocol,
|
|
1011
989
|
hostname,
|
|
@@ -1025,11 +1003,11 @@ export const se_ListObjectParentPathsCommand = async (input, context) => {
|
|
|
1025
1003
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
1026
1004
|
"/amazonclouddirectory/2017-01-11/object/parentpaths";
|
|
1027
1005
|
let body;
|
|
1028
|
-
body = JSON.stringify({
|
|
1029
|
-
|
|
1030
|
-
|
|
1031
|
-
|
|
1032
|
-
});
|
|
1006
|
+
body = JSON.stringify(take(input, {
|
|
1007
|
+
MaxResults: [],
|
|
1008
|
+
NextToken: [],
|
|
1009
|
+
ObjectReference: (_) => _json(_),
|
|
1010
|
+
}));
|
|
1033
1011
|
return new __HttpRequest({
|
|
1034
1012
|
protocol,
|
|
1035
1013
|
hostname,
|
|
@@ -1050,14 +1028,12 @@ export const se_ListObjectParentsCommand = async (input, context) => {
|
|
|
1050
1028
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
1051
1029
|
"/amazonclouddirectory/2017-01-11/object/parent";
|
|
1052
1030
|
let body;
|
|
1053
|
-
body = JSON.stringify({
|
|
1054
|
-
|
|
1055
|
-
|
|
1056
|
-
|
|
1057
|
-
|
|
1058
|
-
|
|
1059
|
-
...(input.ObjectReference != null && { ObjectReference: se_ObjectReference(input.ObjectReference, context) }),
|
|
1060
|
-
});
|
|
1031
|
+
body = JSON.stringify(take(input, {
|
|
1032
|
+
IncludeAllLinksToEachParent: [],
|
|
1033
|
+
MaxResults: [],
|
|
1034
|
+
NextToken: [],
|
|
1035
|
+
ObjectReference: (_) => _json(_),
|
|
1036
|
+
}));
|
|
1061
1037
|
return new __HttpRequest({
|
|
1062
1038
|
protocol,
|
|
1063
1039
|
hostname,
|
|
@@ -1078,11 +1054,11 @@ export const se_ListObjectPoliciesCommand = async (input, context) => {
|
|
|
1078
1054
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
1079
1055
|
"/amazonclouddirectory/2017-01-11/object/policy";
|
|
1080
1056
|
let body;
|
|
1081
|
-
body = JSON.stringify({
|
|
1082
|
-
|
|
1083
|
-
|
|
1084
|
-
|
|
1085
|
-
});
|
|
1057
|
+
body = JSON.stringify(take(input, {
|
|
1058
|
+
MaxResults: [],
|
|
1059
|
+
NextToken: [],
|
|
1060
|
+
ObjectReference: (_) => _json(_),
|
|
1061
|
+
}));
|
|
1086
1062
|
return new __HttpRequest({
|
|
1087
1063
|
protocol,
|
|
1088
1064
|
hostname,
|
|
@@ -1102,18 +1078,14 @@ export const se_ListOutgoingTypedLinksCommand = async (input, context) => {
|
|
|
1102
1078
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
1103
1079
|
"/amazonclouddirectory/2017-01-11/typedlink/outgoing";
|
|
1104
1080
|
let body;
|
|
1105
|
-
body = JSON.stringify({
|
|
1106
|
-
|
|
1107
|
-
|
|
1108
|
-
|
|
1109
|
-
|
|
1110
|
-
|
|
1111
|
-
|
|
1112
|
-
|
|
1113
|
-
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
1114
|
-
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
1115
|
-
...(input.ObjectReference != null && { ObjectReference: se_ObjectReference(input.ObjectReference, context) }),
|
|
1116
|
-
});
|
|
1081
|
+
body = JSON.stringify(take(input, {
|
|
1082
|
+
ConsistencyLevel: [],
|
|
1083
|
+
FilterAttributeRanges: (_) => se_TypedLinkAttributeRangeList(_, context),
|
|
1084
|
+
FilterTypedLink: (_) => _json(_),
|
|
1085
|
+
MaxResults: [],
|
|
1086
|
+
NextToken: [],
|
|
1087
|
+
ObjectReference: (_) => _json(_),
|
|
1088
|
+
}));
|
|
1117
1089
|
return new __HttpRequest({
|
|
1118
1090
|
protocol,
|
|
1119
1091
|
hostname,
|
|
@@ -1134,11 +1106,11 @@ export const se_ListPolicyAttachmentsCommand = async (input, context) => {
|
|
|
1134
1106
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
1135
1107
|
"/amazonclouddirectory/2017-01-11/policy/attachment";
|
|
1136
1108
|
let body;
|
|
1137
|
-
body = JSON.stringify({
|
|
1138
|
-
|
|
1139
|
-
|
|
1140
|
-
|
|
1141
|
-
});
|
|
1109
|
+
body = JSON.stringify(take(input, {
|
|
1110
|
+
MaxResults: [],
|
|
1111
|
+
NextToken: [],
|
|
1112
|
+
PolicyReference: (_) => _json(_),
|
|
1113
|
+
}));
|
|
1142
1114
|
return new __HttpRequest({
|
|
1143
1115
|
protocol,
|
|
1144
1116
|
hostname,
|
|
@@ -1157,11 +1129,11 @@ export const se_ListPublishedSchemaArnsCommand = async (input, context) => {
|
|
|
1157
1129
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
1158
1130
|
"/amazonclouddirectory/2017-01-11/schema/published";
|
|
1159
1131
|
let body;
|
|
1160
|
-
body = JSON.stringify({
|
|
1161
|
-
|
|
1162
|
-
|
|
1163
|
-
|
|
1164
|
-
});
|
|
1132
|
+
body = JSON.stringify(take(input, {
|
|
1133
|
+
MaxResults: [],
|
|
1134
|
+
NextToken: [],
|
|
1135
|
+
SchemaArn: [],
|
|
1136
|
+
}));
|
|
1165
1137
|
return new __HttpRequest({
|
|
1166
1138
|
protocol,
|
|
1167
1139
|
hostname,
|
|
@@ -1179,11 +1151,11 @@ export const se_ListTagsForResourceCommand = async (input, context) => {
|
|
|
1179
1151
|
};
|
|
1180
1152
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/amazonclouddirectory/2017-01-11/tags";
|
|
1181
1153
|
let body;
|
|
1182
|
-
body = JSON.stringify({
|
|
1183
|
-
|
|
1184
|
-
|
|
1185
|
-
|
|
1186
|
-
});
|
|
1154
|
+
body = JSON.stringify(take(input, {
|
|
1155
|
+
MaxResults: [],
|
|
1156
|
+
NextToken: [],
|
|
1157
|
+
ResourceArn: [],
|
|
1158
|
+
}));
|
|
1187
1159
|
return new __HttpRequest({
|
|
1188
1160
|
protocol,
|
|
1189
1161
|
hostname,
|
|
@@ -1203,11 +1175,11 @@ export const se_ListTypedLinkFacetAttributesCommand = async (input, context) =>
|
|
|
1203
1175
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
1204
1176
|
"/amazonclouddirectory/2017-01-11/typedlink/facet/attributes";
|
|
1205
1177
|
let body;
|
|
1206
|
-
body = JSON.stringify({
|
|
1207
|
-
|
|
1208
|
-
|
|
1209
|
-
|
|
1210
|
-
});
|
|
1178
|
+
body = JSON.stringify(take(input, {
|
|
1179
|
+
MaxResults: [],
|
|
1180
|
+
Name: [],
|
|
1181
|
+
NextToken: [],
|
|
1182
|
+
}));
|
|
1211
1183
|
return new __HttpRequest({
|
|
1212
1184
|
protocol,
|
|
1213
1185
|
hostname,
|
|
@@ -1227,10 +1199,10 @@ export const se_ListTypedLinkFacetNamesCommand = async (input, context) => {
|
|
|
1227
1199
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
1228
1200
|
"/amazonclouddirectory/2017-01-11/typedlink/facet/list";
|
|
1229
1201
|
let body;
|
|
1230
|
-
body = JSON.stringify({
|
|
1231
|
-
|
|
1232
|
-
|
|
1233
|
-
});
|
|
1202
|
+
body = JSON.stringify(take(input, {
|
|
1203
|
+
MaxResults: [],
|
|
1204
|
+
NextToken: [],
|
|
1205
|
+
}));
|
|
1234
1206
|
return new __HttpRequest({
|
|
1235
1207
|
protocol,
|
|
1236
1208
|
hostname,
|
|
@@ -1250,11 +1222,11 @@ export const se_LookupPolicyCommand = async (input, context) => {
|
|
|
1250
1222
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
1251
1223
|
"/amazonclouddirectory/2017-01-11/policy/lookup";
|
|
1252
1224
|
let body;
|
|
1253
|
-
body = JSON.stringify({
|
|
1254
|
-
|
|
1255
|
-
|
|
1256
|
-
|
|
1257
|
-
});
|
|
1225
|
+
body = JSON.stringify(take(input, {
|
|
1226
|
+
MaxResults: [],
|
|
1227
|
+
NextToken: [],
|
|
1228
|
+
ObjectReference: (_) => _json(_),
|
|
1229
|
+
}));
|
|
1258
1230
|
return new __HttpRequest({
|
|
1259
1231
|
protocol,
|
|
1260
1232
|
hostname,
|
|
@@ -1274,11 +1246,11 @@ export const se_PublishSchemaCommand = async (input, context) => {
|
|
|
1274
1246
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
1275
1247
|
"/amazonclouddirectory/2017-01-11/schema/publish";
|
|
1276
1248
|
let body;
|
|
1277
|
-
body = JSON.stringify({
|
|
1278
|
-
|
|
1279
|
-
|
|
1280
|
-
|
|
1281
|
-
});
|
|
1249
|
+
body = JSON.stringify(take(input, {
|
|
1250
|
+
MinorVersion: [],
|
|
1251
|
+
Name: [],
|
|
1252
|
+
Version: [],
|
|
1253
|
+
}));
|
|
1282
1254
|
return new __HttpRequest({
|
|
1283
1255
|
protocol,
|
|
1284
1256
|
hostname,
|
|
@@ -1298,9 +1270,9 @@ export const se_PutSchemaFromJsonCommand = async (input, context) => {
|
|
|
1298
1270
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
1299
1271
|
"/amazonclouddirectory/2017-01-11/schema/json";
|
|
1300
1272
|
let body;
|
|
1301
|
-
body = JSON.stringify({
|
|
1302
|
-
|
|
1303
|
-
});
|
|
1273
|
+
body = JSON.stringify(take(input, {
|
|
1274
|
+
Document: [],
|
|
1275
|
+
}));
|
|
1304
1276
|
return new __HttpRequest({
|
|
1305
1277
|
protocol,
|
|
1306
1278
|
hostname,
|
|
@@ -1320,10 +1292,10 @@ export const se_RemoveFacetFromObjectCommand = async (input, context) => {
|
|
|
1320
1292
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
1321
1293
|
"/amazonclouddirectory/2017-01-11/object/facets/delete";
|
|
1322
1294
|
let body;
|
|
1323
|
-
body = JSON.stringify({
|
|
1324
|
-
|
|
1325
|
-
|
|
1326
|
-
});
|
|
1295
|
+
body = JSON.stringify(take(input, {
|
|
1296
|
+
ObjectReference: (_) => _json(_),
|
|
1297
|
+
SchemaFacet: (_) => _json(_),
|
|
1298
|
+
}));
|
|
1327
1299
|
return new __HttpRequest({
|
|
1328
1300
|
protocol,
|
|
1329
1301
|
hostname,
|
|
@@ -1341,10 +1313,10 @@ export const se_TagResourceCommand = async (input, context) => {
|
|
|
1341
1313
|
};
|
|
1342
1314
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/amazonclouddirectory/2017-01-11/tags/add";
|
|
1343
1315
|
let body;
|
|
1344
|
-
body = JSON.stringify({
|
|
1345
|
-
|
|
1346
|
-
|
|
1347
|
-
});
|
|
1316
|
+
body = JSON.stringify(take(input, {
|
|
1317
|
+
ResourceArn: [],
|
|
1318
|
+
Tags: (_) => _json(_),
|
|
1319
|
+
}));
|
|
1348
1320
|
return new __HttpRequest({
|
|
1349
1321
|
protocol,
|
|
1350
1322
|
hostname,
|
|
@@ -1363,10 +1335,10 @@ export const se_UntagResourceCommand = async (input, context) => {
|
|
|
1363
1335
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
1364
1336
|
"/amazonclouddirectory/2017-01-11/tags/remove";
|
|
1365
1337
|
let body;
|
|
1366
|
-
body = JSON.stringify({
|
|
1367
|
-
|
|
1368
|
-
|
|
1369
|
-
});
|
|
1338
|
+
body = JSON.stringify(take(input, {
|
|
1339
|
+
ResourceArn: [],
|
|
1340
|
+
TagKeys: (_) => _json(_),
|
|
1341
|
+
}));
|
|
1370
1342
|
return new __HttpRequest({
|
|
1371
1343
|
protocol,
|
|
1372
1344
|
hostname,
|
|
@@ -1385,13 +1357,11 @@ export const se_UpdateFacetCommand = async (input, context) => {
|
|
|
1385
1357
|
});
|
|
1386
1358
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/amazonclouddirectory/2017-01-11/facet";
|
|
1387
1359
|
let body;
|
|
1388
|
-
body = JSON.stringify({
|
|
1389
|
-
|
|
1390
|
-
|
|
1391
|
-
|
|
1392
|
-
|
|
1393
|
-
...(input.ObjectType != null && { ObjectType: input.ObjectType }),
|
|
1394
|
-
});
|
|
1360
|
+
body = JSON.stringify(take(input, {
|
|
1361
|
+
AttributeUpdates: (_) => se_FacetAttributeUpdateList(_, context),
|
|
1362
|
+
Name: [],
|
|
1363
|
+
ObjectType: [],
|
|
1364
|
+
}));
|
|
1395
1365
|
return new __HttpRequest({
|
|
1396
1366
|
protocol,
|
|
1397
1367
|
hostname,
|
|
@@ -1411,14 +1381,10 @@ export const se_UpdateLinkAttributesCommand = async (input, context) => {
|
|
|
1411
1381
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
1412
1382
|
"/amazonclouddirectory/2017-01-11/typedlink/attributes/update";
|
|
1413
1383
|
let body;
|
|
1414
|
-
body = JSON.stringify({
|
|
1415
|
-
|
|
1416
|
-
|
|
1417
|
-
|
|
1418
|
-
...(input.TypedLinkSpecifier != null && {
|
|
1419
|
-
TypedLinkSpecifier: se_TypedLinkSpecifier(input.TypedLinkSpecifier, context),
|
|
1420
|
-
}),
|
|
1421
|
-
});
|
|
1384
|
+
body = JSON.stringify(take(input, {
|
|
1385
|
+
AttributeUpdates: (_) => se_LinkAttributeUpdateList(_, context),
|
|
1386
|
+
TypedLinkSpecifier: (_) => se_TypedLinkSpecifier(_, context),
|
|
1387
|
+
}));
|
|
1422
1388
|
return new __HttpRequest({
|
|
1423
1389
|
protocol,
|
|
1424
1390
|
hostname,
|
|
@@ -1438,12 +1404,10 @@ export const se_UpdateObjectAttributesCommand = async (input, context) => {
|
|
|
1438
1404
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
1439
1405
|
"/amazonclouddirectory/2017-01-11/object/update";
|
|
1440
1406
|
let body;
|
|
1441
|
-
body = JSON.stringify({
|
|
1442
|
-
|
|
1443
|
-
|
|
1444
|
-
|
|
1445
|
-
...(input.ObjectReference != null && { ObjectReference: se_ObjectReference(input.ObjectReference, context) }),
|
|
1446
|
-
});
|
|
1407
|
+
body = JSON.stringify(take(input, {
|
|
1408
|
+
AttributeUpdates: (_) => se_ObjectAttributeUpdateList(_, context),
|
|
1409
|
+
ObjectReference: (_) => _json(_),
|
|
1410
|
+
}));
|
|
1447
1411
|
return new __HttpRequest({
|
|
1448
1412
|
protocol,
|
|
1449
1413
|
hostname,
|
|
@@ -1463,9 +1427,9 @@ export const se_UpdateSchemaCommand = async (input, context) => {
|
|
|
1463
1427
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
1464
1428
|
"/amazonclouddirectory/2017-01-11/schema/update";
|
|
1465
1429
|
let body;
|
|
1466
|
-
body = JSON.stringify({
|
|
1467
|
-
|
|
1468
|
-
});
|
|
1430
|
+
body = JSON.stringify(take(input, {
|
|
1431
|
+
Name: [],
|
|
1432
|
+
}));
|
|
1469
1433
|
return new __HttpRequest({
|
|
1470
1434
|
protocol,
|
|
1471
1435
|
hostname,
|
|
@@ -1485,15 +1449,11 @@ export const se_UpdateTypedLinkFacetCommand = async (input, context) => {
|
|
|
1485
1449
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
1486
1450
|
"/amazonclouddirectory/2017-01-11/typedlink/facet";
|
|
1487
1451
|
let body;
|
|
1488
|
-
body = JSON.stringify({
|
|
1489
|
-
|
|
1490
|
-
|
|
1491
|
-
|
|
1492
|
-
|
|
1493
|
-
IdentityAttributeOrder: se_AttributeNameList(input.IdentityAttributeOrder, context),
|
|
1494
|
-
}),
|
|
1495
|
-
...(input.Name != null && { Name: input.Name }),
|
|
1496
|
-
});
|
|
1452
|
+
body = JSON.stringify(take(input, {
|
|
1453
|
+
AttributeUpdates: (_) => se_TypedLinkFacetAttributeUpdateList(_, context),
|
|
1454
|
+
IdentityAttributeOrder: (_) => _json(_),
|
|
1455
|
+
Name: [],
|
|
1456
|
+
}));
|
|
1497
1457
|
return new __HttpRequest({
|
|
1498
1458
|
protocol,
|
|
1499
1459
|
hostname,
|
|
@@ -1512,11 +1472,11 @@ export const se_UpgradeAppliedSchemaCommand = async (input, context) => {
|
|
|
1512
1472
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
1513
1473
|
"/amazonclouddirectory/2017-01-11/schema/upgradeapplied";
|
|
1514
1474
|
let body;
|
|
1515
|
-
body = JSON.stringify({
|
|
1516
|
-
|
|
1517
|
-
|
|
1518
|
-
|
|
1519
|
-
});
|
|
1475
|
+
body = JSON.stringify(take(input, {
|
|
1476
|
+
DirectoryArn: [],
|
|
1477
|
+
DryRun: [],
|
|
1478
|
+
PublishedSchemaArn: [],
|
|
1479
|
+
}));
|
|
1520
1480
|
return new __HttpRequest({
|
|
1521
1481
|
protocol,
|
|
1522
1482
|
hostname,
|
|
@@ -1535,12 +1495,12 @@ export const se_UpgradePublishedSchemaCommand = async (input, context) => {
|
|
|
1535
1495
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
1536
1496
|
"/amazonclouddirectory/2017-01-11/schema/upgradepublished";
|
|
1537
1497
|
let body;
|
|
1538
|
-
body = JSON.stringify({
|
|
1539
|
-
|
|
1540
|
-
|
|
1541
|
-
|
|
1542
|
-
|
|
1543
|
-
});
|
|
1498
|
+
body = JSON.stringify(take(input, {
|
|
1499
|
+
DevelopmentSchemaArn: [],
|
|
1500
|
+
DryRun: [],
|
|
1501
|
+
MinorVersion: [],
|
|
1502
|
+
PublishedSchemaArn: [],
|
|
1503
|
+
}));
|
|
1544
1504
|
return new __HttpRequest({
|
|
1545
1505
|
protocol,
|
|
1546
1506
|
hostname,
|
|
@@ -1597,10 +1557,9 @@ const de_AddFacetToObjectCommandError = async (output, context) => {
|
|
|
1597
1557
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1598
1558
|
default:
|
|
1599
1559
|
const parsedBody = parsedOutput.body;
|
|
1600
|
-
throwDefaultError({
|
|
1560
|
+
return throwDefaultError({
|
|
1601
1561
|
output,
|
|
1602
1562
|
parsedBody,
|
|
1603
|
-
exceptionCtor: __BaseException,
|
|
1604
1563
|
errorCode,
|
|
1605
1564
|
});
|
|
1606
1565
|
}
|
|
@@ -1613,12 +1572,11 @@ export const de_ApplySchemaCommand = async (output, context) => {
|
|
|
1613
1572
|
$metadata: deserializeMetadata(output),
|
|
1614
1573
|
});
|
|
1615
1574
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1616
|
-
|
|
1617
|
-
|
|
1618
|
-
|
|
1619
|
-
|
|
1620
|
-
|
|
1621
|
-
}
|
|
1575
|
+
const doc = take(data, {
|
|
1576
|
+
AppliedSchemaArn: __expectString,
|
|
1577
|
+
DirectoryArn: __expectString,
|
|
1578
|
+
});
|
|
1579
|
+
Object.assign(contents, doc);
|
|
1622
1580
|
return contents;
|
|
1623
1581
|
};
|
|
1624
1582
|
const de_ApplySchemaCommandError = async (output, context) => {
|
|
@@ -1657,10 +1615,9 @@ const de_ApplySchemaCommandError = async (output, context) => {
|
|
|
1657
1615
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1658
1616
|
default:
|
|
1659
1617
|
const parsedBody = parsedOutput.body;
|
|
1660
|
-
throwDefaultError({
|
|
1618
|
+
return throwDefaultError({
|
|
1661
1619
|
output,
|
|
1662
1620
|
parsedBody,
|
|
1663
|
-
exceptionCtor: __BaseException,
|
|
1664
1621
|
errorCode,
|
|
1665
1622
|
});
|
|
1666
1623
|
}
|
|
@@ -1673,9 +1630,10 @@ export const de_AttachObjectCommand = async (output, context) => {
|
|
|
1673
1630
|
$metadata: deserializeMetadata(output),
|
|
1674
1631
|
});
|
|
1675
1632
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1676
|
-
|
|
1677
|
-
|
|
1678
|
-
}
|
|
1633
|
+
const doc = take(data, {
|
|
1634
|
+
AttachedObjectIdentifier: __expectString,
|
|
1635
|
+
});
|
|
1636
|
+
Object.assign(contents, doc);
|
|
1679
1637
|
return contents;
|
|
1680
1638
|
};
|
|
1681
1639
|
const de_AttachObjectCommandError = async (output, context) => {
|
|
@@ -1720,10 +1678,9 @@ const de_AttachObjectCommandError = async (output, context) => {
|
|
|
1720
1678
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1721
1679
|
default:
|
|
1722
1680
|
const parsedBody = parsedOutput.body;
|
|
1723
|
-
throwDefaultError({
|
|
1681
|
+
return throwDefaultError({
|
|
1724
1682
|
output,
|
|
1725
1683
|
parsedBody,
|
|
1726
|
-
exceptionCtor: __BaseException,
|
|
1727
1684
|
errorCode,
|
|
1728
1685
|
});
|
|
1729
1686
|
}
|
|
@@ -1774,10 +1731,9 @@ const de_AttachPolicyCommandError = async (output, context) => {
|
|
|
1774
1731
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1775
1732
|
default:
|
|
1776
1733
|
const parsedBody = parsedOutput.body;
|
|
1777
|
-
throwDefaultError({
|
|
1734
|
+
return throwDefaultError({
|
|
1778
1735
|
output,
|
|
1779
1736
|
parsedBody,
|
|
1780
|
-
exceptionCtor: __BaseException,
|
|
1781
1737
|
errorCode,
|
|
1782
1738
|
});
|
|
1783
1739
|
}
|
|
@@ -1790,9 +1746,10 @@ export const de_AttachToIndexCommand = async (output, context) => {
|
|
|
1790
1746
|
$metadata: deserializeMetadata(output),
|
|
1791
1747
|
});
|
|
1792
1748
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1793
|
-
|
|
1794
|
-
|
|
1795
|
-
}
|
|
1749
|
+
const doc = take(data, {
|
|
1750
|
+
AttachedObjectIdentifier: __expectString,
|
|
1751
|
+
});
|
|
1752
|
+
Object.assign(contents, doc);
|
|
1796
1753
|
return contents;
|
|
1797
1754
|
};
|
|
1798
1755
|
const de_AttachToIndexCommandError = async (output, context) => {
|
|
@@ -1840,10 +1797,9 @@ const de_AttachToIndexCommandError = async (output, context) => {
|
|
|
1840
1797
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1841
1798
|
default:
|
|
1842
1799
|
const parsedBody = parsedOutput.body;
|
|
1843
|
-
throwDefaultError({
|
|
1800
|
+
return throwDefaultError({
|
|
1844
1801
|
output,
|
|
1845
1802
|
parsedBody,
|
|
1846
|
-
exceptionCtor: __BaseException,
|
|
1847
1803
|
errorCode,
|
|
1848
1804
|
});
|
|
1849
1805
|
}
|
|
@@ -1856,9 +1812,10 @@ export const de_AttachTypedLinkCommand = async (output, context) => {
|
|
|
1856
1812
|
$metadata: deserializeMetadata(output),
|
|
1857
1813
|
});
|
|
1858
1814
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1859
|
-
|
|
1860
|
-
|
|
1861
|
-
}
|
|
1815
|
+
const doc = take(data, {
|
|
1816
|
+
TypedLinkSpecifier: (_) => de_TypedLinkSpecifier(_, context),
|
|
1817
|
+
});
|
|
1818
|
+
Object.assign(contents, doc);
|
|
1862
1819
|
return contents;
|
|
1863
1820
|
};
|
|
1864
1821
|
const de_AttachTypedLinkCommandError = async (output, context) => {
|
|
@@ -1900,10 +1857,9 @@ const de_AttachTypedLinkCommandError = async (output, context) => {
|
|
|
1900
1857
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1901
1858
|
default:
|
|
1902
1859
|
const parsedBody = parsedOutput.body;
|
|
1903
|
-
throwDefaultError({
|
|
1860
|
+
return throwDefaultError({
|
|
1904
1861
|
output,
|
|
1905
1862
|
parsedBody,
|
|
1906
|
-
exceptionCtor: __BaseException,
|
|
1907
1863
|
errorCode,
|
|
1908
1864
|
});
|
|
1909
1865
|
}
|
|
@@ -1916,9 +1872,10 @@ export const de_BatchReadCommand = async (output, context) => {
|
|
|
1916
1872
|
$metadata: deserializeMetadata(output),
|
|
1917
1873
|
});
|
|
1918
1874
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1919
|
-
|
|
1920
|
-
|
|
1921
|
-
}
|
|
1875
|
+
const doc = take(data, {
|
|
1876
|
+
Responses: (_) => de_BatchReadOperationResponseList(_, context),
|
|
1877
|
+
});
|
|
1878
|
+
Object.assign(contents, doc);
|
|
1922
1879
|
return contents;
|
|
1923
1880
|
};
|
|
1924
1881
|
const de_BatchReadCommandError = async (output, context) => {
|
|
@@ -1951,10 +1908,9 @@ const de_BatchReadCommandError = async (output, context) => {
|
|
|
1951
1908
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1952
1909
|
default:
|
|
1953
1910
|
const parsedBody = parsedOutput.body;
|
|
1954
|
-
throwDefaultError({
|
|
1911
|
+
return throwDefaultError({
|
|
1955
1912
|
output,
|
|
1956
1913
|
parsedBody,
|
|
1957
|
-
exceptionCtor: __BaseException,
|
|
1958
1914
|
errorCode,
|
|
1959
1915
|
});
|
|
1960
1916
|
}
|
|
@@ -1967,9 +1923,10 @@ export const de_BatchWriteCommand = async (output, context) => {
|
|
|
1967
1923
|
$metadata: deserializeMetadata(output),
|
|
1968
1924
|
});
|
|
1969
1925
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1970
|
-
|
|
1971
|
-
|
|
1972
|
-
}
|
|
1926
|
+
const doc = take(data, {
|
|
1927
|
+
Responses: (_) => de_BatchWriteOperationResponseList(_, context),
|
|
1928
|
+
});
|
|
1929
|
+
Object.assign(contents, doc);
|
|
1973
1930
|
return contents;
|
|
1974
1931
|
};
|
|
1975
1932
|
const de_BatchWriteCommandError = async (output, context) => {
|
|
@@ -2005,10 +1962,9 @@ const de_BatchWriteCommandError = async (output, context) => {
|
|
|
2005
1962
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2006
1963
|
default:
|
|
2007
1964
|
const parsedBody = parsedOutput.body;
|
|
2008
|
-
throwDefaultError({
|
|
1965
|
+
return throwDefaultError({
|
|
2009
1966
|
output,
|
|
2010
1967
|
parsedBody,
|
|
2011
|
-
exceptionCtor: __BaseException,
|
|
2012
1968
|
errorCode,
|
|
2013
1969
|
});
|
|
2014
1970
|
}
|
|
@@ -2021,18 +1977,13 @@ export const de_CreateDirectoryCommand = async (output, context) => {
|
|
|
2021
1977
|
$metadata: deserializeMetadata(output),
|
|
2022
1978
|
});
|
|
2023
1979
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2024
|
-
|
|
2025
|
-
|
|
2026
|
-
|
|
2027
|
-
|
|
2028
|
-
|
|
2029
|
-
}
|
|
2030
|
-
|
|
2031
|
-
contents.Name = __expectString(data.Name);
|
|
2032
|
-
}
|
|
2033
|
-
if (data.ObjectIdentifier != null) {
|
|
2034
|
-
contents.ObjectIdentifier = __expectString(data.ObjectIdentifier);
|
|
2035
|
-
}
|
|
1980
|
+
const doc = take(data, {
|
|
1981
|
+
AppliedSchemaArn: __expectString,
|
|
1982
|
+
DirectoryArn: __expectString,
|
|
1983
|
+
Name: __expectString,
|
|
1984
|
+
ObjectIdentifier: __expectString,
|
|
1985
|
+
});
|
|
1986
|
+
Object.assign(contents, doc);
|
|
2036
1987
|
return contents;
|
|
2037
1988
|
};
|
|
2038
1989
|
const de_CreateDirectoryCommandError = async (output, context) => {
|
|
@@ -2068,10 +2019,9 @@ const de_CreateDirectoryCommandError = async (output, context) => {
|
|
|
2068
2019
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2069
2020
|
default:
|
|
2070
2021
|
const parsedBody = parsedOutput.body;
|
|
2071
|
-
throwDefaultError({
|
|
2022
|
+
return throwDefaultError({
|
|
2072
2023
|
output,
|
|
2073
2024
|
parsedBody,
|
|
2074
|
-
exceptionCtor: __BaseException,
|
|
2075
2025
|
errorCode,
|
|
2076
2026
|
});
|
|
2077
2027
|
}
|
|
@@ -2125,10 +2075,9 @@ const de_CreateFacetCommandError = async (output, context) => {
|
|
|
2125
2075
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2126
2076
|
default:
|
|
2127
2077
|
const parsedBody = parsedOutput.body;
|
|
2128
|
-
throwDefaultError({
|
|
2078
|
+
return throwDefaultError({
|
|
2129
2079
|
output,
|
|
2130
2080
|
parsedBody,
|
|
2131
|
-
exceptionCtor: __BaseException,
|
|
2132
2081
|
errorCode,
|
|
2133
2082
|
});
|
|
2134
2083
|
}
|
|
@@ -2141,9 +2090,10 @@ export const de_CreateIndexCommand = async (output, context) => {
|
|
|
2141
2090
|
$metadata: deserializeMetadata(output),
|
|
2142
2091
|
});
|
|
2143
2092
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2144
|
-
|
|
2145
|
-
|
|
2146
|
-
}
|
|
2093
|
+
const doc = take(data, {
|
|
2094
|
+
ObjectIdentifier: __expectString,
|
|
2095
|
+
});
|
|
2096
|
+
Object.assign(contents, doc);
|
|
2147
2097
|
return contents;
|
|
2148
2098
|
};
|
|
2149
2099
|
const de_CreateIndexCommandError = async (output, context) => {
|
|
@@ -2188,10 +2138,9 @@ const de_CreateIndexCommandError = async (output, context) => {
|
|
|
2188
2138
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2189
2139
|
default:
|
|
2190
2140
|
const parsedBody = parsedOutput.body;
|
|
2191
|
-
throwDefaultError({
|
|
2141
|
+
return throwDefaultError({
|
|
2192
2142
|
output,
|
|
2193
2143
|
parsedBody,
|
|
2194
|
-
exceptionCtor: __BaseException,
|
|
2195
2144
|
errorCode,
|
|
2196
2145
|
});
|
|
2197
2146
|
}
|
|
@@ -2204,9 +2153,10 @@ export const de_CreateObjectCommand = async (output, context) => {
|
|
|
2204
2153
|
$metadata: deserializeMetadata(output),
|
|
2205
2154
|
});
|
|
2206
2155
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2207
|
-
|
|
2208
|
-
|
|
2209
|
-
}
|
|
2156
|
+
const doc = take(data, {
|
|
2157
|
+
ObjectIdentifier: __expectString,
|
|
2158
|
+
});
|
|
2159
|
+
Object.assign(contents, doc);
|
|
2210
2160
|
return contents;
|
|
2211
2161
|
};
|
|
2212
2162
|
const de_CreateObjectCommandError = async (output, context) => {
|
|
@@ -2251,10 +2201,9 @@ const de_CreateObjectCommandError = async (output, context) => {
|
|
|
2251
2201
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2252
2202
|
default:
|
|
2253
2203
|
const parsedBody = parsedOutput.body;
|
|
2254
|
-
throwDefaultError({
|
|
2204
|
+
return throwDefaultError({
|
|
2255
2205
|
output,
|
|
2256
2206
|
parsedBody,
|
|
2257
|
-
exceptionCtor: __BaseException,
|
|
2258
2207
|
errorCode,
|
|
2259
2208
|
});
|
|
2260
2209
|
}
|
|
@@ -2267,9 +2216,10 @@ export const de_CreateSchemaCommand = async (output, context) => {
|
|
|
2267
2216
|
$metadata: deserializeMetadata(output),
|
|
2268
2217
|
});
|
|
2269
2218
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2270
|
-
|
|
2271
|
-
|
|
2272
|
-
}
|
|
2219
|
+
const doc = take(data, {
|
|
2220
|
+
SchemaArn: __expectString,
|
|
2221
|
+
});
|
|
2222
|
+
Object.assign(contents, doc);
|
|
2273
2223
|
return contents;
|
|
2274
2224
|
};
|
|
2275
2225
|
const de_CreateSchemaCommandError = async (output, context) => {
|
|
@@ -2302,10 +2252,9 @@ const de_CreateSchemaCommandError = async (output, context) => {
|
|
|
2302
2252
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2303
2253
|
default:
|
|
2304
2254
|
const parsedBody = parsedOutput.body;
|
|
2305
|
-
throwDefaultError({
|
|
2255
|
+
return throwDefaultError({
|
|
2306
2256
|
output,
|
|
2307
2257
|
parsedBody,
|
|
2308
|
-
exceptionCtor: __BaseException,
|
|
2309
2258
|
errorCode,
|
|
2310
2259
|
});
|
|
2311
2260
|
}
|
|
@@ -2359,10 +2308,9 @@ const de_CreateTypedLinkFacetCommandError = async (output, context) => {
|
|
|
2359
2308
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2360
2309
|
default:
|
|
2361
2310
|
const parsedBody = parsedOutput.body;
|
|
2362
|
-
throwDefaultError({
|
|
2311
|
+
return throwDefaultError({
|
|
2363
2312
|
output,
|
|
2364
2313
|
parsedBody,
|
|
2365
|
-
exceptionCtor: __BaseException,
|
|
2366
2314
|
errorCode,
|
|
2367
2315
|
});
|
|
2368
2316
|
}
|
|
@@ -2375,9 +2323,10 @@ export const de_DeleteDirectoryCommand = async (output, context) => {
|
|
|
2375
2323
|
$metadata: deserializeMetadata(output),
|
|
2376
2324
|
});
|
|
2377
2325
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2378
|
-
|
|
2379
|
-
|
|
2380
|
-
}
|
|
2326
|
+
const doc = take(data, {
|
|
2327
|
+
DirectoryArn: __expectString,
|
|
2328
|
+
});
|
|
2329
|
+
Object.assign(contents, doc);
|
|
2381
2330
|
return contents;
|
|
2382
2331
|
};
|
|
2383
2332
|
const de_DeleteDirectoryCommandError = async (output, context) => {
|
|
@@ -2416,10 +2365,9 @@ const de_DeleteDirectoryCommandError = async (output, context) => {
|
|
|
2416
2365
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2417
2366
|
default:
|
|
2418
2367
|
const parsedBody = parsedOutput.body;
|
|
2419
|
-
throwDefaultError({
|
|
2368
|
+
return throwDefaultError({
|
|
2420
2369
|
output,
|
|
2421
2370
|
parsedBody,
|
|
2422
|
-
exceptionCtor: __BaseException,
|
|
2423
2371
|
errorCode,
|
|
2424
2372
|
});
|
|
2425
2373
|
}
|
|
@@ -2470,10 +2418,9 @@ const de_DeleteFacetCommandError = async (output, context) => {
|
|
|
2470
2418
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2471
2419
|
default:
|
|
2472
2420
|
const parsedBody = parsedOutput.body;
|
|
2473
|
-
throwDefaultError({
|
|
2421
|
+
return throwDefaultError({
|
|
2474
2422
|
output,
|
|
2475
2423
|
parsedBody,
|
|
2476
|
-
exceptionCtor: __BaseException,
|
|
2477
2424
|
errorCode,
|
|
2478
2425
|
});
|
|
2479
2426
|
}
|
|
@@ -2524,10 +2471,9 @@ const de_DeleteObjectCommandError = async (output, context) => {
|
|
|
2524
2471
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2525
2472
|
default:
|
|
2526
2473
|
const parsedBody = parsedOutput.body;
|
|
2527
|
-
throwDefaultError({
|
|
2474
|
+
return throwDefaultError({
|
|
2528
2475
|
output,
|
|
2529
2476
|
parsedBody,
|
|
2530
|
-
exceptionCtor: __BaseException,
|
|
2531
2477
|
errorCode,
|
|
2532
2478
|
});
|
|
2533
2479
|
}
|
|
@@ -2540,9 +2486,10 @@ export const de_DeleteSchemaCommand = async (output, context) => {
|
|
|
2540
2486
|
$metadata: deserializeMetadata(output),
|
|
2541
2487
|
});
|
|
2542
2488
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2543
|
-
|
|
2544
|
-
|
|
2545
|
-
}
|
|
2489
|
+
const doc = take(data, {
|
|
2490
|
+
SchemaArn: __expectString,
|
|
2491
|
+
});
|
|
2492
|
+
Object.assign(contents, doc);
|
|
2546
2493
|
return contents;
|
|
2547
2494
|
};
|
|
2548
2495
|
const de_DeleteSchemaCommandError = async (output, context) => {
|
|
@@ -2578,10 +2525,9 @@ const de_DeleteSchemaCommandError = async (output, context) => {
|
|
|
2578
2525
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2579
2526
|
default:
|
|
2580
2527
|
const parsedBody = parsedOutput.body;
|
|
2581
|
-
throwDefaultError({
|
|
2528
|
+
return throwDefaultError({
|
|
2582
2529
|
output,
|
|
2583
2530
|
parsedBody,
|
|
2584
|
-
exceptionCtor: __BaseException,
|
|
2585
2531
|
errorCode,
|
|
2586
2532
|
});
|
|
2587
2533
|
}
|
|
@@ -2629,10 +2575,9 @@ const de_DeleteTypedLinkFacetCommandError = async (output, context) => {
|
|
|
2629
2575
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2630
2576
|
default:
|
|
2631
2577
|
const parsedBody = parsedOutput.body;
|
|
2632
|
-
throwDefaultError({
|
|
2578
|
+
return throwDefaultError({
|
|
2633
2579
|
output,
|
|
2634
2580
|
parsedBody,
|
|
2635
|
-
exceptionCtor: __BaseException,
|
|
2636
2581
|
errorCode,
|
|
2637
2582
|
});
|
|
2638
2583
|
}
|
|
@@ -2645,9 +2590,10 @@ export const de_DetachFromIndexCommand = async (output, context) => {
|
|
|
2645
2590
|
$metadata: deserializeMetadata(output),
|
|
2646
2591
|
});
|
|
2647
2592
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2648
|
-
|
|
2649
|
-
|
|
2650
|
-
}
|
|
2593
|
+
const doc = take(data, {
|
|
2594
|
+
DetachedObjectIdentifier: __expectString,
|
|
2595
|
+
});
|
|
2596
|
+
Object.assign(contents, doc);
|
|
2651
2597
|
return contents;
|
|
2652
2598
|
};
|
|
2653
2599
|
const de_DetachFromIndexCommandError = async (output, context) => {
|
|
@@ -2689,10 +2635,9 @@ const de_DetachFromIndexCommandError = async (output, context) => {
|
|
|
2689
2635
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2690
2636
|
default:
|
|
2691
2637
|
const parsedBody = parsedOutput.body;
|
|
2692
|
-
throwDefaultError({
|
|
2638
|
+
return throwDefaultError({
|
|
2693
2639
|
output,
|
|
2694
2640
|
parsedBody,
|
|
2695
|
-
exceptionCtor: __BaseException,
|
|
2696
2641
|
errorCode,
|
|
2697
2642
|
});
|
|
2698
2643
|
}
|
|
@@ -2705,9 +2650,10 @@ export const de_DetachObjectCommand = async (output, context) => {
|
|
|
2705
2650
|
$metadata: deserializeMetadata(output),
|
|
2706
2651
|
});
|
|
2707
2652
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2708
|
-
|
|
2709
|
-
|
|
2710
|
-
}
|
|
2653
|
+
const doc = take(data, {
|
|
2654
|
+
DetachedObjectIdentifier: __expectString,
|
|
2655
|
+
});
|
|
2656
|
+
Object.assign(contents, doc);
|
|
2711
2657
|
return contents;
|
|
2712
2658
|
};
|
|
2713
2659
|
const de_DetachObjectCommandError = async (output, context) => {
|
|
@@ -2746,10 +2692,9 @@ const de_DetachObjectCommandError = async (output, context) => {
|
|
|
2746
2692
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2747
2693
|
default:
|
|
2748
2694
|
const parsedBody = parsedOutput.body;
|
|
2749
|
-
throwDefaultError({
|
|
2695
|
+
return throwDefaultError({
|
|
2750
2696
|
output,
|
|
2751
2697
|
parsedBody,
|
|
2752
|
-
exceptionCtor: __BaseException,
|
|
2753
2698
|
errorCode,
|
|
2754
2699
|
});
|
|
2755
2700
|
}
|
|
@@ -2800,10 +2745,9 @@ const de_DetachPolicyCommandError = async (output, context) => {
|
|
|
2800
2745
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2801
2746
|
default:
|
|
2802
2747
|
const parsedBody = parsedOutput.body;
|
|
2803
|
-
throwDefaultError({
|
|
2748
|
+
return throwDefaultError({
|
|
2804
2749
|
output,
|
|
2805
2750
|
parsedBody,
|
|
2806
|
-
exceptionCtor: __BaseException,
|
|
2807
2751
|
errorCode,
|
|
2808
2752
|
});
|
|
2809
2753
|
}
|
|
@@ -2854,10 +2798,9 @@ const de_DetachTypedLinkCommandError = async (output, context) => {
|
|
|
2854
2798
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2855
2799
|
default:
|
|
2856
2800
|
const parsedBody = parsedOutput.body;
|
|
2857
|
-
throwDefaultError({
|
|
2801
|
+
return throwDefaultError({
|
|
2858
2802
|
output,
|
|
2859
2803
|
parsedBody,
|
|
2860
|
-
exceptionCtor: __BaseException,
|
|
2861
2804
|
errorCode,
|
|
2862
2805
|
});
|
|
2863
2806
|
}
|
|
@@ -2870,9 +2813,10 @@ export const de_DisableDirectoryCommand = async (output, context) => {
|
|
|
2870
2813
|
$metadata: deserializeMetadata(output),
|
|
2871
2814
|
});
|
|
2872
2815
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2873
|
-
|
|
2874
|
-
|
|
2875
|
-
}
|
|
2816
|
+
const doc = take(data, {
|
|
2817
|
+
DirectoryArn: __expectString,
|
|
2818
|
+
});
|
|
2819
|
+
Object.assign(contents, doc);
|
|
2876
2820
|
return contents;
|
|
2877
2821
|
};
|
|
2878
2822
|
const de_DisableDirectoryCommandError = async (output, context) => {
|
|
@@ -2908,10 +2852,9 @@ const de_DisableDirectoryCommandError = async (output, context) => {
|
|
|
2908
2852
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2909
2853
|
default:
|
|
2910
2854
|
const parsedBody = parsedOutput.body;
|
|
2911
|
-
throwDefaultError({
|
|
2855
|
+
return throwDefaultError({
|
|
2912
2856
|
output,
|
|
2913
2857
|
parsedBody,
|
|
2914
|
-
exceptionCtor: __BaseException,
|
|
2915
2858
|
errorCode,
|
|
2916
2859
|
});
|
|
2917
2860
|
}
|
|
@@ -2924,9 +2867,10 @@ export const de_EnableDirectoryCommand = async (output, context) => {
|
|
|
2924
2867
|
$metadata: deserializeMetadata(output),
|
|
2925
2868
|
});
|
|
2926
2869
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2927
|
-
|
|
2928
|
-
|
|
2929
|
-
}
|
|
2870
|
+
const doc = take(data, {
|
|
2871
|
+
DirectoryArn: __expectString,
|
|
2872
|
+
});
|
|
2873
|
+
Object.assign(contents, doc);
|
|
2930
2874
|
return contents;
|
|
2931
2875
|
};
|
|
2932
2876
|
const de_EnableDirectoryCommandError = async (output, context) => {
|
|
@@ -2962,10 +2906,9 @@ const de_EnableDirectoryCommandError = async (output, context) => {
|
|
|
2962
2906
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2963
2907
|
default:
|
|
2964
2908
|
const parsedBody = parsedOutput.body;
|
|
2965
|
-
throwDefaultError({
|
|
2909
|
+
return throwDefaultError({
|
|
2966
2910
|
output,
|
|
2967
2911
|
parsedBody,
|
|
2968
|
-
exceptionCtor: __BaseException,
|
|
2969
2912
|
errorCode,
|
|
2970
2913
|
});
|
|
2971
2914
|
}
|
|
@@ -2978,9 +2921,10 @@ export const de_GetAppliedSchemaVersionCommand = async (output, context) => {
|
|
|
2978
2921
|
$metadata: deserializeMetadata(output),
|
|
2979
2922
|
});
|
|
2980
2923
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2981
|
-
|
|
2982
|
-
|
|
2983
|
-
}
|
|
2924
|
+
const doc = take(data, {
|
|
2925
|
+
AppliedSchemaArn: __expectString,
|
|
2926
|
+
});
|
|
2927
|
+
Object.assign(contents, doc);
|
|
2984
2928
|
return contents;
|
|
2985
2929
|
};
|
|
2986
2930
|
const de_GetAppliedSchemaVersionCommandError = async (output, context) => {
|
|
@@ -3013,10 +2957,9 @@ const de_GetAppliedSchemaVersionCommandError = async (output, context) => {
|
|
|
3013
2957
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
3014
2958
|
default:
|
|
3015
2959
|
const parsedBody = parsedOutput.body;
|
|
3016
|
-
throwDefaultError({
|
|
2960
|
+
return throwDefaultError({
|
|
3017
2961
|
output,
|
|
3018
2962
|
parsedBody,
|
|
3019
|
-
exceptionCtor: __BaseException,
|
|
3020
2963
|
errorCode,
|
|
3021
2964
|
});
|
|
3022
2965
|
}
|
|
@@ -3029,9 +2972,10 @@ export const de_GetDirectoryCommand = async (output, context) => {
|
|
|
3029
2972
|
$metadata: deserializeMetadata(output),
|
|
3030
2973
|
});
|
|
3031
2974
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
3032
|
-
|
|
3033
|
-
|
|
3034
|
-
}
|
|
2975
|
+
const doc = take(data, {
|
|
2976
|
+
Directory: (_) => de_Directory(_, context),
|
|
2977
|
+
});
|
|
2978
|
+
Object.assign(contents, doc);
|
|
3035
2979
|
return contents;
|
|
3036
2980
|
};
|
|
3037
2981
|
const de_GetDirectoryCommandError = async (output, context) => {
|
|
@@ -3061,10 +3005,9 @@ const de_GetDirectoryCommandError = async (output, context) => {
|
|
|
3061
3005
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
3062
3006
|
default:
|
|
3063
3007
|
const parsedBody = parsedOutput.body;
|
|
3064
|
-
throwDefaultError({
|
|
3008
|
+
return throwDefaultError({
|
|
3065
3009
|
output,
|
|
3066
3010
|
parsedBody,
|
|
3067
|
-
exceptionCtor: __BaseException,
|
|
3068
3011
|
errorCode,
|
|
3069
3012
|
});
|
|
3070
3013
|
}
|
|
@@ -3077,9 +3020,10 @@ export const de_GetFacetCommand = async (output, context) => {
|
|
|
3077
3020
|
$metadata: deserializeMetadata(output),
|
|
3078
3021
|
});
|
|
3079
3022
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
3080
|
-
|
|
3081
|
-
|
|
3082
|
-
}
|
|
3023
|
+
const doc = take(data, {
|
|
3024
|
+
Facet: _json,
|
|
3025
|
+
});
|
|
3026
|
+
Object.assign(contents, doc);
|
|
3083
3027
|
return contents;
|
|
3084
3028
|
};
|
|
3085
3029
|
const de_GetFacetCommandError = async (output, context) => {
|
|
@@ -3115,10 +3059,9 @@ const de_GetFacetCommandError = async (output, context) => {
|
|
|
3115
3059
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
3116
3060
|
default:
|
|
3117
3061
|
const parsedBody = parsedOutput.body;
|
|
3118
|
-
throwDefaultError({
|
|
3062
|
+
return throwDefaultError({
|
|
3119
3063
|
output,
|
|
3120
3064
|
parsedBody,
|
|
3121
|
-
exceptionCtor: __BaseException,
|
|
3122
3065
|
errorCode,
|
|
3123
3066
|
});
|
|
3124
3067
|
}
|
|
@@ -3131,9 +3074,10 @@ export const de_GetLinkAttributesCommand = async (output, context) => {
|
|
|
3131
3074
|
$metadata: deserializeMetadata(output),
|
|
3132
3075
|
});
|
|
3133
3076
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
3134
|
-
|
|
3135
|
-
|
|
3136
|
-
}
|
|
3077
|
+
const doc = take(data, {
|
|
3078
|
+
Attributes: (_) => de_AttributeKeyAndValueList(_, context),
|
|
3079
|
+
});
|
|
3080
|
+
Object.assign(contents, doc);
|
|
3137
3081
|
return contents;
|
|
3138
3082
|
};
|
|
3139
3083
|
const de_GetLinkAttributesCommandError = async (output, context) => {
|
|
@@ -3172,10 +3116,9 @@ const de_GetLinkAttributesCommandError = async (output, context) => {
|
|
|
3172
3116
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
3173
3117
|
default:
|
|
3174
3118
|
const parsedBody = parsedOutput.body;
|
|
3175
|
-
throwDefaultError({
|
|
3119
|
+
return throwDefaultError({
|
|
3176
3120
|
output,
|
|
3177
3121
|
parsedBody,
|
|
3178
|
-
exceptionCtor: __BaseException,
|
|
3179
3122
|
errorCode,
|
|
3180
3123
|
});
|
|
3181
3124
|
}
|
|
@@ -3188,9 +3131,10 @@ export const de_GetObjectAttributesCommand = async (output, context) => {
|
|
|
3188
3131
|
$metadata: deserializeMetadata(output),
|
|
3189
3132
|
});
|
|
3190
3133
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
3191
|
-
|
|
3192
|
-
|
|
3193
|
-
}
|
|
3134
|
+
const doc = take(data, {
|
|
3135
|
+
Attributes: (_) => de_AttributeKeyAndValueList(_, context),
|
|
3136
|
+
});
|
|
3137
|
+
Object.assign(contents, doc);
|
|
3194
3138
|
return contents;
|
|
3195
3139
|
};
|
|
3196
3140
|
const de_GetObjectAttributesCommandError = async (output, context) => {
|
|
@@ -3229,10 +3173,9 @@ const de_GetObjectAttributesCommandError = async (output, context) => {
|
|
|
3229
3173
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
3230
3174
|
default:
|
|
3231
3175
|
const parsedBody = parsedOutput.body;
|
|
3232
|
-
throwDefaultError({
|
|
3176
|
+
return throwDefaultError({
|
|
3233
3177
|
output,
|
|
3234
3178
|
parsedBody,
|
|
3235
|
-
exceptionCtor: __BaseException,
|
|
3236
3179
|
errorCode,
|
|
3237
3180
|
});
|
|
3238
3181
|
}
|
|
@@ -3245,12 +3188,11 @@ export const de_GetObjectInformationCommand = async (output, context) => {
|
|
|
3245
3188
|
$metadata: deserializeMetadata(output),
|
|
3246
3189
|
});
|
|
3247
3190
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
3248
|
-
|
|
3249
|
-
|
|
3250
|
-
|
|
3251
|
-
|
|
3252
|
-
|
|
3253
|
-
}
|
|
3191
|
+
const doc = take(data, {
|
|
3192
|
+
ObjectIdentifier: __expectString,
|
|
3193
|
+
SchemaFacets: _json,
|
|
3194
|
+
});
|
|
3195
|
+
Object.assign(contents, doc);
|
|
3254
3196
|
return contents;
|
|
3255
3197
|
};
|
|
3256
3198
|
const de_GetObjectInformationCommandError = async (output, context) => {
|
|
@@ -3286,10 +3228,9 @@ const de_GetObjectInformationCommandError = async (output, context) => {
|
|
|
3286
3228
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
3287
3229
|
default:
|
|
3288
3230
|
const parsedBody = parsedOutput.body;
|
|
3289
|
-
throwDefaultError({
|
|
3231
|
+
return throwDefaultError({
|
|
3290
3232
|
output,
|
|
3291
3233
|
parsedBody,
|
|
3292
|
-
exceptionCtor: __BaseException,
|
|
3293
3234
|
errorCode,
|
|
3294
3235
|
});
|
|
3295
3236
|
}
|
|
@@ -3302,12 +3243,11 @@ export const de_GetSchemaAsJsonCommand = async (output, context) => {
|
|
|
3302
3243
|
$metadata: deserializeMetadata(output),
|
|
3303
3244
|
});
|
|
3304
3245
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
3305
|
-
|
|
3306
|
-
|
|
3307
|
-
|
|
3308
|
-
|
|
3309
|
-
|
|
3310
|
-
}
|
|
3246
|
+
const doc = take(data, {
|
|
3247
|
+
Document: __expectString,
|
|
3248
|
+
Name: __expectString,
|
|
3249
|
+
});
|
|
3250
|
+
Object.assign(contents, doc);
|
|
3311
3251
|
return contents;
|
|
3312
3252
|
};
|
|
3313
3253
|
const de_GetSchemaAsJsonCommandError = async (output, context) => {
|
|
@@ -3340,10 +3280,9 @@ const de_GetSchemaAsJsonCommandError = async (output, context) => {
|
|
|
3340
3280
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
3341
3281
|
default:
|
|
3342
3282
|
const parsedBody = parsedOutput.body;
|
|
3343
|
-
throwDefaultError({
|
|
3283
|
+
return throwDefaultError({
|
|
3344
3284
|
output,
|
|
3345
3285
|
parsedBody,
|
|
3346
|
-
exceptionCtor: __BaseException,
|
|
3347
3286
|
errorCode,
|
|
3348
3287
|
});
|
|
3349
3288
|
}
|
|
@@ -3356,9 +3295,10 @@ export const de_GetTypedLinkFacetInformationCommand = async (output, context) =>
|
|
|
3356
3295
|
$metadata: deserializeMetadata(output),
|
|
3357
3296
|
});
|
|
3358
3297
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
3359
|
-
|
|
3360
|
-
|
|
3361
|
-
}
|
|
3298
|
+
const doc = take(data, {
|
|
3299
|
+
IdentityAttributeOrder: _json,
|
|
3300
|
+
});
|
|
3301
|
+
Object.assign(contents, doc);
|
|
3362
3302
|
return contents;
|
|
3363
3303
|
};
|
|
3364
3304
|
const de_GetTypedLinkFacetInformationCommandError = async (output, context) => {
|
|
@@ -3397,10 +3337,9 @@ const de_GetTypedLinkFacetInformationCommandError = async (output, context) => {
|
|
|
3397
3337
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
3398
3338
|
default:
|
|
3399
3339
|
const parsedBody = parsedOutput.body;
|
|
3400
|
-
throwDefaultError({
|
|
3340
|
+
return throwDefaultError({
|
|
3401
3341
|
output,
|
|
3402
3342
|
parsedBody,
|
|
3403
|
-
exceptionCtor: __BaseException,
|
|
3404
3343
|
errorCode,
|
|
3405
3344
|
});
|
|
3406
3345
|
}
|
|
@@ -3413,12 +3352,11 @@ export const de_ListAppliedSchemaArnsCommand = async (output, context) => {
|
|
|
3413
3352
|
$metadata: deserializeMetadata(output),
|
|
3414
3353
|
});
|
|
3415
3354
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
3416
|
-
|
|
3417
|
-
|
|
3418
|
-
|
|
3419
|
-
|
|
3420
|
-
|
|
3421
|
-
}
|
|
3355
|
+
const doc = take(data, {
|
|
3356
|
+
NextToken: __expectString,
|
|
3357
|
+
SchemaArns: _json,
|
|
3358
|
+
});
|
|
3359
|
+
Object.assign(contents, doc);
|
|
3422
3360
|
return contents;
|
|
3423
3361
|
};
|
|
3424
3362
|
const de_ListAppliedSchemaArnsCommandError = async (output, context) => {
|
|
@@ -3454,10 +3392,9 @@ const de_ListAppliedSchemaArnsCommandError = async (output, context) => {
|
|
|
3454
3392
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
3455
3393
|
default:
|
|
3456
3394
|
const parsedBody = parsedOutput.body;
|
|
3457
|
-
throwDefaultError({
|
|
3395
|
+
return throwDefaultError({
|
|
3458
3396
|
output,
|
|
3459
3397
|
parsedBody,
|
|
3460
|
-
exceptionCtor: __BaseException,
|
|
3461
3398
|
errorCode,
|
|
3462
3399
|
});
|
|
3463
3400
|
}
|
|
@@ -3470,12 +3407,11 @@ export const de_ListAttachedIndicesCommand = async (output, context) => {
|
|
|
3470
3407
|
$metadata: deserializeMetadata(output),
|
|
3471
3408
|
});
|
|
3472
3409
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
3473
|
-
|
|
3474
|
-
|
|
3475
|
-
|
|
3476
|
-
|
|
3477
|
-
|
|
3478
|
-
}
|
|
3410
|
+
const doc = take(data, {
|
|
3411
|
+
IndexAttachments: (_) => de_IndexAttachmentList(_, context),
|
|
3412
|
+
NextToken: __expectString,
|
|
3413
|
+
});
|
|
3414
|
+
Object.assign(contents, doc);
|
|
3479
3415
|
return contents;
|
|
3480
3416
|
};
|
|
3481
3417
|
const de_ListAttachedIndicesCommandError = async (output, context) => {
|
|
@@ -3511,10 +3447,9 @@ const de_ListAttachedIndicesCommandError = async (output, context) => {
|
|
|
3511
3447
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
3512
3448
|
default:
|
|
3513
3449
|
const parsedBody = parsedOutput.body;
|
|
3514
|
-
throwDefaultError({
|
|
3450
|
+
return throwDefaultError({
|
|
3515
3451
|
output,
|
|
3516
3452
|
parsedBody,
|
|
3517
|
-
exceptionCtor: __BaseException,
|
|
3518
3453
|
errorCode,
|
|
3519
3454
|
});
|
|
3520
3455
|
}
|
|
@@ -3527,12 +3462,11 @@ export const de_ListDevelopmentSchemaArnsCommand = async (output, context) => {
|
|
|
3527
3462
|
$metadata: deserializeMetadata(output),
|
|
3528
3463
|
});
|
|
3529
3464
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
3530
|
-
|
|
3531
|
-
|
|
3532
|
-
|
|
3533
|
-
|
|
3534
|
-
|
|
3535
|
-
}
|
|
3465
|
+
const doc = take(data, {
|
|
3466
|
+
NextToken: __expectString,
|
|
3467
|
+
SchemaArns: _json,
|
|
3468
|
+
});
|
|
3469
|
+
Object.assign(contents, doc);
|
|
3536
3470
|
return contents;
|
|
3537
3471
|
};
|
|
3538
3472
|
const de_ListDevelopmentSchemaArnsCommandError = async (output, context) => {
|
|
@@ -3568,10 +3502,9 @@ const de_ListDevelopmentSchemaArnsCommandError = async (output, context) => {
|
|
|
3568
3502
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
3569
3503
|
default:
|
|
3570
3504
|
const parsedBody = parsedOutput.body;
|
|
3571
|
-
throwDefaultError({
|
|
3505
|
+
return throwDefaultError({
|
|
3572
3506
|
output,
|
|
3573
3507
|
parsedBody,
|
|
3574
|
-
exceptionCtor: __BaseException,
|
|
3575
3508
|
errorCode,
|
|
3576
3509
|
});
|
|
3577
3510
|
}
|
|
@@ -3584,12 +3517,11 @@ export const de_ListDirectoriesCommand = async (output, context) => {
|
|
|
3584
3517
|
$metadata: deserializeMetadata(output),
|
|
3585
3518
|
});
|
|
3586
3519
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
3587
|
-
|
|
3588
|
-
|
|
3589
|
-
|
|
3590
|
-
|
|
3591
|
-
|
|
3592
|
-
}
|
|
3520
|
+
const doc = take(data, {
|
|
3521
|
+
Directories: (_) => de_DirectoryList(_, context),
|
|
3522
|
+
NextToken: __expectString,
|
|
3523
|
+
});
|
|
3524
|
+
Object.assign(contents, doc);
|
|
3593
3525
|
return contents;
|
|
3594
3526
|
};
|
|
3595
3527
|
const de_ListDirectoriesCommandError = async (output, context) => {
|
|
@@ -3622,10 +3554,9 @@ const de_ListDirectoriesCommandError = async (output, context) => {
|
|
|
3622
3554
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
3623
3555
|
default:
|
|
3624
3556
|
const parsedBody = parsedOutput.body;
|
|
3625
|
-
throwDefaultError({
|
|
3557
|
+
return throwDefaultError({
|
|
3626
3558
|
output,
|
|
3627
3559
|
parsedBody,
|
|
3628
|
-
exceptionCtor: __BaseException,
|
|
3629
3560
|
errorCode,
|
|
3630
3561
|
});
|
|
3631
3562
|
}
|
|
@@ -3638,12 +3569,11 @@ export const de_ListFacetAttributesCommand = async (output, context) => {
|
|
|
3638
3569
|
$metadata: deserializeMetadata(output),
|
|
3639
3570
|
});
|
|
3640
3571
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
3641
|
-
|
|
3642
|
-
|
|
3643
|
-
|
|
3644
|
-
|
|
3645
|
-
|
|
3646
|
-
}
|
|
3572
|
+
const doc = take(data, {
|
|
3573
|
+
Attributes: (_) => de_FacetAttributeList(_, context),
|
|
3574
|
+
NextToken: __expectString,
|
|
3575
|
+
});
|
|
3576
|
+
Object.assign(contents, doc);
|
|
3647
3577
|
return contents;
|
|
3648
3578
|
};
|
|
3649
3579
|
const de_ListFacetAttributesCommandError = async (output, context) => {
|
|
@@ -3682,10 +3612,9 @@ const de_ListFacetAttributesCommandError = async (output, context) => {
|
|
|
3682
3612
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
3683
3613
|
default:
|
|
3684
3614
|
const parsedBody = parsedOutput.body;
|
|
3685
|
-
throwDefaultError({
|
|
3615
|
+
return throwDefaultError({
|
|
3686
3616
|
output,
|
|
3687
3617
|
parsedBody,
|
|
3688
|
-
exceptionCtor: __BaseException,
|
|
3689
3618
|
errorCode,
|
|
3690
3619
|
});
|
|
3691
3620
|
}
|
|
@@ -3698,12 +3627,11 @@ export const de_ListFacetNamesCommand = async (output, context) => {
|
|
|
3698
3627
|
$metadata: deserializeMetadata(output),
|
|
3699
3628
|
});
|
|
3700
3629
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
3701
|
-
|
|
3702
|
-
|
|
3703
|
-
|
|
3704
|
-
|
|
3705
|
-
|
|
3706
|
-
}
|
|
3630
|
+
const doc = take(data, {
|
|
3631
|
+
FacetNames: _json,
|
|
3632
|
+
NextToken: __expectString,
|
|
3633
|
+
});
|
|
3634
|
+
Object.assign(contents, doc);
|
|
3707
3635
|
return contents;
|
|
3708
3636
|
};
|
|
3709
3637
|
const de_ListFacetNamesCommandError = async (output, context) => {
|
|
@@ -3739,10 +3667,9 @@ const de_ListFacetNamesCommandError = async (output, context) => {
|
|
|
3739
3667
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
3740
3668
|
default:
|
|
3741
3669
|
const parsedBody = parsedOutput.body;
|
|
3742
|
-
throwDefaultError({
|
|
3670
|
+
return throwDefaultError({
|
|
3743
3671
|
output,
|
|
3744
3672
|
parsedBody,
|
|
3745
|
-
exceptionCtor: __BaseException,
|
|
3746
3673
|
errorCode,
|
|
3747
3674
|
});
|
|
3748
3675
|
}
|
|
@@ -3755,12 +3682,11 @@ export const de_ListIncomingTypedLinksCommand = async (output, context) => {
|
|
|
3755
3682
|
$metadata: deserializeMetadata(output),
|
|
3756
3683
|
});
|
|
3757
3684
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
3758
|
-
|
|
3759
|
-
|
|
3760
|
-
|
|
3761
|
-
|
|
3762
|
-
|
|
3763
|
-
}
|
|
3685
|
+
const doc = take(data, {
|
|
3686
|
+
LinkSpecifiers: (_) => de_TypedLinkSpecifierList(_, context),
|
|
3687
|
+
NextToken: __expectString,
|
|
3688
|
+
});
|
|
3689
|
+
Object.assign(contents, doc);
|
|
3764
3690
|
return contents;
|
|
3765
3691
|
};
|
|
3766
3692
|
const de_ListIncomingTypedLinksCommandError = async (output, context) => {
|
|
@@ -3802,10 +3728,9 @@ const de_ListIncomingTypedLinksCommandError = async (output, context) => {
|
|
|
3802
3728
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
3803
3729
|
default:
|
|
3804
3730
|
const parsedBody = parsedOutput.body;
|
|
3805
|
-
throwDefaultError({
|
|
3731
|
+
return throwDefaultError({
|
|
3806
3732
|
output,
|
|
3807
3733
|
parsedBody,
|
|
3808
|
-
exceptionCtor: __BaseException,
|
|
3809
3734
|
errorCode,
|
|
3810
3735
|
});
|
|
3811
3736
|
}
|
|
@@ -3818,12 +3743,11 @@ export const de_ListIndexCommand = async (output, context) => {
|
|
|
3818
3743
|
$metadata: deserializeMetadata(output),
|
|
3819
3744
|
});
|
|
3820
3745
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
3821
|
-
|
|
3822
|
-
|
|
3823
|
-
|
|
3824
|
-
|
|
3825
|
-
|
|
3826
|
-
}
|
|
3746
|
+
const doc = take(data, {
|
|
3747
|
+
IndexAttachments: (_) => de_IndexAttachmentList(_, context),
|
|
3748
|
+
NextToken: __expectString,
|
|
3749
|
+
});
|
|
3750
|
+
Object.assign(contents, doc);
|
|
3827
3751
|
return contents;
|
|
3828
3752
|
};
|
|
3829
3753
|
const de_ListIndexCommandError = async (output, context) => {
|
|
@@ -3868,10 +3792,9 @@ const de_ListIndexCommandError = async (output, context) => {
|
|
|
3868
3792
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
3869
3793
|
default:
|
|
3870
3794
|
const parsedBody = parsedOutput.body;
|
|
3871
|
-
throwDefaultError({
|
|
3795
|
+
return throwDefaultError({
|
|
3872
3796
|
output,
|
|
3873
3797
|
parsedBody,
|
|
3874
|
-
exceptionCtor: __BaseException,
|
|
3875
3798
|
errorCode,
|
|
3876
3799
|
});
|
|
3877
3800
|
}
|
|
@@ -3884,12 +3807,11 @@ export const de_ListManagedSchemaArnsCommand = async (output, context) => {
|
|
|
3884
3807
|
$metadata: deserializeMetadata(output),
|
|
3885
3808
|
});
|
|
3886
3809
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
3887
|
-
|
|
3888
|
-
|
|
3889
|
-
|
|
3890
|
-
|
|
3891
|
-
|
|
3892
|
-
}
|
|
3810
|
+
const doc = take(data, {
|
|
3811
|
+
NextToken: __expectString,
|
|
3812
|
+
SchemaArns: _json,
|
|
3813
|
+
});
|
|
3814
|
+
Object.assign(contents, doc);
|
|
3893
3815
|
return contents;
|
|
3894
3816
|
};
|
|
3895
3817
|
const de_ListManagedSchemaArnsCommandError = async (output, context) => {
|
|
@@ -3919,10 +3841,9 @@ const de_ListManagedSchemaArnsCommandError = async (output, context) => {
|
|
|
3919
3841
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
3920
3842
|
default:
|
|
3921
3843
|
const parsedBody = parsedOutput.body;
|
|
3922
|
-
throwDefaultError({
|
|
3844
|
+
return throwDefaultError({
|
|
3923
3845
|
output,
|
|
3924
3846
|
parsedBody,
|
|
3925
|
-
exceptionCtor: __BaseException,
|
|
3926
3847
|
errorCode,
|
|
3927
3848
|
});
|
|
3928
3849
|
}
|
|
@@ -3935,12 +3856,11 @@ export const de_ListObjectAttributesCommand = async (output, context) => {
|
|
|
3935
3856
|
$metadata: deserializeMetadata(output),
|
|
3936
3857
|
});
|
|
3937
3858
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
3938
|
-
|
|
3939
|
-
|
|
3940
|
-
|
|
3941
|
-
|
|
3942
|
-
|
|
3943
|
-
}
|
|
3859
|
+
const doc = take(data, {
|
|
3860
|
+
Attributes: (_) => de_AttributeKeyAndValueList(_, context),
|
|
3861
|
+
NextToken: __expectString,
|
|
3862
|
+
});
|
|
3863
|
+
Object.assign(contents, doc);
|
|
3944
3864
|
return contents;
|
|
3945
3865
|
};
|
|
3946
3866
|
const de_ListObjectAttributesCommandError = async (output, context) => {
|
|
@@ -3982,10 +3902,9 @@ const de_ListObjectAttributesCommandError = async (output, context) => {
|
|
|
3982
3902
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
3983
3903
|
default:
|
|
3984
3904
|
const parsedBody = parsedOutput.body;
|
|
3985
|
-
throwDefaultError({
|
|
3905
|
+
return throwDefaultError({
|
|
3986
3906
|
output,
|
|
3987
3907
|
parsedBody,
|
|
3988
|
-
exceptionCtor: __BaseException,
|
|
3989
3908
|
errorCode,
|
|
3990
3909
|
});
|
|
3991
3910
|
}
|
|
@@ -3998,12 +3917,11 @@ export const de_ListObjectChildrenCommand = async (output, context) => {
|
|
|
3998
3917
|
$metadata: deserializeMetadata(output),
|
|
3999
3918
|
});
|
|
4000
3919
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
4001
|
-
|
|
4002
|
-
|
|
4003
|
-
|
|
4004
|
-
|
|
4005
|
-
|
|
4006
|
-
}
|
|
3920
|
+
const doc = take(data, {
|
|
3921
|
+
Children: _json,
|
|
3922
|
+
NextToken: __expectString,
|
|
3923
|
+
});
|
|
3924
|
+
Object.assign(contents, doc);
|
|
4007
3925
|
return contents;
|
|
4008
3926
|
};
|
|
4009
3927
|
const de_ListObjectChildrenCommandError = async (output, context) => {
|
|
@@ -4045,10 +3963,9 @@ const de_ListObjectChildrenCommandError = async (output, context) => {
|
|
|
4045
3963
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
4046
3964
|
default:
|
|
4047
3965
|
const parsedBody = parsedOutput.body;
|
|
4048
|
-
throwDefaultError({
|
|
3966
|
+
return throwDefaultError({
|
|
4049
3967
|
output,
|
|
4050
3968
|
parsedBody,
|
|
4051
|
-
exceptionCtor: __BaseException,
|
|
4052
3969
|
errorCode,
|
|
4053
3970
|
});
|
|
4054
3971
|
}
|
|
@@ -4061,12 +3978,11 @@ export const de_ListObjectParentPathsCommand = async (output, context) => {
|
|
|
4061
3978
|
$metadata: deserializeMetadata(output),
|
|
4062
3979
|
});
|
|
4063
3980
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
4064
|
-
|
|
4065
|
-
|
|
4066
|
-
|
|
4067
|
-
|
|
4068
|
-
|
|
4069
|
-
}
|
|
3981
|
+
const doc = take(data, {
|
|
3982
|
+
NextToken: __expectString,
|
|
3983
|
+
PathToObjectIdentifiersList: _json,
|
|
3984
|
+
});
|
|
3985
|
+
Object.assign(contents, doc);
|
|
4070
3986
|
return contents;
|
|
4071
3987
|
};
|
|
4072
3988
|
const de_ListObjectParentPathsCommandError = async (output, context) => {
|
|
@@ -4105,10 +4021,9 @@ const de_ListObjectParentPathsCommandError = async (output, context) => {
|
|
|
4105
4021
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
4106
4022
|
default:
|
|
4107
4023
|
const parsedBody = parsedOutput.body;
|
|
4108
|
-
throwDefaultError({
|
|
4024
|
+
return throwDefaultError({
|
|
4109
4025
|
output,
|
|
4110
4026
|
parsedBody,
|
|
4111
|
-
exceptionCtor: __BaseException,
|
|
4112
4027
|
errorCode,
|
|
4113
4028
|
});
|
|
4114
4029
|
}
|
|
@@ -4121,15 +4036,12 @@ export const de_ListObjectParentsCommand = async (output, context) => {
|
|
|
4121
4036
|
$metadata: deserializeMetadata(output),
|
|
4122
4037
|
});
|
|
4123
4038
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
4124
|
-
|
|
4125
|
-
|
|
4126
|
-
|
|
4127
|
-
|
|
4128
|
-
|
|
4129
|
-
|
|
4130
|
-
if (data.Parents != null) {
|
|
4131
|
-
contents.Parents = de_ObjectIdentifierToLinkNameMap(data.Parents, context);
|
|
4132
|
-
}
|
|
4039
|
+
const doc = take(data, {
|
|
4040
|
+
NextToken: __expectString,
|
|
4041
|
+
ParentLinks: _json,
|
|
4042
|
+
Parents: _json,
|
|
4043
|
+
});
|
|
4044
|
+
Object.assign(contents, doc);
|
|
4133
4045
|
return contents;
|
|
4134
4046
|
};
|
|
4135
4047
|
const de_ListObjectParentsCommandError = async (output, context) => {
|
|
@@ -4171,10 +4083,9 @@ const de_ListObjectParentsCommandError = async (output, context) => {
|
|
|
4171
4083
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
4172
4084
|
default:
|
|
4173
4085
|
const parsedBody = parsedOutput.body;
|
|
4174
|
-
throwDefaultError({
|
|
4086
|
+
return throwDefaultError({
|
|
4175
4087
|
output,
|
|
4176
4088
|
parsedBody,
|
|
4177
|
-
exceptionCtor: __BaseException,
|
|
4178
4089
|
errorCode,
|
|
4179
4090
|
});
|
|
4180
4091
|
}
|
|
@@ -4187,12 +4098,11 @@ export const de_ListObjectPoliciesCommand = async (output, context) => {
|
|
|
4187
4098
|
$metadata: deserializeMetadata(output),
|
|
4188
4099
|
});
|
|
4189
4100
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
4190
|
-
|
|
4191
|
-
|
|
4192
|
-
|
|
4193
|
-
|
|
4194
|
-
|
|
4195
|
-
}
|
|
4101
|
+
const doc = take(data, {
|
|
4102
|
+
AttachedPolicyIds: _json,
|
|
4103
|
+
NextToken: __expectString,
|
|
4104
|
+
});
|
|
4105
|
+
Object.assign(contents, doc);
|
|
4196
4106
|
return contents;
|
|
4197
4107
|
};
|
|
4198
4108
|
const de_ListObjectPoliciesCommandError = async (output, context) => {
|
|
@@ -4231,10 +4141,9 @@ const de_ListObjectPoliciesCommandError = async (output, context) => {
|
|
|
4231
4141
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
4232
4142
|
default:
|
|
4233
4143
|
const parsedBody = parsedOutput.body;
|
|
4234
|
-
throwDefaultError({
|
|
4144
|
+
return throwDefaultError({
|
|
4235
4145
|
output,
|
|
4236
4146
|
parsedBody,
|
|
4237
|
-
exceptionCtor: __BaseException,
|
|
4238
4147
|
errorCode,
|
|
4239
4148
|
});
|
|
4240
4149
|
}
|
|
@@ -4247,12 +4156,11 @@ export const de_ListOutgoingTypedLinksCommand = async (output, context) => {
|
|
|
4247
4156
|
$metadata: deserializeMetadata(output),
|
|
4248
4157
|
});
|
|
4249
4158
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
4250
|
-
|
|
4251
|
-
|
|
4252
|
-
|
|
4253
|
-
|
|
4254
|
-
|
|
4255
|
-
}
|
|
4159
|
+
const doc = take(data, {
|
|
4160
|
+
NextToken: __expectString,
|
|
4161
|
+
TypedLinkSpecifiers: (_) => de_TypedLinkSpecifierList(_, context),
|
|
4162
|
+
});
|
|
4163
|
+
Object.assign(contents, doc);
|
|
4256
4164
|
return contents;
|
|
4257
4165
|
};
|
|
4258
4166
|
const de_ListOutgoingTypedLinksCommandError = async (output, context) => {
|
|
@@ -4294,10 +4202,9 @@ const de_ListOutgoingTypedLinksCommandError = async (output, context) => {
|
|
|
4294
4202
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
4295
4203
|
default:
|
|
4296
4204
|
const parsedBody = parsedOutput.body;
|
|
4297
|
-
throwDefaultError({
|
|
4205
|
+
return throwDefaultError({
|
|
4298
4206
|
output,
|
|
4299
4207
|
parsedBody,
|
|
4300
|
-
exceptionCtor: __BaseException,
|
|
4301
4208
|
errorCode,
|
|
4302
4209
|
});
|
|
4303
4210
|
}
|
|
@@ -4310,12 +4217,11 @@ export const de_ListPolicyAttachmentsCommand = async (output, context) => {
|
|
|
4310
4217
|
$metadata: deserializeMetadata(output),
|
|
4311
4218
|
});
|
|
4312
4219
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
4313
|
-
|
|
4314
|
-
|
|
4315
|
-
|
|
4316
|
-
|
|
4317
|
-
|
|
4318
|
-
}
|
|
4220
|
+
const doc = take(data, {
|
|
4221
|
+
NextToken: __expectString,
|
|
4222
|
+
ObjectIdentifiers: _json,
|
|
4223
|
+
});
|
|
4224
|
+
Object.assign(contents, doc);
|
|
4319
4225
|
return contents;
|
|
4320
4226
|
};
|
|
4321
4227
|
const de_ListPolicyAttachmentsCommandError = async (output, context) => {
|
|
@@ -4357,10 +4263,9 @@ const de_ListPolicyAttachmentsCommandError = async (output, context) => {
|
|
|
4357
4263
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
4358
4264
|
default:
|
|
4359
4265
|
const parsedBody = parsedOutput.body;
|
|
4360
|
-
throwDefaultError({
|
|
4266
|
+
return throwDefaultError({
|
|
4361
4267
|
output,
|
|
4362
4268
|
parsedBody,
|
|
4363
|
-
exceptionCtor: __BaseException,
|
|
4364
4269
|
errorCode,
|
|
4365
4270
|
});
|
|
4366
4271
|
}
|
|
@@ -4373,12 +4278,11 @@ export const de_ListPublishedSchemaArnsCommand = async (output, context) => {
|
|
|
4373
4278
|
$metadata: deserializeMetadata(output),
|
|
4374
4279
|
});
|
|
4375
4280
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
4376
|
-
|
|
4377
|
-
|
|
4378
|
-
|
|
4379
|
-
|
|
4380
|
-
|
|
4381
|
-
}
|
|
4281
|
+
const doc = take(data, {
|
|
4282
|
+
NextToken: __expectString,
|
|
4283
|
+
SchemaArns: _json,
|
|
4284
|
+
});
|
|
4285
|
+
Object.assign(contents, doc);
|
|
4382
4286
|
return contents;
|
|
4383
4287
|
};
|
|
4384
4288
|
const de_ListPublishedSchemaArnsCommandError = async (output, context) => {
|
|
@@ -4414,10 +4318,9 @@ const de_ListPublishedSchemaArnsCommandError = async (output, context) => {
|
|
|
4414
4318
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
4415
4319
|
default:
|
|
4416
4320
|
const parsedBody = parsedOutput.body;
|
|
4417
|
-
throwDefaultError({
|
|
4321
|
+
return throwDefaultError({
|
|
4418
4322
|
output,
|
|
4419
4323
|
parsedBody,
|
|
4420
|
-
exceptionCtor: __BaseException,
|
|
4421
4324
|
errorCode,
|
|
4422
4325
|
});
|
|
4423
4326
|
}
|
|
@@ -4430,12 +4333,11 @@ export const de_ListTagsForResourceCommand = async (output, context) => {
|
|
|
4430
4333
|
$metadata: deserializeMetadata(output),
|
|
4431
4334
|
});
|
|
4432
4335
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
4433
|
-
|
|
4434
|
-
|
|
4435
|
-
|
|
4436
|
-
|
|
4437
|
-
|
|
4438
|
-
}
|
|
4336
|
+
const doc = take(data, {
|
|
4337
|
+
NextToken: __expectString,
|
|
4338
|
+
Tags: _json,
|
|
4339
|
+
});
|
|
4340
|
+
Object.assign(contents, doc);
|
|
4439
4341
|
return contents;
|
|
4440
4342
|
};
|
|
4441
4343
|
const de_ListTagsForResourceCommandError = async (output, context) => {
|
|
@@ -4471,10 +4373,9 @@ const de_ListTagsForResourceCommandError = async (output, context) => {
|
|
|
4471
4373
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
4472
4374
|
default:
|
|
4473
4375
|
const parsedBody = parsedOutput.body;
|
|
4474
|
-
throwDefaultError({
|
|
4376
|
+
return throwDefaultError({
|
|
4475
4377
|
output,
|
|
4476
4378
|
parsedBody,
|
|
4477
|
-
exceptionCtor: __BaseException,
|
|
4478
4379
|
errorCode,
|
|
4479
4380
|
});
|
|
4480
4381
|
}
|
|
@@ -4487,12 +4388,11 @@ export const de_ListTypedLinkFacetAttributesCommand = async (output, context) =>
|
|
|
4487
4388
|
$metadata: deserializeMetadata(output),
|
|
4488
4389
|
});
|
|
4489
4390
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
4490
|
-
|
|
4491
|
-
|
|
4492
|
-
|
|
4493
|
-
|
|
4494
|
-
|
|
4495
|
-
}
|
|
4391
|
+
const doc = take(data, {
|
|
4392
|
+
Attributes: (_) => de_TypedLinkAttributeDefinitionList(_, context),
|
|
4393
|
+
NextToken: __expectString,
|
|
4394
|
+
});
|
|
4395
|
+
Object.assign(contents, doc);
|
|
4496
4396
|
return contents;
|
|
4497
4397
|
};
|
|
4498
4398
|
const de_ListTypedLinkFacetAttributesCommandError = async (output, context) => {
|
|
@@ -4531,10 +4431,9 @@ const de_ListTypedLinkFacetAttributesCommandError = async (output, context) => {
|
|
|
4531
4431
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
4532
4432
|
default:
|
|
4533
4433
|
const parsedBody = parsedOutput.body;
|
|
4534
|
-
throwDefaultError({
|
|
4434
|
+
return throwDefaultError({
|
|
4535
4435
|
output,
|
|
4536
4436
|
parsedBody,
|
|
4537
|
-
exceptionCtor: __BaseException,
|
|
4538
4437
|
errorCode,
|
|
4539
4438
|
});
|
|
4540
4439
|
}
|
|
@@ -4547,12 +4446,11 @@ export const de_ListTypedLinkFacetNamesCommand = async (output, context) => {
|
|
|
4547
4446
|
$metadata: deserializeMetadata(output),
|
|
4548
4447
|
});
|
|
4549
4448
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
4550
|
-
|
|
4551
|
-
|
|
4552
|
-
|
|
4553
|
-
|
|
4554
|
-
|
|
4555
|
-
}
|
|
4449
|
+
const doc = take(data, {
|
|
4450
|
+
FacetNames: _json,
|
|
4451
|
+
NextToken: __expectString,
|
|
4452
|
+
});
|
|
4453
|
+
Object.assign(contents, doc);
|
|
4556
4454
|
return contents;
|
|
4557
4455
|
};
|
|
4558
4456
|
const de_ListTypedLinkFacetNamesCommandError = async (output, context) => {
|
|
@@ -4588,10 +4486,9 @@ const de_ListTypedLinkFacetNamesCommandError = async (output, context) => {
|
|
|
4588
4486
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
4589
4487
|
default:
|
|
4590
4488
|
const parsedBody = parsedOutput.body;
|
|
4591
|
-
throwDefaultError({
|
|
4489
|
+
return throwDefaultError({
|
|
4592
4490
|
output,
|
|
4593
4491
|
parsedBody,
|
|
4594
|
-
exceptionCtor: __BaseException,
|
|
4595
4492
|
errorCode,
|
|
4596
4493
|
});
|
|
4597
4494
|
}
|
|
@@ -4604,12 +4501,11 @@ export const de_LookupPolicyCommand = async (output, context) => {
|
|
|
4604
4501
|
$metadata: deserializeMetadata(output),
|
|
4605
4502
|
});
|
|
4606
4503
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
4607
|
-
|
|
4608
|
-
|
|
4609
|
-
|
|
4610
|
-
|
|
4611
|
-
|
|
4612
|
-
}
|
|
4504
|
+
const doc = take(data, {
|
|
4505
|
+
NextToken: __expectString,
|
|
4506
|
+
PolicyToPathList: _json,
|
|
4507
|
+
});
|
|
4508
|
+
Object.assign(contents, doc);
|
|
4613
4509
|
return contents;
|
|
4614
4510
|
};
|
|
4615
4511
|
const de_LookupPolicyCommandError = async (output, context) => {
|
|
@@ -4648,10 +4544,9 @@ const de_LookupPolicyCommandError = async (output, context) => {
|
|
|
4648
4544
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
4649
4545
|
default:
|
|
4650
4546
|
const parsedBody = parsedOutput.body;
|
|
4651
|
-
throwDefaultError({
|
|
4547
|
+
return throwDefaultError({
|
|
4652
4548
|
output,
|
|
4653
4549
|
parsedBody,
|
|
4654
|
-
exceptionCtor: __BaseException,
|
|
4655
4550
|
errorCode,
|
|
4656
4551
|
});
|
|
4657
4552
|
}
|
|
@@ -4664,9 +4559,10 @@ export const de_PublishSchemaCommand = async (output, context) => {
|
|
|
4664
4559
|
$metadata: deserializeMetadata(output),
|
|
4665
4560
|
});
|
|
4666
4561
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
4667
|
-
|
|
4668
|
-
|
|
4669
|
-
}
|
|
4562
|
+
const doc = take(data, {
|
|
4563
|
+
PublishedSchemaArn: __expectString,
|
|
4564
|
+
});
|
|
4565
|
+
Object.assign(contents, doc);
|
|
4670
4566
|
return contents;
|
|
4671
4567
|
};
|
|
4672
4568
|
const de_PublishSchemaCommandError = async (output, context) => {
|
|
@@ -4702,10 +4598,9 @@ const de_PublishSchemaCommandError = async (output, context) => {
|
|
|
4702
4598
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
4703
4599
|
default:
|
|
4704
4600
|
const parsedBody = parsedOutput.body;
|
|
4705
|
-
throwDefaultError({
|
|
4601
|
+
return throwDefaultError({
|
|
4706
4602
|
output,
|
|
4707
4603
|
parsedBody,
|
|
4708
|
-
exceptionCtor: __BaseException,
|
|
4709
4604
|
errorCode,
|
|
4710
4605
|
});
|
|
4711
4606
|
}
|
|
@@ -4718,9 +4613,10 @@ export const de_PutSchemaFromJsonCommand = async (output, context) => {
|
|
|
4718
4613
|
$metadata: deserializeMetadata(output),
|
|
4719
4614
|
});
|
|
4720
4615
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
4721
|
-
|
|
4722
|
-
|
|
4723
|
-
}
|
|
4616
|
+
const doc = take(data, {
|
|
4617
|
+
Arn: __expectString,
|
|
4618
|
+
});
|
|
4619
|
+
Object.assign(contents, doc);
|
|
4724
4620
|
return contents;
|
|
4725
4621
|
};
|
|
4726
4622
|
const de_PutSchemaFromJsonCommandError = async (output, context) => {
|
|
@@ -4756,10 +4652,9 @@ const de_PutSchemaFromJsonCommandError = async (output, context) => {
|
|
|
4756
4652
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
4757
4653
|
default:
|
|
4758
4654
|
const parsedBody = parsedOutput.body;
|
|
4759
|
-
throwDefaultError({
|
|
4655
|
+
return throwDefaultError({
|
|
4760
4656
|
output,
|
|
4761
4657
|
parsedBody,
|
|
4762
|
-
exceptionCtor: __BaseException,
|
|
4763
4658
|
errorCode,
|
|
4764
4659
|
});
|
|
4765
4660
|
}
|
|
@@ -4810,10 +4705,9 @@ const de_RemoveFacetFromObjectCommandError = async (output, context) => {
|
|
|
4810
4705
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
4811
4706
|
default:
|
|
4812
4707
|
const parsedBody = parsedOutput.body;
|
|
4813
|
-
throwDefaultError({
|
|
4708
|
+
return throwDefaultError({
|
|
4814
4709
|
output,
|
|
4815
4710
|
parsedBody,
|
|
4816
|
-
exceptionCtor: __BaseException,
|
|
4817
4711
|
errorCode,
|
|
4818
4712
|
});
|
|
4819
4713
|
}
|
|
@@ -4861,10 +4755,9 @@ const de_TagResourceCommandError = async (output, context) => {
|
|
|
4861
4755
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
4862
4756
|
default:
|
|
4863
4757
|
const parsedBody = parsedOutput.body;
|
|
4864
|
-
throwDefaultError({
|
|
4758
|
+
return throwDefaultError({
|
|
4865
4759
|
output,
|
|
4866
4760
|
parsedBody,
|
|
4867
|
-
exceptionCtor: __BaseException,
|
|
4868
4761
|
errorCode,
|
|
4869
4762
|
});
|
|
4870
4763
|
}
|
|
@@ -4912,10 +4805,9 @@ const de_UntagResourceCommandError = async (output, context) => {
|
|
|
4912
4805
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
4913
4806
|
default:
|
|
4914
4807
|
const parsedBody = parsedOutput.body;
|
|
4915
|
-
throwDefaultError({
|
|
4808
|
+
return throwDefaultError({
|
|
4916
4809
|
output,
|
|
4917
4810
|
parsedBody,
|
|
4918
|
-
exceptionCtor: __BaseException,
|
|
4919
4811
|
errorCode,
|
|
4920
4812
|
});
|
|
4921
4813
|
}
|
|
@@ -4972,10 +4864,9 @@ const de_UpdateFacetCommandError = async (output, context) => {
|
|
|
4972
4864
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
4973
4865
|
default:
|
|
4974
4866
|
const parsedBody = parsedOutput.body;
|
|
4975
|
-
throwDefaultError({
|
|
4867
|
+
return throwDefaultError({
|
|
4976
4868
|
output,
|
|
4977
4869
|
parsedBody,
|
|
4978
|
-
exceptionCtor: __BaseException,
|
|
4979
4870
|
errorCode,
|
|
4980
4871
|
});
|
|
4981
4872
|
}
|
|
@@ -5026,10 +4917,9 @@ const de_UpdateLinkAttributesCommandError = async (output, context) => {
|
|
|
5026
4917
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
5027
4918
|
default:
|
|
5028
4919
|
const parsedBody = parsedOutput.body;
|
|
5029
|
-
throwDefaultError({
|
|
4920
|
+
return throwDefaultError({
|
|
5030
4921
|
output,
|
|
5031
4922
|
parsedBody,
|
|
5032
|
-
exceptionCtor: __BaseException,
|
|
5033
4923
|
errorCode,
|
|
5034
4924
|
});
|
|
5035
4925
|
}
|
|
@@ -5042,9 +4932,10 @@ export const de_UpdateObjectAttributesCommand = async (output, context) => {
|
|
|
5042
4932
|
$metadata: deserializeMetadata(output),
|
|
5043
4933
|
});
|
|
5044
4934
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
5045
|
-
|
|
5046
|
-
|
|
5047
|
-
}
|
|
4935
|
+
const doc = take(data, {
|
|
4936
|
+
ObjectIdentifier: __expectString,
|
|
4937
|
+
});
|
|
4938
|
+
Object.assign(contents, doc);
|
|
5048
4939
|
return contents;
|
|
5049
4940
|
};
|
|
5050
4941
|
const de_UpdateObjectAttributesCommandError = async (output, context) => {
|
|
@@ -5086,10 +4977,9 @@ const de_UpdateObjectAttributesCommandError = async (output, context) => {
|
|
|
5086
4977
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
5087
4978
|
default:
|
|
5088
4979
|
const parsedBody = parsedOutput.body;
|
|
5089
|
-
throwDefaultError({
|
|
4980
|
+
return throwDefaultError({
|
|
5090
4981
|
output,
|
|
5091
4982
|
parsedBody,
|
|
5092
|
-
exceptionCtor: __BaseException,
|
|
5093
4983
|
errorCode,
|
|
5094
4984
|
});
|
|
5095
4985
|
}
|
|
@@ -5102,9 +4992,10 @@ export const de_UpdateSchemaCommand = async (output, context) => {
|
|
|
5102
4992
|
$metadata: deserializeMetadata(output),
|
|
5103
4993
|
});
|
|
5104
4994
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
5105
|
-
|
|
5106
|
-
|
|
5107
|
-
}
|
|
4995
|
+
const doc = take(data, {
|
|
4996
|
+
SchemaArn: __expectString,
|
|
4997
|
+
});
|
|
4998
|
+
Object.assign(contents, doc);
|
|
5108
4999
|
return contents;
|
|
5109
5000
|
};
|
|
5110
5001
|
const de_UpdateSchemaCommandError = async (output, context) => {
|
|
@@ -5137,10 +5028,9 @@ const de_UpdateSchemaCommandError = async (output, context) => {
|
|
|
5137
5028
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
5138
5029
|
default:
|
|
5139
5030
|
const parsedBody = parsedOutput.body;
|
|
5140
|
-
throwDefaultError({
|
|
5031
|
+
return throwDefaultError({
|
|
5141
5032
|
output,
|
|
5142
5033
|
parsedBody,
|
|
5143
|
-
exceptionCtor: __BaseException,
|
|
5144
5034
|
errorCode,
|
|
5145
5035
|
});
|
|
5146
5036
|
}
|
|
@@ -5197,10 +5087,9 @@ const de_UpdateTypedLinkFacetCommandError = async (output, context) => {
|
|
|
5197
5087
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
5198
5088
|
default:
|
|
5199
5089
|
const parsedBody = parsedOutput.body;
|
|
5200
|
-
throwDefaultError({
|
|
5090
|
+
return throwDefaultError({
|
|
5201
5091
|
output,
|
|
5202
5092
|
parsedBody,
|
|
5203
|
-
exceptionCtor: __BaseException,
|
|
5204
5093
|
errorCode,
|
|
5205
5094
|
});
|
|
5206
5095
|
}
|
|
@@ -5213,12 +5102,11 @@ export const de_UpgradeAppliedSchemaCommand = async (output, context) => {
|
|
|
5213
5102
|
$metadata: deserializeMetadata(output),
|
|
5214
5103
|
});
|
|
5215
5104
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
5216
|
-
|
|
5217
|
-
|
|
5218
|
-
|
|
5219
|
-
|
|
5220
|
-
|
|
5221
|
-
}
|
|
5105
|
+
const doc = take(data, {
|
|
5106
|
+
DirectoryArn: __expectString,
|
|
5107
|
+
UpgradedSchemaArn: __expectString,
|
|
5108
|
+
});
|
|
5109
|
+
Object.assign(contents, doc);
|
|
5222
5110
|
return contents;
|
|
5223
5111
|
};
|
|
5224
5112
|
const de_UpgradeAppliedSchemaCommandError = async (output, context) => {
|
|
@@ -5257,10 +5145,9 @@ const de_UpgradeAppliedSchemaCommandError = async (output, context) => {
|
|
|
5257
5145
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
5258
5146
|
default:
|
|
5259
5147
|
const parsedBody = parsedOutput.body;
|
|
5260
|
-
throwDefaultError({
|
|
5148
|
+
return throwDefaultError({
|
|
5261
5149
|
output,
|
|
5262
5150
|
parsedBody,
|
|
5263
|
-
exceptionCtor: __BaseException,
|
|
5264
5151
|
errorCode,
|
|
5265
5152
|
});
|
|
5266
5153
|
}
|
|
@@ -5273,9 +5160,10 @@ export const de_UpgradePublishedSchemaCommand = async (output, context) => {
|
|
|
5273
5160
|
$metadata: deserializeMetadata(output),
|
|
5274
5161
|
});
|
|
5275
5162
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
5276
|
-
|
|
5277
|
-
|
|
5278
|
-
}
|
|
5163
|
+
const doc = take(data, {
|
|
5164
|
+
UpgradedSchemaArn: __expectString,
|
|
5165
|
+
});
|
|
5166
|
+
Object.assign(contents, doc);
|
|
5279
5167
|
return contents;
|
|
5280
5168
|
};
|
|
5281
5169
|
const de_UpgradePublishedSchemaCommandError = async (output, context) => {
|
|
@@ -5314,21 +5202,21 @@ const de_UpgradePublishedSchemaCommandError = async (output, context) => {
|
|
|
5314
5202
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
5315
5203
|
default:
|
|
5316
5204
|
const parsedBody = parsedOutput.body;
|
|
5317
|
-
throwDefaultError({
|
|
5205
|
+
return throwDefaultError({
|
|
5318
5206
|
output,
|
|
5319
5207
|
parsedBody,
|
|
5320
|
-
exceptionCtor: __BaseException,
|
|
5321
5208
|
errorCode,
|
|
5322
5209
|
});
|
|
5323
5210
|
}
|
|
5324
5211
|
};
|
|
5325
|
-
const
|
|
5212
|
+
const throwDefaultError = withBaseException(__BaseException);
|
|
5326
5213
|
const de_AccessDeniedExceptionRes = async (parsedOutput, context) => {
|
|
5327
5214
|
const contents = map({});
|
|
5328
5215
|
const data = parsedOutput.body;
|
|
5329
|
-
|
|
5330
|
-
|
|
5331
|
-
}
|
|
5216
|
+
const doc = take(data, {
|
|
5217
|
+
Message: __expectString,
|
|
5218
|
+
});
|
|
5219
|
+
Object.assign(contents, doc);
|
|
5332
5220
|
const exception = new AccessDeniedException({
|
|
5333
5221
|
$metadata: deserializeMetadata(parsedOutput),
|
|
5334
5222
|
...contents,
|
|
@@ -5338,15 +5226,12 @@ const de_AccessDeniedExceptionRes = async (parsedOutput, context) => {
|
|
|
5338
5226
|
const de_BatchWriteExceptionRes = async (parsedOutput, context) => {
|
|
5339
5227
|
const contents = map({});
|
|
5340
5228
|
const data = parsedOutput.body;
|
|
5341
|
-
|
|
5342
|
-
|
|
5343
|
-
|
|
5344
|
-
|
|
5345
|
-
|
|
5346
|
-
|
|
5347
|
-
if (data.Type != null) {
|
|
5348
|
-
contents.Type = __expectString(data.Type);
|
|
5349
|
-
}
|
|
5229
|
+
const doc = take(data, {
|
|
5230
|
+
Index: __expectInt32,
|
|
5231
|
+
Message: __expectString,
|
|
5232
|
+
Type: __expectString,
|
|
5233
|
+
});
|
|
5234
|
+
Object.assign(contents, doc);
|
|
5350
5235
|
const exception = new BatchWriteException({
|
|
5351
5236
|
$metadata: deserializeMetadata(parsedOutput),
|
|
5352
5237
|
...contents,
|
|
@@ -5356,9 +5241,10 @@ const de_BatchWriteExceptionRes = async (parsedOutput, context) => {
|
|
|
5356
5241
|
const de_CannotListParentOfRootExceptionRes = async (parsedOutput, context) => {
|
|
5357
5242
|
const contents = map({});
|
|
5358
5243
|
const data = parsedOutput.body;
|
|
5359
|
-
|
|
5360
|
-
|
|
5361
|
-
}
|
|
5244
|
+
const doc = take(data, {
|
|
5245
|
+
Message: __expectString,
|
|
5246
|
+
});
|
|
5247
|
+
Object.assign(contents, doc);
|
|
5362
5248
|
const exception = new CannotListParentOfRootException({
|
|
5363
5249
|
$metadata: deserializeMetadata(parsedOutput),
|
|
5364
5250
|
...contents,
|
|
@@ -5368,9 +5254,10 @@ const de_CannotListParentOfRootExceptionRes = async (parsedOutput, context) => {
|
|
|
5368
5254
|
const de_DirectoryAlreadyExistsExceptionRes = async (parsedOutput, context) => {
|
|
5369
5255
|
const contents = map({});
|
|
5370
5256
|
const data = parsedOutput.body;
|
|
5371
|
-
|
|
5372
|
-
|
|
5373
|
-
}
|
|
5257
|
+
const doc = take(data, {
|
|
5258
|
+
Message: __expectString,
|
|
5259
|
+
});
|
|
5260
|
+
Object.assign(contents, doc);
|
|
5374
5261
|
const exception = new DirectoryAlreadyExistsException({
|
|
5375
5262
|
$metadata: deserializeMetadata(parsedOutput),
|
|
5376
5263
|
...contents,
|
|
@@ -5380,9 +5267,10 @@ const de_DirectoryAlreadyExistsExceptionRes = async (parsedOutput, context) => {
|
|
|
5380
5267
|
const de_DirectoryDeletedExceptionRes = async (parsedOutput, context) => {
|
|
5381
5268
|
const contents = map({});
|
|
5382
5269
|
const data = parsedOutput.body;
|
|
5383
|
-
|
|
5384
|
-
|
|
5385
|
-
}
|
|
5270
|
+
const doc = take(data, {
|
|
5271
|
+
Message: __expectString,
|
|
5272
|
+
});
|
|
5273
|
+
Object.assign(contents, doc);
|
|
5386
5274
|
const exception = new DirectoryDeletedException({
|
|
5387
5275
|
$metadata: deserializeMetadata(parsedOutput),
|
|
5388
5276
|
...contents,
|
|
@@ -5392,9 +5280,10 @@ const de_DirectoryDeletedExceptionRes = async (parsedOutput, context) => {
|
|
|
5392
5280
|
const de_DirectoryNotDisabledExceptionRes = async (parsedOutput, context) => {
|
|
5393
5281
|
const contents = map({});
|
|
5394
5282
|
const data = parsedOutput.body;
|
|
5395
|
-
|
|
5396
|
-
|
|
5397
|
-
}
|
|
5283
|
+
const doc = take(data, {
|
|
5284
|
+
Message: __expectString,
|
|
5285
|
+
});
|
|
5286
|
+
Object.assign(contents, doc);
|
|
5398
5287
|
const exception = new DirectoryNotDisabledException({
|
|
5399
5288
|
$metadata: deserializeMetadata(parsedOutput),
|
|
5400
5289
|
...contents,
|
|
@@ -5404,9 +5293,10 @@ const de_DirectoryNotDisabledExceptionRes = async (parsedOutput, context) => {
|
|
|
5404
5293
|
const de_DirectoryNotEnabledExceptionRes = async (parsedOutput, context) => {
|
|
5405
5294
|
const contents = map({});
|
|
5406
5295
|
const data = parsedOutput.body;
|
|
5407
|
-
|
|
5408
|
-
|
|
5409
|
-
}
|
|
5296
|
+
const doc = take(data, {
|
|
5297
|
+
Message: __expectString,
|
|
5298
|
+
});
|
|
5299
|
+
Object.assign(contents, doc);
|
|
5410
5300
|
const exception = new DirectoryNotEnabledException({
|
|
5411
5301
|
$metadata: deserializeMetadata(parsedOutput),
|
|
5412
5302
|
...contents,
|
|
@@ -5416,9 +5306,10 @@ const de_DirectoryNotEnabledExceptionRes = async (parsedOutput, context) => {
|
|
|
5416
5306
|
const de_FacetAlreadyExistsExceptionRes = async (parsedOutput, context) => {
|
|
5417
5307
|
const contents = map({});
|
|
5418
5308
|
const data = parsedOutput.body;
|
|
5419
|
-
|
|
5420
|
-
|
|
5421
|
-
}
|
|
5309
|
+
const doc = take(data, {
|
|
5310
|
+
Message: __expectString,
|
|
5311
|
+
});
|
|
5312
|
+
Object.assign(contents, doc);
|
|
5422
5313
|
const exception = new FacetAlreadyExistsException({
|
|
5423
5314
|
$metadata: deserializeMetadata(parsedOutput),
|
|
5424
5315
|
...contents,
|
|
@@ -5428,9 +5319,10 @@ const de_FacetAlreadyExistsExceptionRes = async (parsedOutput, context) => {
|
|
|
5428
5319
|
const de_FacetInUseExceptionRes = async (parsedOutput, context) => {
|
|
5429
5320
|
const contents = map({});
|
|
5430
5321
|
const data = parsedOutput.body;
|
|
5431
|
-
|
|
5432
|
-
|
|
5433
|
-
}
|
|
5322
|
+
const doc = take(data, {
|
|
5323
|
+
Message: __expectString,
|
|
5324
|
+
});
|
|
5325
|
+
Object.assign(contents, doc);
|
|
5434
5326
|
const exception = new FacetInUseException({
|
|
5435
5327
|
$metadata: deserializeMetadata(parsedOutput),
|
|
5436
5328
|
...contents,
|
|
@@ -5440,9 +5332,10 @@ const de_FacetInUseExceptionRes = async (parsedOutput, context) => {
|
|
|
5440
5332
|
const de_FacetNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
5441
5333
|
const contents = map({});
|
|
5442
5334
|
const data = parsedOutput.body;
|
|
5443
|
-
|
|
5444
|
-
|
|
5445
|
-
}
|
|
5335
|
+
const doc = take(data, {
|
|
5336
|
+
Message: __expectString,
|
|
5337
|
+
});
|
|
5338
|
+
Object.assign(contents, doc);
|
|
5446
5339
|
const exception = new FacetNotFoundException({
|
|
5447
5340
|
$metadata: deserializeMetadata(parsedOutput),
|
|
5448
5341
|
...contents,
|
|
@@ -5452,9 +5345,10 @@ const de_FacetNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
|
5452
5345
|
const de_FacetValidationExceptionRes = async (parsedOutput, context) => {
|
|
5453
5346
|
const contents = map({});
|
|
5454
5347
|
const data = parsedOutput.body;
|
|
5455
|
-
|
|
5456
|
-
|
|
5457
|
-
}
|
|
5348
|
+
const doc = take(data, {
|
|
5349
|
+
Message: __expectString,
|
|
5350
|
+
});
|
|
5351
|
+
Object.assign(contents, doc);
|
|
5458
5352
|
const exception = new FacetValidationException({
|
|
5459
5353
|
$metadata: deserializeMetadata(parsedOutput),
|
|
5460
5354
|
...contents,
|
|
@@ -5464,9 +5358,10 @@ const de_FacetValidationExceptionRes = async (parsedOutput, context) => {
|
|
|
5464
5358
|
const de_IncompatibleSchemaExceptionRes = async (parsedOutput, context) => {
|
|
5465
5359
|
const contents = map({});
|
|
5466
5360
|
const data = parsedOutput.body;
|
|
5467
|
-
|
|
5468
|
-
|
|
5469
|
-
}
|
|
5361
|
+
const doc = take(data, {
|
|
5362
|
+
Message: __expectString,
|
|
5363
|
+
});
|
|
5364
|
+
Object.assign(contents, doc);
|
|
5470
5365
|
const exception = new IncompatibleSchemaException({
|
|
5471
5366
|
$metadata: deserializeMetadata(parsedOutput),
|
|
5472
5367
|
...contents,
|
|
@@ -5476,9 +5371,10 @@ const de_IncompatibleSchemaExceptionRes = async (parsedOutput, context) => {
|
|
|
5476
5371
|
const de_IndexedAttributeMissingExceptionRes = async (parsedOutput, context) => {
|
|
5477
5372
|
const contents = map({});
|
|
5478
5373
|
const data = parsedOutput.body;
|
|
5479
|
-
|
|
5480
|
-
|
|
5481
|
-
}
|
|
5374
|
+
const doc = take(data, {
|
|
5375
|
+
Message: __expectString,
|
|
5376
|
+
});
|
|
5377
|
+
Object.assign(contents, doc);
|
|
5482
5378
|
const exception = new IndexedAttributeMissingException({
|
|
5483
5379
|
$metadata: deserializeMetadata(parsedOutput),
|
|
5484
5380
|
...contents,
|
|
@@ -5488,9 +5384,10 @@ const de_IndexedAttributeMissingExceptionRes = async (parsedOutput, context) =>
|
|
|
5488
5384
|
const de_InternalServiceExceptionRes = async (parsedOutput, context) => {
|
|
5489
5385
|
const contents = map({});
|
|
5490
5386
|
const data = parsedOutput.body;
|
|
5491
|
-
|
|
5492
|
-
|
|
5493
|
-
}
|
|
5387
|
+
const doc = take(data, {
|
|
5388
|
+
Message: __expectString,
|
|
5389
|
+
});
|
|
5390
|
+
Object.assign(contents, doc);
|
|
5494
5391
|
const exception = new InternalServiceException({
|
|
5495
5392
|
$metadata: deserializeMetadata(parsedOutput),
|
|
5496
5393
|
...contents,
|
|
@@ -5500,9 +5397,10 @@ const de_InternalServiceExceptionRes = async (parsedOutput, context) => {
|
|
|
5500
5397
|
const de_InvalidArnExceptionRes = async (parsedOutput, context) => {
|
|
5501
5398
|
const contents = map({});
|
|
5502
5399
|
const data = parsedOutput.body;
|
|
5503
|
-
|
|
5504
|
-
|
|
5505
|
-
}
|
|
5400
|
+
const doc = take(data, {
|
|
5401
|
+
Message: __expectString,
|
|
5402
|
+
});
|
|
5403
|
+
Object.assign(contents, doc);
|
|
5506
5404
|
const exception = new InvalidArnException({
|
|
5507
5405
|
$metadata: deserializeMetadata(parsedOutput),
|
|
5508
5406
|
...contents,
|
|
@@ -5512,9 +5410,10 @@ const de_InvalidArnExceptionRes = async (parsedOutput, context) => {
|
|
|
5512
5410
|
const de_InvalidAttachmentExceptionRes = async (parsedOutput, context) => {
|
|
5513
5411
|
const contents = map({});
|
|
5514
5412
|
const data = parsedOutput.body;
|
|
5515
|
-
|
|
5516
|
-
|
|
5517
|
-
}
|
|
5413
|
+
const doc = take(data, {
|
|
5414
|
+
Message: __expectString,
|
|
5415
|
+
});
|
|
5416
|
+
Object.assign(contents, doc);
|
|
5518
5417
|
const exception = new InvalidAttachmentException({
|
|
5519
5418
|
$metadata: deserializeMetadata(parsedOutput),
|
|
5520
5419
|
...contents,
|
|
@@ -5524,9 +5423,10 @@ const de_InvalidAttachmentExceptionRes = async (parsedOutput, context) => {
|
|
|
5524
5423
|
const de_InvalidFacetUpdateExceptionRes = async (parsedOutput, context) => {
|
|
5525
5424
|
const contents = map({});
|
|
5526
5425
|
const data = parsedOutput.body;
|
|
5527
|
-
|
|
5528
|
-
|
|
5529
|
-
}
|
|
5426
|
+
const doc = take(data, {
|
|
5427
|
+
Message: __expectString,
|
|
5428
|
+
});
|
|
5429
|
+
Object.assign(contents, doc);
|
|
5530
5430
|
const exception = new InvalidFacetUpdateException({
|
|
5531
5431
|
$metadata: deserializeMetadata(parsedOutput),
|
|
5532
5432
|
...contents,
|
|
@@ -5536,9 +5436,10 @@ const de_InvalidFacetUpdateExceptionRes = async (parsedOutput, context) => {
|
|
|
5536
5436
|
const de_InvalidNextTokenExceptionRes = async (parsedOutput, context) => {
|
|
5537
5437
|
const contents = map({});
|
|
5538
5438
|
const data = parsedOutput.body;
|
|
5539
|
-
|
|
5540
|
-
|
|
5541
|
-
}
|
|
5439
|
+
const doc = take(data, {
|
|
5440
|
+
Message: __expectString,
|
|
5441
|
+
});
|
|
5442
|
+
Object.assign(contents, doc);
|
|
5542
5443
|
const exception = new InvalidNextTokenException({
|
|
5543
5444
|
$metadata: deserializeMetadata(parsedOutput),
|
|
5544
5445
|
...contents,
|
|
@@ -5548,9 +5449,10 @@ const de_InvalidNextTokenExceptionRes = async (parsedOutput, context) => {
|
|
|
5548
5449
|
const de_InvalidRuleExceptionRes = async (parsedOutput, context) => {
|
|
5549
5450
|
const contents = map({});
|
|
5550
5451
|
const data = parsedOutput.body;
|
|
5551
|
-
|
|
5552
|
-
|
|
5553
|
-
}
|
|
5452
|
+
const doc = take(data, {
|
|
5453
|
+
Message: __expectString,
|
|
5454
|
+
});
|
|
5455
|
+
Object.assign(contents, doc);
|
|
5554
5456
|
const exception = new InvalidRuleException({
|
|
5555
5457
|
$metadata: deserializeMetadata(parsedOutput),
|
|
5556
5458
|
...contents,
|
|
@@ -5560,9 +5462,10 @@ const de_InvalidRuleExceptionRes = async (parsedOutput, context) => {
|
|
|
5560
5462
|
const de_InvalidSchemaDocExceptionRes = async (parsedOutput, context) => {
|
|
5561
5463
|
const contents = map({});
|
|
5562
5464
|
const data = parsedOutput.body;
|
|
5563
|
-
|
|
5564
|
-
|
|
5565
|
-
}
|
|
5465
|
+
const doc = take(data, {
|
|
5466
|
+
Message: __expectString,
|
|
5467
|
+
});
|
|
5468
|
+
Object.assign(contents, doc);
|
|
5566
5469
|
const exception = new InvalidSchemaDocException({
|
|
5567
5470
|
$metadata: deserializeMetadata(parsedOutput),
|
|
5568
5471
|
...contents,
|
|
@@ -5572,9 +5475,10 @@ const de_InvalidSchemaDocExceptionRes = async (parsedOutput, context) => {
|
|
|
5572
5475
|
const de_InvalidTaggingRequestExceptionRes = async (parsedOutput, context) => {
|
|
5573
5476
|
const contents = map({});
|
|
5574
5477
|
const data = parsedOutput.body;
|
|
5575
|
-
|
|
5576
|
-
|
|
5577
|
-
}
|
|
5478
|
+
const doc = take(data, {
|
|
5479
|
+
Message: __expectString,
|
|
5480
|
+
});
|
|
5481
|
+
Object.assign(contents, doc);
|
|
5578
5482
|
const exception = new InvalidTaggingRequestException({
|
|
5579
5483
|
$metadata: deserializeMetadata(parsedOutput),
|
|
5580
5484
|
...contents,
|
|
@@ -5584,9 +5488,10 @@ const de_InvalidTaggingRequestExceptionRes = async (parsedOutput, context) => {
|
|
|
5584
5488
|
const de_LimitExceededExceptionRes = async (parsedOutput, context) => {
|
|
5585
5489
|
const contents = map({});
|
|
5586
5490
|
const data = parsedOutput.body;
|
|
5587
|
-
|
|
5588
|
-
|
|
5589
|
-
}
|
|
5491
|
+
const doc = take(data, {
|
|
5492
|
+
Message: __expectString,
|
|
5493
|
+
});
|
|
5494
|
+
Object.assign(contents, doc);
|
|
5590
5495
|
const exception = new LimitExceededException({
|
|
5591
5496
|
$metadata: deserializeMetadata(parsedOutput),
|
|
5592
5497
|
...contents,
|
|
@@ -5596,9 +5501,10 @@ const de_LimitExceededExceptionRes = async (parsedOutput, context) => {
|
|
|
5596
5501
|
const de_LinkNameAlreadyInUseExceptionRes = async (parsedOutput, context) => {
|
|
5597
5502
|
const contents = map({});
|
|
5598
5503
|
const data = parsedOutput.body;
|
|
5599
|
-
|
|
5600
|
-
|
|
5601
|
-
}
|
|
5504
|
+
const doc = take(data, {
|
|
5505
|
+
Message: __expectString,
|
|
5506
|
+
});
|
|
5507
|
+
Object.assign(contents, doc);
|
|
5602
5508
|
const exception = new LinkNameAlreadyInUseException({
|
|
5603
5509
|
$metadata: deserializeMetadata(parsedOutput),
|
|
5604
5510
|
...contents,
|
|
@@ -5608,9 +5514,10 @@ const de_LinkNameAlreadyInUseExceptionRes = async (parsedOutput, context) => {
|
|
|
5608
5514
|
const de_NotIndexExceptionRes = async (parsedOutput, context) => {
|
|
5609
5515
|
const contents = map({});
|
|
5610
5516
|
const data = parsedOutput.body;
|
|
5611
|
-
|
|
5612
|
-
|
|
5613
|
-
}
|
|
5517
|
+
const doc = take(data, {
|
|
5518
|
+
Message: __expectString,
|
|
5519
|
+
});
|
|
5520
|
+
Object.assign(contents, doc);
|
|
5614
5521
|
const exception = new NotIndexException({
|
|
5615
5522
|
$metadata: deserializeMetadata(parsedOutput),
|
|
5616
5523
|
...contents,
|
|
@@ -5620,9 +5527,10 @@ const de_NotIndexExceptionRes = async (parsedOutput, context) => {
|
|
|
5620
5527
|
const de_NotNodeExceptionRes = async (parsedOutput, context) => {
|
|
5621
5528
|
const contents = map({});
|
|
5622
5529
|
const data = parsedOutput.body;
|
|
5623
|
-
|
|
5624
|
-
|
|
5625
|
-
}
|
|
5530
|
+
const doc = take(data, {
|
|
5531
|
+
Message: __expectString,
|
|
5532
|
+
});
|
|
5533
|
+
Object.assign(contents, doc);
|
|
5626
5534
|
const exception = new NotNodeException({
|
|
5627
5535
|
$metadata: deserializeMetadata(parsedOutput),
|
|
5628
5536
|
...contents,
|
|
@@ -5632,9 +5540,10 @@ const de_NotNodeExceptionRes = async (parsedOutput, context) => {
|
|
|
5632
5540
|
const de_NotPolicyExceptionRes = async (parsedOutput, context) => {
|
|
5633
5541
|
const contents = map({});
|
|
5634
5542
|
const data = parsedOutput.body;
|
|
5635
|
-
|
|
5636
|
-
|
|
5637
|
-
}
|
|
5543
|
+
const doc = take(data, {
|
|
5544
|
+
Message: __expectString,
|
|
5545
|
+
});
|
|
5546
|
+
Object.assign(contents, doc);
|
|
5638
5547
|
const exception = new NotPolicyException({
|
|
5639
5548
|
$metadata: deserializeMetadata(parsedOutput),
|
|
5640
5549
|
...contents,
|
|
@@ -5644,9 +5553,10 @@ const de_NotPolicyExceptionRes = async (parsedOutput, context) => {
|
|
|
5644
5553
|
const de_ObjectAlreadyDetachedExceptionRes = async (parsedOutput, context) => {
|
|
5645
5554
|
const contents = map({});
|
|
5646
5555
|
const data = parsedOutput.body;
|
|
5647
|
-
|
|
5648
|
-
|
|
5649
|
-
}
|
|
5556
|
+
const doc = take(data, {
|
|
5557
|
+
Message: __expectString,
|
|
5558
|
+
});
|
|
5559
|
+
Object.assign(contents, doc);
|
|
5650
5560
|
const exception = new ObjectAlreadyDetachedException({
|
|
5651
5561
|
$metadata: deserializeMetadata(parsedOutput),
|
|
5652
5562
|
...contents,
|
|
@@ -5656,9 +5566,10 @@ const de_ObjectAlreadyDetachedExceptionRes = async (parsedOutput, context) => {
|
|
|
5656
5566
|
const de_ObjectNotDetachedExceptionRes = async (parsedOutput, context) => {
|
|
5657
5567
|
const contents = map({});
|
|
5658
5568
|
const data = parsedOutput.body;
|
|
5659
|
-
|
|
5660
|
-
|
|
5661
|
-
}
|
|
5569
|
+
const doc = take(data, {
|
|
5570
|
+
Message: __expectString,
|
|
5571
|
+
});
|
|
5572
|
+
Object.assign(contents, doc);
|
|
5662
5573
|
const exception = new ObjectNotDetachedException({
|
|
5663
5574
|
$metadata: deserializeMetadata(parsedOutput),
|
|
5664
5575
|
...contents,
|
|
@@ -5668,9 +5579,10 @@ const de_ObjectNotDetachedExceptionRes = async (parsedOutput, context) => {
|
|
|
5668
5579
|
const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
5669
5580
|
const contents = map({});
|
|
5670
5581
|
const data = parsedOutput.body;
|
|
5671
|
-
|
|
5672
|
-
|
|
5673
|
-
}
|
|
5582
|
+
const doc = take(data, {
|
|
5583
|
+
Message: __expectString,
|
|
5584
|
+
});
|
|
5585
|
+
Object.assign(contents, doc);
|
|
5674
5586
|
const exception = new ResourceNotFoundException({
|
|
5675
5587
|
$metadata: deserializeMetadata(parsedOutput),
|
|
5676
5588
|
...contents,
|
|
@@ -5680,9 +5592,10 @@ const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
|
5680
5592
|
const de_RetryableConflictExceptionRes = async (parsedOutput, context) => {
|
|
5681
5593
|
const contents = map({});
|
|
5682
5594
|
const data = parsedOutput.body;
|
|
5683
|
-
|
|
5684
|
-
|
|
5685
|
-
}
|
|
5595
|
+
const doc = take(data, {
|
|
5596
|
+
Message: __expectString,
|
|
5597
|
+
});
|
|
5598
|
+
Object.assign(contents, doc);
|
|
5686
5599
|
const exception = new RetryableConflictException({
|
|
5687
5600
|
$metadata: deserializeMetadata(parsedOutput),
|
|
5688
5601
|
...contents,
|
|
@@ -5692,9 +5605,10 @@ const de_RetryableConflictExceptionRes = async (parsedOutput, context) => {
|
|
|
5692
5605
|
const de_SchemaAlreadyExistsExceptionRes = async (parsedOutput, context) => {
|
|
5693
5606
|
const contents = map({});
|
|
5694
5607
|
const data = parsedOutput.body;
|
|
5695
|
-
|
|
5696
|
-
|
|
5697
|
-
}
|
|
5608
|
+
const doc = take(data, {
|
|
5609
|
+
Message: __expectString,
|
|
5610
|
+
});
|
|
5611
|
+
Object.assign(contents, doc);
|
|
5698
5612
|
const exception = new SchemaAlreadyExistsException({
|
|
5699
5613
|
$metadata: deserializeMetadata(parsedOutput),
|
|
5700
5614
|
...contents,
|
|
@@ -5704,9 +5618,10 @@ const de_SchemaAlreadyExistsExceptionRes = async (parsedOutput, context) => {
|
|
|
5704
5618
|
const de_SchemaAlreadyPublishedExceptionRes = async (parsedOutput, context) => {
|
|
5705
5619
|
const contents = map({});
|
|
5706
5620
|
const data = parsedOutput.body;
|
|
5707
|
-
|
|
5708
|
-
|
|
5709
|
-
}
|
|
5621
|
+
const doc = take(data, {
|
|
5622
|
+
Message: __expectString,
|
|
5623
|
+
});
|
|
5624
|
+
Object.assign(contents, doc);
|
|
5710
5625
|
const exception = new SchemaAlreadyPublishedException({
|
|
5711
5626
|
$metadata: deserializeMetadata(parsedOutput),
|
|
5712
5627
|
...contents,
|
|
@@ -5716,9 +5631,10 @@ const de_SchemaAlreadyPublishedExceptionRes = async (parsedOutput, context) => {
|
|
|
5716
5631
|
const de_StillContainsLinksExceptionRes = async (parsedOutput, context) => {
|
|
5717
5632
|
const contents = map({});
|
|
5718
5633
|
const data = parsedOutput.body;
|
|
5719
|
-
|
|
5720
|
-
|
|
5721
|
-
}
|
|
5634
|
+
const doc = take(data, {
|
|
5635
|
+
Message: __expectString,
|
|
5636
|
+
});
|
|
5637
|
+
Object.assign(contents, doc);
|
|
5722
5638
|
const exception = new StillContainsLinksException({
|
|
5723
5639
|
$metadata: deserializeMetadata(parsedOutput),
|
|
5724
5640
|
...contents,
|
|
@@ -5728,9 +5644,10 @@ const de_StillContainsLinksExceptionRes = async (parsedOutput, context) => {
|
|
|
5728
5644
|
const de_UnsupportedIndexTypeExceptionRes = async (parsedOutput, context) => {
|
|
5729
5645
|
const contents = map({});
|
|
5730
5646
|
const data = parsedOutput.body;
|
|
5731
|
-
|
|
5732
|
-
|
|
5733
|
-
}
|
|
5647
|
+
const doc = take(data, {
|
|
5648
|
+
Message: __expectString,
|
|
5649
|
+
});
|
|
5650
|
+
Object.assign(contents, doc);
|
|
5734
5651
|
const exception = new UnsupportedIndexTypeException({
|
|
5735
5652
|
$metadata: deserializeMetadata(parsedOutput),
|
|
5736
5653
|
...contents,
|
|
@@ -5740,27 +5657,21 @@ const de_UnsupportedIndexTypeExceptionRes = async (parsedOutput, context) => {
|
|
|
5740
5657
|
const de_ValidationExceptionRes = async (parsedOutput, context) => {
|
|
5741
5658
|
const contents = map({});
|
|
5742
5659
|
const data = parsedOutput.body;
|
|
5743
|
-
|
|
5744
|
-
|
|
5745
|
-
}
|
|
5660
|
+
const doc = take(data, {
|
|
5661
|
+
Message: __expectString,
|
|
5662
|
+
});
|
|
5663
|
+
Object.assign(contents, doc);
|
|
5746
5664
|
const exception = new ValidationException({
|
|
5747
5665
|
$metadata: deserializeMetadata(parsedOutput),
|
|
5748
5666
|
...contents,
|
|
5749
5667
|
});
|
|
5750
5668
|
return __decorateServiceException(exception, parsedOutput.body);
|
|
5751
5669
|
};
|
|
5752
|
-
const se_AttributeKey = (input, context) => {
|
|
5753
|
-
return {
|
|
5754
|
-
...(input.FacetName != null && { FacetName: input.FacetName }),
|
|
5755
|
-
...(input.Name != null && { Name: input.Name }),
|
|
5756
|
-
...(input.SchemaArn != null && { SchemaArn: input.SchemaArn }),
|
|
5757
|
-
};
|
|
5758
|
-
};
|
|
5759
5670
|
const se_AttributeKeyAndValue = (input, context) => {
|
|
5760
|
-
return {
|
|
5761
|
-
|
|
5762
|
-
|
|
5763
|
-
};
|
|
5671
|
+
return take(input, {
|
|
5672
|
+
Key: _json,
|
|
5673
|
+
Value: (_) => se_TypedAttributeValue(_, context),
|
|
5674
|
+
});
|
|
5764
5675
|
};
|
|
5765
5676
|
const se_AttributeKeyAndValueList = (input, context) => {
|
|
5766
5677
|
return input
|
|
@@ -5769,18 +5680,11 @@ const se_AttributeKeyAndValueList = (input, context) => {
|
|
|
5769
5680
|
return se_AttributeKeyAndValue(entry, context);
|
|
5770
5681
|
});
|
|
5771
5682
|
};
|
|
5772
|
-
const se_AttributeKeyList = (input, context) => {
|
|
5773
|
-
return input
|
|
5774
|
-
.filter((e) => e != null)
|
|
5775
|
-
.map((entry) => {
|
|
5776
|
-
return se_AttributeKey(entry, context);
|
|
5777
|
-
});
|
|
5778
|
-
};
|
|
5779
5683
|
const se_AttributeNameAndValue = (input, context) => {
|
|
5780
|
-
return {
|
|
5781
|
-
|
|
5782
|
-
|
|
5783
|
-
};
|
|
5684
|
+
return take(input, {
|
|
5685
|
+
AttributeName: [],
|
|
5686
|
+
Value: (_) => se_TypedAttributeValue(_, context),
|
|
5687
|
+
});
|
|
5784
5688
|
};
|
|
5785
5689
|
const se_AttributeNameAndValueList = (input, context) => {
|
|
5786
5690
|
return input
|
|
@@ -5789,262 +5693,84 @@ const se_AttributeNameAndValueList = (input, context) => {
|
|
|
5789
5693
|
return se_AttributeNameAndValue(entry, context);
|
|
5790
5694
|
});
|
|
5791
5695
|
};
|
|
5792
|
-
const se_AttributeNameList = (input, context) => {
|
|
5793
|
-
return input
|
|
5794
|
-
.filter((e) => e != null)
|
|
5795
|
-
.map((entry) => {
|
|
5796
|
-
return entry;
|
|
5797
|
-
});
|
|
5798
|
-
};
|
|
5799
5696
|
const se_BatchAddFacetToObject = (input, context) => {
|
|
5800
|
-
return {
|
|
5801
|
-
|
|
5802
|
-
|
|
5803
|
-
|
|
5804
|
-
|
|
5805
|
-
...(input.SchemaFacet != null && { SchemaFacet: se_SchemaFacet(input.SchemaFacet, context) }),
|
|
5806
|
-
};
|
|
5807
|
-
};
|
|
5808
|
-
const se_BatchAttachObject = (input, context) => {
|
|
5809
|
-
return {
|
|
5810
|
-
...(input.ChildReference != null && { ChildReference: se_ObjectReference(input.ChildReference, context) }),
|
|
5811
|
-
...(input.LinkName != null && { LinkName: input.LinkName }),
|
|
5812
|
-
...(input.ParentReference != null && { ParentReference: se_ObjectReference(input.ParentReference, context) }),
|
|
5813
|
-
};
|
|
5814
|
-
};
|
|
5815
|
-
const se_BatchAttachPolicy = (input, context) => {
|
|
5816
|
-
return {
|
|
5817
|
-
...(input.ObjectReference != null && { ObjectReference: se_ObjectReference(input.ObjectReference, context) }),
|
|
5818
|
-
...(input.PolicyReference != null && { PolicyReference: se_ObjectReference(input.PolicyReference, context) }),
|
|
5819
|
-
};
|
|
5820
|
-
};
|
|
5821
|
-
const se_BatchAttachToIndex = (input, context) => {
|
|
5822
|
-
return {
|
|
5823
|
-
...(input.IndexReference != null && { IndexReference: se_ObjectReference(input.IndexReference, context) }),
|
|
5824
|
-
...(input.TargetReference != null && { TargetReference: se_ObjectReference(input.TargetReference, context) }),
|
|
5825
|
-
};
|
|
5697
|
+
return take(input, {
|
|
5698
|
+
ObjectAttributeList: (_) => se_AttributeKeyAndValueList(_, context),
|
|
5699
|
+
ObjectReference: _json,
|
|
5700
|
+
SchemaFacet: _json,
|
|
5701
|
+
});
|
|
5826
5702
|
};
|
|
5827
5703
|
const se_BatchAttachTypedLink = (input, context) => {
|
|
5828
|
-
return {
|
|
5829
|
-
|
|
5830
|
-
|
|
5831
|
-
|
|
5832
|
-
|
|
5833
|
-
|
|
5834
|
-
TargetObjectReference: se_ObjectReference(input.TargetObjectReference, context),
|
|
5835
|
-
}),
|
|
5836
|
-
...(input.TypedLinkFacet != null && {
|
|
5837
|
-
TypedLinkFacet: se_TypedLinkSchemaAndFacetName(input.TypedLinkFacet, context),
|
|
5838
|
-
}),
|
|
5839
|
-
};
|
|
5840
|
-
};
|
|
5841
|
-
const se_BatchCreateIndex = (input, context) => {
|
|
5842
|
-
return {
|
|
5843
|
-
...(input.BatchReferenceName != null && { BatchReferenceName: input.BatchReferenceName }),
|
|
5844
|
-
...(input.IsUnique != null && { IsUnique: input.IsUnique }),
|
|
5845
|
-
...(input.LinkName != null && { LinkName: input.LinkName }),
|
|
5846
|
-
...(input.OrderedIndexedAttributeList != null && {
|
|
5847
|
-
OrderedIndexedAttributeList: se_AttributeKeyList(input.OrderedIndexedAttributeList, context),
|
|
5848
|
-
}),
|
|
5849
|
-
...(input.ParentReference != null && { ParentReference: se_ObjectReference(input.ParentReference, context) }),
|
|
5850
|
-
};
|
|
5704
|
+
return take(input, {
|
|
5705
|
+
Attributes: (_) => se_AttributeNameAndValueList(_, context),
|
|
5706
|
+
SourceObjectReference: _json,
|
|
5707
|
+
TargetObjectReference: _json,
|
|
5708
|
+
TypedLinkFacet: _json,
|
|
5709
|
+
});
|
|
5851
5710
|
};
|
|
5852
5711
|
const se_BatchCreateObject = (input, context) => {
|
|
5853
|
-
return {
|
|
5854
|
-
|
|
5855
|
-
|
|
5856
|
-
|
|
5857
|
-
|
|
5858
|
-
|
|
5859
|
-
|
|
5860
|
-
...(input.SchemaFacet != null && { SchemaFacet: se_SchemaFacetList(input.SchemaFacet, context) }),
|
|
5861
|
-
};
|
|
5862
|
-
};
|
|
5863
|
-
const se_BatchDeleteObject = (input, context) => {
|
|
5864
|
-
return {
|
|
5865
|
-
...(input.ObjectReference != null && { ObjectReference: se_ObjectReference(input.ObjectReference, context) }),
|
|
5866
|
-
};
|
|
5867
|
-
};
|
|
5868
|
-
const se_BatchDetachFromIndex = (input, context) => {
|
|
5869
|
-
return {
|
|
5870
|
-
...(input.IndexReference != null && { IndexReference: se_ObjectReference(input.IndexReference, context) }),
|
|
5871
|
-
...(input.TargetReference != null && { TargetReference: se_ObjectReference(input.TargetReference, context) }),
|
|
5872
|
-
};
|
|
5873
|
-
};
|
|
5874
|
-
const se_BatchDetachObject = (input, context) => {
|
|
5875
|
-
return {
|
|
5876
|
-
...(input.BatchReferenceName != null && { BatchReferenceName: input.BatchReferenceName }),
|
|
5877
|
-
...(input.LinkName != null && { LinkName: input.LinkName }),
|
|
5878
|
-
...(input.ParentReference != null && { ParentReference: se_ObjectReference(input.ParentReference, context) }),
|
|
5879
|
-
};
|
|
5880
|
-
};
|
|
5881
|
-
const se_BatchDetachPolicy = (input, context) => {
|
|
5882
|
-
return {
|
|
5883
|
-
...(input.ObjectReference != null && { ObjectReference: se_ObjectReference(input.ObjectReference, context) }),
|
|
5884
|
-
...(input.PolicyReference != null && { PolicyReference: se_ObjectReference(input.PolicyReference, context) }),
|
|
5885
|
-
};
|
|
5712
|
+
return take(input, {
|
|
5713
|
+
BatchReferenceName: [],
|
|
5714
|
+
LinkName: [],
|
|
5715
|
+
ObjectAttributeList: (_) => se_AttributeKeyAndValueList(_, context),
|
|
5716
|
+
ParentReference: _json,
|
|
5717
|
+
SchemaFacet: _json,
|
|
5718
|
+
});
|
|
5886
5719
|
};
|
|
5887
5720
|
const se_BatchDetachTypedLink = (input, context) => {
|
|
5888
|
-
return {
|
|
5889
|
-
|
|
5890
|
-
|
|
5891
|
-
}),
|
|
5892
|
-
};
|
|
5721
|
+
return take(input, {
|
|
5722
|
+
TypedLinkSpecifier: (_) => se_TypedLinkSpecifier(_, context),
|
|
5723
|
+
});
|
|
5893
5724
|
};
|
|
5894
5725
|
const se_BatchGetLinkAttributes = (input, context) => {
|
|
5895
|
-
return {
|
|
5896
|
-
|
|
5897
|
-
|
|
5898
|
-
|
|
5899
|
-
}),
|
|
5900
|
-
};
|
|
5901
|
-
};
|
|
5902
|
-
const se_BatchGetObjectAttributes = (input, context) => {
|
|
5903
|
-
return {
|
|
5904
|
-
...(input.AttributeNames != null && { AttributeNames: se_AttributeNameList(input.AttributeNames, context) }),
|
|
5905
|
-
...(input.ObjectReference != null && { ObjectReference: se_ObjectReference(input.ObjectReference, context) }),
|
|
5906
|
-
...(input.SchemaFacet != null && { SchemaFacet: se_SchemaFacet(input.SchemaFacet, context) }),
|
|
5907
|
-
};
|
|
5908
|
-
};
|
|
5909
|
-
const se_BatchGetObjectInformation = (input, context) => {
|
|
5910
|
-
return {
|
|
5911
|
-
...(input.ObjectReference != null && { ObjectReference: se_ObjectReference(input.ObjectReference, context) }),
|
|
5912
|
-
};
|
|
5913
|
-
};
|
|
5914
|
-
const se_BatchListAttachedIndices = (input, context) => {
|
|
5915
|
-
return {
|
|
5916
|
-
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
5917
|
-
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
5918
|
-
...(input.TargetReference != null && { TargetReference: se_ObjectReference(input.TargetReference, context) }),
|
|
5919
|
-
};
|
|
5726
|
+
return take(input, {
|
|
5727
|
+
AttributeNames: _json,
|
|
5728
|
+
TypedLinkSpecifier: (_) => se_TypedLinkSpecifier(_, context),
|
|
5729
|
+
});
|
|
5920
5730
|
};
|
|
5921
5731
|
const se_BatchListIncomingTypedLinks = (input, context) => {
|
|
5922
|
-
return {
|
|
5923
|
-
|
|
5924
|
-
|
|
5925
|
-
|
|
5926
|
-
|
|
5927
|
-
|
|
5928
|
-
|
|
5929
|
-
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
5930
|
-
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
5931
|
-
...(input.ObjectReference != null && { ObjectReference: se_ObjectReference(input.ObjectReference, context) }),
|
|
5932
|
-
};
|
|
5732
|
+
return take(input, {
|
|
5733
|
+
FilterAttributeRanges: (_) => se_TypedLinkAttributeRangeList(_, context),
|
|
5734
|
+
FilterTypedLink: _json,
|
|
5735
|
+
MaxResults: [],
|
|
5736
|
+
NextToken: [],
|
|
5737
|
+
ObjectReference: _json,
|
|
5738
|
+
});
|
|
5933
5739
|
};
|
|
5934
5740
|
const se_BatchListIndex = (input, context) => {
|
|
5935
|
-
return {
|
|
5936
|
-
|
|
5937
|
-
|
|
5938
|
-
|
|
5939
|
-
|
|
5940
|
-
|
|
5941
|
-
}),
|
|
5942
|
-
};
|
|
5943
|
-
};
|
|
5944
|
-
const se_BatchListObjectAttributes = (input, context) => {
|
|
5945
|
-
return {
|
|
5946
|
-
...(input.FacetFilter != null && { FacetFilter: se_SchemaFacet(input.FacetFilter, context) }),
|
|
5947
|
-
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
5948
|
-
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
5949
|
-
...(input.ObjectReference != null && { ObjectReference: se_ObjectReference(input.ObjectReference, context) }),
|
|
5950
|
-
};
|
|
5951
|
-
};
|
|
5952
|
-
const se_BatchListObjectChildren = (input, context) => {
|
|
5953
|
-
return {
|
|
5954
|
-
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
5955
|
-
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
5956
|
-
...(input.ObjectReference != null && { ObjectReference: se_ObjectReference(input.ObjectReference, context) }),
|
|
5957
|
-
};
|
|
5958
|
-
};
|
|
5959
|
-
const se_BatchListObjectParentPaths = (input, context) => {
|
|
5960
|
-
return {
|
|
5961
|
-
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
5962
|
-
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
5963
|
-
...(input.ObjectReference != null && { ObjectReference: se_ObjectReference(input.ObjectReference, context) }),
|
|
5964
|
-
};
|
|
5965
|
-
};
|
|
5966
|
-
const se_BatchListObjectParents = (input, context) => {
|
|
5967
|
-
return {
|
|
5968
|
-
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
5969
|
-
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
5970
|
-
...(input.ObjectReference != null && { ObjectReference: se_ObjectReference(input.ObjectReference, context) }),
|
|
5971
|
-
};
|
|
5972
|
-
};
|
|
5973
|
-
const se_BatchListObjectPolicies = (input, context) => {
|
|
5974
|
-
return {
|
|
5975
|
-
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
5976
|
-
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
5977
|
-
...(input.ObjectReference != null && { ObjectReference: se_ObjectReference(input.ObjectReference, context) }),
|
|
5978
|
-
};
|
|
5741
|
+
return take(input, {
|
|
5742
|
+
IndexReference: _json,
|
|
5743
|
+
MaxResults: [],
|
|
5744
|
+
NextToken: [],
|
|
5745
|
+
RangesOnIndexedValues: (_) => se_ObjectAttributeRangeList(_, context),
|
|
5746
|
+
});
|
|
5979
5747
|
};
|
|
5980
5748
|
const se_BatchListOutgoingTypedLinks = (input, context) => {
|
|
5981
|
-
return {
|
|
5982
|
-
|
|
5983
|
-
|
|
5984
|
-
|
|
5985
|
-
|
|
5986
|
-
|
|
5987
|
-
|
|
5988
|
-
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
5989
|
-
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
5990
|
-
...(input.ObjectReference != null && { ObjectReference: se_ObjectReference(input.ObjectReference, context) }),
|
|
5991
|
-
};
|
|
5992
|
-
};
|
|
5993
|
-
const se_BatchListPolicyAttachments = (input, context) => {
|
|
5994
|
-
return {
|
|
5995
|
-
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
5996
|
-
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
5997
|
-
...(input.PolicyReference != null && { PolicyReference: se_ObjectReference(input.PolicyReference, context) }),
|
|
5998
|
-
};
|
|
5999
|
-
};
|
|
6000
|
-
const se_BatchLookupPolicy = (input, context) => {
|
|
6001
|
-
return {
|
|
6002
|
-
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
6003
|
-
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
6004
|
-
...(input.ObjectReference != null && { ObjectReference: se_ObjectReference(input.ObjectReference, context) }),
|
|
6005
|
-
};
|
|
5749
|
+
return take(input, {
|
|
5750
|
+
FilterAttributeRanges: (_) => se_TypedLinkAttributeRangeList(_, context),
|
|
5751
|
+
FilterTypedLink: _json,
|
|
5752
|
+
MaxResults: [],
|
|
5753
|
+
NextToken: [],
|
|
5754
|
+
ObjectReference: _json,
|
|
5755
|
+
});
|
|
6006
5756
|
};
|
|
6007
5757
|
const se_BatchReadOperation = (input, context) => {
|
|
6008
|
-
return {
|
|
6009
|
-
|
|
6010
|
-
|
|
6011
|
-
|
|
6012
|
-
|
|
6013
|
-
|
|
6014
|
-
|
|
6015
|
-
|
|
6016
|
-
|
|
6017
|
-
|
|
6018
|
-
|
|
6019
|
-
|
|
6020
|
-
|
|
6021
|
-
|
|
6022
|
-
|
|
6023
|
-
|
|
6024
|
-
...(input.ListIndex != null && { ListIndex: se_BatchListIndex(input.ListIndex, context) }),
|
|
6025
|
-
...(input.ListObjectAttributes != null && {
|
|
6026
|
-
ListObjectAttributes: se_BatchListObjectAttributes(input.ListObjectAttributes, context),
|
|
6027
|
-
}),
|
|
6028
|
-
...(input.ListObjectChildren != null && {
|
|
6029
|
-
ListObjectChildren: se_BatchListObjectChildren(input.ListObjectChildren, context),
|
|
6030
|
-
}),
|
|
6031
|
-
...(input.ListObjectParentPaths != null && {
|
|
6032
|
-
ListObjectParentPaths: se_BatchListObjectParentPaths(input.ListObjectParentPaths, context),
|
|
6033
|
-
}),
|
|
6034
|
-
...(input.ListObjectParents != null && {
|
|
6035
|
-
ListObjectParents: se_BatchListObjectParents(input.ListObjectParents, context),
|
|
6036
|
-
}),
|
|
6037
|
-
...(input.ListObjectPolicies != null && {
|
|
6038
|
-
ListObjectPolicies: se_BatchListObjectPolicies(input.ListObjectPolicies, context),
|
|
6039
|
-
}),
|
|
6040
|
-
...(input.ListOutgoingTypedLinks != null && {
|
|
6041
|
-
ListOutgoingTypedLinks: se_BatchListOutgoingTypedLinks(input.ListOutgoingTypedLinks, context),
|
|
6042
|
-
}),
|
|
6043
|
-
...(input.ListPolicyAttachments != null && {
|
|
6044
|
-
ListPolicyAttachments: se_BatchListPolicyAttachments(input.ListPolicyAttachments, context),
|
|
6045
|
-
}),
|
|
6046
|
-
...(input.LookupPolicy != null && { LookupPolicy: se_BatchLookupPolicy(input.LookupPolicy, context) }),
|
|
6047
|
-
};
|
|
5758
|
+
return take(input, {
|
|
5759
|
+
GetLinkAttributes: (_) => se_BatchGetLinkAttributes(_, context),
|
|
5760
|
+
GetObjectAttributes: _json,
|
|
5761
|
+
GetObjectInformation: _json,
|
|
5762
|
+
ListAttachedIndices: _json,
|
|
5763
|
+
ListIncomingTypedLinks: (_) => se_BatchListIncomingTypedLinks(_, context),
|
|
5764
|
+
ListIndex: (_) => se_BatchListIndex(_, context),
|
|
5765
|
+
ListObjectAttributes: _json,
|
|
5766
|
+
ListObjectChildren: _json,
|
|
5767
|
+
ListObjectParentPaths: _json,
|
|
5768
|
+
ListObjectParents: _json,
|
|
5769
|
+
ListObjectPolicies: _json,
|
|
5770
|
+
ListOutgoingTypedLinks: (_) => se_BatchListOutgoingTypedLinks(_, context),
|
|
5771
|
+
ListPolicyAttachments: _json,
|
|
5772
|
+
LookupPolicy: _json,
|
|
5773
|
+
});
|
|
6048
5774
|
};
|
|
6049
5775
|
const se_BatchReadOperationList = (input, context) => {
|
|
6050
5776
|
return input
|
|
@@ -6053,56 +5779,36 @@ const se_BatchReadOperationList = (input, context) => {
|
|
|
6053
5779
|
return se_BatchReadOperation(entry, context);
|
|
6054
5780
|
});
|
|
6055
5781
|
};
|
|
6056
|
-
const se_BatchRemoveFacetFromObject = (input, context) => {
|
|
6057
|
-
return {
|
|
6058
|
-
...(input.ObjectReference != null && { ObjectReference: se_ObjectReference(input.ObjectReference, context) }),
|
|
6059
|
-
...(input.SchemaFacet != null && { SchemaFacet: se_SchemaFacet(input.SchemaFacet, context) }),
|
|
6060
|
-
};
|
|
6061
|
-
};
|
|
6062
5782
|
const se_BatchUpdateLinkAttributes = (input, context) => {
|
|
6063
|
-
return {
|
|
6064
|
-
|
|
6065
|
-
|
|
6066
|
-
|
|
6067
|
-
...(input.TypedLinkSpecifier != null && {
|
|
6068
|
-
TypedLinkSpecifier: se_TypedLinkSpecifier(input.TypedLinkSpecifier, context),
|
|
6069
|
-
}),
|
|
6070
|
-
};
|
|
5783
|
+
return take(input, {
|
|
5784
|
+
AttributeUpdates: (_) => se_LinkAttributeUpdateList(_, context),
|
|
5785
|
+
TypedLinkSpecifier: (_) => se_TypedLinkSpecifier(_, context),
|
|
5786
|
+
});
|
|
6071
5787
|
};
|
|
6072
5788
|
const se_BatchUpdateObjectAttributes = (input, context) => {
|
|
6073
|
-
return {
|
|
6074
|
-
|
|
6075
|
-
|
|
6076
|
-
|
|
6077
|
-
...(input.ObjectReference != null && { ObjectReference: se_ObjectReference(input.ObjectReference, context) }),
|
|
6078
|
-
};
|
|
5789
|
+
return take(input, {
|
|
5790
|
+
AttributeUpdates: (_) => se_ObjectAttributeUpdateList(_, context),
|
|
5791
|
+
ObjectReference: _json,
|
|
5792
|
+
});
|
|
6079
5793
|
};
|
|
6080
5794
|
const se_BatchWriteOperation = (input, context) => {
|
|
6081
|
-
return {
|
|
6082
|
-
|
|
6083
|
-
|
|
6084
|
-
|
|
6085
|
-
|
|
6086
|
-
|
|
6087
|
-
|
|
6088
|
-
|
|
6089
|
-
|
|
6090
|
-
|
|
6091
|
-
|
|
6092
|
-
|
|
6093
|
-
|
|
6094
|
-
|
|
6095
|
-
|
|
6096
|
-
|
|
6097
|
-
|
|
6098
|
-
}),
|
|
6099
|
-
...(input.UpdateLinkAttributes != null && {
|
|
6100
|
-
UpdateLinkAttributes: se_BatchUpdateLinkAttributes(input.UpdateLinkAttributes, context),
|
|
6101
|
-
}),
|
|
6102
|
-
...(input.UpdateObjectAttributes != null && {
|
|
6103
|
-
UpdateObjectAttributes: se_BatchUpdateObjectAttributes(input.UpdateObjectAttributes, context),
|
|
6104
|
-
}),
|
|
6105
|
-
};
|
|
5795
|
+
return take(input, {
|
|
5796
|
+
AddFacetToObject: (_) => se_BatchAddFacetToObject(_, context),
|
|
5797
|
+
AttachObject: _json,
|
|
5798
|
+
AttachPolicy: _json,
|
|
5799
|
+
AttachToIndex: _json,
|
|
5800
|
+
AttachTypedLink: (_) => se_BatchAttachTypedLink(_, context),
|
|
5801
|
+
CreateIndex: _json,
|
|
5802
|
+
CreateObject: (_) => se_BatchCreateObject(_, context),
|
|
5803
|
+
DeleteObject: _json,
|
|
5804
|
+
DetachFromIndex: _json,
|
|
5805
|
+
DetachObject: _json,
|
|
5806
|
+
DetachPolicy: _json,
|
|
5807
|
+
DetachTypedLink: (_) => se_BatchDetachTypedLink(_, context),
|
|
5808
|
+
RemoveFacetFromObject: _json,
|
|
5809
|
+
UpdateLinkAttributes: (_) => se_BatchUpdateLinkAttributes(_, context),
|
|
5810
|
+
UpdateObjectAttributes: (_) => se_BatchUpdateObjectAttributes(_, context),
|
|
5811
|
+
});
|
|
6106
5812
|
};
|
|
6107
5813
|
const se_BatchWriteOperationList = (input, context) => {
|
|
6108
5814
|
return input
|
|
@@ -6112,24 +5818,20 @@ const se_BatchWriteOperationList = (input, context) => {
|
|
|
6112
5818
|
});
|
|
6113
5819
|
};
|
|
6114
5820
|
const se_FacetAttribute = (input, context) => {
|
|
6115
|
-
return {
|
|
6116
|
-
|
|
6117
|
-
|
|
6118
|
-
|
|
6119
|
-
|
|
6120
|
-
|
|
6121
|
-
}),
|
|
6122
|
-
...(input.Name != null && { Name: input.Name }),
|
|
6123
|
-
...(input.RequiredBehavior != null && { RequiredBehavior: input.RequiredBehavior }),
|
|
6124
|
-
};
|
|
5821
|
+
return take(input, {
|
|
5822
|
+
AttributeDefinition: (_) => se_FacetAttributeDefinition(_, context),
|
|
5823
|
+
AttributeReference: _json,
|
|
5824
|
+
Name: [],
|
|
5825
|
+
RequiredBehavior: [],
|
|
5826
|
+
});
|
|
6125
5827
|
};
|
|
6126
5828
|
const se_FacetAttributeDefinition = (input, context) => {
|
|
6127
|
-
return {
|
|
6128
|
-
|
|
6129
|
-
|
|
6130
|
-
|
|
6131
|
-
|
|
6132
|
-
};
|
|
5829
|
+
return take(input, {
|
|
5830
|
+
DefaultValue: (_) => se_TypedAttributeValue(_, context),
|
|
5831
|
+
IsImmutable: [],
|
|
5832
|
+
Rules: _json,
|
|
5833
|
+
Type: [],
|
|
5834
|
+
});
|
|
6133
5835
|
};
|
|
6134
5836
|
const se_FacetAttributeList = (input, context) => {
|
|
6135
5837
|
return input
|
|
@@ -6138,17 +5840,11 @@ const se_FacetAttributeList = (input, context) => {
|
|
|
6138
5840
|
return se_FacetAttribute(entry, context);
|
|
6139
5841
|
});
|
|
6140
5842
|
};
|
|
6141
|
-
const se_FacetAttributeReference = (input, context) => {
|
|
6142
|
-
return {
|
|
6143
|
-
...(input.TargetAttributeName != null && { TargetAttributeName: input.TargetAttributeName }),
|
|
6144
|
-
...(input.TargetFacetName != null && { TargetFacetName: input.TargetFacetName }),
|
|
6145
|
-
};
|
|
6146
|
-
};
|
|
6147
5843
|
const se_FacetAttributeUpdate = (input, context) => {
|
|
6148
|
-
return {
|
|
6149
|
-
|
|
6150
|
-
|
|
6151
|
-
};
|
|
5844
|
+
return take(input, {
|
|
5845
|
+
Action: [],
|
|
5846
|
+
Attribute: (_) => se_FacetAttribute(_, context),
|
|
5847
|
+
});
|
|
6152
5848
|
};
|
|
6153
5849
|
const se_FacetAttributeUpdateList = (input, context) => {
|
|
6154
5850
|
return input
|
|
@@ -6158,18 +5854,16 @@ const se_FacetAttributeUpdateList = (input, context) => {
|
|
|
6158
5854
|
});
|
|
6159
5855
|
};
|
|
6160
5856
|
const se_LinkAttributeAction = (input, context) => {
|
|
6161
|
-
return {
|
|
6162
|
-
|
|
6163
|
-
|
|
6164
|
-
|
|
6165
|
-
}),
|
|
6166
|
-
};
|
|
5857
|
+
return take(input, {
|
|
5858
|
+
AttributeActionType: [],
|
|
5859
|
+
AttributeUpdateValue: (_) => se_TypedAttributeValue(_, context),
|
|
5860
|
+
});
|
|
6167
5861
|
};
|
|
6168
5862
|
const se_LinkAttributeUpdate = (input, context) => {
|
|
6169
|
-
return {
|
|
6170
|
-
|
|
6171
|
-
|
|
6172
|
-
};
|
|
5863
|
+
return take(input, {
|
|
5864
|
+
AttributeAction: (_) => se_LinkAttributeAction(_, context),
|
|
5865
|
+
AttributeKey: _json,
|
|
5866
|
+
});
|
|
6173
5867
|
};
|
|
6174
5868
|
const se_LinkAttributeUpdateList = (input, context) => {
|
|
6175
5869
|
return input
|
|
@@ -6179,18 +5873,16 @@ const se_LinkAttributeUpdateList = (input, context) => {
|
|
|
6179
5873
|
});
|
|
6180
5874
|
};
|
|
6181
5875
|
const se_ObjectAttributeAction = (input, context) => {
|
|
6182
|
-
return {
|
|
6183
|
-
|
|
6184
|
-
|
|
6185
|
-
|
|
6186
|
-
}),
|
|
6187
|
-
};
|
|
5876
|
+
return take(input, {
|
|
5877
|
+
ObjectAttributeActionType: [],
|
|
5878
|
+
ObjectAttributeUpdateValue: (_) => se_TypedAttributeValue(_, context),
|
|
5879
|
+
});
|
|
6188
5880
|
};
|
|
6189
5881
|
const se_ObjectAttributeRange = (input, context) => {
|
|
6190
|
-
return {
|
|
6191
|
-
|
|
6192
|
-
|
|
6193
|
-
};
|
|
5882
|
+
return take(input, {
|
|
5883
|
+
AttributeKey: _json,
|
|
5884
|
+
Range: (_) => se_TypedAttributeValueRange(_, context),
|
|
5885
|
+
});
|
|
6194
5886
|
};
|
|
6195
5887
|
const se_ObjectAttributeRangeList = (input, context) => {
|
|
6196
5888
|
return input
|
|
@@ -6200,12 +5892,10 @@ const se_ObjectAttributeRangeList = (input, context) => {
|
|
|
6200
5892
|
});
|
|
6201
5893
|
};
|
|
6202
5894
|
const se_ObjectAttributeUpdate = (input, context) => {
|
|
6203
|
-
return {
|
|
6204
|
-
|
|
6205
|
-
|
|
6206
|
-
|
|
6207
|
-
...(input.ObjectAttributeKey != null && { ObjectAttributeKey: se_AttributeKey(input.ObjectAttributeKey, context) }),
|
|
6208
|
-
};
|
|
5895
|
+
return take(input, {
|
|
5896
|
+
ObjectAttributeAction: (_) => se_ObjectAttributeAction(_, context),
|
|
5897
|
+
ObjectAttributeKey: _json,
|
|
5898
|
+
});
|
|
6209
5899
|
};
|
|
6210
5900
|
const se_ObjectAttributeUpdateList = (input, context) => {
|
|
6211
5901
|
return input
|
|
@@ -6214,68 +5904,6 @@ const se_ObjectAttributeUpdateList = (input, context) => {
|
|
|
6214
5904
|
return se_ObjectAttributeUpdate(entry, context);
|
|
6215
5905
|
});
|
|
6216
5906
|
};
|
|
6217
|
-
const se_ObjectReference = (input, context) => {
|
|
6218
|
-
return {
|
|
6219
|
-
...(input.Selector != null && { Selector: input.Selector }),
|
|
6220
|
-
};
|
|
6221
|
-
};
|
|
6222
|
-
const se_Rule = (input, context) => {
|
|
6223
|
-
return {
|
|
6224
|
-
...(input.Parameters != null && { Parameters: se_RuleParameterMap(input.Parameters, context) }),
|
|
6225
|
-
...(input.Type != null && { Type: input.Type }),
|
|
6226
|
-
};
|
|
6227
|
-
};
|
|
6228
|
-
const se_RuleMap = (input, context) => {
|
|
6229
|
-
return Object.entries(input).reduce((acc, [key, value]) => {
|
|
6230
|
-
if (value === null) {
|
|
6231
|
-
return acc;
|
|
6232
|
-
}
|
|
6233
|
-
acc[key] = se_Rule(value, context);
|
|
6234
|
-
return acc;
|
|
6235
|
-
}, {});
|
|
6236
|
-
};
|
|
6237
|
-
const se_RuleParameterMap = (input, context) => {
|
|
6238
|
-
return Object.entries(input).reduce((acc, [key, value]) => {
|
|
6239
|
-
if (value === null) {
|
|
6240
|
-
return acc;
|
|
6241
|
-
}
|
|
6242
|
-
acc[key] = value;
|
|
6243
|
-
return acc;
|
|
6244
|
-
}, {});
|
|
6245
|
-
};
|
|
6246
|
-
const se_SchemaFacet = (input, context) => {
|
|
6247
|
-
return {
|
|
6248
|
-
...(input.FacetName != null && { FacetName: input.FacetName }),
|
|
6249
|
-
...(input.SchemaArn != null && { SchemaArn: input.SchemaArn }),
|
|
6250
|
-
};
|
|
6251
|
-
};
|
|
6252
|
-
const se_SchemaFacetList = (input, context) => {
|
|
6253
|
-
return input
|
|
6254
|
-
.filter((e) => e != null)
|
|
6255
|
-
.map((entry) => {
|
|
6256
|
-
return se_SchemaFacet(entry, context);
|
|
6257
|
-
});
|
|
6258
|
-
};
|
|
6259
|
-
const se_Tag = (input, context) => {
|
|
6260
|
-
return {
|
|
6261
|
-
...(input.Key != null && { Key: input.Key }),
|
|
6262
|
-
...(input.Value != null && { Value: input.Value }),
|
|
6263
|
-
};
|
|
6264
|
-
};
|
|
6265
|
-
const se_TagKeyList = (input, context) => {
|
|
6266
|
-
return input
|
|
6267
|
-
.filter((e) => e != null)
|
|
6268
|
-
.map((entry) => {
|
|
6269
|
-
return entry;
|
|
6270
|
-
});
|
|
6271
|
-
};
|
|
6272
|
-
const se_TagList = (input, context) => {
|
|
6273
|
-
return input
|
|
6274
|
-
.filter((e) => e != null)
|
|
6275
|
-
.map((entry) => {
|
|
6276
|
-
return se_Tag(entry, context);
|
|
6277
|
-
});
|
|
6278
|
-
};
|
|
6279
5907
|
const se_TypedAttributeValue = (input, context) => {
|
|
6280
5908
|
return TypedAttributeValue.visit(input, {
|
|
6281
5909
|
BinaryValue: (value) => ({ BinaryValue: context.base64Encoder(value) }),
|
|
@@ -6287,22 +5915,22 @@ const se_TypedAttributeValue = (input, context) => {
|
|
|
6287
5915
|
});
|
|
6288
5916
|
};
|
|
6289
5917
|
const se_TypedAttributeValueRange = (input, context) => {
|
|
6290
|
-
return {
|
|
6291
|
-
|
|
6292
|
-
|
|
6293
|
-
|
|
6294
|
-
|
|
6295
|
-
};
|
|
5918
|
+
return take(input, {
|
|
5919
|
+
EndMode: [],
|
|
5920
|
+
EndValue: (_) => se_TypedAttributeValue(_, context),
|
|
5921
|
+
StartMode: [],
|
|
5922
|
+
StartValue: (_) => se_TypedAttributeValue(_, context),
|
|
5923
|
+
});
|
|
6296
5924
|
};
|
|
6297
5925
|
const se_TypedLinkAttributeDefinition = (input, context) => {
|
|
6298
|
-
return {
|
|
6299
|
-
|
|
6300
|
-
|
|
6301
|
-
|
|
6302
|
-
|
|
6303
|
-
|
|
6304
|
-
|
|
6305
|
-
};
|
|
5926
|
+
return take(input, {
|
|
5927
|
+
DefaultValue: (_) => se_TypedAttributeValue(_, context),
|
|
5928
|
+
IsImmutable: [],
|
|
5929
|
+
Name: [],
|
|
5930
|
+
RequiredBehavior: [],
|
|
5931
|
+
Rules: _json,
|
|
5932
|
+
Type: [],
|
|
5933
|
+
});
|
|
6306
5934
|
};
|
|
6307
5935
|
const se_TypedLinkAttributeDefinitionList = (input, context) => {
|
|
6308
5936
|
return input
|
|
@@ -6312,10 +5940,10 @@ const se_TypedLinkAttributeDefinitionList = (input, context) => {
|
|
|
6312
5940
|
});
|
|
6313
5941
|
};
|
|
6314
5942
|
const se_TypedLinkAttributeRange = (input, context) => {
|
|
6315
|
-
return {
|
|
6316
|
-
|
|
6317
|
-
|
|
6318
|
-
};
|
|
5943
|
+
return take(input, {
|
|
5944
|
+
AttributeName: [],
|
|
5945
|
+
Range: (_) => se_TypedAttributeValueRange(_, context),
|
|
5946
|
+
});
|
|
6319
5947
|
};
|
|
6320
5948
|
const se_TypedLinkAttributeRangeList = (input, context) => {
|
|
6321
5949
|
return input
|
|
@@ -6325,19 +5953,17 @@ const se_TypedLinkAttributeRangeList = (input, context) => {
|
|
|
6325
5953
|
});
|
|
6326
5954
|
};
|
|
6327
5955
|
const se_TypedLinkFacet = (input, context) => {
|
|
6328
|
-
return {
|
|
6329
|
-
|
|
6330
|
-
|
|
6331
|
-
|
|
6332
|
-
|
|
6333
|
-
...(input.Name != null && { Name: input.Name }),
|
|
6334
|
-
};
|
|
5956
|
+
return take(input, {
|
|
5957
|
+
Attributes: (_) => se_TypedLinkAttributeDefinitionList(_, context),
|
|
5958
|
+
IdentityAttributeOrder: _json,
|
|
5959
|
+
Name: [],
|
|
5960
|
+
});
|
|
6335
5961
|
};
|
|
6336
5962
|
const se_TypedLinkFacetAttributeUpdate = (input, context) => {
|
|
6337
|
-
return {
|
|
6338
|
-
|
|
6339
|
-
|
|
6340
|
-
};
|
|
5963
|
+
return take(input, {
|
|
5964
|
+
Action: [],
|
|
5965
|
+
Attribute: (_) => se_TypedLinkAttributeDefinition(_, context),
|
|
5966
|
+
});
|
|
6341
5967
|
};
|
|
6342
5968
|
const se_TypedLinkFacetAttributeUpdateList = (input, context) => {
|
|
6343
5969
|
return input
|
|
@@ -6346,589 +5972,200 @@ const se_TypedLinkFacetAttributeUpdateList = (input, context) => {
|
|
|
6346
5972
|
return se_TypedLinkFacetAttributeUpdate(entry, context);
|
|
6347
5973
|
});
|
|
6348
5974
|
};
|
|
6349
|
-
const se_TypedLinkSchemaAndFacetName = (input, context) => {
|
|
6350
|
-
return {
|
|
6351
|
-
...(input.SchemaArn != null && { SchemaArn: input.SchemaArn }),
|
|
6352
|
-
...(input.TypedLinkName != null && { TypedLinkName: input.TypedLinkName }),
|
|
6353
|
-
};
|
|
6354
|
-
};
|
|
6355
5975
|
const se_TypedLinkSpecifier = (input, context) => {
|
|
6356
|
-
return {
|
|
6357
|
-
|
|
6358
|
-
|
|
6359
|
-
|
|
6360
|
-
|
|
6361
|
-
SourceObjectReference: se_ObjectReference(input.SourceObjectReference, context),
|
|
6362
|
-
}),
|
|
6363
|
-
...(input.TargetObjectReference != null && {
|
|
6364
|
-
TargetObjectReference: se_ObjectReference(input.TargetObjectReference, context),
|
|
6365
|
-
}),
|
|
6366
|
-
...(input.TypedLinkFacet != null && {
|
|
6367
|
-
TypedLinkFacet: se_TypedLinkSchemaAndFacetName(input.TypedLinkFacet, context),
|
|
6368
|
-
}),
|
|
6369
|
-
};
|
|
6370
|
-
};
|
|
6371
|
-
const de_Arns = (output, context) => {
|
|
6372
|
-
const retVal = (output || [])
|
|
6373
|
-
.filter((e) => e != null)
|
|
6374
|
-
.map((entry) => {
|
|
6375
|
-
if (entry === null) {
|
|
6376
|
-
return null;
|
|
6377
|
-
}
|
|
6378
|
-
return __expectString(entry);
|
|
5976
|
+
return take(input, {
|
|
5977
|
+
IdentityAttributeValues: (_) => se_AttributeNameAndValueList(_, context),
|
|
5978
|
+
SourceObjectReference: _json,
|
|
5979
|
+
TargetObjectReference: _json,
|
|
5980
|
+
TypedLinkFacet: _json,
|
|
6379
5981
|
});
|
|
6380
|
-
return retVal;
|
|
6381
|
-
};
|
|
6382
|
-
const de_AttributeKey = (output, context) => {
|
|
6383
|
-
return {
|
|
6384
|
-
FacetName: __expectString(output.FacetName),
|
|
6385
|
-
Name: __expectString(output.Name),
|
|
6386
|
-
SchemaArn: __expectString(output.SchemaArn),
|
|
6387
|
-
};
|
|
6388
5982
|
};
|
|
6389
5983
|
const de_AttributeKeyAndValue = (output, context) => {
|
|
6390
|
-
return {
|
|
6391
|
-
Key:
|
|
6392
|
-
Value:
|
|
6393
|
-
};
|
|
5984
|
+
return take(output, {
|
|
5985
|
+
Key: _json,
|
|
5986
|
+
Value: (_) => de_TypedAttributeValue(__expectUnion(_), context),
|
|
5987
|
+
});
|
|
6394
5988
|
};
|
|
6395
5989
|
const de_AttributeKeyAndValueList = (output, context) => {
|
|
6396
5990
|
const retVal = (output || [])
|
|
6397
5991
|
.filter((e) => e != null)
|
|
6398
5992
|
.map((entry) => {
|
|
6399
|
-
if (entry === null) {
|
|
6400
|
-
return null;
|
|
6401
|
-
}
|
|
6402
5993
|
return de_AttributeKeyAndValue(entry, context);
|
|
6403
5994
|
});
|
|
6404
5995
|
return retVal;
|
|
6405
5996
|
};
|
|
6406
5997
|
const de_AttributeNameAndValue = (output, context) => {
|
|
6407
|
-
return {
|
|
6408
|
-
AttributeName: __expectString
|
|
6409
|
-
Value:
|
|
6410
|
-
};
|
|
5998
|
+
return take(output, {
|
|
5999
|
+
AttributeName: __expectString,
|
|
6000
|
+
Value: (_) => de_TypedAttributeValue(__expectUnion(_), context),
|
|
6001
|
+
});
|
|
6411
6002
|
};
|
|
6412
6003
|
const de_AttributeNameAndValueList = (output, context) => {
|
|
6413
6004
|
const retVal = (output || [])
|
|
6414
6005
|
.filter((e) => e != null)
|
|
6415
6006
|
.map((entry) => {
|
|
6416
|
-
if (entry === null) {
|
|
6417
|
-
return null;
|
|
6418
|
-
}
|
|
6419
6007
|
return de_AttributeNameAndValue(entry, context);
|
|
6420
6008
|
});
|
|
6421
6009
|
return retVal;
|
|
6422
6010
|
};
|
|
6423
|
-
const de_AttributeNameList = (output, context) => {
|
|
6424
|
-
const retVal = (output || [])
|
|
6425
|
-
.filter((e) => e != null)
|
|
6426
|
-
.map((entry) => {
|
|
6427
|
-
if (entry === null) {
|
|
6428
|
-
return null;
|
|
6429
|
-
}
|
|
6430
|
-
return __expectString(entry);
|
|
6431
|
-
});
|
|
6432
|
-
return retVal;
|
|
6433
|
-
};
|
|
6434
|
-
const de_BatchAddFacetToObjectResponse = (output, context) => {
|
|
6435
|
-
return {};
|
|
6436
|
-
};
|
|
6437
|
-
const de_BatchAttachObjectResponse = (output, context) => {
|
|
6438
|
-
return {
|
|
6439
|
-
attachedObjectIdentifier: __expectString(output.attachedObjectIdentifier),
|
|
6440
|
-
};
|
|
6441
|
-
};
|
|
6442
|
-
const de_BatchAttachPolicyResponse = (output, context) => {
|
|
6443
|
-
return {};
|
|
6444
|
-
};
|
|
6445
|
-
const de_BatchAttachToIndexResponse = (output, context) => {
|
|
6446
|
-
return {
|
|
6447
|
-
AttachedObjectIdentifier: __expectString(output.AttachedObjectIdentifier),
|
|
6448
|
-
};
|
|
6449
|
-
};
|
|
6450
6011
|
const de_BatchAttachTypedLinkResponse = (output, context) => {
|
|
6451
|
-
return {
|
|
6452
|
-
TypedLinkSpecifier:
|
|
6453
|
-
};
|
|
6454
|
-
};
|
|
6455
|
-
const de_BatchCreateIndexResponse = (output, context) => {
|
|
6456
|
-
return {
|
|
6457
|
-
ObjectIdentifier: __expectString(output.ObjectIdentifier),
|
|
6458
|
-
};
|
|
6459
|
-
};
|
|
6460
|
-
const de_BatchCreateObjectResponse = (output, context) => {
|
|
6461
|
-
return {
|
|
6462
|
-
ObjectIdentifier: __expectString(output.ObjectIdentifier),
|
|
6463
|
-
};
|
|
6464
|
-
};
|
|
6465
|
-
const de_BatchDeleteObjectResponse = (output, context) => {
|
|
6466
|
-
return {};
|
|
6467
|
-
};
|
|
6468
|
-
const de_BatchDetachFromIndexResponse = (output, context) => {
|
|
6469
|
-
return {
|
|
6470
|
-
DetachedObjectIdentifier: __expectString(output.DetachedObjectIdentifier),
|
|
6471
|
-
};
|
|
6472
|
-
};
|
|
6473
|
-
const de_BatchDetachObjectResponse = (output, context) => {
|
|
6474
|
-
return {
|
|
6475
|
-
detachedObjectIdentifier: __expectString(output.detachedObjectIdentifier),
|
|
6476
|
-
};
|
|
6477
|
-
};
|
|
6478
|
-
const de_BatchDetachPolicyResponse = (output, context) => {
|
|
6479
|
-
return {};
|
|
6480
|
-
};
|
|
6481
|
-
const de_BatchDetachTypedLinkResponse = (output, context) => {
|
|
6482
|
-
return {};
|
|
6012
|
+
return take(output, {
|
|
6013
|
+
TypedLinkSpecifier: (_) => de_TypedLinkSpecifier(_, context),
|
|
6014
|
+
});
|
|
6483
6015
|
};
|
|
6484
6016
|
const de_BatchGetLinkAttributesResponse = (output, context) => {
|
|
6485
|
-
return {
|
|
6486
|
-
Attributes:
|
|
6487
|
-
};
|
|
6017
|
+
return take(output, {
|
|
6018
|
+
Attributes: (_) => de_AttributeKeyAndValueList(_, context),
|
|
6019
|
+
});
|
|
6488
6020
|
};
|
|
6489
6021
|
const de_BatchGetObjectAttributesResponse = (output, context) => {
|
|
6490
|
-
return {
|
|
6491
|
-
Attributes:
|
|
6492
|
-
};
|
|
6493
|
-
};
|
|
6494
|
-
const de_BatchGetObjectInformationResponse = (output, context) => {
|
|
6495
|
-
return {
|
|
6496
|
-
ObjectIdentifier: __expectString(output.ObjectIdentifier),
|
|
6497
|
-
SchemaFacets: output.SchemaFacets != null ? de_SchemaFacetList(output.SchemaFacets, context) : undefined,
|
|
6498
|
-
};
|
|
6022
|
+
return take(output, {
|
|
6023
|
+
Attributes: (_) => de_AttributeKeyAndValueList(_, context),
|
|
6024
|
+
});
|
|
6499
6025
|
};
|
|
6500
6026
|
const de_BatchListAttachedIndicesResponse = (output, context) => {
|
|
6501
|
-
return {
|
|
6502
|
-
IndexAttachments:
|
|
6503
|
-
NextToken: __expectString
|
|
6504
|
-
};
|
|
6027
|
+
return take(output, {
|
|
6028
|
+
IndexAttachments: (_) => de_IndexAttachmentList(_, context),
|
|
6029
|
+
NextToken: __expectString,
|
|
6030
|
+
});
|
|
6505
6031
|
};
|
|
6506
6032
|
const de_BatchListIncomingTypedLinksResponse = (output, context) => {
|
|
6507
|
-
return {
|
|
6508
|
-
LinkSpecifiers:
|
|
6509
|
-
NextToken: __expectString
|
|
6510
|
-
};
|
|
6033
|
+
return take(output, {
|
|
6034
|
+
LinkSpecifiers: (_) => de_TypedLinkSpecifierList(_, context),
|
|
6035
|
+
NextToken: __expectString,
|
|
6036
|
+
});
|
|
6511
6037
|
};
|
|
6512
6038
|
const de_BatchListIndexResponse = (output, context) => {
|
|
6513
|
-
return {
|
|
6514
|
-
IndexAttachments:
|
|
6515
|
-
NextToken: __expectString
|
|
6516
|
-
};
|
|
6039
|
+
return take(output, {
|
|
6040
|
+
IndexAttachments: (_) => de_IndexAttachmentList(_, context),
|
|
6041
|
+
NextToken: __expectString,
|
|
6042
|
+
});
|
|
6517
6043
|
};
|
|
6518
6044
|
const de_BatchListObjectAttributesResponse = (output, context) => {
|
|
6519
|
-
return {
|
|
6520
|
-
Attributes:
|
|
6521
|
-
NextToken: __expectString
|
|
6522
|
-
};
|
|
6523
|
-
};
|
|
6524
|
-
const de_BatchListObjectChildrenResponse = (output, context) => {
|
|
6525
|
-
return {
|
|
6526
|
-
Children: output.Children != null ? de_LinkNameToObjectIdentifierMap(output.Children, context) : undefined,
|
|
6527
|
-
NextToken: __expectString(output.NextToken),
|
|
6528
|
-
};
|
|
6529
|
-
};
|
|
6530
|
-
const de_BatchListObjectParentPathsResponse = (output, context) => {
|
|
6531
|
-
return {
|
|
6532
|
-
NextToken: __expectString(output.NextToken),
|
|
6533
|
-
PathToObjectIdentifiersList: output.PathToObjectIdentifiersList != null
|
|
6534
|
-
? de_PathToObjectIdentifiersList(output.PathToObjectIdentifiersList, context)
|
|
6535
|
-
: undefined,
|
|
6536
|
-
};
|
|
6537
|
-
};
|
|
6538
|
-
const de_BatchListObjectParentsResponse = (output, context) => {
|
|
6539
|
-
return {
|
|
6540
|
-
NextToken: __expectString(output.NextToken),
|
|
6541
|
-
ParentLinks: output.ParentLinks != null ? de_ObjectIdentifierAndLinkNameList(output.ParentLinks, context) : undefined,
|
|
6542
|
-
};
|
|
6543
|
-
};
|
|
6544
|
-
const de_BatchListObjectPoliciesResponse = (output, context) => {
|
|
6545
|
-
return {
|
|
6546
|
-
AttachedPolicyIds: output.AttachedPolicyIds != null ? de_ObjectIdentifierList(output.AttachedPolicyIds, context) : undefined,
|
|
6547
|
-
NextToken: __expectString(output.NextToken),
|
|
6548
|
-
};
|
|
6045
|
+
return take(output, {
|
|
6046
|
+
Attributes: (_) => de_AttributeKeyAndValueList(_, context),
|
|
6047
|
+
NextToken: __expectString,
|
|
6048
|
+
});
|
|
6549
6049
|
};
|
|
6550
6050
|
const de_BatchListOutgoingTypedLinksResponse = (output, context) => {
|
|
6551
|
-
return {
|
|
6552
|
-
NextToken: __expectString
|
|
6553
|
-
TypedLinkSpecifiers:
|
|
6554
|
-
};
|
|
6555
|
-
};
|
|
6556
|
-
const de_BatchListPolicyAttachmentsResponse = (output, context) => {
|
|
6557
|
-
return {
|
|
6558
|
-
NextToken: __expectString(output.NextToken),
|
|
6559
|
-
ObjectIdentifiers: output.ObjectIdentifiers != null ? de_ObjectIdentifierList(output.ObjectIdentifiers, context) : undefined,
|
|
6560
|
-
};
|
|
6561
|
-
};
|
|
6562
|
-
const de_BatchLookupPolicyResponse = (output, context) => {
|
|
6563
|
-
return {
|
|
6564
|
-
NextToken: __expectString(output.NextToken),
|
|
6565
|
-
PolicyToPathList: output.PolicyToPathList != null ? de_PolicyToPathList(output.PolicyToPathList, context) : undefined,
|
|
6566
|
-
};
|
|
6567
|
-
};
|
|
6568
|
-
const de_BatchReadException = (output, context) => {
|
|
6569
|
-
return {
|
|
6570
|
-
Message: __expectString(output.Message),
|
|
6571
|
-
Type: __expectString(output.Type),
|
|
6572
|
-
};
|
|
6051
|
+
return take(output, {
|
|
6052
|
+
NextToken: __expectString,
|
|
6053
|
+
TypedLinkSpecifiers: (_) => de_TypedLinkSpecifierList(_, context),
|
|
6054
|
+
});
|
|
6573
6055
|
};
|
|
6574
6056
|
const de_BatchReadOperationResponse = (output, context) => {
|
|
6575
|
-
return {
|
|
6576
|
-
ExceptionResponse:
|
|
6577
|
-
SuccessfulResponse:
|
|
6578
|
-
|
|
6579
|
-
: undefined,
|
|
6580
|
-
};
|
|
6057
|
+
return take(output, {
|
|
6058
|
+
ExceptionResponse: _json,
|
|
6059
|
+
SuccessfulResponse: (_) => de_BatchReadSuccessfulResponse(_, context),
|
|
6060
|
+
});
|
|
6581
6061
|
};
|
|
6582
6062
|
const de_BatchReadOperationResponseList = (output, context) => {
|
|
6583
6063
|
const retVal = (output || [])
|
|
6584
6064
|
.filter((e) => e != null)
|
|
6585
6065
|
.map((entry) => {
|
|
6586
|
-
if (entry === null) {
|
|
6587
|
-
return null;
|
|
6588
|
-
}
|
|
6589
6066
|
return de_BatchReadOperationResponse(entry, context);
|
|
6590
6067
|
});
|
|
6591
6068
|
return retVal;
|
|
6592
6069
|
};
|
|
6593
6070
|
const de_BatchReadSuccessfulResponse = (output, context) => {
|
|
6594
|
-
return {
|
|
6595
|
-
GetLinkAttributes:
|
|
6596
|
-
|
|
6597
|
-
|
|
6598
|
-
|
|
6599
|
-
|
|
6600
|
-
|
|
6601
|
-
|
|
6602
|
-
|
|
6603
|
-
|
|
6604
|
-
|
|
6605
|
-
|
|
6606
|
-
|
|
6607
|
-
|
|
6608
|
-
|
|
6609
|
-
|
|
6610
|
-
ListIndex: output.ListIndex != null ? de_BatchListIndexResponse(output.ListIndex, context) : undefined,
|
|
6611
|
-
ListObjectAttributes: output.ListObjectAttributes != null
|
|
6612
|
-
? de_BatchListObjectAttributesResponse(output.ListObjectAttributes, context)
|
|
6613
|
-
: undefined,
|
|
6614
|
-
ListObjectChildren: output.ListObjectChildren != null
|
|
6615
|
-
? de_BatchListObjectChildrenResponse(output.ListObjectChildren, context)
|
|
6616
|
-
: undefined,
|
|
6617
|
-
ListObjectParentPaths: output.ListObjectParentPaths != null
|
|
6618
|
-
? de_BatchListObjectParentPathsResponse(output.ListObjectParentPaths, context)
|
|
6619
|
-
: undefined,
|
|
6620
|
-
ListObjectParents: output.ListObjectParents != null
|
|
6621
|
-
? de_BatchListObjectParentsResponse(output.ListObjectParents, context)
|
|
6622
|
-
: undefined,
|
|
6623
|
-
ListObjectPolicies: output.ListObjectPolicies != null
|
|
6624
|
-
? de_BatchListObjectPoliciesResponse(output.ListObjectPolicies, context)
|
|
6625
|
-
: undefined,
|
|
6626
|
-
ListOutgoingTypedLinks: output.ListOutgoingTypedLinks != null
|
|
6627
|
-
? de_BatchListOutgoingTypedLinksResponse(output.ListOutgoingTypedLinks, context)
|
|
6628
|
-
: undefined,
|
|
6629
|
-
ListPolicyAttachments: output.ListPolicyAttachments != null
|
|
6630
|
-
? de_BatchListPolicyAttachmentsResponse(output.ListPolicyAttachments, context)
|
|
6631
|
-
: undefined,
|
|
6632
|
-
LookupPolicy: output.LookupPolicy != null ? de_BatchLookupPolicyResponse(output.LookupPolicy, context) : undefined,
|
|
6633
|
-
};
|
|
6634
|
-
};
|
|
6635
|
-
const de_BatchRemoveFacetFromObjectResponse = (output, context) => {
|
|
6636
|
-
return {};
|
|
6637
|
-
};
|
|
6638
|
-
const de_BatchUpdateLinkAttributesResponse = (output, context) => {
|
|
6639
|
-
return {};
|
|
6640
|
-
};
|
|
6641
|
-
const de_BatchUpdateObjectAttributesResponse = (output, context) => {
|
|
6642
|
-
return {
|
|
6643
|
-
ObjectIdentifier: __expectString(output.ObjectIdentifier),
|
|
6644
|
-
};
|
|
6071
|
+
return take(output, {
|
|
6072
|
+
GetLinkAttributes: (_) => de_BatchGetLinkAttributesResponse(_, context),
|
|
6073
|
+
GetObjectAttributes: (_) => de_BatchGetObjectAttributesResponse(_, context),
|
|
6074
|
+
GetObjectInformation: _json,
|
|
6075
|
+
ListAttachedIndices: (_) => de_BatchListAttachedIndicesResponse(_, context),
|
|
6076
|
+
ListIncomingTypedLinks: (_) => de_BatchListIncomingTypedLinksResponse(_, context),
|
|
6077
|
+
ListIndex: (_) => de_BatchListIndexResponse(_, context),
|
|
6078
|
+
ListObjectAttributes: (_) => de_BatchListObjectAttributesResponse(_, context),
|
|
6079
|
+
ListObjectChildren: _json,
|
|
6080
|
+
ListObjectParentPaths: _json,
|
|
6081
|
+
ListObjectParents: _json,
|
|
6082
|
+
ListObjectPolicies: _json,
|
|
6083
|
+
ListOutgoingTypedLinks: (_) => de_BatchListOutgoingTypedLinksResponse(_, context),
|
|
6084
|
+
ListPolicyAttachments: _json,
|
|
6085
|
+
LookupPolicy: _json,
|
|
6086
|
+
});
|
|
6645
6087
|
};
|
|
6646
6088
|
const de_BatchWriteOperationResponse = (output, context) => {
|
|
6647
|
-
return {
|
|
6648
|
-
AddFacetToObject:
|
|
6649
|
-
AttachObject:
|
|
6650
|
-
AttachPolicy:
|
|
6651
|
-
AttachToIndex:
|
|
6652
|
-
AttachTypedLink:
|
|
6653
|
-
CreateIndex:
|
|
6654
|
-
CreateObject:
|
|
6655
|
-
DeleteObject:
|
|
6656
|
-
DetachFromIndex:
|
|
6657
|
-
DetachObject:
|
|
6658
|
-
DetachPolicy:
|
|
6659
|
-
DetachTypedLink:
|
|
6660
|
-
RemoveFacetFromObject:
|
|
6661
|
-
|
|
6662
|
-
|
|
6663
|
-
|
|
6664
|
-
? de_BatchUpdateLinkAttributesResponse(output.UpdateLinkAttributes, context)
|
|
6665
|
-
: undefined,
|
|
6666
|
-
UpdateObjectAttributes: output.UpdateObjectAttributes != null
|
|
6667
|
-
? de_BatchUpdateObjectAttributesResponse(output.UpdateObjectAttributes, context)
|
|
6668
|
-
: undefined,
|
|
6669
|
-
};
|
|
6089
|
+
return take(output, {
|
|
6090
|
+
AddFacetToObject: _json,
|
|
6091
|
+
AttachObject: _json,
|
|
6092
|
+
AttachPolicy: _json,
|
|
6093
|
+
AttachToIndex: _json,
|
|
6094
|
+
AttachTypedLink: (_) => de_BatchAttachTypedLinkResponse(_, context),
|
|
6095
|
+
CreateIndex: _json,
|
|
6096
|
+
CreateObject: _json,
|
|
6097
|
+
DeleteObject: _json,
|
|
6098
|
+
DetachFromIndex: _json,
|
|
6099
|
+
DetachObject: _json,
|
|
6100
|
+
DetachPolicy: _json,
|
|
6101
|
+
DetachTypedLink: _json,
|
|
6102
|
+
RemoveFacetFromObject: _json,
|
|
6103
|
+
UpdateLinkAttributes: _json,
|
|
6104
|
+
UpdateObjectAttributes: _json,
|
|
6105
|
+
});
|
|
6670
6106
|
};
|
|
6671
6107
|
const de_BatchWriteOperationResponseList = (output, context) => {
|
|
6672
6108
|
const retVal = (output || [])
|
|
6673
6109
|
.filter((e) => e != null)
|
|
6674
6110
|
.map((entry) => {
|
|
6675
|
-
if (entry === null) {
|
|
6676
|
-
return null;
|
|
6677
|
-
}
|
|
6678
6111
|
return de_BatchWriteOperationResponse(entry, context);
|
|
6679
6112
|
});
|
|
6680
6113
|
return retVal;
|
|
6681
6114
|
};
|
|
6682
6115
|
const de_Directory = (output, context) => {
|
|
6683
|
-
return {
|
|
6684
|
-
CreationDateTime:
|
|
6685
|
-
|
|
6686
|
-
|
|
6687
|
-
|
|
6688
|
-
|
|
6689
|
-
State: __expectString(output.State),
|
|
6690
|
-
};
|
|
6116
|
+
return take(output, {
|
|
6117
|
+
CreationDateTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
6118
|
+
DirectoryArn: __expectString,
|
|
6119
|
+
Name: __expectString,
|
|
6120
|
+
State: __expectString,
|
|
6121
|
+
});
|
|
6691
6122
|
};
|
|
6692
6123
|
const de_DirectoryList = (output, context) => {
|
|
6693
6124
|
const retVal = (output || [])
|
|
6694
6125
|
.filter((e) => e != null)
|
|
6695
6126
|
.map((entry) => {
|
|
6696
|
-
if (entry === null) {
|
|
6697
|
-
return null;
|
|
6698
|
-
}
|
|
6699
6127
|
return de_Directory(entry, context);
|
|
6700
6128
|
});
|
|
6701
6129
|
return retVal;
|
|
6702
6130
|
};
|
|
6703
|
-
const de_Facet = (output, context) => {
|
|
6704
|
-
return {
|
|
6705
|
-
FacetStyle: __expectString(output.FacetStyle),
|
|
6706
|
-
Name: __expectString(output.Name),
|
|
6707
|
-
ObjectType: __expectString(output.ObjectType),
|
|
6708
|
-
};
|
|
6709
|
-
};
|
|
6710
6131
|
const de_FacetAttribute = (output, context) => {
|
|
6711
|
-
return {
|
|
6712
|
-
AttributeDefinition:
|
|
6713
|
-
AttributeReference:
|
|
6714
|
-
Name: __expectString
|
|
6715
|
-
RequiredBehavior: __expectString
|
|
6716
|
-
};
|
|
6132
|
+
return take(output, {
|
|
6133
|
+
AttributeDefinition: (_) => de_FacetAttributeDefinition(_, context),
|
|
6134
|
+
AttributeReference: _json,
|
|
6135
|
+
Name: __expectString,
|
|
6136
|
+
RequiredBehavior: __expectString,
|
|
6137
|
+
});
|
|
6717
6138
|
};
|
|
6718
6139
|
const de_FacetAttributeDefinition = (output, context) => {
|
|
6719
|
-
return {
|
|
6720
|
-
DefaultValue:
|
|
6721
|
-
IsImmutable: __expectBoolean
|
|
6722
|
-
Rules:
|
|
6723
|
-
Type: __expectString
|
|
6724
|
-
};
|
|
6140
|
+
return take(output, {
|
|
6141
|
+
DefaultValue: (_) => de_TypedAttributeValue(__expectUnion(_), context),
|
|
6142
|
+
IsImmutable: __expectBoolean,
|
|
6143
|
+
Rules: _json,
|
|
6144
|
+
Type: __expectString,
|
|
6145
|
+
});
|
|
6725
6146
|
};
|
|
6726
6147
|
const de_FacetAttributeList = (output, context) => {
|
|
6727
6148
|
const retVal = (output || [])
|
|
6728
6149
|
.filter((e) => e != null)
|
|
6729
6150
|
.map((entry) => {
|
|
6730
|
-
if (entry === null) {
|
|
6731
|
-
return null;
|
|
6732
|
-
}
|
|
6733
6151
|
return de_FacetAttribute(entry, context);
|
|
6734
6152
|
});
|
|
6735
6153
|
return retVal;
|
|
6736
6154
|
};
|
|
6737
|
-
const de_FacetAttributeReference = (output, context) => {
|
|
6738
|
-
return {
|
|
6739
|
-
TargetAttributeName: __expectString(output.TargetAttributeName),
|
|
6740
|
-
TargetFacetName: __expectString(output.TargetFacetName),
|
|
6741
|
-
};
|
|
6742
|
-
};
|
|
6743
|
-
const de_FacetNameList = (output, context) => {
|
|
6744
|
-
const retVal = (output || [])
|
|
6745
|
-
.filter((e) => e != null)
|
|
6746
|
-
.map((entry) => {
|
|
6747
|
-
if (entry === null) {
|
|
6748
|
-
return null;
|
|
6749
|
-
}
|
|
6750
|
-
return __expectString(entry);
|
|
6751
|
-
});
|
|
6752
|
-
return retVal;
|
|
6753
|
-
};
|
|
6754
6155
|
const de_IndexAttachment = (output, context) => {
|
|
6755
|
-
return {
|
|
6756
|
-
IndexedAttributes:
|
|
6757
|
-
ObjectIdentifier: __expectString
|
|
6758
|
-
};
|
|
6156
|
+
return take(output, {
|
|
6157
|
+
IndexedAttributes: (_) => de_AttributeKeyAndValueList(_, context),
|
|
6158
|
+
ObjectIdentifier: __expectString,
|
|
6159
|
+
});
|
|
6759
6160
|
};
|
|
6760
6161
|
const de_IndexAttachmentList = (output, context) => {
|
|
6761
6162
|
const retVal = (output || [])
|
|
6762
6163
|
.filter((e) => e != null)
|
|
6763
6164
|
.map((entry) => {
|
|
6764
|
-
if (entry === null) {
|
|
6765
|
-
return null;
|
|
6766
|
-
}
|
|
6767
6165
|
return de_IndexAttachment(entry, context);
|
|
6768
6166
|
});
|
|
6769
6167
|
return retVal;
|
|
6770
6168
|
};
|
|
6771
|
-
const de_LinkNameToObjectIdentifierMap = (output, context) => {
|
|
6772
|
-
return Object.entries(output).reduce((acc, [key, value]) => {
|
|
6773
|
-
if (value === null) {
|
|
6774
|
-
return acc;
|
|
6775
|
-
}
|
|
6776
|
-
acc[key] = __expectString(value);
|
|
6777
|
-
return acc;
|
|
6778
|
-
}, {});
|
|
6779
|
-
};
|
|
6780
|
-
const de_ObjectIdentifierAndLinkNameList = (output, context) => {
|
|
6781
|
-
const retVal = (output || [])
|
|
6782
|
-
.filter((e) => e != null)
|
|
6783
|
-
.map((entry) => {
|
|
6784
|
-
if (entry === null) {
|
|
6785
|
-
return null;
|
|
6786
|
-
}
|
|
6787
|
-
return de_ObjectIdentifierAndLinkNameTuple(entry, context);
|
|
6788
|
-
});
|
|
6789
|
-
return retVal;
|
|
6790
|
-
};
|
|
6791
|
-
const de_ObjectIdentifierAndLinkNameTuple = (output, context) => {
|
|
6792
|
-
return {
|
|
6793
|
-
LinkName: __expectString(output.LinkName),
|
|
6794
|
-
ObjectIdentifier: __expectString(output.ObjectIdentifier),
|
|
6795
|
-
};
|
|
6796
|
-
};
|
|
6797
|
-
const de_ObjectIdentifierList = (output, context) => {
|
|
6798
|
-
const retVal = (output || [])
|
|
6799
|
-
.filter((e) => e != null)
|
|
6800
|
-
.map((entry) => {
|
|
6801
|
-
if (entry === null) {
|
|
6802
|
-
return null;
|
|
6803
|
-
}
|
|
6804
|
-
return __expectString(entry);
|
|
6805
|
-
});
|
|
6806
|
-
return retVal;
|
|
6807
|
-
};
|
|
6808
|
-
const de_ObjectIdentifierToLinkNameMap = (output, context) => {
|
|
6809
|
-
return Object.entries(output).reduce((acc, [key, value]) => {
|
|
6810
|
-
if (value === null) {
|
|
6811
|
-
return acc;
|
|
6812
|
-
}
|
|
6813
|
-
acc[key] = __expectString(value);
|
|
6814
|
-
return acc;
|
|
6815
|
-
}, {});
|
|
6816
|
-
};
|
|
6817
|
-
const de_ObjectReference = (output, context) => {
|
|
6818
|
-
return {
|
|
6819
|
-
Selector: __expectString(output.Selector),
|
|
6820
|
-
};
|
|
6821
|
-
};
|
|
6822
|
-
const de_PathToObjectIdentifiers = (output, context) => {
|
|
6823
|
-
return {
|
|
6824
|
-
ObjectIdentifiers: output.ObjectIdentifiers != null ? de_ObjectIdentifierList(output.ObjectIdentifiers, context) : undefined,
|
|
6825
|
-
Path: __expectString(output.Path),
|
|
6826
|
-
};
|
|
6827
|
-
};
|
|
6828
|
-
const de_PathToObjectIdentifiersList = (output, context) => {
|
|
6829
|
-
const retVal = (output || [])
|
|
6830
|
-
.filter((e) => e != null)
|
|
6831
|
-
.map((entry) => {
|
|
6832
|
-
if (entry === null) {
|
|
6833
|
-
return null;
|
|
6834
|
-
}
|
|
6835
|
-
return de_PathToObjectIdentifiers(entry, context);
|
|
6836
|
-
});
|
|
6837
|
-
return retVal;
|
|
6838
|
-
};
|
|
6839
|
-
const de_PolicyAttachment = (output, context) => {
|
|
6840
|
-
return {
|
|
6841
|
-
ObjectIdentifier: __expectString(output.ObjectIdentifier),
|
|
6842
|
-
PolicyId: __expectString(output.PolicyId),
|
|
6843
|
-
PolicyType: __expectString(output.PolicyType),
|
|
6844
|
-
};
|
|
6845
|
-
};
|
|
6846
|
-
const de_PolicyAttachmentList = (output, context) => {
|
|
6847
|
-
const retVal = (output || [])
|
|
6848
|
-
.filter((e) => e != null)
|
|
6849
|
-
.map((entry) => {
|
|
6850
|
-
if (entry === null) {
|
|
6851
|
-
return null;
|
|
6852
|
-
}
|
|
6853
|
-
return de_PolicyAttachment(entry, context);
|
|
6854
|
-
});
|
|
6855
|
-
return retVal;
|
|
6856
|
-
};
|
|
6857
|
-
const de_PolicyToPath = (output, context) => {
|
|
6858
|
-
return {
|
|
6859
|
-
Path: __expectString(output.Path),
|
|
6860
|
-
Policies: output.Policies != null ? de_PolicyAttachmentList(output.Policies, context) : undefined,
|
|
6861
|
-
};
|
|
6862
|
-
};
|
|
6863
|
-
const de_PolicyToPathList = (output, context) => {
|
|
6864
|
-
const retVal = (output || [])
|
|
6865
|
-
.filter((e) => e != null)
|
|
6866
|
-
.map((entry) => {
|
|
6867
|
-
if (entry === null) {
|
|
6868
|
-
return null;
|
|
6869
|
-
}
|
|
6870
|
-
return de_PolicyToPath(entry, context);
|
|
6871
|
-
});
|
|
6872
|
-
return retVal;
|
|
6873
|
-
};
|
|
6874
|
-
const de_Rule = (output, context) => {
|
|
6875
|
-
return {
|
|
6876
|
-
Parameters: output.Parameters != null ? de_RuleParameterMap(output.Parameters, context) : undefined,
|
|
6877
|
-
Type: __expectString(output.Type),
|
|
6878
|
-
};
|
|
6879
|
-
};
|
|
6880
|
-
const de_RuleMap = (output, context) => {
|
|
6881
|
-
return Object.entries(output).reduce((acc, [key, value]) => {
|
|
6882
|
-
if (value === null) {
|
|
6883
|
-
return acc;
|
|
6884
|
-
}
|
|
6885
|
-
acc[key] = de_Rule(value, context);
|
|
6886
|
-
return acc;
|
|
6887
|
-
}, {});
|
|
6888
|
-
};
|
|
6889
|
-
const de_RuleParameterMap = (output, context) => {
|
|
6890
|
-
return Object.entries(output).reduce((acc, [key, value]) => {
|
|
6891
|
-
if (value === null) {
|
|
6892
|
-
return acc;
|
|
6893
|
-
}
|
|
6894
|
-
acc[key] = __expectString(value);
|
|
6895
|
-
return acc;
|
|
6896
|
-
}, {});
|
|
6897
|
-
};
|
|
6898
|
-
const de_SchemaFacet = (output, context) => {
|
|
6899
|
-
return {
|
|
6900
|
-
FacetName: __expectString(output.FacetName),
|
|
6901
|
-
SchemaArn: __expectString(output.SchemaArn),
|
|
6902
|
-
};
|
|
6903
|
-
};
|
|
6904
|
-
const de_SchemaFacetList = (output, context) => {
|
|
6905
|
-
const retVal = (output || [])
|
|
6906
|
-
.filter((e) => e != null)
|
|
6907
|
-
.map((entry) => {
|
|
6908
|
-
if (entry === null) {
|
|
6909
|
-
return null;
|
|
6910
|
-
}
|
|
6911
|
-
return de_SchemaFacet(entry, context);
|
|
6912
|
-
});
|
|
6913
|
-
return retVal;
|
|
6914
|
-
};
|
|
6915
|
-
const de_Tag = (output, context) => {
|
|
6916
|
-
return {
|
|
6917
|
-
Key: __expectString(output.Key),
|
|
6918
|
-
Value: __expectString(output.Value),
|
|
6919
|
-
};
|
|
6920
|
-
};
|
|
6921
|
-
const de_TagList = (output, context) => {
|
|
6922
|
-
const retVal = (output || [])
|
|
6923
|
-
.filter((e) => e != null)
|
|
6924
|
-
.map((entry) => {
|
|
6925
|
-
if (entry === null) {
|
|
6926
|
-
return null;
|
|
6927
|
-
}
|
|
6928
|
-
return de_Tag(entry, context);
|
|
6929
|
-
});
|
|
6930
|
-
return retVal;
|
|
6931
|
-
};
|
|
6932
6169
|
const de_TypedAttributeValue = (output, context) => {
|
|
6933
6170
|
if (output.BinaryValue != null) {
|
|
6934
6171
|
return {
|
|
@@ -6952,60 +6189,35 @@ const de_TypedAttributeValue = (output, context) => {
|
|
|
6952
6189
|
return { $unknown: Object.entries(output)[0] };
|
|
6953
6190
|
};
|
|
6954
6191
|
const de_TypedLinkAttributeDefinition = (output, context) => {
|
|
6955
|
-
return {
|
|
6956
|
-
DefaultValue:
|
|
6957
|
-
IsImmutable: __expectBoolean
|
|
6958
|
-
Name: __expectString
|
|
6959
|
-
RequiredBehavior: __expectString
|
|
6960
|
-
Rules:
|
|
6961
|
-
Type: __expectString
|
|
6962
|
-
};
|
|
6192
|
+
return take(output, {
|
|
6193
|
+
DefaultValue: (_) => de_TypedAttributeValue(__expectUnion(_), context),
|
|
6194
|
+
IsImmutable: __expectBoolean,
|
|
6195
|
+
Name: __expectString,
|
|
6196
|
+
RequiredBehavior: __expectString,
|
|
6197
|
+
Rules: _json,
|
|
6198
|
+
Type: __expectString,
|
|
6199
|
+
});
|
|
6963
6200
|
};
|
|
6964
6201
|
const de_TypedLinkAttributeDefinitionList = (output, context) => {
|
|
6965
6202
|
const retVal = (output || [])
|
|
6966
6203
|
.filter((e) => e != null)
|
|
6967
6204
|
.map((entry) => {
|
|
6968
|
-
if (entry === null) {
|
|
6969
|
-
return null;
|
|
6970
|
-
}
|
|
6971
6205
|
return de_TypedLinkAttributeDefinition(entry, context);
|
|
6972
6206
|
});
|
|
6973
6207
|
return retVal;
|
|
6974
6208
|
};
|
|
6975
|
-
const de_TypedLinkNameList = (output, context) => {
|
|
6976
|
-
const retVal = (output || [])
|
|
6977
|
-
.filter((e) => e != null)
|
|
6978
|
-
.map((entry) => {
|
|
6979
|
-
if (entry === null) {
|
|
6980
|
-
return null;
|
|
6981
|
-
}
|
|
6982
|
-
return __expectString(entry);
|
|
6983
|
-
});
|
|
6984
|
-
return retVal;
|
|
6985
|
-
};
|
|
6986
|
-
const de_TypedLinkSchemaAndFacetName = (output, context) => {
|
|
6987
|
-
return {
|
|
6988
|
-
SchemaArn: __expectString(output.SchemaArn),
|
|
6989
|
-
TypedLinkName: __expectString(output.TypedLinkName),
|
|
6990
|
-
};
|
|
6991
|
-
};
|
|
6992
6209
|
const de_TypedLinkSpecifier = (output, context) => {
|
|
6993
|
-
return {
|
|
6994
|
-
IdentityAttributeValues:
|
|
6995
|
-
|
|
6996
|
-
|
|
6997
|
-
|
|
6998
|
-
|
|
6999
|
-
TypedLinkFacet: output.TypedLinkFacet != null ? de_TypedLinkSchemaAndFacetName(output.TypedLinkFacet, context) : undefined,
|
|
7000
|
-
};
|
|
6210
|
+
return take(output, {
|
|
6211
|
+
IdentityAttributeValues: (_) => de_AttributeNameAndValueList(_, context),
|
|
6212
|
+
SourceObjectReference: _json,
|
|
6213
|
+
TargetObjectReference: _json,
|
|
6214
|
+
TypedLinkFacet: _json,
|
|
6215
|
+
});
|
|
7001
6216
|
};
|
|
7002
6217
|
const de_TypedLinkSpecifierList = (output, context) => {
|
|
7003
6218
|
const retVal = (output || [])
|
|
7004
6219
|
.filter((e) => e != null)
|
|
7005
6220
|
.map((entry) => {
|
|
7006
|
-
if (entry === null) {
|
|
7007
|
-
return null;
|
|
7008
|
-
}
|
|
7009
6221
|
return de_TypedLinkSpecifier(entry, context);
|
|
7010
6222
|
});
|
|
7011
6223
|
return retVal;
|