@aws-sdk/client-finspace-data 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/FinspaceData.js +35 -434
- package/dist-cjs/protocols/Aws_restJson1.js +368 -941
- package/dist-es/FinspaceData.js +35 -434
- package/dist-es/protocols/Aws_restJson1.js +318 -891
- package/dist-types/FinspaceData.d.ts +38 -76
- package/dist-types/ts3.4/FinspaceData.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, expectLong as __expectLong, expectNonNull as __expectNonNull, expectObject as __expectObject, expectString as __expectString, map
|
|
2
|
+
import { _json, decorateServiceException as __decorateServiceException, expectBoolean as __expectBoolean, expectLong as __expectLong, expectNonNull as __expectNonNull, expectObject as __expectObject, expectString as __expectString, map, resolvedPath as __resolvedPath, take, withBaseException, } from "@aws-sdk/smithy-client";
|
|
3
3
|
import { v4 as generateIdempotencyToken } from "uuid";
|
|
4
4
|
import { FinspaceDataServiceException as __BaseException } from "../models/FinspaceDataServiceException";
|
|
5
5
|
import { AccessDeniedException, ConflictException, InternalServerException, LimitExceededException, ResourceNotFoundException, ThrottlingException, ValidationException, } from "../models/models_0";
|
|
@@ -13,9 +13,9 @@ export const se_AssociateUserToPermissionGroupCommand = async (input, context) =
|
|
|
13
13
|
resolvedPath = __resolvedPath(resolvedPath, input, "permissionGroupId", () => input.permissionGroupId, "{permissionGroupId}", false);
|
|
14
14
|
resolvedPath = __resolvedPath(resolvedPath, input, "userId", () => input.userId, "{userId}", false);
|
|
15
15
|
let body;
|
|
16
|
-
body = JSON.stringify({
|
|
17
|
-
clientToken:
|
|
18
|
-
});
|
|
16
|
+
body = JSON.stringify(take(input, {
|
|
17
|
+
clientToken: [true, (_) => _ ?? generateIdempotencyToken()],
|
|
18
|
+
}));
|
|
19
19
|
return new __HttpRequest({
|
|
20
20
|
protocol,
|
|
21
21
|
hostname,
|
|
@@ -34,12 +34,12 @@ export const se_CreateChangesetCommand = async (input, context) => {
|
|
|
34
34
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/datasets/{datasetId}/changesetsv2";
|
|
35
35
|
resolvedPath = __resolvedPath(resolvedPath, input, "datasetId", () => input.datasetId, "{datasetId}", false);
|
|
36
36
|
let body;
|
|
37
|
-
body = JSON.stringify({
|
|
38
|
-
|
|
39
|
-
clientToken:
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
});
|
|
37
|
+
body = JSON.stringify(take(input, {
|
|
38
|
+
changeType: [],
|
|
39
|
+
clientToken: [true, (_) => _ ?? generateIdempotencyToken()],
|
|
40
|
+
formatParams: (_) => _json(_),
|
|
41
|
+
sourceParams: (_) => _json(_),
|
|
42
|
+
}));
|
|
43
43
|
return new __HttpRequest({
|
|
44
44
|
protocol,
|
|
45
45
|
hostname,
|
|
@@ -57,18 +57,16 @@ export const se_CreateDatasetCommand = async (input, context) => {
|
|
|
57
57
|
};
|
|
58
58
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/datasetsv2";
|
|
59
59
|
let body;
|
|
60
|
-
body = JSON.stringify({
|
|
61
|
-
|
|
62
|
-
clientToken:
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
...(input.schemaDefinition != null && { schemaDefinition: se_SchemaUnion(input.schemaDefinition, context) }),
|
|
71
|
-
});
|
|
60
|
+
body = JSON.stringify(take(input, {
|
|
61
|
+
alias: [],
|
|
62
|
+
clientToken: [true, (_) => _ ?? generateIdempotencyToken()],
|
|
63
|
+
datasetDescription: [],
|
|
64
|
+
datasetTitle: [],
|
|
65
|
+
kind: [],
|
|
66
|
+
ownerInfo: (_) => _json(_),
|
|
67
|
+
permissionGroupParams: (_) => _json(_),
|
|
68
|
+
schemaDefinition: (_) => _json(_),
|
|
69
|
+
}));
|
|
72
70
|
return new __HttpRequest({
|
|
73
71
|
protocol,
|
|
74
72
|
hostname,
|
|
@@ -87,18 +85,14 @@ export const se_CreateDataViewCommand = async (input, context) => {
|
|
|
87
85
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/datasets/{datasetId}/dataviewsv2";
|
|
88
86
|
resolvedPath = __resolvedPath(resolvedPath, input, "datasetId", () => input.datasetId, "{datasetId}", false);
|
|
89
87
|
let body;
|
|
90
|
-
body = JSON.stringify({
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
clientToken:
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
partitionColumns: se_PartitionColumnList(input.partitionColumns, context),
|
|
99
|
-
}),
|
|
100
|
-
...(input.sortColumns != null && { sortColumns: se_SortColumnList(input.sortColumns, context) }),
|
|
101
|
-
});
|
|
88
|
+
body = JSON.stringify(take(input, {
|
|
89
|
+
asOfTimestamp: [],
|
|
90
|
+
autoUpdate: [],
|
|
91
|
+
clientToken: [true, (_) => _ ?? generateIdempotencyToken()],
|
|
92
|
+
destinationTypeParams: (_) => _json(_),
|
|
93
|
+
partitionColumns: (_) => _json(_),
|
|
94
|
+
sortColumns: (_) => _json(_),
|
|
95
|
+
}));
|
|
102
96
|
return new __HttpRequest({
|
|
103
97
|
protocol,
|
|
104
98
|
hostname,
|
|
@@ -116,14 +110,12 @@ export const se_CreatePermissionGroupCommand = async (input, context) => {
|
|
|
116
110
|
};
|
|
117
111
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/permission-group";
|
|
118
112
|
let body;
|
|
119
|
-
body = JSON.stringify({
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
...(input.name != null && { name: input.name }),
|
|
126
|
-
});
|
|
113
|
+
body = JSON.stringify(take(input, {
|
|
114
|
+
applicationPermissions: (_) => _json(_),
|
|
115
|
+
clientToken: [true, (_) => _ ?? generateIdempotencyToken()],
|
|
116
|
+
description: [],
|
|
117
|
+
name: [],
|
|
118
|
+
}));
|
|
127
119
|
return new __HttpRequest({
|
|
128
120
|
protocol,
|
|
129
121
|
hostname,
|
|
@@ -141,15 +133,15 @@ export const se_CreateUserCommand = async (input, context) => {
|
|
|
141
133
|
};
|
|
142
134
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/user";
|
|
143
135
|
let body;
|
|
144
|
-
body = JSON.stringify({
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
clientToken:
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
});
|
|
136
|
+
body = JSON.stringify(take(input, {
|
|
137
|
+
ApiAccess: [],
|
|
138
|
+
apiAccessPrincipalArn: [],
|
|
139
|
+
clientToken: [true, (_) => _ ?? generateIdempotencyToken()],
|
|
140
|
+
emailAddress: [],
|
|
141
|
+
firstName: [],
|
|
142
|
+
lastName: [],
|
|
143
|
+
type: [],
|
|
144
|
+
}));
|
|
153
145
|
return new __HttpRequest({
|
|
154
146
|
protocol,
|
|
155
147
|
hostname,
|
|
@@ -208,9 +200,9 @@ export const se_DisableUserCommand = async (input, context) => {
|
|
|
208
200
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/user/{userId}/disable";
|
|
209
201
|
resolvedPath = __resolvedPath(resolvedPath, input, "userId", () => input.userId, "{userId}", false);
|
|
210
202
|
let body;
|
|
211
|
-
body = JSON.stringify({
|
|
212
|
-
clientToken:
|
|
213
|
-
});
|
|
203
|
+
body = JSON.stringify(take(input, {
|
|
204
|
+
clientToken: [true, (_) => _ ?? generateIdempotencyToken()],
|
|
205
|
+
}));
|
|
214
206
|
return new __HttpRequest({
|
|
215
207
|
protocol,
|
|
216
208
|
hostname,
|
|
@@ -251,9 +243,9 @@ export const se_EnableUserCommand = async (input, context) => {
|
|
|
251
243
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/user/{userId}/enable";
|
|
252
244
|
resolvedPath = __resolvedPath(resolvedPath, input, "userId", () => input.userId, "{userId}", false);
|
|
253
245
|
let body;
|
|
254
|
-
body = JSON.stringify({
|
|
255
|
-
clientToken:
|
|
256
|
-
});
|
|
246
|
+
body = JSON.stringify(take(input, {
|
|
247
|
+
clientToken: [true, (_) => _ ?? generateIdempotencyToken()],
|
|
248
|
+
}));
|
|
257
249
|
return new __HttpRequest({
|
|
258
250
|
protocol,
|
|
259
251
|
hostname,
|
|
@@ -393,9 +385,9 @@ export const se_GetWorkingLocationCommand = async (input, context) => {
|
|
|
393
385
|
};
|
|
394
386
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/workingLocationV1";
|
|
395
387
|
let body;
|
|
396
|
-
body = JSON.stringify({
|
|
397
|
-
|
|
398
|
-
});
|
|
388
|
+
body = JSON.stringify(take(input, {
|
|
389
|
+
locationType: [],
|
|
390
|
+
}));
|
|
399
391
|
return new __HttpRequest({
|
|
400
392
|
protocol,
|
|
401
393
|
hostname,
|
|
@@ -559,9 +551,9 @@ export const se_ResetUserPasswordCommand = async (input, context) => {
|
|
|
559
551
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/user/{userId}/password";
|
|
560
552
|
resolvedPath = __resolvedPath(resolvedPath, input, "userId", () => input.userId, "{userId}", false);
|
|
561
553
|
let body;
|
|
562
|
-
body = JSON.stringify({
|
|
563
|
-
clientToken:
|
|
564
|
-
});
|
|
554
|
+
body = JSON.stringify(take(input, {
|
|
555
|
+
clientToken: [true, (_) => _ ?? generateIdempotencyToken()],
|
|
556
|
+
}));
|
|
565
557
|
return new __HttpRequest({
|
|
566
558
|
protocol,
|
|
567
559
|
hostname,
|
|
@@ -582,11 +574,11 @@ export const se_UpdateChangesetCommand = async (input, context) => {
|
|
|
582
574
|
resolvedPath = __resolvedPath(resolvedPath, input, "datasetId", () => input.datasetId, "{datasetId}", false);
|
|
583
575
|
resolvedPath = __resolvedPath(resolvedPath, input, "changesetId", () => input.changesetId, "{changesetId}", false);
|
|
584
576
|
let body;
|
|
585
|
-
body = JSON.stringify({
|
|
586
|
-
clientToken:
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
});
|
|
577
|
+
body = JSON.stringify(take(input, {
|
|
578
|
+
clientToken: [true, (_) => _ ?? generateIdempotencyToken()],
|
|
579
|
+
formatParams: (_) => _json(_),
|
|
580
|
+
sourceParams: (_) => _json(_),
|
|
581
|
+
}));
|
|
590
582
|
return new __HttpRequest({
|
|
591
583
|
protocol,
|
|
592
584
|
hostname,
|
|
@@ -605,14 +597,14 @@ export const se_UpdateDatasetCommand = async (input, context) => {
|
|
|
605
597
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/datasetsv2/{datasetId}";
|
|
606
598
|
resolvedPath = __resolvedPath(resolvedPath, input, "datasetId", () => input.datasetId, "{datasetId}", false);
|
|
607
599
|
let body;
|
|
608
|
-
body = JSON.stringify({
|
|
609
|
-
|
|
610
|
-
clientToken:
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
});
|
|
600
|
+
body = JSON.stringify(take(input, {
|
|
601
|
+
alias: [],
|
|
602
|
+
clientToken: [true, (_) => _ ?? generateIdempotencyToken()],
|
|
603
|
+
datasetDescription: [],
|
|
604
|
+
datasetTitle: [],
|
|
605
|
+
kind: [],
|
|
606
|
+
schemaDefinition: (_) => _json(_),
|
|
607
|
+
}));
|
|
616
608
|
return new __HttpRequest({
|
|
617
609
|
protocol,
|
|
618
610
|
hostname,
|
|
@@ -631,14 +623,12 @@ export const se_UpdatePermissionGroupCommand = async (input, context) => {
|
|
|
631
623
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/permission-group/{permissionGroupId}";
|
|
632
624
|
resolvedPath = __resolvedPath(resolvedPath, input, "permissionGroupId", () => input.permissionGroupId, "{permissionGroupId}", false);
|
|
633
625
|
let body;
|
|
634
|
-
body = JSON.stringify({
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
...(input.name != null && { name: input.name }),
|
|
641
|
-
});
|
|
626
|
+
body = JSON.stringify(take(input, {
|
|
627
|
+
applicationPermissions: (_) => _json(_),
|
|
628
|
+
clientToken: [true, (_) => _ ?? generateIdempotencyToken()],
|
|
629
|
+
description: [],
|
|
630
|
+
name: [],
|
|
631
|
+
}));
|
|
642
632
|
return new __HttpRequest({
|
|
643
633
|
protocol,
|
|
644
634
|
hostname,
|
|
@@ -657,14 +647,14 @@ export const se_UpdateUserCommand = async (input, context) => {
|
|
|
657
647
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/user/{userId}";
|
|
658
648
|
resolvedPath = __resolvedPath(resolvedPath, input, "userId", () => input.userId, "{userId}", false);
|
|
659
649
|
let body;
|
|
660
|
-
body = JSON.stringify({
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
clientToken:
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
|
|
667
|
-
});
|
|
650
|
+
body = JSON.stringify(take(input, {
|
|
651
|
+
apiAccess: [],
|
|
652
|
+
apiAccessPrincipalArn: [],
|
|
653
|
+
clientToken: [true, (_) => _ ?? generateIdempotencyToken()],
|
|
654
|
+
firstName: [],
|
|
655
|
+
lastName: [],
|
|
656
|
+
type: [],
|
|
657
|
+
}));
|
|
668
658
|
return new __HttpRequest({
|
|
669
659
|
protocol,
|
|
670
660
|
hostname,
|
|
@@ -715,10 +705,9 @@ const de_AssociateUserToPermissionGroupCommandError = async (output, context) =>
|
|
|
715
705
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
716
706
|
default:
|
|
717
707
|
const parsedBody = parsedOutput.body;
|
|
718
|
-
throwDefaultError({
|
|
708
|
+
return throwDefaultError({
|
|
719
709
|
output,
|
|
720
710
|
parsedBody,
|
|
721
|
-
exceptionCtor: __BaseException,
|
|
722
711
|
errorCode,
|
|
723
712
|
});
|
|
724
713
|
}
|
|
@@ -731,12 +720,11 @@ export const de_CreateChangesetCommand = async (output, context) => {
|
|
|
731
720
|
$metadata: deserializeMetadata(output),
|
|
732
721
|
});
|
|
733
722
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
734
|
-
|
|
735
|
-
|
|
736
|
-
|
|
737
|
-
|
|
738
|
-
|
|
739
|
-
}
|
|
723
|
+
const doc = take(data, {
|
|
724
|
+
changesetId: __expectString,
|
|
725
|
+
datasetId: __expectString,
|
|
726
|
+
});
|
|
727
|
+
Object.assign(contents, doc);
|
|
740
728
|
return contents;
|
|
741
729
|
};
|
|
742
730
|
const de_CreateChangesetCommandError = async (output, context) => {
|
|
@@ -769,10 +757,9 @@ const de_CreateChangesetCommandError = async (output, context) => {
|
|
|
769
757
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
770
758
|
default:
|
|
771
759
|
const parsedBody = parsedOutput.body;
|
|
772
|
-
throwDefaultError({
|
|
760
|
+
return throwDefaultError({
|
|
773
761
|
output,
|
|
774
762
|
parsedBody,
|
|
775
|
-
exceptionCtor: __BaseException,
|
|
776
763
|
errorCode,
|
|
777
764
|
});
|
|
778
765
|
}
|
|
@@ -785,9 +772,10 @@ export const de_CreateDatasetCommand = async (output, context) => {
|
|
|
785
772
|
$metadata: deserializeMetadata(output),
|
|
786
773
|
});
|
|
787
774
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
788
|
-
|
|
789
|
-
|
|
790
|
-
}
|
|
775
|
+
const doc = take(data, {
|
|
776
|
+
datasetId: __expectString,
|
|
777
|
+
});
|
|
778
|
+
Object.assign(contents, doc);
|
|
791
779
|
return contents;
|
|
792
780
|
};
|
|
793
781
|
const de_CreateDatasetCommandError = async (output, context) => {
|
|
@@ -820,10 +808,9 @@ const de_CreateDatasetCommandError = async (output, context) => {
|
|
|
820
808
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
821
809
|
default:
|
|
822
810
|
const parsedBody = parsedOutput.body;
|
|
823
|
-
throwDefaultError({
|
|
811
|
+
return throwDefaultError({
|
|
824
812
|
output,
|
|
825
813
|
parsedBody,
|
|
826
|
-
exceptionCtor: __BaseException,
|
|
827
814
|
errorCode,
|
|
828
815
|
});
|
|
829
816
|
}
|
|
@@ -836,12 +823,11 @@ export const de_CreateDataViewCommand = async (output, context) => {
|
|
|
836
823
|
$metadata: deserializeMetadata(output),
|
|
837
824
|
});
|
|
838
825
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
839
|
-
|
|
840
|
-
|
|
841
|
-
|
|
842
|
-
|
|
843
|
-
|
|
844
|
-
}
|
|
826
|
+
const doc = take(data, {
|
|
827
|
+
dataViewId: __expectString,
|
|
828
|
+
datasetId: __expectString,
|
|
829
|
+
});
|
|
830
|
+
Object.assign(contents, doc);
|
|
845
831
|
return contents;
|
|
846
832
|
};
|
|
847
833
|
const de_CreateDataViewCommandError = async (output, context) => {
|
|
@@ -871,10 +857,9 @@ const de_CreateDataViewCommandError = async (output, context) => {
|
|
|
871
857
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
872
858
|
default:
|
|
873
859
|
const parsedBody = parsedOutput.body;
|
|
874
|
-
throwDefaultError({
|
|
860
|
+
return throwDefaultError({
|
|
875
861
|
output,
|
|
876
862
|
parsedBody,
|
|
877
|
-
exceptionCtor: __BaseException,
|
|
878
863
|
errorCode,
|
|
879
864
|
});
|
|
880
865
|
}
|
|
@@ -887,9 +872,10 @@ export const de_CreatePermissionGroupCommand = async (output, context) => {
|
|
|
887
872
|
$metadata: deserializeMetadata(output),
|
|
888
873
|
});
|
|
889
874
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
890
|
-
|
|
891
|
-
|
|
892
|
-
}
|
|
875
|
+
const doc = take(data, {
|
|
876
|
+
permissionGroupId: __expectString,
|
|
877
|
+
});
|
|
878
|
+
Object.assign(contents, doc);
|
|
893
879
|
return contents;
|
|
894
880
|
};
|
|
895
881
|
const de_CreatePermissionGroupCommandError = async (output, context) => {
|
|
@@ -919,10 +905,9 @@ const de_CreatePermissionGroupCommandError = async (output, context) => {
|
|
|
919
905
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
920
906
|
default:
|
|
921
907
|
const parsedBody = parsedOutput.body;
|
|
922
|
-
throwDefaultError({
|
|
908
|
+
return throwDefaultError({
|
|
923
909
|
output,
|
|
924
910
|
parsedBody,
|
|
925
|
-
exceptionCtor: __BaseException,
|
|
926
911
|
errorCode,
|
|
927
912
|
});
|
|
928
913
|
}
|
|
@@ -935,9 +920,10 @@ export const de_CreateUserCommand = async (output, context) => {
|
|
|
935
920
|
$metadata: deserializeMetadata(output),
|
|
936
921
|
});
|
|
937
922
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
938
|
-
|
|
939
|
-
|
|
940
|
-
}
|
|
923
|
+
const doc = take(data, {
|
|
924
|
+
userId: __expectString,
|
|
925
|
+
});
|
|
926
|
+
Object.assign(contents, doc);
|
|
941
927
|
return contents;
|
|
942
928
|
};
|
|
943
929
|
const de_CreateUserCommandError = async (output, context) => {
|
|
@@ -967,10 +953,9 @@ const de_CreateUserCommandError = async (output, context) => {
|
|
|
967
953
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
968
954
|
default:
|
|
969
955
|
const parsedBody = parsedOutput.body;
|
|
970
|
-
throwDefaultError({
|
|
956
|
+
return throwDefaultError({
|
|
971
957
|
output,
|
|
972
958
|
parsedBody,
|
|
973
|
-
exceptionCtor: __BaseException,
|
|
974
959
|
errorCode,
|
|
975
960
|
});
|
|
976
961
|
}
|
|
@@ -983,9 +968,10 @@ export const de_DeleteDatasetCommand = async (output, context) => {
|
|
|
983
968
|
$metadata: deserializeMetadata(output),
|
|
984
969
|
});
|
|
985
970
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
986
|
-
|
|
987
|
-
|
|
988
|
-
}
|
|
971
|
+
const doc = take(data, {
|
|
972
|
+
datasetId: __expectString,
|
|
973
|
+
});
|
|
974
|
+
Object.assign(contents, doc);
|
|
989
975
|
return contents;
|
|
990
976
|
};
|
|
991
977
|
const de_DeleteDatasetCommandError = async (output, context) => {
|
|
@@ -1018,10 +1004,9 @@ const de_DeleteDatasetCommandError = async (output, context) => {
|
|
|
1018
1004
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1019
1005
|
default:
|
|
1020
1006
|
const parsedBody = parsedOutput.body;
|
|
1021
|
-
throwDefaultError({
|
|
1007
|
+
return throwDefaultError({
|
|
1022
1008
|
output,
|
|
1023
1009
|
parsedBody,
|
|
1024
|
-
exceptionCtor: __BaseException,
|
|
1025
1010
|
errorCode,
|
|
1026
1011
|
});
|
|
1027
1012
|
}
|
|
@@ -1034,9 +1019,10 @@ export const de_DeletePermissionGroupCommand = async (output, context) => {
|
|
|
1034
1019
|
$metadata: deserializeMetadata(output),
|
|
1035
1020
|
});
|
|
1036
1021
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1037
|
-
|
|
1038
|
-
|
|
1039
|
-
}
|
|
1022
|
+
const doc = take(data, {
|
|
1023
|
+
permissionGroupId: __expectString,
|
|
1024
|
+
});
|
|
1025
|
+
Object.assign(contents, doc);
|
|
1040
1026
|
return contents;
|
|
1041
1027
|
};
|
|
1042
1028
|
const de_DeletePermissionGroupCommandError = async (output, context) => {
|
|
@@ -1069,10 +1055,9 @@ const de_DeletePermissionGroupCommandError = async (output, context) => {
|
|
|
1069
1055
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1070
1056
|
default:
|
|
1071
1057
|
const parsedBody = parsedOutput.body;
|
|
1072
|
-
throwDefaultError({
|
|
1058
|
+
return throwDefaultError({
|
|
1073
1059
|
output,
|
|
1074
1060
|
parsedBody,
|
|
1075
|
-
exceptionCtor: __BaseException,
|
|
1076
1061
|
errorCode,
|
|
1077
1062
|
});
|
|
1078
1063
|
}
|
|
@@ -1085,9 +1070,10 @@ export const de_DisableUserCommand = async (output, context) => {
|
|
|
1085
1070
|
$metadata: deserializeMetadata(output),
|
|
1086
1071
|
});
|
|
1087
1072
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1088
|
-
|
|
1089
|
-
|
|
1090
|
-
}
|
|
1073
|
+
const doc = take(data, {
|
|
1074
|
+
userId: __expectString,
|
|
1075
|
+
});
|
|
1076
|
+
Object.assign(contents, doc);
|
|
1091
1077
|
return contents;
|
|
1092
1078
|
};
|
|
1093
1079
|
const de_DisableUserCommandError = async (output, context) => {
|
|
@@ -1117,10 +1103,9 @@ const de_DisableUserCommandError = async (output, context) => {
|
|
|
1117
1103
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1118
1104
|
default:
|
|
1119
1105
|
const parsedBody = parsedOutput.body;
|
|
1120
|
-
throwDefaultError({
|
|
1106
|
+
return throwDefaultError({
|
|
1121
1107
|
output,
|
|
1122
1108
|
parsedBody,
|
|
1123
|
-
exceptionCtor: __BaseException,
|
|
1124
1109
|
errorCode,
|
|
1125
1110
|
});
|
|
1126
1111
|
}
|
|
@@ -1165,10 +1150,9 @@ const de_DisassociateUserFromPermissionGroupCommandError = async (output, contex
|
|
|
1165
1150
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1166
1151
|
default:
|
|
1167
1152
|
const parsedBody = parsedOutput.body;
|
|
1168
|
-
throwDefaultError({
|
|
1153
|
+
return throwDefaultError({
|
|
1169
1154
|
output,
|
|
1170
1155
|
parsedBody,
|
|
1171
|
-
exceptionCtor: __BaseException,
|
|
1172
1156
|
errorCode,
|
|
1173
1157
|
});
|
|
1174
1158
|
}
|
|
@@ -1181,9 +1165,10 @@ export const de_EnableUserCommand = async (output, context) => {
|
|
|
1181
1165
|
$metadata: deserializeMetadata(output),
|
|
1182
1166
|
});
|
|
1183
1167
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1184
|
-
|
|
1185
|
-
|
|
1186
|
-
}
|
|
1168
|
+
const doc = take(data, {
|
|
1169
|
+
userId: __expectString,
|
|
1170
|
+
});
|
|
1171
|
+
Object.assign(contents, doc);
|
|
1187
1172
|
return contents;
|
|
1188
1173
|
};
|
|
1189
1174
|
const de_EnableUserCommandError = async (output, context) => {
|
|
@@ -1216,10 +1201,9 @@ const de_EnableUserCommandError = async (output, context) => {
|
|
|
1216
1201
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1217
1202
|
default:
|
|
1218
1203
|
const parsedBody = parsedOutput.body;
|
|
1219
|
-
throwDefaultError({
|
|
1204
|
+
return throwDefaultError({
|
|
1220
1205
|
output,
|
|
1221
1206
|
parsedBody,
|
|
1222
|
-
exceptionCtor: __BaseException,
|
|
1223
1207
|
errorCode,
|
|
1224
1208
|
});
|
|
1225
1209
|
}
|
|
@@ -1232,45 +1216,22 @@ export const de_GetChangesetCommand = async (output, context) => {
|
|
|
1232
1216
|
$metadata: deserializeMetadata(output),
|
|
1233
1217
|
});
|
|
1234
1218
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1235
|
-
|
|
1236
|
-
|
|
1237
|
-
|
|
1238
|
-
|
|
1239
|
-
|
|
1240
|
-
|
|
1241
|
-
|
|
1242
|
-
|
|
1243
|
-
|
|
1244
|
-
|
|
1245
|
-
|
|
1246
|
-
|
|
1247
|
-
|
|
1248
|
-
|
|
1249
|
-
}
|
|
1250
|
-
|
|
1251
|
-
contents.createTime = __expectLong(data.createTime);
|
|
1252
|
-
}
|
|
1253
|
-
if (data.datasetId != null) {
|
|
1254
|
-
contents.datasetId = __expectString(data.datasetId);
|
|
1255
|
-
}
|
|
1256
|
-
if (data.errorInfo != null) {
|
|
1257
|
-
contents.errorInfo = de_ChangesetErrorInfo(data.errorInfo, context);
|
|
1258
|
-
}
|
|
1259
|
-
if (data.formatParams != null) {
|
|
1260
|
-
contents.formatParams = de_FormatParams(data.formatParams, context);
|
|
1261
|
-
}
|
|
1262
|
-
if (data.sourceParams != null) {
|
|
1263
|
-
contents.sourceParams = de_SourceParams(data.sourceParams, context);
|
|
1264
|
-
}
|
|
1265
|
-
if (data.status != null) {
|
|
1266
|
-
contents.status = __expectString(data.status);
|
|
1267
|
-
}
|
|
1268
|
-
if (data.updatedByChangesetId != null) {
|
|
1269
|
-
contents.updatedByChangesetId = __expectString(data.updatedByChangesetId);
|
|
1270
|
-
}
|
|
1271
|
-
if (data.updatesChangesetId != null) {
|
|
1272
|
-
contents.updatesChangesetId = __expectString(data.updatesChangesetId);
|
|
1273
|
-
}
|
|
1219
|
+
const doc = take(data, {
|
|
1220
|
+
activeFromTimestamp: __expectLong,
|
|
1221
|
+
activeUntilTimestamp: __expectLong,
|
|
1222
|
+
changeType: __expectString,
|
|
1223
|
+
changesetArn: __expectString,
|
|
1224
|
+
changesetId: __expectString,
|
|
1225
|
+
createTime: __expectLong,
|
|
1226
|
+
datasetId: __expectString,
|
|
1227
|
+
errorInfo: _json,
|
|
1228
|
+
formatParams: _json,
|
|
1229
|
+
sourceParams: _json,
|
|
1230
|
+
status: __expectString,
|
|
1231
|
+
updatedByChangesetId: __expectString,
|
|
1232
|
+
updatesChangesetId: __expectString,
|
|
1233
|
+
});
|
|
1234
|
+
Object.assign(contents, doc);
|
|
1274
1235
|
return contents;
|
|
1275
1236
|
};
|
|
1276
1237
|
const de_GetChangesetCommandError = async (output, context) => {
|
|
@@ -1300,10 +1261,9 @@ const de_GetChangesetCommandError = async (output, context) => {
|
|
|
1300
1261
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1301
1262
|
default:
|
|
1302
1263
|
const parsedBody = parsedOutput.body;
|
|
1303
|
-
throwDefaultError({
|
|
1264
|
+
return throwDefaultError({
|
|
1304
1265
|
output,
|
|
1305
1266
|
parsedBody,
|
|
1306
|
-
exceptionCtor: __BaseException,
|
|
1307
1267
|
errorCode,
|
|
1308
1268
|
});
|
|
1309
1269
|
}
|
|
@@ -1316,36 +1276,19 @@ export const de_GetDatasetCommand = async (output, context) => {
|
|
|
1316
1276
|
$metadata: deserializeMetadata(output),
|
|
1317
1277
|
});
|
|
1318
1278
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1319
|
-
|
|
1320
|
-
|
|
1321
|
-
|
|
1322
|
-
|
|
1323
|
-
|
|
1324
|
-
|
|
1325
|
-
|
|
1326
|
-
|
|
1327
|
-
|
|
1328
|
-
|
|
1329
|
-
|
|
1330
|
-
}
|
|
1331
|
-
|
|
1332
|
-
contents.datasetId = __expectString(data.datasetId);
|
|
1333
|
-
}
|
|
1334
|
-
if (data.datasetTitle != null) {
|
|
1335
|
-
contents.datasetTitle = __expectString(data.datasetTitle);
|
|
1336
|
-
}
|
|
1337
|
-
if (data.kind != null) {
|
|
1338
|
-
contents.kind = __expectString(data.kind);
|
|
1339
|
-
}
|
|
1340
|
-
if (data.lastModifiedTime != null) {
|
|
1341
|
-
contents.lastModifiedTime = __expectLong(data.lastModifiedTime);
|
|
1342
|
-
}
|
|
1343
|
-
if (data.schemaDefinition != null) {
|
|
1344
|
-
contents.schemaDefinition = de_SchemaUnion(data.schemaDefinition, context);
|
|
1345
|
-
}
|
|
1346
|
-
if (data.status != null) {
|
|
1347
|
-
contents.status = __expectString(data.status);
|
|
1348
|
-
}
|
|
1279
|
+
const doc = take(data, {
|
|
1280
|
+
alias: __expectString,
|
|
1281
|
+
createTime: __expectLong,
|
|
1282
|
+
datasetArn: __expectString,
|
|
1283
|
+
datasetDescription: __expectString,
|
|
1284
|
+
datasetId: __expectString,
|
|
1285
|
+
datasetTitle: __expectString,
|
|
1286
|
+
kind: __expectString,
|
|
1287
|
+
lastModifiedTime: __expectLong,
|
|
1288
|
+
schemaDefinition: _json,
|
|
1289
|
+
status: __expectString,
|
|
1290
|
+
});
|
|
1291
|
+
Object.assign(contents, doc);
|
|
1349
1292
|
return contents;
|
|
1350
1293
|
};
|
|
1351
1294
|
const de_GetDatasetCommandError = async (output, context) => {
|
|
@@ -1375,10 +1318,9 @@ const de_GetDatasetCommandError = async (output, context) => {
|
|
|
1375
1318
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1376
1319
|
default:
|
|
1377
1320
|
const parsedBody = parsedOutput.body;
|
|
1378
|
-
throwDefaultError({
|
|
1321
|
+
return throwDefaultError({
|
|
1379
1322
|
output,
|
|
1380
1323
|
parsedBody,
|
|
1381
|
-
exceptionCtor: __BaseException,
|
|
1382
1324
|
errorCode,
|
|
1383
1325
|
});
|
|
1384
1326
|
}
|
|
@@ -1391,42 +1333,21 @@ export const de_GetDataViewCommand = async (output, context) => {
|
|
|
1391
1333
|
$metadata: deserializeMetadata(output),
|
|
1392
1334
|
});
|
|
1393
1335
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1394
|
-
|
|
1395
|
-
|
|
1396
|
-
|
|
1397
|
-
|
|
1398
|
-
|
|
1399
|
-
|
|
1400
|
-
|
|
1401
|
-
|
|
1402
|
-
|
|
1403
|
-
|
|
1404
|
-
|
|
1405
|
-
|
|
1406
|
-
|
|
1407
|
-
|
|
1408
|
-
|
|
1409
|
-
if (data.datasetId != null) {
|
|
1410
|
-
contents.datasetId = __expectString(data.datasetId);
|
|
1411
|
-
}
|
|
1412
|
-
if (data.destinationTypeParams != null) {
|
|
1413
|
-
contents.destinationTypeParams = de_DataViewDestinationTypeParams(data.destinationTypeParams, context);
|
|
1414
|
-
}
|
|
1415
|
-
if (data.errorInfo != null) {
|
|
1416
|
-
contents.errorInfo = de_DataViewErrorInfo(data.errorInfo, context);
|
|
1417
|
-
}
|
|
1418
|
-
if (data.lastModifiedTime != null) {
|
|
1419
|
-
contents.lastModifiedTime = __expectLong(data.lastModifiedTime);
|
|
1420
|
-
}
|
|
1421
|
-
if (data.partitionColumns != null) {
|
|
1422
|
-
contents.partitionColumns = de_PartitionColumnList(data.partitionColumns, context);
|
|
1423
|
-
}
|
|
1424
|
-
if (data.sortColumns != null) {
|
|
1425
|
-
contents.sortColumns = de_SortColumnList(data.sortColumns, context);
|
|
1426
|
-
}
|
|
1427
|
-
if (data.status != null) {
|
|
1428
|
-
contents.status = __expectString(data.status);
|
|
1429
|
-
}
|
|
1336
|
+
const doc = take(data, {
|
|
1337
|
+
asOfTimestamp: __expectLong,
|
|
1338
|
+
autoUpdate: __expectBoolean,
|
|
1339
|
+
createTime: __expectLong,
|
|
1340
|
+
dataViewArn: __expectString,
|
|
1341
|
+
dataViewId: __expectString,
|
|
1342
|
+
datasetId: __expectString,
|
|
1343
|
+
destinationTypeParams: _json,
|
|
1344
|
+
errorInfo: _json,
|
|
1345
|
+
lastModifiedTime: __expectLong,
|
|
1346
|
+
partitionColumns: _json,
|
|
1347
|
+
sortColumns: _json,
|
|
1348
|
+
status: __expectString,
|
|
1349
|
+
});
|
|
1350
|
+
Object.assign(contents, doc);
|
|
1430
1351
|
return contents;
|
|
1431
1352
|
};
|
|
1432
1353
|
const de_GetDataViewCommandError = async (output, context) => {
|
|
@@ -1453,10 +1374,9 @@ const de_GetDataViewCommandError = async (output, context) => {
|
|
|
1453
1374
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1454
1375
|
default:
|
|
1455
1376
|
const parsedBody = parsedOutput.body;
|
|
1456
|
-
throwDefaultError({
|
|
1377
|
+
return throwDefaultError({
|
|
1457
1378
|
output,
|
|
1458
1379
|
parsedBody,
|
|
1459
|
-
exceptionCtor: __BaseException,
|
|
1460
1380
|
errorCode,
|
|
1461
1381
|
});
|
|
1462
1382
|
}
|
|
@@ -1469,12 +1389,11 @@ export const de_GetExternalDataViewAccessDetailsCommand = async (output, context
|
|
|
1469
1389
|
$metadata: deserializeMetadata(output),
|
|
1470
1390
|
});
|
|
1471
1391
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1472
|
-
|
|
1473
|
-
|
|
1474
|
-
|
|
1475
|
-
|
|
1476
|
-
|
|
1477
|
-
}
|
|
1392
|
+
const doc = take(data, {
|
|
1393
|
+
credentials: _json,
|
|
1394
|
+
s3Location: _json,
|
|
1395
|
+
});
|
|
1396
|
+
Object.assign(contents, doc);
|
|
1478
1397
|
return contents;
|
|
1479
1398
|
};
|
|
1480
1399
|
const de_GetExternalDataViewAccessDetailsCommandError = async (output, context) => {
|
|
@@ -1501,10 +1420,9 @@ const de_GetExternalDataViewAccessDetailsCommandError = async (output, context)
|
|
|
1501
1420
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1502
1421
|
default:
|
|
1503
1422
|
const parsedBody = parsedOutput.body;
|
|
1504
|
-
throwDefaultError({
|
|
1423
|
+
return throwDefaultError({
|
|
1505
1424
|
output,
|
|
1506
1425
|
parsedBody,
|
|
1507
|
-
exceptionCtor: __BaseException,
|
|
1508
1426
|
errorCode,
|
|
1509
1427
|
});
|
|
1510
1428
|
}
|
|
@@ -1517,9 +1435,10 @@ export const de_GetPermissionGroupCommand = async (output, context) => {
|
|
|
1517
1435
|
$metadata: deserializeMetadata(output),
|
|
1518
1436
|
});
|
|
1519
1437
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1520
|
-
|
|
1521
|
-
|
|
1522
|
-
}
|
|
1438
|
+
const doc = take(data, {
|
|
1439
|
+
permissionGroup: _json,
|
|
1440
|
+
});
|
|
1441
|
+
Object.assign(contents, doc);
|
|
1523
1442
|
return contents;
|
|
1524
1443
|
};
|
|
1525
1444
|
const de_GetPermissionGroupCommandError = async (output, context) => {
|
|
@@ -1546,10 +1465,9 @@ const de_GetPermissionGroupCommandError = async (output, context) => {
|
|
|
1546
1465
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1547
1466
|
default:
|
|
1548
1467
|
const parsedBody = parsedOutput.body;
|
|
1549
|
-
throwDefaultError({
|
|
1468
|
+
return throwDefaultError({
|
|
1550
1469
|
output,
|
|
1551
1470
|
parsedBody,
|
|
1552
|
-
exceptionCtor: __BaseException,
|
|
1553
1471
|
errorCode,
|
|
1554
1472
|
});
|
|
1555
1473
|
}
|
|
@@ -1562,12 +1480,11 @@ export const de_GetProgrammaticAccessCredentialsCommand = async (output, context
|
|
|
1562
1480
|
$metadata: deserializeMetadata(output),
|
|
1563
1481
|
});
|
|
1564
1482
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1565
|
-
|
|
1566
|
-
|
|
1567
|
-
|
|
1568
|
-
|
|
1569
|
-
|
|
1570
|
-
}
|
|
1483
|
+
const doc = take(data, {
|
|
1484
|
+
credentials: _json,
|
|
1485
|
+
durationInMinutes: __expectLong,
|
|
1486
|
+
});
|
|
1487
|
+
Object.assign(contents, doc);
|
|
1571
1488
|
return contents;
|
|
1572
1489
|
};
|
|
1573
1490
|
const de_GetProgrammaticAccessCredentialsCommandError = async (output, context) => {
|
|
@@ -1591,10 +1508,9 @@ const de_GetProgrammaticAccessCredentialsCommandError = async (output, context)
|
|
|
1591
1508
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1592
1509
|
default:
|
|
1593
1510
|
const parsedBody = parsedOutput.body;
|
|
1594
|
-
throwDefaultError({
|
|
1511
|
+
return throwDefaultError({
|
|
1595
1512
|
output,
|
|
1596
1513
|
parsedBody,
|
|
1597
|
-
exceptionCtor: __BaseException,
|
|
1598
1514
|
errorCode,
|
|
1599
1515
|
});
|
|
1600
1516
|
}
|
|
@@ -1607,45 +1523,22 @@ export const de_GetUserCommand = async (output, context) => {
|
|
|
1607
1523
|
$metadata: deserializeMetadata(output),
|
|
1608
1524
|
});
|
|
1609
1525
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1610
|
-
|
|
1611
|
-
|
|
1612
|
-
|
|
1613
|
-
|
|
1614
|
-
|
|
1615
|
-
|
|
1616
|
-
|
|
1617
|
-
|
|
1618
|
-
|
|
1619
|
-
|
|
1620
|
-
|
|
1621
|
-
|
|
1622
|
-
|
|
1623
|
-
|
|
1624
|
-
}
|
|
1625
|
-
|
|
1626
|
-
contents.lastDisabledTime = __expectLong(data.lastDisabledTime);
|
|
1627
|
-
}
|
|
1628
|
-
if (data.lastEnabledTime != null) {
|
|
1629
|
-
contents.lastEnabledTime = __expectLong(data.lastEnabledTime);
|
|
1630
|
-
}
|
|
1631
|
-
if (data.lastLoginTime != null) {
|
|
1632
|
-
contents.lastLoginTime = __expectLong(data.lastLoginTime);
|
|
1633
|
-
}
|
|
1634
|
-
if (data.lastModifiedTime != null) {
|
|
1635
|
-
contents.lastModifiedTime = __expectLong(data.lastModifiedTime);
|
|
1636
|
-
}
|
|
1637
|
-
if (data.lastName != null) {
|
|
1638
|
-
contents.lastName = __expectString(data.lastName);
|
|
1639
|
-
}
|
|
1640
|
-
if (data.status != null) {
|
|
1641
|
-
contents.status = __expectString(data.status);
|
|
1642
|
-
}
|
|
1643
|
-
if (data.type != null) {
|
|
1644
|
-
contents.type = __expectString(data.type);
|
|
1645
|
-
}
|
|
1646
|
-
if (data.userId != null) {
|
|
1647
|
-
contents.userId = __expectString(data.userId);
|
|
1648
|
-
}
|
|
1526
|
+
const doc = take(data, {
|
|
1527
|
+
apiAccess: __expectString,
|
|
1528
|
+
apiAccessPrincipalArn: __expectString,
|
|
1529
|
+
createTime: __expectLong,
|
|
1530
|
+
emailAddress: __expectString,
|
|
1531
|
+
firstName: __expectString,
|
|
1532
|
+
lastDisabledTime: __expectLong,
|
|
1533
|
+
lastEnabledTime: __expectLong,
|
|
1534
|
+
lastLoginTime: __expectLong,
|
|
1535
|
+
lastModifiedTime: __expectLong,
|
|
1536
|
+
lastName: __expectString,
|
|
1537
|
+
status: __expectString,
|
|
1538
|
+
type: __expectString,
|
|
1539
|
+
userId: __expectString,
|
|
1540
|
+
});
|
|
1541
|
+
Object.assign(contents, doc);
|
|
1649
1542
|
return contents;
|
|
1650
1543
|
};
|
|
1651
1544
|
const de_GetUserCommandError = async (output, context) => {
|
|
@@ -1672,10 +1565,9 @@ const de_GetUserCommandError = async (output, context) => {
|
|
|
1672
1565
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1673
1566
|
default:
|
|
1674
1567
|
const parsedBody = parsedOutput.body;
|
|
1675
|
-
throwDefaultError({
|
|
1568
|
+
return throwDefaultError({
|
|
1676
1569
|
output,
|
|
1677
1570
|
parsedBody,
|
|
1678
|
-
exceptionCtor: __BaseException,
|
|
1679
1571
|
errorCode,
|
|
1680
1572
|
});
|
|
1681
1573
|
}
|
|
@@ -1688,15 +1580,12 @@ export const de_GetWorkingLocationCommand = async (output, context) => {
|
|
|
1688
1580
|
$metadata: deserializeMetadata(output),
|
|
1689
1581
|
});
|
|
1690
1582
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1691
|
-
|
|
1692
|
-
|
|
1693
|
-
|
|
1694
|
-
|
|
1695
|
-
|
|
1696
|
-
|
|
1697
|
-
if (data.s3Uri != null) {
|
|
1698
|
-
contents.s3Uri = __expectString(data.s3Uri);
|
|
1699
|
-
}
|
|
1583
|
+
const doc = take(data, {
|
|
1584
|
+
s3Bucket: __expectString,
|
|
1585
|
+
s3Path: __expectString,
|
|
1586
|
+
s3Uri: __expectString,
|
|
1587
|
+
});
|
|
1588
|
+
Object.assign(contents, doc);
|
|
1700
1589
|
return contents;
|
|
1701
1590
|
};
|
|
1702
1591
|
const de_GetWorkingLocationCommandError = async (output, context) => {
|
|
@@ -1720,10 +1609,9 @@ const de_GetWorkingLocationCommandError = async (output, context) => {
|
|
|
1720
1609
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1721
1610
|
default:
|
|
1722
1611
|
const parsedBody = parsedOutput.body;
|
|
1723
|
-
throwDefaultError({
|
|
1612
|
+
return throwDefaultError({
|
|
1724
1613
|
output,
|
|
1725
1614
|
parsedBody,
|
|
1726
|
-
exceptionCtor: __BaseException,
|
|
1727
1615
|
errorCode,
|
|
1728
1616
|
});
|
|
1729
1617
|
}
|
|
@@ -1736,12 +1624,11 @@ export const de_ListChangesetsCommand = async (output, context) => {
|
|
|
1736
1624
|
$metadata: deserializeMetadata(output),
|
|
1737
1625
|
});
|
|
1738
1626
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1739
|
-
|
|
1740
|
-
|
|
1741
|
-
|
|
1742
|
-
|
|
1743
|
-
|
|
1744
|
-
}
|
|
1627
|
+
const doc = take(data, {
|
|
1628
|
+
changesets: _json,
|
|
1629
|
+
nextToken: __expectString,
|
|
1630
|
+
});
|
|
1631
|
+
Object.assign(contents, doc);
|
|
1745
1632
|
return contents;
|
|
1746
1633
|
};
|
|
1747
1634
|
const de_ListChangesetsCommandError = async (output, context) => {
|
|
@@ -1771,10 +1658,9 @@ const de_ListChangesetsCommandError = async (output, context) => {
|
|
|
1771
1658
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1772
1659
|
default:
|
|
1773
1660
|
const parsedBody = parsedOutput.body;
|
|
1774
|
-
throwDefaultError({
|
|
1661
|
+
return throwDefaultError({
|
|
1775
1662
|
output,
|
|
1776
1663
|
parsedBody,
|
|
1777
|
-
exceptionCtor: __BaseException,
|
|
1778
1664
|
errorCode,
|
|
1779
1665
|
});
|
|
1780
1666
|
}
|
|
@@ -1787,12 +1673,11 @@ export const de_ListDatasetsCommand = async (output, context) => {
|
|
|
1787
1673
|
$metadata: deserializeMetadata(output),
|
|
1788
1674
|
});
|
|
1789
1675
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1790
|
-
|
|
1791
|
-
|
|
1792
|
-
|
|
1793
|
-
|
|
1794
|
-
|
|
1795
|
-
}
|
|
1676
|
+
const doc = take(data, {
|
|
1677
|
+
datasets: _json,
|
|
1678
|
+
nextToken: __expectString,
|
|
1679
|
+
});
|
|
1680
|
+
Object.assign(contents, doc);
|
|
1796
1681
|
return contents;
|
|
1797
1682
|
};
|
|
1798
1683
|
const de_ListDatasetsCommandError = async (output, context) => {
|
|
@@ -1819,10 +1704,9 @@ const de_ListDatasetsCommandError = async (output, context) => {
|
|
|
1819
1704
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1820
1705
|
default:
|
|
1821
1706
|
const parsedBody = parsedOutput.body;
|
|
1822
|
-
throwDefaultError({
|
|
1707
|
+
return throwDefaultError({
|
|
1823
1708
|
output,
|
|
1824
1709
|
parsedBody,
|
|
1825
|
-
exceptionCtor: __BaseException,
|
|
1826
1710
|
errorCode,
|
|
1827
1711
|
});
|
|
1828
1712
|
}
|
|
@@ -1835,12 +1719,11 @@ export const de_ListDataViewsCommand = async (output, context) => {
|
|
|
1835
1719
|
$metadata: deserializeMetadata(output),
|
|
1836
1720
|
});
|
|
1837
1721
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1838
|
-
|
|
1839
|
-
|
|
1840
|
-
|
|
1841
|
-
|
|
1842
|
-
|
|
1843
|
-
}
|
|
1722
|
+
const doc = take(data, {
|
|
1723
|
+
dataViews: _json,
|
|
1724
|
+
nextToken: __expectString,
|
|
1725
|
+
});
|
|
1726
|
+
Object.assign(contents, doc);
|
|
1844
1727
|
return contents;
|
|
1845
1728
|
};
|
|
1846
1729
|
const de_ListDataViewsCommandError = async (output, context) => {
|
|
@@ -1867,10 +1750,9 @@ const de_ListDataViewsCommandError = async (output, context) => {
|
|
|
1867
1750
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1868
1751
|
default:
|
|
1869
1752
|
const parsedBody = parsedOutput.body;
|
|
1870
|
-
throwDefaultError({
|
|
1753
|
+
return throwDefaultError({
|
|
1871
1754
|
output,
|
|
1872
1755
|
parsedBody,
|
|
1873
|
-
exceptionCtor: __BaseException,
|
|
1874
1756
|
errorCode,
|
|
1875
1757
|
});
|
|
1876
1758
|
}
|
|
@@ -1883,12 +1765,11 @@ export const de_ListPermissionGroupsCommand = async (output, context) => {
|
|
|
1883
1765
|
$metadata: deserializeMetadata(output),
|
|
1884
1766
|
});
|
|
1885
1767
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1886
|
-
|
|
1887
|
-
|
|
1888
|
-
|
|
1889
|
-
|
|
1890
|
-
|
|
1891
|
-
}
|
|
1768
|
+
const doc = take(data, {
|
|
1769
|
+
nextToken: __expectString,
|
|
1770
|
+
permissionGroups: _json,
|
|
1771
|
+
});
|
|
1772
|
+
Object.assign(contents, doc);
|
|
1892
1773
|
return contents;
|
|
1893
1774
|
};
|
|
1894
1775
|
const de_ListPermissionGroupsCommandError = async (output, context) => {
|
|
@@ -1912,10 +1793,9 @@ const de_ListPermissionGroupsCommandError = async (output, context) => {
|
|
|
1912
1793
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1913
1794
|
default:
|
|
1914
1795
|
const parsedBody = parsedOutput.body;
|
|
1915
|
-
throwDefaultError({
|
|
1796
|
+
return throwDefaultError({
|
|
1916
1797
|
output,
|
|
1917
1798
|
parsedBody,
|
|
1918
|
-
exceptionCtor: __BaseException,
|
|
1919
1799
|
errorCode,
|
|
1920
1800
|
});
|
|
1921
1801
|
}
|
|
@@ -1928,12 +1808,11 @@ export const de_ListPermissionGroupsByUserCommand = async (output, context) => {
|
|
|
1928
1808
|
$metadata: deserializeMetadata(output),
|
|
1929
1809
|
});
|
|
1930
1810
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1931
|
-
|
|
1932
|
-
|
|
1933
|
-
|
|
1934
|
-
|
|
1935
|
-
|
|
1936
|
-
}
|
|
1811
|
+
const doc = take(data, {
|
|
1812
|
+
nextToken: __expectString,
|
|
1813
|
+
permissionGroups: _json,
|
|
1814
|
+
});
|
|
1815
|
+
Object.assign(contents, doc);
|
|
1937
1816
|
return contents;
|
|
1938
1817
|
};
|
|
1939
1818
|
const de_ListPermissionGroupsByUserCommandError = async (output, context) => {
|
|
@@ -1960,10 +1839,9 @@ const de_ListPermissionGroupsByUserCommandError = async (output, context) => {
|
|
|
1960
1839
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1961
1840
|
default:
|
|
1962
1841
|
const parsedBody = parsedOutput.body;
|
|
1963
|
-
throwDefaultError({
|
|
1842
|
+
return throwDefaultError({
|
|
1964
1843
|
output,
|
|
1965
1844
|
parsedBody,
|
|
1966
|
-
exceptionCtor: __BaseException,
|
|
1967
1845
|
errorCode,
|
|
1968
1846
|
});
|
|
1969
1847
|
}
|
|
@@ -1976,12 +1854,11 @@ export const de_ListUsersCommand = async (output, context) => {
|
|
|
1976
1854
|
$metadata: deserializeMetadata(output),
|
|
1977
1855
|
});
|
|
1978
1856
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1979
|
-
|
|
1980
|
-
|
|
1981
|
-
|
|
1982
|
-
|
|
1983
|
-
|
|
1984
|
-
}
|
|
1857
|
+
const doc = take(data, {
|
|
1858
|
+
nextToken: __expectString,
|
|
1859
|
+
users: _json,
|
|
1860
|
+
});
|
|
1861
|
+
Object.assign(contents, doc);
|
|
1985
1862
|
return contents;
|
|
1986
1863
|
};
|
|
1987
1864
|
const de_ListUsersCommandError = async (output, context) => {
|
|
@@ -2005,10 +1882,9 @@ const de_ListUsersCommandError = async (output, context) => {
|
|
|
2005
1882
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2006
1883
|
default:
|
|
2007
1884
|
const parsedBody = parsedOutput.body;
|
|
2008
|
-
throwDefaultError({
|
|
1885
|
+
return throwDefaultError({
|
|
2009
1886
|
output,
|
|
2010
1887
|
parsedBody,
|
|
2011
|
-
exceptionCtor: __BaseException,
|
|
2012
1888
|
errorCode,
|
|
2013
1889
|
});
|
|
2014
1890
|
}
|
|
@@ -2021,12 +1897,11 @@ export const de_ListUsersByPermissionGroupCommand = async (output, context) => {
|
|
|
2021
1897
|
$metadata: deserializeMetadata(output),
|
|
2022
1898
|
});
|
|
2023
1899
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2024
|
-
|
|
2025
|
-
|
|
2026
|
-
|
|
2027
|
-
|
|
2028
|
-
|
|
2029
|
-
}
|
|
1900
|
+
const doc = take(data, {
|
|
1901
|
+
nextToken: __expectString,
|
|
1902
|
+
users: _json,
|
|
1903
|
+
});
|
|
1904
|
+
Object.assign(contents, doc);
|
|
2030
1905
|
return contents;
|
|
2031
1906
|
};
|
|
2032
1907
|
const de_ListUsersByPermissionGroupCommandError = async (output, context) => {
|
|
@@ -2053,10 +1928,9 @@ const de_ListUsersByPermissionGroupCommandError = async (output, context) => {
|
|
|
2053
1928
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2054
1929
|
default:
|
|
2055
1930
|
const parsedBody = parsedOutput.body;
|
|
2056
|
-
throwDefaultError({
|
|
1931
|
+
return throwDefaultError({
|
|
2057
1932
|
output,
|
|
2058
1933
|
parsedBody,
|
|
2059
|
-
exceptionCtor: __BaseException,
|
|
2060
1934
|
errorCode,
|
|
2061
1935
|
});
|
|
2062
1936
|
}
|
|
@@ -2069,12 +1943,11 @@ export const de_ResetUserPasswordCommand = async (output, context) => {
|
|
|
2069
1943
|
$metadata: deserializeMetadata(output),
|
|
2070
1944
|
});
|
|
2071
1945
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2072
|
-
|
|
2073
|
-
|
|
2074
|
-
|
|
2075
|
-
|
|
2076
|
-
|
|
2077
|
-
}
|
|
1946
|
+
const doc = take(data, {
|
|
1947
|
+
temporaryPassword: __expectString,
|
|
1948
|
+
userId: __expectString,
|
|
1949
|
+
});
|
|
1950
|
+
Object.assign(contents, doc);
|
|
2078
1951
|
return contents;
|
|
2079
1952
|
};
|
|
2080
1953
|
const de_ResetUserPasswordCommandError = async (output, context) => {
|
|
@@ -2104,10 +1977,9 @@ const de_ResetUserPasswordCommandError = async (output, context) => {
|
|
|
2104
1977
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2105
1978
|
default:
|
|
2106
1979
|
const parsedBody = parsedOutput.body;
|
|
2107
|
-
throwDefaultError({
|
|
1980
|
+
return throwDefaultError({
|
|
2108
1981
|
output,
|
|
2109
1982
|
parsedBody,
|
|
2110
|
-
exceptionCtor: __BaseException,
|
|
2111
1983
|
errorCode,
|
|
2112
1984
|
});
|
|
2113
1985
|
}
|
|
@@ -2120,12 +1992,11 @@ export const de_UpdateChangesetCommand = async (output, context) => {
|
|
|
2120
1992
|
$metadata: deserializeMetadata(output),
|
|
2121
1993
|
});
|
|
2122
1994
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2123
|
-
|
|
2124
|
-
|
|
2125
|
-
|
|
2126
|
-
|
|
2127
|
-
|
|
2128
|
-
}
|
|
1995
|
+
const doc = take(data, {
|
|
1996
|
+
changesetId: __expectString,
|
|
1997
|
+
datasetId: __expectString,
|
|
1998
|
+
});
|
|
1999
|
+
Object.assign(contents, doc);
|
|
2129
2000
|
return contents;
|
|
2130
2001
|
};
|
|
2131
2002
|
const de_UpdateChangesetCommandError = async (output, context) => {
|
|
@@ -2155,10 +2026,9 @@ const de_UpdateChangesetCommandError = async (output, context) => {
|
|
|
2155
2026
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2156
2027
|
default:
|
|
2157
2028
|
const parsedBody = parsedOutput.body;
|
|
2158
|
-
throwDefaultError({
|
|
2029
|
+
return throwDefaultError({
|
|
2159
2030
|
output,
|
|
2160
2031
|
parsedBody,
|
|
2161
|
-
exceptionCtor: __BaseException,
|
|
2162
2032
|
errorCode,
|
|
2163
2033
|
});
|
|
2164
2034
|
}
|
|
@@ -2171,9 +2041,10 @@ export const de_UpdateDatasetCommand = async (output, context) => {
|
|
|
2171
2041
|
$metadata: deserializeMetadata(output),
|
|
2172
2042
|
});
|
|
2173
2043
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2174
|
-
|
|
2175
|
-
|
|
2176
|
-
}
|
|
2044
|
+
const doc = take(data, {
|
|
2045
|
+
datasetId: __expectString,
|
|
2046
|
+
});
|
|
2047
|
+
Object.assign(contents, doc);
|
|
2177
2048
|
return contents;
|
|
2178
2049
|
};
|
|
2179
2050
|
const de_UpdateDatasetCommandError = async (output, context) => {
|
|
@@ -2203,10 +2074,9 @@ const de_UpdateDatasetCommandError = async (output, context) => {
|
|
|
2203
2074
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2204
2075
|
default:
|
|
2205
2076
|
const parsedBody = parsedOutput.body;
|
|
2206
|
-
throwDefaultError({
|
|
2077
|
+
return throwDefaultError({
|
|
2207
2078
|
output,
|
|
2208
2079
|
parsedBody,
|
|
2209
|
-
exceptionCtor: __BaseException,
|
|
2210
2080
|
errorCode,
|
|
2211
2081
|
});
|
|
2212
2082
|
}
|
|
@@ -2219,9 +2089,10 @@ export const de_UpdatePermissionGroupCommand = async (output, context) => {
|
|
|
2219
2089
|
$metadata: deserializeMetadata(output),
|
|
2220
2090
|
});
|
|
2221
2091
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2222
|
-
|
|
2223
|
-
|
|
2224
|
-
}
|
|
2092
|
+
const doc = take(data, {
|
|
2093
|
+
permissionGroupId: __expectString,
|
|
2094
|
+
});
|
|
2095
|
+
Object.assign(contents, doc);
|
|
2225
2096
|
return contents;
|
|
2226
2097
|
};
|
|
2227
2098
|
const de_UpdatePermissionGroupCommandError = async (output, context) => {
|
|
@@ -2251,10 +2122,9 @@ const de_UpdatePermissionGroupCommandError = async (output, context) => {
|
|
|
2251
2122
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2252
2123
|
default:
|
|
2253
2124
|
const parsedBody = parsedOutput.body;
|
|
2254
|
-
throwDefaultError({
|
|
2125
|
+
return throwDefaultError({
|
|
2255
2126
|
output,
|
|
2256
2127
|
parsedBody,
|
|
2257
|
-
exceptionCtor: __BaseException,
|
|
2258
2128
|
errorCode,
|
|
2259
2129
|
});
|
|
2260
2130
|
}
|
|
@@ -2267,9 +2137,10 @@ export const de_UpdateUserCommand = async (output, context) => {
|
|
|
2267
2137
|
$metadata: deserializeMetadata(output),
|
|
2268
2138
|
});
|
|
2269
2139
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2270
|
-
|
|
2271
|
-
|
|
2272
|
-
}
|
|
2140
|
+
const doc = take(data, {
|
|
2141
|
+
userId: __expectString,
|
|
2142
|
+
});
|
|
2143
|
+
Object.assign(contents, doc);
|
|
2273
2144
|
return contents;
|
|
2274
2145
|
};
|
|
2275
2146
|
const de_UpdateUserCommandError = async (output, context) => {
|
|
@@ -2299,21 +2170,21 @@ const de_UpdateUserCommandError = async (output, context) => {
|
|
|
2299
2170
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2300
2171
|
default:
|
|
2301
2172
|
const parsedBody = parsedOutput.body;
|
|
2302
|
-
throwDefaultError({
|
|
2173
|
+
return throwDefaultError({
|
|
2303
2174
|
output,
|
|
2304
2175
|
parsedBody,
|
|
2305
|
-
exceptionCtor: __BaseException,
|
|
2306
2176
|
errorCode,
|
|
2307
2177
|
});
|
|
2308
2178
|
}
|
|
2309
2179
|
};
|
|
2310
|
-
const
|
|
2180
|
+
const throwDefaultError = withBaseException(__BaseException);
|
|
2311
2181
|
const de_AccessDeniedExceptionRes = async (parsedOutput, context) => {
|
|
2312
2182
|
const contents = map({});
|
|
2313
2183
|
const data = parsedOutput.body;
|
|
2314
|
-
|
|
2315
|
-
|
|
2316
|
-
}
|
|
2184
|
+
const doc = take(data, {
|
|
2185
|
+
message: __expectString,
|
|
2186
|
+
});
|
|
2187
|
+
Object.assign(contents, doc);
|
|
2317
2188
|
const exception = new AccessDeniedException({
|
|
2318
2189
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2319
2190
|
...contents,
|
|
@@ -2323,12 +2194,11 @@ const de_AccessDeniedExceptionRes = async (parsedOutput, context) => {
|
|
|
2323
2194
|
const de_ConflictExceptionRes = async (parsedOutput, context) => {
|
|
2324
2195
|
const contents = map({});
|
|
2325
2196
|
const data = parsedOutput.body;
|
|
2326
|
-
|
|
2327
|
-
|
|
2328
|
-
|
|
2329
|
-
|
|
2330
|
-
|
|
2331
|
-
}
|
|
2197
|
+
const doc = take(data, {
|
|
2198
|
+
message: __expectString,
|
|
2199
|
+
reason: __expectString,
|
|
2200
|
+
});
|
|
2201
|
+
Object.assign(contents, doc);
|
|
2332
2202
|
const exception = new ConflictException({
|
|
2333
2203
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2334
2204
|
...contents,
|
|
@@ -2338,9 +2208,10 @@ const de_ConflictExceptionRes = async (parsedOutput, context) => {
|
|
|
2338
2208
|
const de_InternalServerExceptionRes = async (parsedOutput, context) => {
|
|
2339
2209
|
const contents = map({});
|
|
2340
2210
|
const data = parsedOutput.body;
|
|
2341
|
-
|
|
2342
|
-
|
|
2343
|
-
}
|
|
2211
|
+
const doc = take(data, {
|
|
2212
|
+
message: __expectString,
|
|
2213
|
+
});
|
|
2214
|
+
Object.assign(contents, doc);
|
|
2344
2215
|
const exception = new InternalServerException({
|
|
2345
2216
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2346
2217
|
...contents,
|
|
@@ -2350,9 +2221,10 @@ const de_InternalServerExceptionRes = async (parsedOutput, context) => {
|
|
|
2350
2221
|
const de_LimitExceededExceptionRes = async (parsedOutput, context) => {
|
|
2351
2222
|
const contents = map({});
|
|
2352
2223
|
const data = parsedOutput.body;
|
|
2353
|
-
|
|
2354
|
-
|
|
2355
|
-
}
|
|
2224
|
+
const doc = take(data, {
|
|
2225
|
+
message: __expectString,
|
|
2226
|
+
});
|
|
2227
|
+
Object.assign(contents, doc);
|
|
2356
2228
|
const exception = new LimitExceededException({
|
|
2357
2229
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2358
2230
|
...contents,
|
|
@@ -2362,12 +2234,11 @@ const de_LimitExceededExceptionRes = async (parsedOutput, context) => {
|
|
|
2362
2234
|
const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
2363
2235
|
const contents = map({});
|
|
2364
2236
|
const data = parsedOutput.body;
|
|
2365
|
-
|
|
2366
|
-
|
|
2367
|
-
|
|
2368
|
-
|
|
2369
|
-
|
|
2370
|
-
}
|
|
2237
|
+
const doc = take(data, {
|
|
2238
|
+
message: __expectString,
|
|
2239
|
+
reason: __expectString,
|
|
2240
|
+
});
|
|
2241
|
+
Object.assign(contents, doc);
|
|
2371
2242
|
const exception = new ResourceNotFoundException({
|
|
2372
2243
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2373
2244
|
...contents,
|
|
@@ -2377,6 +2248,8 @@ const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
|
2377
2248
|
const de_ThrottlingExceptionRes = async (parsedOutput, context) => {
|
|
2378
2249
|
const contents = map({});
|
|
2379
2250
|
const data = parsedOutput.body;
|
|
2251
|
+
const doc = take(data, {});
|
|
2252
|
+
Object.assign(contents, doc);
|
|
2380
2253
|
const exception = new ThrottlingException({
|
|
2381
2254
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2382
2255
|
...contents,
|
|
@@ -2386,463 +2259,17 @@ const de_ThrottlingExceptionRes = async (parsedOutput, context) => {
|
|
|
2386
2259
|
const de_ValidationExceptionRes = async (parsedOutput, context) => {
|
|
2387
2260
|
const contents = map({});
|
|
2388
2261
|
const data = parsedOutput.body;
|
|
2389
|
-
|
|
2390
|
-
|
|
2391
|
-
|
|
2392
|
-
|
|
2393
|
-
|
|
2394
|
-
}
|
|
2262
|
+
const doc = take(data, {
|
|
2263
|
+
message: __expectString,
|
|
2264
|
+
reason: __expectString,
|
|
2265
|
+
});
|
|
2266
|
+
Object.assign(contents, doc);
|
|
2395
2267
|
const exception = new ValidationException({
|
|
2396
2268
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2397
2269
|
...contents,
|
|
2398
2270
|
});
|
|
2399
2271
|
return __decorateServiceException(exception, parsedOutput.body);
|
|
2400
2272
|
};
|
|
2401
|
-
const se_ApplicationPermissionList = (input, context) => {
|
|
2402
|
-
return input
|
|
2403
|
-
.filter((e) => e != null)
|
|
2404
|
-
.map((entry) => {
|
|
2405
|
-
return entry;
|
|
2406
|
-
});
|
|
2407
|
-
};
|
|
2408
|
-
const se_ColumnDefinition = (input, context) => {
|
|
2409
|
-
return {
|
|
2410
|
-
...(input.columnDescription != null && { columnDescription: input.columnDescription }),
|
|
2411
|
-
...(input.columnName != null && { columnName: input.columnName }),
|
|
2412
|
-
...(input.dataType != null && { dataType: input.dataType }),
|
|
2413
|
-
};
|
|
2414
|
-
};
|
|
2415
|
-
const se_ColumnList = (input, context) => {
|
|
2416
|
-
return input
|
|
2417
|
-
.filter((e) => e != null)
|
|
2418
|
-
.map((entry) => {
|
|
2419
|
-
return se_ColumnDefinition(entry, context);
|
|
2420
|
-
});
|
|
2421
|
-
};
|
|
2422
|
-
const se_ColumnNameList = (input, context) => {
|
|
2423
|
-
return input
|
|
2424
|
-
.filter((e) => e != null)
|
|
2425
|
-
.map((entry) => {
|
|
2426
|
-
return entry;
|
|
2427
|
-
});
|
|
2428
|
-
};
|
|
2429
|
-
const se_DatasetOwnerInfo = (input, context) => {
|
|
2430
|
-
return {
|
|
2431
|
-
...(input.email != null && { email: input.email }),
|
|
2432
|
-
...(input.name != null && { name: input.name }),
|
|
2433
|
-
...(input.phoneNumber != null && { phoneNumber: input.phoneNumber }),
|
|
2434
|
-
};
|
|
2435
|
-
};
|
|
2436
|
-
const se_DataViewDestinationTypeParams = (input, context) => {
|
|
2437
|
-
return {
|
|
2438
|
-
...(input.destinationType != null && { destinationType: input.destinationType }),
|
|
2439
|
-
...(input.s3DestinationExportFileFormat != null && {
|
|
2440
|
-
s3DestinationExportFileFormat: input.s3DestinationExportFileFormat,
|
|
2441
|
-
}),
|
|
2442
|
-
...(input.s3DestinationExportFileFormatOptions != null && {
|
|
2443
|
-
s3DestinationExportFileFormatOptions: se_S3DestinationFormatOptions(input.s3DestinationExportFileFormatOptions, context),
|
|
2444
|
-
}),
|
|
2445
|
-
};
|
|
2446
|
-
};
|
|
2447
|
-
const se_FormatParams = (input, context) => {
|
|
2448
|
-
return Object.entries(input).reduce((acc, [key, value]) => {
|
|
2449
|
-
if (value === null) {
|
|
2450
|
-
return acc;
|
|
2451
|
-
}
|
|
2452
|
-
acc[key] = value;
|
|
2453
|
-
return acc;
|
|
2454
|
-
}, {});
|
|
2455
|
-
};
|
|
2456
|
-
const se_PartitionColumnList = (input, context) => {
|
|
2457
|
-
return input
|
|
2458
|
-
.filter((e) => e != null)
|
|
2459
|
-
.map((entry) => {
|
|
2460
|
-
return entry;
|
|
2461
|
-
});
|
|
2462
|
-
};
|
|
2463
|
-
const se_PermissionGroupParams = (input, context) => {
|
|
2464
|
-
return {
|
|
2465
|
-
...(input.datasetPermissions != null && {
|
|
2466
|
-
datasetPermissions: se_ResourcePermissionsList(input.datasetPermissions, context),
|
|
2467
|
-
}),
|
|
2468
|
-
...(input.permissionGroupId != null && { permissionGroupId: input.permissionGroupId }),
|
|
2469
|
-
};
|
|
2470
|
-
};
|
|
2471
|
-
const se_ResourcePermission = (input, context) => {
|
|
2472
|
-
return {
|
|
2473
|
-
...(input.permission != null && { permission: input.permission }),
|
|
2474
|
-
};
|
|
2475
|
-
};
|
|
2476
|
-
const se_ResourcePermissionsList = (input, context) => {
|
|
2477
|
-
return input
|
|
2478
|
-
.filter((e) => e != null)
|
|
2479
|
-
.map((entry) => {
|
|
2480
|
-
return se_ResourcePermission(entry, context);
|
|
2481
|
-
});
|
|
2482
|
-
};
|
|
2483
|
-
const se_S3DestinationFormatOptions = (input, context) => {
|
|
2484
|
-
return Object.entries(input).reduce((acc, [key, value]) => {
|
|
2485
|
-
if (value === null) {
|
|
2486
|
-
return acc;
|
|
2487
|
-
}
|
|
2488
|
-
acc[key] = value;
|
|
2489
|
-
return acc;
|
|
2490
|
-
}, {});
|
|
2491
|
-
};
|
|
2492
|
-
const se_SchemaDefinition = (input, context) => {
|
|
2493
|
-
return {
|
|
2494
|
-
...(input.columns != null && { columns: se_ColumnList(input.columns, context) }),
|
|
2495
|
-
...(input.primaryKeyColumns != null && { primaryKeyColumns: se_ColumnNameList(input.primaryKeyColumns, context) }),
|
|
2496
|
-
};
|
|
2497
|
-
};
|
|
2498
|
-
const se_SchemaUnion = (input, context) => {
|
|
2499
|
-
return {
|
|
2500
|
-
...(input.tabularSchemaConfig != null && {
|
|
2501
|
-
tabularSchemaConfig: se_SchemaDefinition(input.tabularSchemaConfig, context),
|
|
2502
|
-
}),
|
|
2503
|
-
};
|
|
2504
|
-
};
|
|
2505
|
-
const se_SortColumnList = (input, context) => {
|
|
2506
|
-
return input
|
|
2507
|
-
.filter((e) => e != null)
|
|
2508
|
-
.map((entry) => {
|
|
2509
|
-
return entry;
|
|
2510
|
-
});
|
|
2511
|
-
};
|
|
2512
|
-
const se_SourceParams = (input, context) => {
|
|
2513
|
-
return Object.entries(input).reduce((acc, [key, value]) => {
|
|
2514
|
-
if (value === null) {
|
|
2515
|
-
return acc;
|
|
2516
|
-
}
|
|
2517
|
-
acc[key] = value;
|
|
2518
|
-
return acc;
|
|
2519
|
-
}, {});
|
|
2520
|
-
};
|
|
2521
|
-
const de_ApplicationPermissionList = (output, context) => {
|
|
2522
|
-
const retVal = (output || [])
|
|
2523
|
-
.filter((e) => e != null)
|
|
2524
|
-
.map((entry) => {
|
|
2525
|
-
if (entry === null) {
|
|
2526
|
-
return null;
|
|
2527
|
-
}
|
|
2528
|
-
return __expectString(entry);
|
|
2529
|
-
});
|
|
2530
|
-
return retVal;
|
|
2531
|
-
};
|
|
2532
|
-
const de_AwsCredentials = (output, context) => {
|
|
2533
|
-
return {
|
|
2534
|
-
accessKeyId: __expectString(output.accessKeyId),
|
|
2535
|
-
expiration: __expectLong(output.expiration),
|
|
2536
|
-
secretAccessKey: __expectString(output.secretAccessKey),
|
|
2537
|
-
sessionToken: __expectString(output.sessionToken),
|
|
2538
|
-
};
|
|
2539
|
-
};
|
|
2540
|
-
const de_ChangesetErrorInfo = (output, context) => {
|
|
2541
|
-
return {
|
|
2542
|
-
errorCategory: __expectString(output.errorCategory),
|
|
2543
|
-
errorMessage: __expectString(output.errorMessage),
|
|
2544
|
-
};
|
|
2545
|
-
};
|
|
2546
|
-
const de_ChangesetList = (output, context) => {
|
|
2547
|
-
const retVal = (output || [])
|
|
2548
|
-
.filter((e) => e != null)
|
|
2549
|
-
.map((entry) => {
|
|
2550
|
-
if (entry === null) {
|
|
2551
|
-
return null;
|
|
2552
|
-
}
|
|
2553
|
-
return de_ChangesetSummary(entry, context);
|
|
2554
|
-
});
|
|
2555
|
-
return retVal;
|
|
2556
|
-
};
|
|
2557
|
-
const de_ChangesetSummary = (output, context) => {
|
|
2558
|
-
return {
|
|
2559
|
-
activeFromTimestamp: __expectLong(output.activeFromTimestamp),
|
|
2560
|
-
activeUntilTimestamp: __expectLong(output.activeUntilTimestamp),
|
|
2561
|
-
changeType: __expectString(output.changeType),
|
|
2562
|
-
changesetArn: __expectString(output.changesetArn),
|
|
2563
|
-
changesetId: __expectString(output.changesetId),
|
|
2564
|
-
createTime: __expectLong(output.createTime),
|
|
2565
|
-
datasetId: __expectString(output.datasetId),
|
|
2566
|
-
errorInfo: output.errorInfo != null ? de_ChangesetErrorInfo(output.errorInfo, context) : undefined,
|
|
2567
|
-
formatParams: output.formatParams != null ? de_FormatParams(output.formatParams, context) : undefined,
|
|
2568
|
-
sourceParams: output.sourceParams != null ? de_SourceParams(output.sourceParams, context) : undefined,
|
|
2569
|
-
status: __expectString(output.status),
|
|
2570
|
-
updatedByChangesetId: __expectString(output.updatedByChangesetId),
|
|
2571
|
-
updatesChangesetId: __expectString(output.updatesChangesetId),
|
|
2572
|
-
};
|
|
2573
|
-
};
|
|
2574
|
-
const de_ColumnDefinition = (output, context) => {
|
|
2575
|
-
return {
|
|
2576
|
-
columnDescription: __expectString(output.columnDescription),
|
|
2577
|
-
columnName: __expectString(output.columnName),
|
|
2578
|
-
dataType: __expectString(output.dataType),
|
|
2579
|
-
};
|
|
2580
|
-
};
|
|
2581
|
-
const de_ColumnList = (output, context) => {
|
|
2582
|
-
const retVal = (output || [])
|
|
2583
|
-
.filter((e) => e != null)
|
|
2584
|
-
.map((entry) => {
|
|
2585
|
-
if (entry === null) {
|
|
2586
|
-
return null;
|
|
2587
|
-
}
|
|
2588
|
-
return de_ColumnDefinition(entry, context);
|
|
2589
|
-
});
|
|
2590
|
-
return retVal;
|
|
2591
|
-
};
|
|
2592
|
-
const de_ColumnNameList = (output, context) => {
|
|
2593
|
-
const retVal = (output || [])
|
|
2594
|
-
.filter((e) => e != null)
|
|
2595
|
-
.map((entry) => {
|
|
2596
|
-
if (entry === null) {
|
|
2597
|
-
return null;
|
|
2598
|
-
}
|
|
2599
|
-
return __expectString(entry);
|
|
2600
|
-
});
|
|
2601
|
-
return retVal;
|
|
2602
|
-
};
|
|
2603
|
-
const de_Credentials = (output, context) => {
|
|
2604
|
-
return {
|
|
2605
|
-
accessKeyId: __expectString(output.accessKeyId),
|
|
2606
|
-
secretAccessKey: __expectString(output.secretAccessKey),
|
|
2607
|
-
sessionToken: __expectString(output.sessionToken),
|
|
2608
|
-
};
|
|
2609
|
-
};
|
|
2610
|
-
const de_Dataset = (output, context) => {
|
|
2611
|
-
return {
|
|
2612
|
-
alias: __expectString(output.alias),
|
|
2613
|
-
createTime: __expectLong(output.createTime),
|
|
2614
|
-
datasetArn: __expectString(output.datasetArn),
|
|
2615
|
-
datasetDescription: __expectString(output.datasetDescription),
|
|
2616
|
-
datasetId: __expectString(output.datasetId),
|
|
2617
|
-
datasetTitle: __expectString(output.datasetTitle),
|
|
2618
|
-
kind: __expectString(output.kind),
|
|
2619
|
-
lastModifiedTime: __expectLong(output.lastModifiedTime),
|
|
2620
|
-
ownerInfo: output.ownerInfo != null ? de_DatasetOwnerInfo(output.ownerInfo, context) : undefined,
|
|
2621
|
-
schemaDefinition: output.schemaDefinition != null ? de_SchemaUnion(output.schemaDefinition, context) : undefined,
|
|
2622
|
-
};
|
|
2623
|
-
};
|
|
2624
|
-
const de_DatasetList = (output, context) => {
|
|
2625
|
-
const retVal = (output || [])
|
|
2626
|
-
.filter((e) => e != null)
|
|
2627
|
-
.map((entry) => {
|
|
2628
|
-
if (entry === null) {
|
|
2629
|
-
return null;
|
|
2630
|
-
}
|
|
2631
|
-
return de_Dataset(entry, context);
|
|
2632
|
-
});
|
|
2633
|
-
return retVal;
|
|
2634
|
-
};
|
|
2635
|
-
const de_DatasetOwnerInfo = (output, context) => {
|
|
2636
|
-
return {
|
|
2637
|
-
email: __expectString(output.email),
|
|
2638
|
-
name: __expectString(output.name),
|
|
2639
|
-
phoneNumber: __expectString(output.phoneNumber),
|
|
2640
|
-
};
|
|
2641
|
-
};
|
|
2642
|
-
const de_DataViewDestinationTypeParams = (output, context) => {
|
|
2643
|
-
return {
|
|
2644
|
-
destinationType: __expectString(output.destinationType),
|
|
2645
|
-
s3DestinationExportFileFormat: __expectString(output.s3DestinationExportFileFormat),
|
|
2646
|
-
s3DestinationExportFileFormatOptions: output.s3DestinationExportFileFormatOptions != null
|
|
2647
|
-
? de_S3DestinationFormatOptions(output.s3DestinationExportFileFormatOptions, context)
|
|
2648
|
-
: undefined,
|
|
2649
|
-
};
|
|
2650
|
-
};
|
|
2651
|
-
const de_DataViewErrorInfo = (output, context) => {
|
|
2652
|
-
return {
|
|
2653
|
-
errorCategory: __expectString(output.errorCategory),
|
|
2654
|
-
errorMessage: __expectString(output.errorMessage),
|
|
2655
|
-
};
|
|
2656
|
-
};
|
|
2657
|
-
const de_DataViewList = (output, context) => {
|
|
2658
|
-
const retVal = (output || [])
|
|
2659
|
-
.filter((e) => e != null)
|
|
2660
|
-
.map((entry) => {
|
|
2661
|
-
if (entry === null) {
|
|
2662
|
-
return null;
|
|
2663
|
-
}
|
|
2664
|
-
return de_DataViewSummary(entry, context);
|
|
2665
|
-
});
|
|
2666
|
-
return retVal;
|
|
2667
|
-
};
|
|
2668
|
-
const de_DataViewSummary = (output, context) => {
|
|
2669
|
-
return {
|
|
2670
|
-
asOfTimestamp: __expectLong(output.asOfTimestamp),
|
|
2671
|
-
autoUpdate: __expectBoolean(output.autoUpdate),
|
|
2672
|
-
createTime: __expectLong(output.createTime),
|
|
2673
|
-
dataViewArn: __expectString(output.dataViewArn),
|
|
2674
|
-
dataViewId: __expectString(output.dataViewId),
|
|
2675
|
-
datasetId: __expectString(output.datasetId),
|
|
2676
|
-
destinationTypeProperties: output.destinationTypeProperties != null
|
|
2677
|
-
? de_DataViewDestinationTypeParams(output.destinationTypeProperties, context)
|
|
2678
|
-
: undefined,
|
|
2679
|
-
errorInfo: output.errorInfo != null ? de_DataViewErrorInfo(output.errorInfo, context) : undefined,
|
|
2680
|
-
lastModifiedTime: __expectLong(output.lastModifiedTime),
|
|
2681
|
-
partitionColumns: output.partitionColumns != null ? de_PartitionColumnList(output.partitionColumns, context) : undefined,
|
|
2682
|
-
sortColumns: output.sortColumns != null ? de_SortColumnList(output.sortColumns, context) : undefined,
|
|
2683
|
-
status: __expectString(output.status),
|
|
2684
|
-
};
|
|
2685
|
-
};
|
|
2686
|
-
const de_FormatParams = (output, context) => {
|
|
2687
|
-
return Object.entries(output).reduce((acc, [key, value]) => {
|
|
2688
|
-
if (value === null) {
|
|
2689
|
-
return acc;
|
|
2690
|
-
}
|
|
2691
|
-
acc[key] = __expectString(value);
|
|
2692
|
-
return acc;
|
|
2693
|
-
}, {});
|
|
2694
|
-
};
|
|
2695
|
-
const de_PartitionColumnList = (output, context) => {
|
|
2696
|
-
const retVal = (output || [])
|
|
2697
|
-
.filter((e) => e != null)
|
|
2698
|
-
.map((entry) => {
|
|
2699
|
-
if (entry === null) {
|
|
2700
|
-
return null;
|
|
2701
|
-
}
|
|
2702
|
-
return __expectString(entry);
|
|
2703
|
-
});
|
|
2704
|
-
return retVal;
|
|
2705
|
-
};
|
|
2706
|
-
const de_PermissionGroup = (output, context) => {
|
|
2707
|
-
return {
|
|
2708
|
-
applicationPermissions: output.applicationPermissions != null
|
|
2709
|
-
? de_ApplicationPermissionList(output.applicationPermissions, context)
|
|
2710
|
-
: undefined,
|
|
2711
|
-
createTime: __expectLong(output.createTime),
|
|
2712
|
-
description: __expectString(output.description),
|
|
2713
|
-
lastModifiedTime: __expectLong(output.lastModifiedTime),
|
|
2714
|
-
membershipStatus: __expectString(output.membershipStatus),
|
|
2715
|
-
name: __expectString(output.name),
|
|
2716
|
-
permissionGroupId: __expectString(output.permissionGroupId),
|
|
2717
|
-
};
|
|
2718
|
-
};
|
|
2719
|
-
const de_PermissionGroupByUser = (output, context) => {
|
|
2720
|
-
return {
|
|
2721
|
-
membershipStatus: __expectString(output.membershipStatus),
|
|
2722
|
-
name: __expectString(output.name),
|
|
2723
|
-
permissionGroupId: __expectString(output.permissionGroupId),
|
|
2724
|
-
};
|
|
2725
|
-
};
|
|
2726
|
-
const de_PermissionGroupByUserList = (output, context) => {
|
|
2727
|
-
const retVal = (output || [])
|
|
2728
|
-
.filter((e) => e != null)
|
|
2729
|
-
.map((entry) => {
|
|
2730
|
-
if (entry === null) {
|
|
2731
|
-
return null;
|
|
2732
|
-
}
|
|
2733
|
-
return de_PermissionGroupByUser(entry, context);
|
|
2734
|
-
});
|
|
2735
|
-
return retVal;
|
|
2736
|
-
};
|
|
2737
|
-
const de_PermissionGroupList = (output, context) => {
|
|
2738
|
-
const retVal = (output || [])
|
|
2739
|
-
.filter((e) => e != null)
|
|
2740
|
-
.map((entry) => {
|
|
2741
|
-
if (entry === null) {
|
|
2742
|
-
return null;
|
|
2743
|
-
}
|
|
2744
|
-
return de_PermissionGroup(entry, context);
|
|
2745
|
-
});
|
|
2746
|
-
return retVal;
|
|
2747
|
-
};
|
|
2748
|
-
const de_S3DestinationFormatOptions = (output, context) => {
|
|
2749
|
-
return Object.entries(output).reduce((acc, [key, value]) => {
|
|
2750
|
-
if (value === null) {
|
|
2751
|
-
return acc;
|
|
2752
|
-
}
|
|
2753
|
-
acc[key] = __expectString(value);
|
|
2754
|
-
return acc;
|
|
2755
|
-
}, {});
|
|
2756
|
-
};
|
|
2757
|
-
const de_S3Location = (output, context) => {
|
|
2758
|
-
return {
|
|
2759
|
-
bucket: __expectString(output.bucket),
|
|
2760
|
-
key: __expectString(output.key),
|
|
2761
|
-
};
|
|
2762
|
-
};
|
|
2763
|
-
const de_SchemaDefinition = (output, context) => {
|
|
2764
|
-
return {
|
|
2765
|
-
columns: output.columns != null ? de_ColumnList(output.columns, context) : undefined,
|
|
2766
|
-
primaryKeyColumns: output.primaryKeyColumns != null ? de_ColumnNameList(output.primaryKeyColumns, context) : undefined,
|
|
2767
|
-
};
|
|
2768
|
-
};
|
|
2769
|
-
const de_SchemaUnion = (output, context) => {
|
|
2770
|
-
return {
|
|
2771
|
-
tabularSchemaConfig: output.tabularSchemaConfig != null ? de_SchemaDefinition(output.tabularSchemaConfig, context) : undefined,
|
|
2772
|
-
};
|
|
2773
|
-
};
|
|
2774
|
-
const de_SortColumnList = (output, context) => {
|
|
2775
|
-
const retVal = (output || [])
|
|
2776
|
-
.filter((e) => e != null)
|
|
2777
|
-
.map((entry) => {
|
|
2778
|
-
if (entry === null) {
|
|
2779
|
-
return null;
|
|
2780
|
-
}
|
|
2781
|
-
return __expectString(entry);
|
|
2782
|
-
});
|
|
2783
|
-
return retVal;
|
|
2784
|
-
};
|
|
2785
|
-
const de_SourceParams = (output, context) => {
|
|
2786
|
-
return Object.entries(output).reduce((acc, [key, value]) => {
|
|
2787
|
-
if (value === null) {
|
|
2788
|
-
return acc;
|
|
2789
|
-
}
|
|
2790
|
-
acc[key] = __expectString(value);
|
|
2791
|
-
return acc;
|
|
2792
|
-
}, {});
|
|
2793
|
-
};
|
|
2794
|
-
const de_User = (output, context) => {
|
|
2795
|
-
return {
|
|
2796
|
-
apiAccess: __expectString(output.apiAccess),
|
|
2797
|
-
apiAccessPrincipalArn: __expectString(output.apiAccessPrincipalArn),
|
|
2798
|
-
createTime: __expectLong(output.createTime),
|
|
2799
|
-
emailAddress: __expectString(output.emailAddress),
|
|
2800
|
-
firstName: __expectString(output.firstName),
|
|
2801
|
-
lastDisabledTime: __expectLong(output.lastDisabledTime),
|
|
2802
|
-
lastEnabledTime: __expectLong(output.lastEnabledTime),
|
|
2803
|
-
lastLoginTime: __expectLong(output.lastLoginTime),
|
|
2804
|
-
lastModifiedTime: __expectLong(output.lastModifiedTime),
|
|
2805
|
-
lastName: __expectString(output.lastName),
|
|
2806
|
-
status: __expectString(output.status),
|
|
2807
|
-
type: __expectString(output.type),
|
|
2808
|
-
userId: __expectString(output.userId),
|
|
2809
|
-
};
|
|
2810
|
-
};
|
|
2811
|
-
const de_UserByPermissionGroup = (output, context) => {
|
|
2812
|
-
return {
|
|
2813
|
-
apiAccess: __expectString(output.apiAccess),
|
|
2814
|
-
apiAccessPrincipalArn: __expectString(output.apiAccessPrincipalArn),
|
|
2815
|
-
emailAddress: __expectString(output.emailAddress),
|
|
2816
|
-
firstName: __expectString(output.firstName),
|
|
2817
|
-
lastName: __expectString(output.lastName),
|
|
2818
|
-
membershipStatus: __expectString(output.membershipStatus),
|
|
2819
|
-
status: __expectString(output.status),
|
|
2820
|
-
type: __expectString(output.type),
|
|
2821
|
-
userId: __expectString(output.userId),
|
|
2822
|
-
};
|
|
2823
|
-
};
|
|
2824
|
-
const de_UserByPermissionGroupList = (output, context) => {
|
|
2825
|
-
const retVal = (output || [])
|
|
2826
|
-
.filter((e) => e != null)
|
|
2827
|
-
.map((entry) => {
|
|
2828
|
-
if (entry === null) {
|
|
2829
|
-
return null;
|
|
2830
|
-
}
|
|
2831
|
-
return de_UserByPermissionGroup(entry, context);
|
|
2832
|
-
});
|
|
2833
|
-
return retVal;
|
|
2834
|
-
};
|
|
2835
|
-
const de_UserList = (output, context) => {
|
|
2836
|
-
const retVal = (output || [])
|
|
2837
|
-
.filter((e) => e != null)
|
|
2838
|
-
.map((entry) => {
|
|
2839
|
-
if (entry === null) {
|
|
2840
|
-
return null;
|
|
2841
|
-
}
|
|
2842
|
-
return de_User(entry, context);
|
|
2843
|
-
});
|
|
2844
|
-
return retVal;
|
|
2845
|
-
};
|
|
2846
2273
|
const deserializeMetadata = (output) => ({
|
|
2847
2274
|
httpStatusCode: output.statusCode,
|
|
2848
2275
|
requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
|