@aws-sdk/client-workspaces-web 3.310.0 → 3.315.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/protocols/Aws_restJson1.js +474 -863
- package/dist-es/protocols/Aws_restJson1.js +401 -790
- 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,
|
|
2
|
+
import { _json, decorateServiceException as __decorateServiceException, expectNonNull as __expectNonNull, expectNumber as __expectNumber, expectObject as __expectObject, expectString as __expectString, map, parseEpochTimestamp as __parseEpochTimestamp, resolvedPath as __resolvedPath, strictParseInt32 as __strictParseInt32, take, withBaseException, } from "@aws-sdk/smithy-client";
|
|
3
3
|
import { v4 as generateIdempotencyToken } from "uuid";
|
|
4
4
|
import { AccessDeniedException, ConflictException, InternalServerException, ResourceNotFoundException, ServiceQuotaExceededException, ThrottlingException, TooManyTagsException, ValidationException, } from "../models/models_0";
|
|
5
5
|
import { WorkSpacesWebServiceException as __BaseException } from "../models/WorkSpacesWebServiceException";
|
|
@@ -114,15 +114,13 @@ export const se_CreateBrowserSettingsCommand = async (input, context) => {
|
|
|
114
114
|
};
|
|
115
115
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/browserSettings";
|
|
116
116
|
let body;
|
|
117
|
-
body = JSON.stringify({
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
...(input.tags != null && { tags: se_TagList(input.tags, context) }),
|
|
125
|
-
});
|
|
117
|
+
body = JSON.stringify(take(input, {
|
|
118
|
+
additionalEncryptionContext: (_) => _json(_),
|
|
119
|
+
browserPolicy: [],
|
|
120
|
+
clientToken: (_) => _ ?? generateIdempotencyToken(),
|
|
121
|
+
customerManagedKey: [],
|
|
122
|
+
tags: (_) => _json(_),
|
|
123
|
+
}));
|
|
126
124
|
return new __HttpRequest({
|
|
127
125
|
protocol,
|
|
128
126
|
hostname,
|
|
@@ -140,15 +138,13 @@ export const se_CreateIdentityProviderCommand = async (input, context) => {
|
|
|
140
138
|
};
|
|
141
139
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/identityProviders";
|
|
142
140
|
let body;
|
|
143
|
-
body = JSON.stringify({
|
|
144
|
-
clientToken:
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
...(input.portalArn != null && { portalArn: input.portalArn }),
|
|
151
|
-
});
|
|
141
|
+
body = JSON.stringify(take(input, {
|
|
142
|
+
clientToken: (_) => _ ?? generateIdempotencyToken(),
|
|
143
|
+
identityProviderDetails: (_) => _json(_),
|
|
144
|
+
identityProviderName: [],
|
|
145
|
+
identityProviderType: [],
|
|
146
|
+
portalArn: [],
|
|
147
|
+
}));
|
|
152
148
|
return new __HttpRequest({
|
|
153
149
|
protocol,
|
|
154
150
|
hostname,
|
|
@@ -166,15 +162,13 @@ export const se_CreateNetworkSettingsCommand = async (input, context) => {
|
|
|
166
162
|
};
|
|
167
163
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/networkSettings";
|
|
168
164
|
let body;
|
|
169
|
-
body = JSON.stringify({
|
|
170
|
-
clientToken:
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
...(input.vpcId != null && { vpcId: input.vpcId }),
|
|
177
|
-
});
|
|
165
|
+
body = JSON.stringify(take(input, {
|
|
166
|
+
clientToken: (_) => _ ?? generateIdempotencyToken(),
|
|
167
|
+
securityGroupIds: (_) => _json(_),
|
|
168
|
+
subnetIds: (_) => _json(_),
|
|
169
|
+
tags: (_) => _json(_),
|
|
170
|
+
vpcId: [],
|
|
171
|
+
}));
|
|
178
172
|
return new __HttpRequest({
|
|
179
173
|
protocol,
|
|
180
174
|
hostname,
|
|
@@ -192,16 +186,14 @@ export const se_CreatePortalCommand = async (input, context) => {
|
|
|
192
186
|
};
|
|
193
187
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/portals";
|
|
194
188
|
let body;
|
|
195
|
-
body = JSON.stringify({
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
...(input.tags != null && { tags: se_TagList(input.tags, context) }),
|
|
204
|
-
});
|
|
189
|
+
body = JSON.stringify(take(input, {
|
|
190
|
+
additionalEncryptionContext: (_) => _json(_),
|
|
191
|
+
authenticationType: [],
|
|
192
|
+
clientToken: (_) => _ ?? generateIdempotencyToken(),
|
|
193
|
+
customerManagedKey: [],
|
|
194
|
+
displayName: [],
|
|
195
|
+
tags: (_) => _json(_),
|
|
196
|
+
}));
|
|
205
197
|
return new __HttpRequest({
|
|
206
198
|
protocol,
|
|
207
199
|
hostname,
|
|
@@ -219,11 +211,11 @@ export const se_CreateTrustStoreCommand = async (input, context) => {
|
|
|
219
211
|
};
|
|
220
212
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/trustStores";
|
|
221
213
|
let body;
|
|
222
|
-
body = JSON.stringify({
|
|
223
|
-
|
|
224
|
-
clientToken:
|
|
225
|
-
|
|
226
|
-
});
|
|
214
|
+
body = JSON.stringify(take(input, {
|
|
215
|
+
certificateList: (_) => se_CertificateList(_, context),
|
|
216
|
+
clientToken: (_) => _ ?? generateIdempotencyToken(),
|
|
217
|
+
tags: (_) => _json(_),
|
|
218
|
+
}));
|
|
227
219
|
return new __HttpRequest({
|
|
228
220
|
protocol,
|
|
229
221
|
hostname,
|
|
@@ -241,11 +233,11 @@ export const se_CreateUserAccessLoggingSettingsCommand = async (input, context)
|
|
|
241
233
|
};
|
|
242
234
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/userAccessLoggingSettings";
|
|
243
235
|
let body;
|
|
244
|
-
body = JSON.stringify({
|
|
245
|
-
clientToken:
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
});
|
|
236
|
+
body = JSON.stringify(take(input, {
|
|
237
|
+
clientToken: (_) => _ ?? generateIdempotencyToken(),
|
|
238
|
+
kinesisStreamArn: [],
|
|
239
|
+
tags: (_) => _json(_),
|
|
240
|
+
}));
|
|
249
241
|
return new __HttpRequest({
|
|
250
242
|
protocol,
|
|
251
243
|
hostname,
|
|
@@ -263,19 +255,17 @@ export const se_CreateUserSettingsCommand = async (input, context) => {
|
|
|
263
255
|
};
|
|
264
256
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/userSettings";
|
|
265
257
|
let body;
|
|
266
|
-
body = JSON.stringify({
|
|
267
|
-
clientToken:
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
...(input.uploadAllowed != null && { uploadAllowed: input.uploadAllowed }),
|
|
278
|
-
});
|
|
258
|
+
body = JSON.stringify(take(input, {
|
|
259
|
+
clientToken: (_) => _ ?? generateIdempotencyToken(),
|
|
260
|
+
copyAllowed: [],
|
|
261
|
+
disconnectTimeoutInMinutes: [],
|
|
262
|
+
downloadAllowed: [],
|
|
263
|
+
idleDisconnectTimeoutInMinutes: [],
|
|
264
|
+
pasteAllowed: [],
|
|
265
|
+
printAllowed: [],
|
|
266
|
+
tags: (_) => _json(_),
|
|
267
|
+
uploadAllowed: [],
|
|
268
|
+
}));
|
|
279
269
|
return new __HttpRequest({
|
|
280
270
|
protocol,
|
|
281
271
|
hostname,
|
|
@@ -816,10 +806,10 @@ export const se_TagResourceCommand = async (input, context) => {
|
|
|
816
806
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/tags/{resourceArn+}";
|
|
817
807
|
resolvedPath = __resolvedPath(resolvedPath, input, "resourceArn", () => input.resourceArn, "{resourceArn+}", true);
|
|
818
808
|
let body;
|
|
819
|
-
body = JSON.stringify({
|
|
820
|
-
clientToken:
|
|
821
|
-
|
|
822
|
-
});
|
|
809
|
+
body = JSON.stringify(take(input, {
|
|
810
|
+
clientToken: (_) => _ ?? generateIdempotencyToken(),
|
|
811
|
+
tags: (_) => _json(_),
|
|
812
|
+
}));
|
|
823
813
|
return new __HttpRequest({
|
|
824
814
|
protocol,
|
|
825
815
|
hostname,
|
|
@@ -861,10 +851,10 @@ export const se_UpdateBrowserSettingsCommand = async (input, context) => {
|
|
|
861
851
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/browserSettings/{browserSettingsArn+}";
|
|
862
852
|
resolvedPath = __resolvedPath(resolvedPath, input, "browserSettingsArn", () => input.browserSettingsArn, "{browserSettingsArn+}", true);
|
|
863
853
|
let body;
|
|
864
|
-
body = JSON.stringify({
|
|
865
|
-
|
|
866
|
-
clientToken:
|
|
867
|
-
});
|
|
854
|
+
body = JSON.stringify(take(input, {
|
|
855
|
+
browserPolicy: [],
|
|
856
|
+
clientToken: (_) => _ ?? generateIdempotencyToken(),
|
|
857
|
+
}));
|
|
868
858
|
return new __HttpRequest({
|
|
869
859
|
protocol,
|
|
870
860
|
hostname,
|
|
@@ -883,14 +873,12 @@ export const se_UpdateIdentityProviderCommand = async (input, context) => {
|
|
|
883
873
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/identityProviders/{identityProviderArn+}";
|
|
884
874
|
resolvedPath = __resolvedPath(resolvedPath, input, "identityProviderArn", () => input.identityProviderArn, "{identityProviderArn+}", true);
|
|
885
875
|
let body;
|
|
886
|
-
body = JSON.stringify({
|
|
887
|
-
clientToken:
|
|
888
|
-
|
|
889
|
-
|
|
890
|
-
|
|
891
|
-
|
|
892
|
-
...(input.identityProviderType != null && { identityProviderType: input.identityProviderType }),
|
|
893
|
-
});
|
|
876
|
+
body = JSON.stringify(take(input, {
|
|
877
|
+
clientToken: (_) => _ ?? generateIdempotencyToken(),
|
|
878
|
+
identityProviderDetails: (_) => _json(_),
|
|
879
|
+
identityProviderName: [],
|
|
880
|
+
identityProviderType: [],
|
|
881
|
+
}));
|
|
894
882
|
return new __HttpRequest({
|
|
895
883
|
protocol,
|
|
896
884
|
hostname,
|
|
@@ -909,14 +897,12 @@ export const se_UpdateNetworkSettingsCommand = async (input, context) => {
|
|
|
909
897
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/networkSettings/{networkSettingsArn+}";
|
|
910
898
|
resolvedPath = __resolvedPath(resolvedPath, input, "networkSettingsArn", () => input.networkSettingsArn, "{networkSettingsArn+}", true);
|
|
911
899
|
let body;
|
|
912
|
-
body = JSON.stringify({
|
|
913
|
-
clientToken:
|
|
914
|
-
|
|
915
|
-
|
|
916
|
-
|
|
917
|
-
|
|
918
|
-
...(input.vpcId != null && { vpcId: input.vpcId }),
|
|
919
|
-
});
|
|
900
|
+
body = JSON.stringify(take(input, {
|
|
901
|
+
clientToken: (_) => _ ?? generateIdempotencyToken(),
|
|
902
|
+
securityGroupIds: (_) => _json(_),
|
|
903
|
+
subnetIds: (_) => _json(_),
|
|
904
|
+
vpcId: [],
|
|
905
|
+
}));
|
|
920
906
|
return new __HttpRequest({
|
|
921
907
|
protocol,
|
|
922
908
|
hostname,
|
|
@@ -935,10 +921,10 @@ export const se_UpdatePortalCommand = async (input, context) => {
|
|
|
935
921
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/portals/{portalArn+}";
|
|
936
922
|
resolvedPath = __resolvedPath(resolvedPath, input, "portalArn", () => input.portalArn, "{portalArn+}", true);
|
|
937
923
|
let body;
|
|
938
|
-
body = JSON.stringify({
|
|
939
|
-
|
|
940
|
-
|
|
941
|
-
});
|
|
924
|
+
body = JSON.stringify(take(input, {
|
|
925
|
+
authenticationType: [],
|
|
926
|
+
displayName: [],
|
|
927
|
+
}));
|
|
942
928
|
return new __HttpRequest({
|
|
943
929
|
protocol,
|
|
944
930
|
hostname,
|
|
@@ -957,13 +943,11 @@ export const se_UpdateTrustStoreCommand = async (input, context) => {
|
|
|
957
943
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/trustStores/{trustStoreArn+}";
|
|
958
944
|
resolvedPath = __resolvedPath(resolvedPath, input, "trustStoreArn", () => input.trustStoreArn, "{trustStoreArn+}", true);
|
|
959
945
|
let body;
|
|
960
|
-
body = JSON.stringify({
|
|
961
|
-
|
|
962
|
-
|
|
963
|
-
|
|
964
|
-
|
|
965
|
-
clientToken: input.clientToken ?? generateIdempotencyToken(),
|
|
966
|
-
});
|
|
946
|
+
body = JSON.stringify(take(input, {
|
|
947
|
+
certificatesToAdd: (_) => se_CertificateList(_, context),
|
|
948
|
+
certificatesToDelete: (_) => _json(_),
|
|
949
|
+
clientToken: (_) => _ ?? generateIdempotencyToken(),
|
|
950
|
+
}));
|
|
967
951
|
return new __HttpRequest({
|
|
968
952
|
protocol,
|
|
969
953
|
hostname,
|
|
@@ -983,10 +967,10 @@ export const se_UpdateUserAccessLoggingSettingsCommand = async (input, context)
|
|
|
983
967
|
"/userAccessLoggingSettings/{userAccessLoggingSettingsArn+}";
|
|
984
968
|
resolvedPath = __resolvedPath(resolvedPath, input, "userAccessLoggingSettingsArn", () => input.userAccessLoggingSettingsArn, "{userAccessLoggingSettingsArn+}", true);
|
|
985
969
|
let body;
|
|
986
|
-
body = JSON.stringify({
|
|
987
|
-
clientToken:
|
|
988
|
-
|
|
989
|
-
});
|
|
970
|
+
body = JSON.stringify(take(input, {
|
|
971
|
+
clientToken: (_) => _ ?? generateIdempotencyToken(),
|
|
972
|
+
kinesisStreamArn: [],
|
|
973
|
+
}));
|
|
990
974
|
return new __HttpRequest({
|
|
991
975
|
protocol,
|
|
992
976
|
hostname,
|
|
@@ -1005,18 +989,16 @@ export const se_UpdateUserSettingsCommand = async (input, context) => {
|
|
|
1005
989
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/userSettings/{userSettingsArn+}";
|
|
1006
990
|
resolvedPath = __resolvedPath(resolvedPath, input, "userSettingsArn", () => input.userSettingsArn, "{userSettingsArn+}", true);
|
|
1007
991
|
let body;
|
|
1008
|
-
body = JSON.stringify({
|
|
1009
|
-
clientToken:
|
|
1010
|
-
|
|
1011
|
-
|
|
1012
|
-
|
|
1013
|
-
|
|
1014
|
-
|
|
1015
|
-
|
|
1016
|
-
|
|
1017
|
-
|
|
1018
|
-
...(input.uploadAllowed != null && { uploadAllowed: input.uploadAllowed }),
|
|
1019
|
-
});
|
|
992
|
+
body = JSON.stringify(take(input, {
|
|
993
|
+
clientToken: (_) => _ ?? generateIdempotencyToken(),
|
|
994
|
+
copyAllowed: [],
|
|
995
|
+
disconnectTimeoutInMinutes: [],
|
|
996
|
+
downloadAllowed: [],
|
|
997
|
+
idleDisconnectTimeoutInMinutes: [],
|
|
998
|
+
pasteAllowed: [],
|
|
999
|
+
printAllowed: [],
|
|
1000
|
+
uploadAllowed: [],
|
|
1001
|
+
}));
|
|
1020
1002
|
return new __HttpRequest({
|
|
1021
1003
|
protocol,
|
|
1022
1004
|
hostname,
|
|
@@ -1035,12 +1017,11 @@ export const de_AssociateBrowserSettingsCommand = async (output, context) => {
|
|
|
1035
1017
|
$metadata: deserializeMetadata(output),
|
|
1036
1018
|
});
|
|
1037
1019
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1038
|
-
|
|
1039
|
-
|
|
1040
|
-
|
|
1041
|
-
|
|
1042
|
-
|
|
1043
|
-
}
|
|
1020
|
+
const doc = take(data, {
|
|
1021
|
+
browserSettingsArn: __expectString,
|
|
1022
|
+
portalArn: __expectString,
|
|
1023
|
+
});
|
|
1024
|
+
Object.assign(contents, doc);
|
|
1044
1025
|
return contents;
|
|
1045
1026
|
};
|
|
1046
1027
|
const de_AssociateBrowserSettingsCommandError = async (output, context) => {
|
|
@@ -1070,10 +1051,9 @@ const de_AssociateBrowserSettingsCommandError = async (output, context) => {
|
|
|
1070
1051
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1071
1052
|
default:
|
|
1072
1053
|
const parsedBody = parsedOutput.body;
|
|
1073
|
-
throwDefaultError({
|
|
1054
|
+
return throwDefaultError({
|
|
1074
1055
|
output,
|
|
1075
1056
|
parsedBody,
|
|
1076
|
-
exceptionCtor: __BaseException,
|
|
1077
1057
|
errorCode,
|
|
1078
1058
|
});
|
|
1079
1059
|
}
|
|
@@ -1086,12 +1066,11 @@ export const de_AssociateNetworkSettingsCommand = async (output, context) => {
|
|
|
1086
1066
|
$metadata: deserializeMetadata(output),
|
|
1087
1067
|
});
|
|
1088
1068
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1089
|
-
|
|
1090
|
-
|
|
1091
|
-
|
|
1092
|
-
|
|
1093
|
-
|
|
1094
|
-
}
|
|
1069
|
+
const doc = take(data, {
|
|
1070
|
+
networkSettingsArn: __expectString,
|
|
1071
|
+
portalArn: __expectString,
|
|
1072
|
+
});
|
|
1073
|
+
Object.assign(contents, doc);
|
|
1095
1074
|
return contents;
|
|
1096
1075
|
};
|
|
1097
1076
|
const de_AssociateNetworkSettingsCommandError = async (output, context) => {
|
|
@@ -1121,10 +1100,9 @@ const de_AssociateNetworkSettingsCommandError = async (output, context) => {
|
|
|
1121
1100
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1122
1101
|
default:
|
|
1123
1102
|
const parsedBody = parsedOutput.body;
|
|
1124
|
-
throwDefaultError({
|
|
1103
|
+
return throwDefaultError({
|
|
1125
1104
|
output,
|
|
1126
1105
|
parsedBody,
|
|
1127
|
-
exceptionCtor: __BaseException,
|
|
1128
1106
|
errorCode,
|
|
1129
1107
|
});
|
|
1130
1108
|
}
|
|
@@ -1137,12 +1115,11 @@ export const de_AssociateTrustStoreCommand = async (output, context) => {
|
|
|
1137
1115
|
$metadata: deserializeMetadata(output),
|
|
1138
1116
|
});
|
|
1139
1117
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1140
|
-
|
|
1141
|
-
|
|
1142
|
-
|
|
1143
|
-
|
|
1144
|
-
|
|
1145
|
-
}
|
|
1118
|
+
const doc = take(data, {
|
|
1119
|
+
portalArn: __expectString,
|
|
1120
|
+
trustStoreArn: __expectString,
|
|
1121
|
+
});
|
|
1122
|
+
Object.assign(contents, doc);
|
|
1146
1123
|
return contents;
|
|
1147
1124
|
};
|
|
1148
1125
|
const de_AssociateTrustStoreCommandError = async (output, context) => {
|
|
@@ -1169,10 +1146,9 @@ const de_AssociateTrustStoreCommandError = async (output, context) => {
|
|
|
1169
1146
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1170
1147
|
default:
|
|
1171
1148
|
const parsedBody = parsedOutput.body;
|
|
1172
|
-
throwDefaultError({
|
|
1149
|
+
return throwDefaultError({
|
|
1173
1150
|
output,
|
|
1174
1151
|
parsedBody,
|
|
1175
|
-
exceptionCtor: __BaseException,
|
|
1176
1152
|
errorCode,
|
|
1177
1153
|
});
|
|
1178
1154
|
}
|
|
@@ -1185,12 +1161,11 @@ export const de_AssociateUserAccessLoggingSettingsCommand = async (output, conte
|
|
|
1185
1161
|
$metadata: deserializeMetadata(output),
|
|
1186
1162
|
});
|
|
1187
1163
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1188
|
-
|
|
1189
|
-
|
|
1190
|
-
|
|
1191
|
-
|
|
1192
|
-
|
|
1193
|
-
}
|
|
1164
|
+
const doc = take(data, {
|
|
1165
|
+
portalArn: __expectString,
|
|
1166
|
+
userAccessLoggingSettingsArn: __expectString,
|
|
1167
|
+
});
|
|
1168
|
+
Object.assign(contents, doc);
|
|
1194
1169
|
return contents;
|
|
1195
1170
|
};
|
|
1196
1171
|
const de_AssociateUserAccessLoggingSettingsCommandError = async (output, context) => {
|
|
@@ -1220,10 +1195,9 @@ const de_AssociateUserAccessLoggingSettingsCommandError = async (output, context
|
|
|
1220
1195
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1221
1196
|
default:
|
|
1222
1197
|
const parsedBody = parsedOutput.body;
|
|
1223
|
-
throwDefaultError({
|
|
1198
|
+
return throwDefaultError({
|
|
1224
1199
|
output,
|
|
1225
1200
|
parsedBody,
|
|
1226
|
-
exceptionCtor: __BaseException,
|
|
1227
1201
|
errorCode,
|
|
1228
1202
|
});
|
|
1229
1203
|
}
|
|
@@ -1236,12 +1210,11 @@ export const de_AssociateUserSettingsCommand = async (output, context) => {
|
|
|
1236
1210
|
$metadata: deserializeMetadata(output),
|
|
1237
1211
|
});
|
|
1238
1212
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1239
|
-
|
|
1240
|
-
|
|
1241
|
-
|
|
1242
|
-
|
|
1243
|
-
|
|
1244
|
-
}
|
|
1213
|
+
const doc = take(data, {
|
|
1214
|
+
portalArn: __expectString,
|
|
1215
|
+
userSettingsArn: __expectString,
|
|
1216
|
+
});
|
|
1217
|
+
Object.assign(contents, doc);
|
|
1245
1218
|
return contents;
|
|
1246
1219
|
};
|
|
1247
1220
|
const de_AssociateUserSettingsCommandError = async (output, context) => {
|
|
@@ -1271,10 +1244,9 @@ const de_AssociateUserSettingsCommandError = async (output, context) => {
|
|
|
1271
1244
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1272
1245
|
default:
|
|
1273
1246
|
const parsedBody = parsedOutput.body;
|
|
1274
|
-
throwDefaultError({
|
|
1247
|
+
return throwDefaultError({
|
|
1275
1248
|
output,
|
|
1276
1249
|
parsedBody,
|
|
1277
|
-
exceptionCtor: __BaseException,
|
|
1278
1250
|
errorCode,
|
|
1279
1251
|
});
|
|
1280
1252
|
}
|
|
@@ -1287,9 +1259,10 @@ export const de_CreateBrowserSettingsCommand = async (output, context) => {
|
|
|
1287
1259
|
$metadata: deserializeMetadata(output),
|
|
1288
1260
|
});
|
|
1289
1261
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1290
|
-
|
|
1291
|
-
|
|
1292
|
-
}
|
|
1262
|
+
const doc = take(data, {
|
|
1263
|
+
browserSettingsArn: __expectString,
|
|
1264
|
+
});
|
|
1265
|
+
Object.assign(contents, doc);
|
|
1293
1266
|
return contents;
|
|
1294
1267
|
};
|
|
1295
1268
|
const de_CreateBrowserSettingsCommandError = async (output, context) => {
|
|
@@ -1322,10 +1295,9 @@ const de_CreateBrowserSettingsCommandError = async (output, context) => {
|
|
|
1322
1295
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1323
1296
|
default:
|
|
1324
1297
|
const parsedBody = parsedOutput.body;
|
|
1325
|
-
throwDefaultError({
|
|
1298
|
+
return throwDefaultError({
|
|
1326
1299
|
output,
|
|
1327
1300
|
parsedBody,
|
|
1328
|
-
exceptionCtor: __BaseException,
|
|
1329
1301
|
errorCode,
|
|
1330
1302
|
});
|
|
1331
1303
|
}
|
|
@@ -1338,9 +1310,10 @@ export const de_CreateIdentityProviderCommand = async (output, context) => {
|
|
|
1338
1310
|
$metadata: deserializeMetadata(output),
|
|
1339
1311
|
});
|
|
1340
1312
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1341
|
-
|
|
1342
|
-
|
|
1343
|
-
}
|
|
1313
|
+
const doc = take(data, {
|
|
1314
|
+
identityProviderArn: __expectString,
|
|
1315
|
+
});
|
|
1316
|
+
Object.assign(contents, doc);
|
|
1344
1317
|
return contents;
|
|
1345
1318
|
};
|
|
1346
1319
|
const de_CreateIdentityProviderCommandError = async (output, context) => {
|
|
@@ -1373,10 +1346,9 @@ const de_CreateIdentityProviderCommandError = async (output, context) => {
|
|
|
1373
1346
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1374
1347
|
default:
|
|
1375
1348
|
const parsedBody = parsedOutput.body;
|
|
1376
|
-
throwDefaultError({
|
|
1349
|
+
return throwDefaultError({
|
|
1377
1350
|
output,
|
|
1378
1351
|
parsedBody,
|
|
1379
|
-
exceptionCtor: __BaseException,
|
|
1380
1352
|
errorCode,
|
|
1381
1353
|
});
|
|
1382
1354
|
}
|
|
@@ -1389,9 +1361,10 @@ export const de_CreateNetworkSettingsCommand = async (output, context) => {
|
|
|
1389
1361
|
$metadata: deserializeMetadata(output),
|
|
1390
1362
|
});
|
|
1391
1363
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1392
|
-
|
|
1393
|
-
|
|
1394
|
-
}
|
|
1364
|
+
const doc = take(data, {
|
|
1365
|
+
networkSettingsArn: __expectString,
|
|
1366
|
+
});
|
|
1367
|
+
Object.assign(contents, doc);
|
|
1395
1368
|
return contents;
|
|
1396
1369
|
};
|
|
1397
1370
|
const de_CreateNetworkSettingsCommandError = async (output, context) => {
|
|
@@ -1421,10 +1394,9 @@ const de_CreateNetworkSettingsCommandError = async (output, context) => {
|
|
|
1421
1394
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1422
1395
|
default:
|
|
1423
1396
|
const parsedBody = parsedOutput.body;
|
|
1424
|
-
throwDefaultError({
|
|
1397
|
+
return throwDefaultError({
|
|
1425
1398
|
output,
|
|
1426
1399
|
parsedBody,
|
|
1427
|
-
exceptionCtor: __BaseException,
|
|
1428
1400
|
errorCode,
|
|
1429
1401
|
});
|
|
1430
1402
|
}
|
|
@@ -1437,12 +1409,11 @@ export const de_CreatePortalCommand = async (output, context) => {
|
|
|
1437
1409
|
$metadata: deserializeMetadata(output),
|
|
1438
1410
|
});
|
|
1439
1411
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1440
|
-
|
|
1441
|
-
|
|
1442
|
-
|
|
1443
|
-
|
|
1444
|
-
|
|
1445
|
-
}
|
|
1412
|
+
const doc = take(data, {
|
|
1413
|
+
portalArn: __expectString,
|
|
1414
|
+
portalEndpoint: __expectString,
|
|
1415
|
+
});
|
|
1416
|
+
Object.assign(contents, doc);
|
|
1446
1417
|
return contents;
|
|
1447
1418
|
};
|
|
1448
1419
|
const de_CreatePortalCommandError = async (output, context) => {
|
|
@@ -1475,10 +1446,9 @@ const de_CreatePortalCommandError = async (output, context) => {
|
|
|
1475
1446
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1476
1447
|
default:
|
|
1477
1448
|
const parsedBody = parsedOutput.body;
|
|
1478
|
-
throwDefaultError({
|
|
1449
|
+
return throwDefaultError({
|
|
1479
1450
|
output,
|
|
1480
1451
|
parsedBody,
|
|
1481
|
-
exceptionCtor: __BaseException,
|
|
1482
1452
|
errorCode,
|
|
1483
1453
|
});
|
|
1484
1454
|
}
|
|
@@ -1491,9 +1461,10 @@ export const de_CreateTrustStoreCommand = async (output, context) => {
|
|
|
1491
1461
|
$metadata: deserializeMetadata(output),
|
|
1492
1462
|
});
|
|
1493
1463
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1494
|
-
|
|
1495
|
-
|
|
1496
|
-
}
|
|
1464
|
+
const doc = take(data, {
|
|
1465
|
+
trustStoreArn: __expectString,
|
|
1466
|
+
});
|
|
1467
|
+
Object.assign(contents, doc);
|
|
1497
1468
|
return contents;
|
|
1498
1469
|
};
|
|
1499
1470
|
const de_CreateTrustStoreCommandError = async (output, context) => {
|
|
@@ -1523,10 +1494,9 @@ const de_CreateTrustStoreCommandError = async (output, context) => {
|
|
|
1523
1494
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1524
1495
|
default:
|
|
1525
1496
|
const parsedBody = parsedOutput.body;
|
|
1526
|
-
throwDefaultError({
|
|
1497
|
+
return throwDefaultError({
|
|
1527
1498
|
output,
|
|
1528
1499
|
parsedBody,
|
|
1529
|
-
exceptionCtor: __BaseException,
|
|
1530
1500
|
errorCode,
|
|
1531
1501
|
});
|
|
1532
1502
|
}
|
|
@@ -1539,9 +1509,10 @@ export const de_CreateUserAccessLoggingSettingsCommand = async (output, context)
|
|
|
1539
1509
|
$metadata: deserializeMetadata(output),
|
|
1540
1510
|
});
|
|
1541
1511
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1542
|
-
|
|
1543
|
-
|
|
1544
|
-
}
|
|
1512
|
+
const doc = take(data, {
|
|
1513
|
+
userAccessLoggingSettingsArn: __expectString,
|
|
1514
|
+
});
|
|
1515
|
+
Object.assign(contents, doc);
|
|
1545
1516
|
return contents;
|
|
1546
1517
|
};
|
|
1547
1518
|
const de_CreateUserAccessLoggingSettingsCommandError = async (output, context) => {
|
|
@@ -1571,10 +1542,9 @@ const de_CreateUserAccessLoggingSettingsCommandError = async (output, context) =
|
|
|
1571
1542
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1572
1543
|
default:
|
|
1573
1544
|
const parsedBody = parsedOutput.body;
|
|
1574
|
-
throwDefaultError({
|
|
1545
|
+
return throwDefaultError({
|
|
1575
1546
|
output,
|
|
1576
1547
|
parsedBody,
|
|
1577
|
-
exceptionCtor: __BaseException,
|
|
1578
1548
|
errorCode,
|
|
1579
1549
|
});
|
|
1580
1550
|
}
|
|
@@ -1587,9 +1557,10 @@ export const de_CreateUserSettingsCommand = async (output, context) => {
|
|
|
1587
1557
|
$metadata: deserializeMetadata(output),
|
|
1588
1558
|
});
|
|
1589
1559
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1590
|
-
|
|
1591
|
-
|
|
1592
|
-
}
|
|
1560
|
+
const doc = take(data, {
|
|
1561
|
+
userSettingsArn: __expectString,
|
|
1562
|
+
});
|
|
1563
|
+
Object.assign(contents, doc);
|
|
1593
1564
|
return contents;
|
|
1594
1565
|
};
|
|
1595
1566
|
const de_CreateUserSettingsCommandError = async (output, context) => {
|
|
@@ -1619,10 +1590,9 @@ const de_CreateUserSettingsCommandError = async (output, context) => {
|
|
|
1619
1590
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1620
1591
|
default:
|
|
1621
1592
|
const parsedBody = parsedOutput.body;
|
|
1622
|
-
throwDefaultError({
|
|
1593
|
+
return throwDefaultError({
|
|
1623
1594
|
output,
|
|
1624
1595
|
parsedBody,
|
|
1625
|
-
exceptionCtor: __BaseException,
|
|
1626
1596
|
errorCode,
|
|
1627
1597
|
});
|
|
1628
1598
|
}
|
|
@@ -1661,10 +1631,9 @@ const de_DeleteBrowserSettingsCommandError = async (output, context) => {
|
|
|
1661
1631
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1662
1632
|
default:
|
|
1663
1633
|
const parsedBody = parsedOutput.body;
|
|
1664
|
-
throwDefaultError({
|
|
1634
|
+
return throwDefaultError({
|
|
1665
1635
|
output,
|
|
1666
1636
|
parsedBody,
|
|
1667
|
-
exceptionCtor: __BaseException,
|
|
1668
1637
|
errorCode,
|
|
1669
1638
|
});
|
|
1670
1639
|
}
|
|
@@ -1703,10 +1672,9 @@ const de_DeleteIdentityProviderCommandError = async (output, context) => {
|
|
|
1703
1672
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1704
1673
|
default:
|
|
1705
1674
|
const parsedBody = parsedOutput.body;
|
|
1706
|
-
throwDefaultError({
|
|
1675
|
+
return throwDefaultError({
|
|
1707
1676
|
output,
|
|
1708
1677
|
parsedBody,
|
|
1709
|
-
exceptionCtor: __BaseException,
|
|
1710
1678
|
errorCode,
|
|
1711
1679
|
});
|
|
1712
1680
|
}
|
|
@@ -1745,10 +1713,9 @@ const de_DeleteNetworkSettingsCommandError = async (output, context) => {
|
|
|
1745
1713
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1746
1714
|
default:
|
|
1747
1715
|
const parsedBody = parsedOutput.body;
|
|
1748
|
-
throwDefaultError({
|
|
1716
|
+
return throwDefaultError({
|
|
1749
1717
|
output,
|
|
1750
1718
|
parsedBody,
|
|
1751
|
-
exceptionCtor: __BaseException,
|
|
1752
1719
|
errorCode,
|
|
1753
1720
|
});
|
|
1754
1721
|
}
|
|
@@ -1787,10 +1754,9 @@ const de_DeletePortalCommandError = async (output, context) => {
|
|
|
1787
1754
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1788
1755
|
default:
|
|
1789
1756
|
const parsedBody = parsedOutput.body;
|
|
1790
|
-
throwDefaultError({
|
|
1757
|
+
return throwDefaultError({
|
|
1791
1758
|
output,
|
|
1792
1759
|
parsedBody,
|
|
1793
|
-
exceptionCtor: __BaseException,
|
|
1794
1760
|
errorCode,
|
|
1795
1761
|
});
|
|
1796
1762
|
}
|
|
@@ -1829,10 +1795,9 @@ const de_DeleteTrustStoreCommandError = async (output, context) => {
|
|
|
1829
1795
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1830
1796
|
default:
|
|
1831
1797
|
const parsedBody = parsedOutput.body;
|
|
1832
|
-
throwDefaultError({
|
|
1798
|
+
return throwDefaultError({
|
|
1833
1799
|
output,
|
|
1834
1800
|
parsedBody,
|
|
1835
|
-
exceptionCtor: __BaseException,
|
|
1836
1801
|
errorCode,
|
|
1837
1802
|
});
|
|
1838
1803
|
}
|
|
@@ -1871,10 +1836,9 @@ const de_DeleteUserAccessLoggingSettingsCommandError = async (output, context) =
|
|
|
1871
1836
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1872
1837
|
default:
|
|
1873
1838
|
const parsedBody = parsedOutput.body;
|
|
1874
|
-
throwDefaultError({
|
|
1839
|
+
return throwDefaultError({
|
|
1875
1840
|
output,
|
|
1876
1841
|
parsedBody,
|
|
1877
|
-
exceptionCtor: __BaseException,
|
|
1878
1842
|
errorCode,
|
|
1879
1843
|
});
|
|
1880
1844
|
}
|
|
@@ -1913,10 +1877,9 @@ const de_DeleteUserSettingsCommandError = async (output, context) => {
|
|
|
1913
1877
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1914
1878
|
default:
|
|
1915
1879
|
const parsedBody = parsedOutput.body;
|
|
1916
|
-
throwDefaultError({
|
|
1880
|
+
return throwDefaultError({
|
|
1917
1881
|
output,
|
|
1918
1882
|
parsedBody,
|
|
1919
|
-
exceptionCtor: __BaseException,
|
|
1920
1883
|
errorCode,
|
|
1921
1884
|
});
|
|
1922
1885
|
}
|
|
@@ -1955,10 +1918,9 @@ const de_DisassociateBrowserSettingsCommandError = async (output, context) => {
|
|
|
1955
1918
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1956
1919
|
default:
|
|
1957
1920
|
const parsedBody = parsedOutput.body;
|
|
1958
|
-
throwDefaultError({
|
|
1921
|
+
return throwDefaultError({
|
|
1959
1922
|
output,
|
|
1960
1923
|
parsedBody,
|
|
1961
|
-
exceptionCtor: __BaseException,
|
|
1962
1924
|
errorCode,
|
|
1963
1925
|
});
|
|
1964
1926
|
}
|
|
@@ -1997,10 +1959,9 @@ const de_DisassociateNetworkSettingsCommandError = async (output, context) => {
|
|
|
1997
1959
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1998
1960
|
default:
|
|
1999
1961
|
const parsedBody = parsedOutput.body;
|
|
2000
|
-
throwDefaultError({
|
|
1962
|
+
return throwDefaultError({
|
|
2001
1963
|
output,
|
|
2002
1964
|
parsedBody,
|
|
2003
|
-
exceptionCtor: __BaseException,
|
|
2004
1965
|
errorCode,
|
|
2005
1966
|
});
|
|
2006
1967
|
}
|
|
@@ -2039,10 +2000,9 @@ const de_DisassociateTrustStoreCommandError = async (output, context) => {
|
|
|
2039
2000
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2040
2001
|
default:
|
|
2041
2002
|
const parsedBody = parsedOutput.body;
|
|
2042
|
-
throwDefaultError({
|
|
2003
|
+
return throwDefaultError({
|
|
2043
2004
|
output,
|
|
2044
2005
|
parsedBody,
|
|
2045
|
-
exceptionCtor: __BaseException,
|
|
2046
2006
|
errorCode,
|
|
2047
2007
|
});
|
|
2048
2008
|
}
|
|
@@ -2081,10 +2041,9 @@ const de_DisassociateUserAccessLoggingSettingsCommandError = async (output, cont
|
|
|
2081
2041
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2082
2042
|
default:
|
|
2083
2043
|
const parsedBody = parsedOutput.body;
|
|
2084
|
-
throwDefaultError({
|
|
2044
|
+
return throwDefaultError({
|
|
2085
2045
|
output,
|
|
2086
2046
|
parsedBody,
|
|
2087
|
-
exceptionCtor: __BaseException,
|
|
2088
2047
|
errorCode,
|
|
2089
2048
|
});
|
|
2090
2049
|
}
|
|
@@ -2123,10 +2082,9 @@ const de_DisassociateUserSettingsCommandError = async (output, context) => {
|
|
|
2123
2082
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2124
2083
|
default:
|
|
2125
2084
|
const parsedBody = parsedOutput.body;
|
|
2126
|
-
throwDefaultError({
|
|
2085
|
+
return throwDefaultError({
|
|
2127
2086
|
output,
|
|
2128
2087
|
parsedBody,
|
|
2129
|
-
exceptionCtor: __BaseException,
|
|
2130
2088
|
errorCode,
|
|
2131
2089
|
});
|
|
2132
2090
|
}
|
|
@@ -2139,9 +2097,10 @@ export const de_GetBrowserSettingsCommand = async (output, context) => {
|
|
|
2139
2097
|
$metadata: deserializeMetadata(output),
|
|
2140
2098
|
});
|
|
2141
2099
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2142
|
-
|
|
2143
|
-
|
|
2144
|
-
}
|
|
2100
|
+
const doc = take(data, {
|
|
2101
|
+
browserSettings: _json,
|
|
2102
|
+
});
|
|
2103
|
+
Object.assign(contents, doc);
|
|
2145
2104
|
return contents;
|
|
2146
2105
|
};
|
|
2147
2106
|
const de_GetBrowserSettingsCommandError = async (output, context) => {
|
|
@@ -2168,10 +2127,9 @@ const de_GetBrowserSettingsCommandError = async (output, context) => {
|
|
|
2168
2127
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2169
2128
|
default:
|
|
2170
2129
|
const parsedBody = parsedOutput.body;
|
|
2171
|
-
throwDefaultError({
|
|
2130
|
+
return throwDefaultError({
|
|
2172
2131
|
output,
|
|
2173
2132
|
parsedBody,
|
|
2174
|
-
exceptionCtor: __BaseException,
|
|
2175
2133
|
errorCode,
|
|
2176
2134
|
});
|
|
2177
2135
|
}
|
|
@@ -2184,9 +2142,10 @@ export const de_GetIdentityProviderCommand = async (output, context) => {
|
|
|
2184
2142
|
$metadata: deserializeMetadata(output),
|
|
2185
2143
|
});
|
|
2186
2144
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2187
|
-
|
|
2188
|
-
|
|
2189
|
-
}
|
|
2145
|
+
const doc = take(data, {
|
|
2146
|
+
identityProvider: _json,
|
|
2147
|
+
});
|
|
2148
|
+
Object.assign(contents, doc);
|
|
2190
2149
|
return contents;
|
|
2191
2150
|
};
|
|
2192
2151
|
const de_GetIdentityProviderCommandError = async (output, context) => {
|
|
@@ -2213,10 +2172,9 @@ const de_GetIdentityProviderCommandError = async (output, context) => {
|
|
|
2213
2172
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2214
2173
|
default:
|
|
2215
2174
|
const parsedBody = parsedOutput.body;
|
|
2216
|
-
throwDefaultError({
|
|
2175
|
+
return throwDefaultError({
|
|
2217
2176
|
output,
|
|
2218
2177
|
parsedBody,
|
|
2219
|
-
exceptionCtor: __BaseException,
|
|
2220
2178
|
errorCode,
|
|
2221
2179
|
});
|
|
2222
2180
|
}
|
|
@@ -2229,9 +2187,10 @@ export const de_GetNetworkSettingsCommand = async (output, context) => {
|
|
|
2229
2187
|
$metadata: deserializeMetadata(output),
|
|
2230
2188
|
});
|
|
2231
2189
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2232
|
-
|
|
2233
|
-
|
|
2234
|
-
}
|
|
2190
|
+
const doc = take(data, {
|
|
2191
|
+
networkSettings: _json,
|
|
2192
|
+
});
|
|
2193
|
+
Object.assign(contents, doc);
|
|
2235
2194
|
return contents;
|
|
2236
2195
|
};
|
|
2237
2196
|
const de_GetNetworkSettingsCommandError = async (output, context) => {
|
|
@@ -2258,10 +2217,9 @@ const de_GetNetworkSettingsCommandError = async (output, context) => {
|
|
|
2258
2217
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2259
2218
|
default:
|
|
2260
2219
|
const parsedBody = parsedOutput.body;
|
|
2261
|
-
throwDefaultError({
|
|
2220
|
+
return throwDefaultError({
|
|
2262
2221
|
output,
|
|
2263
2222
|
parsedBody,
|
|
2264
|
-
exceptionCtor: __BaseException,
|
|
2265
2223
|
errorCode,
|
|
2266
2224
|
});
|
|
2267
2225
|
}
|
|
@@ -2274,9 +2232,10 @@ export const de_GetPortalCommand = async (output, context) => {
|
|
|
2274
2232
|
$metadata: deserializeMetadata(output),
|
|
2275
2233
|
});
|
|
2276
2234
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2277
|
-
|
|
2278
|
-
|
|
2279
|
-
}
|
|
2235
|
+
const doc = take(data, {
|
|
2236
|
+
portal: (_) => de_Portal(_, context),
|
|
2237
|
+
});
|
|
2238
|
+
Object.assign(contents, doc);
|
|
2280
2239
|
return contents;
|
|
2281
2240
|
};
|
|
2282
2241
|
const de_GetPortalCommandError = async (output, context) => {
|
|
@@ -2303,10 +2262,9 @@ const de_GetPortalCommandError = async (output, context) => {
|
|
|
2303
2262
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2304
2263
|
default:
|
|
2305
2264
|
const parsedBody = parsedOutput.body;
|
|
2306
|
-
throwDefaultError({
|
|
2265
|
+
return throwDefaultError({
|
|
2307
2266
|
output,
|
|
2308
2267
|
parsedBody,
|
|
2309
|
-
exceptionCtor: __BaseException,
|
|
2310
2268
|
errorCode,
|
|
2311
2269
|
});
|
|
2312
2270
|
}
|
|
@@ -2319,12 +2277,11 @@ export const de_GetPortalServiceProviderMetadataCommand = async (output, context
|
|
|
2319
2277
|
$metadata: deserializeMetadata(output),
|
|
2320
2278
|
});
|
|
2321
2279
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2322
|
-
|
|
2323
|
-
|
|
2324
|
-
|
|
2325
|
-
|
|
2326
|
-
|
|
2327
|
-
}
|
|
2280
|
+
const doc = take(data, {
|
|
2281
|
+
portalArn: __expectString,
|
|
2282
|
+
serviceProviderSamlMetadata: __expectString,
|
|
2283
|
+
});
|
|
2284
|
+
Object.assign(contents, doc);
|
|
2328
2285
|
return contents;
|
|
2329
2286
|
};
|
|
2330
2287
|
const de_GetPortalServiceProviderMetadataCommandError = async (output, context) => {
|
|
@@ -2351,10 +2308,9 @@ const de_GetPortalServiceProviderMetadataCommandError = async (output, context)
|
|
|
2351
2308
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2352
2309
|
default:
|
|
2353
2310
|
const parsedBody = parsedOutput.body;
|
|
2354
|
-
throwDefaultError({
|
|
2311
|
+
return throwDefaultError({
|
|
2355
2312
|
output,
|
|
2356
2313
|
parsedBody,
|
|
2357
|
-
exceptionCtor: __BaseException,
|
|
2358
2314
|
errorCode,
|
|
2359
2315
|
});
|
|
2360
2316
|
}
|
|
@@ -2367,9 +2323,10 @@ export const de_GetTrustStoreCommand = async (output, context) => {
|
|
|
2367
2323
|
$metadata: deserializeMetadata(output),
|
|
2368
2324
|
});
|
|
2369
2325
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2370
|
-
|
|
2371
|
-
|
|
2372
|
-
}
|
|
2326
|
+
const doc = take(data, {
|
|
2327
|
+
trustStore: _json,
|
|
2328
|
+
});
|
|
2329
|
+
Object.assign(contents, doc);
|
|
2373
2330
|
return contents;
|
|
2374
2331
|
};
|
|
2375
2332
|
const de_GetTrustStoreCommandError = async (output, context) => {
|
|
@@ -2396,10 +2353,9 @@ const de_GetTrustStoreCommandError = async (output, context) => {
|
|
|
2396
2353
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2397
2354
|
default:
|
|
2398
2355
|
const parsedBody = parsedOutput.body;
|
|
2399
|
-
throwDefaultError({
|
|
2356
|
+
return throwDefaultError({
|
|
2400
2357
|
output,
|
|
2401
2358
|
parsedBody,
|
|
2402
|
-
exceptionCtor: __BaseException,
|
|
2403
2359
|
errorCode,
|
|
2404
2360
|
});
|
|
2405
2361
|
}
|
|
@@ -2412,12 +2368,11 @@ export const de_GetTrustStoreCertificateCommand = async (output, context) => {
|
|
|
2412
2368
|
$metadata: deserializeMetadata(output),
|
|
2413
2369
|
});
|
|
2414
2370
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2415
|
-
|
|
2416
|
-
|
|
2417
|
-
|
|
2418
|
-
|
|
2419
|
-
|
|
2420
|
-
}
|
|
2371
|
+
const doc = take(data, {
|
|
2372
|
+
certificate: (_) => de_Certificate(_, context),
|
|
2373
|
+
trustStoreArn: __expectString,
|
|
2374
|
+
});
|
|
2375
|
+
Object.assign(contents, doc);
|
|
2421
2376
|
return contents;
|
|
2422
2377
|
};
|
|
2423
2378
|
const de_GetTrustStoreCertificateCommandError = async (output, context) => {
|
|
@@ -2444,10 +2399,9 @@ const de_GetTrustStoreCertificateCommandError = async (output, context) => {
|
|
|
2444
2399
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2445
2400
|
default:
|
|
2446
2401
|
const parsedBody = parsedOutput.body;
|
|
2447
|
-
throwDefaultError({
|
|
2402
|
+
return throwDefaultError({
|
|
2448
2403
|
output,
|
|
2449
2404
|
parsedBody,
|
|
2450
|
-
exceptionCtor: __BaseException,
|
|
2451
2405
|
errorCode,
|
|
2452
2406
|
});
|
|
2453
2407
|
}
|
|
@@ -2460,9 +2414,10 @@ export const de_GetUserAccessLoggingSettingsCommand = async (output, context) =>
|
|
|
2460
2414
|
$metadata: deserializeMetadata(output),
|
|
2461
2415
|
});
|
|
2462
2416
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2463
|
-
|
|
2464
|
-
|
|
2465
|
-
}
|
|
2417
|
+
const doc = take(data, {
|
|
2418
|
+
userAccessLoggingSettings: _json,
|
|
2419
|
+
});
|
|
2420
|
+
Object.assign(contents, doc);
|
|
2466
2421
|
return contents;
|
|
2467
2422
|
};
|
|
2468
2423
|
const de_GetUserAccessLoggingSettingsCommandError = async (output, context) => {
|
|
@@ -2489,10 +2444,9 @@ const de_GetUserAccessLoggingSettingsCommandError = async (output, context) => {
|
|
|
2489
2444
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2490
2445
|
default:
|
|
2491
2446
|
const parsedBody = parsedOutput.body;
|
|
2492
|
-
throwDefaultError({
|
|
2447
|
+
return throwDefaultError({
|
|
2493
2448
|
output,
|
|
2494
2449
|
parsedBody,
|
|
2495
|
-
exceptionCtor: __BaseException,
|
|
2496
2450
|
errorCode,
|
|
2497
2451
|
});
|
|
2498
2452
|
}
|
|
@@ -2505,9 +2459,10 @@ export const de_GetUserSettingsCommand = async (output, context) => {
|
|
|
2505
2459
|
$metadata: deserializeMetadata(output),
|
|
2506
2460
|
});
|
|
2507
2461
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2508
|
-
|
|
2509
|
-
|
|
2510
|
-
}
|
|
2462
|
+
const doc = take(data, {
|
|
2463
|
+
userSettings: _json,
|
|
2464
|
+
});
|
|
2465
|
+
Object.assign(contents, doc);
|
|
2511
2466
|
return contents;
|
|
2512
2467
|
};
|
|
2513
2468
|
const de_GetUserSettingsCommandError = async (output, context) => {
|
|
@@ -2534,10 +2489,9 @@ const de_GetUserSettingsCommandError = async (output, context) => {
|
|
|
2534
2489
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2535
2490
|
default:
|
|
2536
2491
|
const parsedBody = parsedOutput.body;
|
|
2537
|
-
throwDefaultError({
|
|
2492
|
+
return throwDefaultError({
|
|
2538
2493
|
output,
|
|
2539
2494
|
parsedBody,
|
|
2540
|
-
exceptionCtor: __BaseException,
|
|
2541
2495
|
errorCode,
|
|
2542
2496
|
});
|
|
2543
2497
|
}
|
|
@@ -2550,12 +2504,11 @@ export const de_ListBrowserSettingsCommand = async (output, context) => {
|
|
|
2550
2504
|
$metadata: deserializeMetadata(output),
|
|
2551
2505
|
});
|
|
2552
2506
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2553
|
-
|
|
2554
|
-
|
|
2555
|
-
|
|
2556
|
-
|
|
2557
|
-
|
|
2558
|
-
}
|
|
2507
|
+
const doc = take(data, {
|
|
2508
|
+
browserSettings: _json,
|
|
2509
|
+
nextToken: __expectString,
|
|
2510
|
+
});
|
|
2511
|
+
Object.assign(contents, doc);
|
|
2559
2512
|
return contents;
|
|
2560
2513
|
};
|
|
2561
2514
|
const de_ListBrowserSettingsCommandError = async (output, context) => {
|
|
@@ -2579,10 +2532,9 @@ const de_ListBrowserSettingsCommandError = async (output, context) => {
|
|
|
2579
2532
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2580
2533
|
default:
|
|
2581
2534
|
const parsedBody = parsedOutput.body;
|
|
2582
|
-
throwDefaultError({
|
|
2535
|
+
return throwDefaultError({
|
|
2583
2536
|
output,
|
|
2584
2537
|
parsedBody,
|
|
2585
|
-
exceptionCtor: __BaseException,
|
|
2586
2538
|
errorCode,
|
|
2587
2539
|
});
|
|
2588
2540
|
}
|
|
@@ -2595,12 +2547,11 @@ export const de_ListIdentityProvidersCommand = async (output, context) => {
|
|
|
2595
2547
|
$metadata: deserializeMetadata(output),
|
|
2596
2548
|
});
|
|
2597
2549
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2598
|
-
|
|
2599
|
-
|
|
2600
|
-
|
|
2601
|
-
|
|
2602
|
-
|
|
2603
|
-
}
|
|
2550
|
+
const doc = take(data, {
|
|
2551
|
+
identityProviders: _json,
|
|
2552
|
+
nextToken: __expectString,
|
|
2553
|
+
});
|
|
2554
|
+
Object.assign(contents, doc);
|
|
2604
2555
|
return contents;
|
|
2605
2556
|
};
|
|
2606
2557
|
const de_ListIdentityProvidersCommandError = async (output, context) => {
|
|
@@ -2624,10 +2575,9 @@ const de_ListIdentityProvidersCommandError = async (output, context) => {
|
|
|
2624
2575
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2625
2576
|
default:
|
|
2626
2577
|
const parsedBody = parsedOutput.body;
|
|
2627
|
-
throwDefaultError({
|
|
2578
|
+
return throwDefaultError({
|
|
2628
2579
|
output,
|
|
2629
2580
|
parsedBody,
|
|
2630
|
-
exceptionCtor: __BaseException,
|
|
2631
2581
|
errorCode,
|
|
2632
2582
|
});
|
|
2633
2583
|
}
|
|
@@ -2640,12 +2590,11 @@ export const de_ListNetworkSettingsCommand = async (output, context) => {
|
|
|
2640
2590
|
$metadata: deserializeMetadata(output),
|
|
2641
2591
|
});
|
|
2642
2592
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2643
|
-
|
|
2644
|
-
|
|
2645
|
-
|
|
2646
|
-
|
|
2647
|
-
|
|
2648
|
-
}
|
|
2593
|
+
const doc = take(data, {
|
|
2594
|
+
networkSettings: _json,
|
|
2595
|
+
nextToken: __expectString,
|
|
2596
|
+
});
|
|
2597
|
+
Object.assign(contents, doc);
|
|
2649
2598
|
return contents;
|
|
2650
2599
|
};
|
|
2651
2600
|
const de_ListNetworkSettingsCommandError = async (output, context) => {
|
|
@@ -2669,10 +2618,9 @@ const de_ListNetworkSettingsCommandError = async (output, context) => {
|
|
|
2669
2618
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2670
2619
|
default:
|
|
2671
2620
|
const parsedBody = parsedOutput.body;
|
|
2672
|
-
throwDefaultError({
|
|
2621
|
+
return throwDefaultError({
|
|
2673
2622
|
output,
|
|
2674
2623
|
parsedBody,
|
|
2675
|
-
exceptionCtor: __BaseException,
|
|
2676
2624
|
errorCode,
|
|
2677
2625
|
});
|
|
2678
2626
|
}
|
|
@@ -2685,12 +2633,11 @@ export const de_ListPortalsCommand = async (output, context) => {
|
|
|
2685
2633
|
$metadata: deserializeMetadata(output),
|
|
2686
2634
|
});
|
|
2687
2635
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2688
|
-
|
|
2689
|
-
|
|
2690
|
-
|
|
2691
|
-
|
|
2692
|
-
|
|
2693
|
-
}
|
|
2636
|
+
const doc = take(data, {
|
|
2637
|
+
nextToken: __expectString,
|
|
2638
|
+
portals: (_) => de_PortalList(_, context),
|
|
2639
|
+
});
|
|
2640
|
+
Object.assign(contents, doc);
|
|
2694
2641
|
return contents;
|
|
2695
2642
|
};
|
|
2696
2643
|
const de_ListPortalsCommandError = async (output, context) => {
|
|
@@ -2714,10 +2661,9 @@ const de_ListPortalsCommandError = async (output, context) => {
|
|
|
2714
2661
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2715
2662
|
default:
|
|
2716
2663
|
const parsedBody = parsedOutput.body;
|
|
2717
|
-
throwDefaultError({
|
|
2664
|
+
return throwDefaultError({
|
|
2718
2665
|
output,
|
|
2719
2666
|
parsedBody,
|
|
2720
|
-
exceptionCtor: __BaseException,
|
|
2721
2667
|
errorCode,
|
|
2722
2668
|
});
|
|
2723
2669
|
}
|
|
@@ -2730,9 +2676,10 @@ export const de_ListTagsForResourceCommand = async (output, context) => {
|
|
|
2730
2676
|
$metadata: deserializeMetadata(output),
|
|
2731
2677
|
});
|
|
2732
2678
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2733
|
-
|
|
2734
|
-
|
|
2735
|
-
}
|
|
2679
|
+
const doc = take(data, {
|
|
2680
|
+
tags: _json,
|
|
2681
|
+
});
|
|
2682
|
+
Object.assign(contents, doc);
|
|
2736
2683
|
return contents;
|
|
2737
2684
|
};
|
|
2738
2685
|
const de_ListTagsForResourceCommandError = async (output, context) => {
|
|
@@ -2759,10 +2706,9 @@ const de_ListTagsForResourceCommandError = async (output, context) => {
|
|
|
2759
2706
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2760
2707
|
default:
|
|
2761
2708
|
const parsedBody = parsedOutput.body;
|
|
2762
|
-
throwDefaultError({
|
|
2709
|
+
return throwDefaultError({
|
|
2763
2710
|
output,
|
|
2764
2711
|
parsedBody,
|
|
2765
|
-
exceptionCtor: __BaseException,
|
|
2766
2712
|
errorCode,
|
|
2767
2713
|
});
|
|
2768
2714
|
}
|
|
@@ -2775,15 +2721,12 @@ export const de_ListTrustStoreCertificatesCommand = async (output, context) => {
|
|
|
2775
2721
|
$metadata: deserializeMetadata(output),
|
|
2776
2722
|
});
|
|
2777
2723
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2778
|
-
|
|
2779
|
-
|
|
2780
|
-
|
|
2781
|
-
|
|
2782
|
-
|
|
2783
|
-
|
|
2784
|
-
if (data.trustStoreArn != null) {
|
|
2785
|
-
contents.trustStoreArn = __expectString(data.trustStoreArn);
|
|
2786
|
-
}
|
|
2724
|
+
const doc = take(data, {
|
|
2725
|
+
certificateList: (_) => de_CertificateSummaryList(_, context),
|
|
2726
|
+
nextToken: __expectString,
|
|
2727
|
+
trustStoreArn: __expectString,
|
|
2728
|
+
});
|
|
2729
|
+
Object.assign(contents, doc);
|
|
2787
2730
|
return contents;
|
|
2788
2731
|
};
|
|
2789
2732
|
const de_ListTrustStoreCertificatesCommandError = async (output, context) => {
|
|
@@ -2810,10 +2753,9 @@ const de_ListTrustStoreCertificatesCommandError = async (output, context) => {
|
|
|
2810
2753
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2811
2754
|
default:
|
|
2812
2755
|
const parsedBody = parsedOutput.body;
|
|
2813
|
-
throwDefaultError({
|
|
2756
|
+
return throwDefaultError({
|
|
2814
2757
|
output,
|
|
2815
2758
|
parsedBody,
|
|
2816
|
-
exceptionCtor: __BaseException,
|
|
2817
2759
|
errorCode,
|
|
2818
2760
|
});
|
|
2819
2761
|
}
|
|
@@ -2826,12 +2768,11 @@ export const de_ListTrustStoresCommand = async (output, context) => {
|
|
|
2826
2768
|
$metadata: deserializeMetadata(output),
|
|
2827
2769
|
});
|
|
2828
2770
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2829
|
-
|
|
2830
|
-
|
|
2831
|
-
|
|
2832
|
-
|
|
2833
|
-
|
|
2834
|
-
}
|
|
2771
|
+
const doc = take(data, {
|
|
2772
|
+
nextToken: __expectString,
|
|
2773
|
+
trustStores: _json,
|
|
2774
|
+
});
|
|
2775
|
+
Object.assign(contents, doc);
|
|
2835
2776
|
return contents;
|
|
2836
2777
|
};
|
|
2837
2778
|
const de_ListTrustStoresCommandError = async (output, context) => {
|
|
@@ -2855,10 +2796,9 @@ const de_ListTrustStoresCommandError = async (output, context) => {
|
|
|
2855
2796
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2856
2797
|
default:
|
|
2857
2798
|
const parsedBody = parsedOutput.body;
|
|
2858
|
-
throwDefaultError({
|
|
2799
|
+
return throwDefaultError({
|
|
2859
2800
|
output,
|
|
2860
2801
|
parsedBody,
|
|
2861
|
-
exceptionCtor: __BaseException,
|
|
2862
2802
|
errorCode,
|
|
2863
2803
|
});
|
|
2864
2804
|
}
|
|
@@ -2871,12 +2811,11 @@ export const de_ListUserAccessLoggingSettingsCommand = async (output, context) =
|
|
|
2871
2811
|
$metadata: deserializeMetadata(output),
|
|
2872
2812
|
});
|
|
2873
2813
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2874
|
-
|
|
2875
|
-
|
|
2876
|
-
|
|
2877
|
-
|
|
2878
|
-
|
|
2879
|
-
}
|
|
2814
|
+
const doc = take(data, {
|
|
2815
|
+
nextToken: __expectString,
|
|
2816
|
+
userAccessLoggingSettings: _json,
|
|
2817
|
+
});
|
|
2818
|
+
Object.assign(contents, doc);
|
|
2880
2819
|
return contents;
|
|
2881
2820
|
};
|
|
2882
2821
|
const de_ListUserAccessLoggingSettingsCommandError = async (output, context) => {
|
|
@@ -2900,10 +2839,9 @@ const de_ListUserAccessLoggingSettingsCommandError = async (output, context) =>
|
|
|
2900
2839
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2901
2840
|
default:
|
|
2902
2841
|
const parsedBody = parsedOutput.body;
|
|
2903
|
-
throwDefaultError({
|
|
2842
|
+
return throwDefaultError({
|
|
2904
2843
|
output,
|
|
2905
2844
|
parsedBody,
|
|
2906
|
-
exceptionCtor: __BaseException,
|
|
2907
2845
|
errorCode,
|
|
2908
2846
|
});
|
|
2909
2847
|
}
|
|
@@ -2916,12 +2854,11 @@ export const de_ListUserSettingsCommand = async (output, context) => {
|
|
|
2916
2854
|
$metadata: deserializeMetadata(output),
|
|
2917
2855
|
});
|
|
2918
2856
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2919
|
-
|
|
2920
|
-
|
|
2921
|
-
|
|
2922
|
-
|
|
2923
|
-
|
|
2924
|
-
}
|
|
2857
|
+
const doc = take(data, {
|
|
2858
|
+
nextToken: __expectString,
|
|
2859
|
+
userSettings: _json,
|
|
2860
|
+
});
|
|
2861
|
+
Object.assign(contents, doc);
|
|
2925
2862
|
return contents;
|
|
2926
2863
|
};
|
|
2927
2864
|
const de_ListUserSettingsCommandError = async (output, context) => {
|
|
@@ -2945,10 +2882,9 @@ const de_ListUserSettingsCommandError = async (output, context) => {
|
|
|
2945
2882
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2946
2883
|
default:
|
|
2947
2884
|
const parsedBody = parsedOutput.body;
|
|
2948
|
-
throwDefaultError({
|
|
2885
|
+
return throwDefaultError({
|
|
2949
2886
|
output,
|
|
2950
2887
|
parsedBody,
|
|
2951
|
-
exceptionCtor: __BaseException,
|
|
2952
2888
|
errorCode,
|
|
2953
2889
|
});
|
|
2954
2890
|
}
|
|
@@ -2990,10 +2926,9 @@ const de_TagResourceCommandError = async (output, context) => {
|
|
|
2990
2926
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2991
2927
|
default:
|
|
2992
2928
|
const parsedBody = parsedOutput.body;
|
|
2993
|
-
throwDefaultError({
|
|
2929
|
+
return throwDefaultError({
|
|
2994
2930
|
output,
|
|
2995
2931
|
parsedBody,
|
|
2996
|
-
exceptionCtor: __BaseException,
|
|
2997
2932
|
errorCode,
|
|
2998
2933
|
});
|
|
2999
2934
|
}
|
|
@@ -3032,10 +2967,9 @@ const de_UntagResourceCommandError = async (output, context) => {
|
|
|
3032
2967
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
3033
2968
|
default:
|
|
3034
2969
|
const parsedBody = parsedOutput.body;
|
|
3035
|
-
throwDefaultError({
|
|
2970
|
+
return throwDefaultError({
|
|
3036
2971
|
output,
|
|
3037
2972
|
parsedBody,
|
|
3038
|
-
exceptionCtor: __BaseException,
|
|
3039
2973
|
errorCode,
|
|
3040
2974
|
});
|
|
3041
2975
|
}
|
|
@@ -3048,9 +2982,10 @@ export const de_UpdateBrowserSettingsCommand = async (output, context) => {
|
|
|
3048
2982
|
$metadata: deserializeMetadata(output),
|
|
3049
2983
|
});
|
|
3050
2984
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
3051
|
-
|
|
3052
|
-
|
|
3053
|
-
}
|
|
2985
|
+
const doc = take(data, {
|
|
2986
|
+
browserSettings: _json,
|
|
2987
|
+
});
|
|
2988
|
+
Object.assign(contents, doc);
|
|
3054
2989
|
return contents;
|
|
3055
2990
|
};
|
|
3056
2991
|
const de_UpdateBrowserSettingsCommandError = async (output, context) => {
|
|
@@ -3077,10 +3012,9 @@ const de_UpdateBrowserSettingsCommandError = async (output, context) => {
|
|
|
3077
3012
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
3078
3013
|
default:
|
|
3079
3014
|
const parsedBody = parsedOutput.body;
|
|
3080
|
-
throwDefaultError({
|
|
3015
|
+
return throwDefaultError({
|
|
3081
3016
|
output,
|
|
3082
3017
|
parsedBody,
|
|
3083
|
-
exceptionCtor: __BaseException,
|
|
3084
3018
|
errorCode,
|
|
3085
3019
|
});
|
|
3086
3020
|
}
|
|
@@ -3093,9 +3027,10 @@ export const de_UpdateIdentityProviderCommand = async (output, context) => {
|
|
|
3093
3027
|
$metadata: deserializeMetadata(output),
|
|
3094
3028
|
});
|
|
3095
3029
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
3096
|
-
|
|
3097
|
-
|
|
3098
|
-
}
|
|
3030
|
+
const doc = take(data, {
|
|
3031
|
+
identityProvider: _json,
|
|
3032
|
+
});
|
|
3033
|
+
Object.assign(contents, doc);
|
|
3099
3034
|
return contents;
|
|
3100
3035
|
};
|
|
3101
3036
|
const de_UpdateIdentityProviderCommandError = async (output, context) => {
|
|
@@ -3122,10 +3057,9 @@ const de_UpdateIdentityProviderCommandError = async (output, context) => {
|
|
|
3122
3057
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
3123
3058
|
default:
|
|
3124
3059
|
const parsedBody = parsedOutput.body;
|
|
3125
|
-
throwDefaultError({
|
|
3060
|
+
return throwDefaultError({
|
|
3126
3061
|
output,
|
|
3127
3062
|
parsedBody,
|
|
3128
|
-
exceptionCtor: __BaseException,
|
|
3129
3063
|
errorCode,
|
|
3130
3064
|
});
|
|
3131
3065
|
}
|
|
@@ -3138,9 +3072,10 @@ export const de_UpdateNetworkSettingsCommand = async (output, context) => {
|
|
|
3138
3072
|
$metadata: deserializeMetadata(output),
|
|
3139
3073
|
});
|
|
3140
3074
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
3141
|
-
|
|
3142
|
-
|
|
3143
|
-
}
|
|
3075
|
+
const doc = take(data, {
|
|
3076
|
+
networkSettings: _json,
|
|
3077
|
+
});
|
|
3078
|
+
Object.assign(contents, doc);
|
|
3144
3079
|
return contents;
|
|
3145
3080
|
};
|
|
3146
3081
|
const de_UpdateNetworkSettingsCommandError = async (output, context) => {
|
|
@@ -3167,10 +3102,9 @@ const de_UpdateNetworkSettingsCommandError = async (output, context) => {
|
|
|
3167
3102
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
3168
3103
|
default:
|
|
3169
3104
|
const parsedBody = parsedOutput.body;
|
|
3170
|
-
throwDefaultError({
|
|
3105
|
+
return throwDefaultError({
|
|
3171
3106
|
output,
|
|
3172
3107
|
parsedBody,
|
|
3173
|
-
exceptionCtor: __BaseException,
|
|
3174
3108
|
errorCode,
|
|
3175
3109
|
});
|
|
3176
3110
|
}
|
|
@@ -3183,9 +3117,10 @@ export const de_UpdatePortalCommand = async (output, context) => {
|
|
|
3183
3117
|
$metadata: deserializeMetadata(output),
|
|
3184
3118
|
});
|
|
3185
3119
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
3186
|
-
|
|
3187
|
-
|
|
3188
|
-
}
|
|
3120
|
+
const doc = take(data, {
|
|
3121
|
+
portal: (_) => de_Portal(_, context),
|
|
3122
|
+
});
|
|
3123
|
+
Object.assign(contents, doc);
|
|
3189
3124
|
return contents;
|
|
3190
3125
|
};
|
|
3191
3126
|
const de_UpdatePortalCommandError = async (output, context) => {
|
|
@@ -3212,10 +3147,9 @@ const de_UpdatePortalCommandError = async (output, context) => {
|
|
|
3212
3147
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
3213
3148
|
default:
|
|
3214
3149
|
const parsedBody = parsedOutput.body;
|
|
3215
|
-
throwDefaultError({
|
|
3150
|
+
return throwDefaultError({
|
|
3216
3151
|
output,
|
|
3217
3152
|
parsedBody,
|
|
3218
|
-
exceptionCtor: __BaseException,
|
|
3219
3153
|
errorCode,
|
|
3220
3154
|
});
|
|
3221
3155
|
}
|
|
@@ -3228,9 +3162,10 @@ export const de_UpdateTrustStoreCommand = async (output, context) => {
|
|
|
3228
3162
|
$metadata: deserializeMetadata(output),
|
|
3229
3163
|
});
|
|
3230
3164
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
3231
|
-
|
|
3232
|
-
|
|
3233
|
-
}
|
|
3165
|
+
const doc = take(data, {
|
|
3166
|
+
trustStoreArn: __expectString,
|
|
3167
|
+
});
|
|
3168
|
+
Object.assign(contents, doc);
|
|
3234
3169
|
return contents;
|
|
3235
3170
|
};
|
|
3236
3171
|
const de_UpdateTrustStoreCommandError = async (output, context) => {
|
|
@@ -3260,10 +3195,9 @@ const de_UpdateTrustStoreCommandError = async (output, context) => {
|
|
|
3260
3195
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
3261
3196
|
default:
|
|
3262
3197
|
const parsedBody = parsedOutput.body;
|
|
3263
|
-
throwDefaultError({
|
|
3198
|
+
return throwDefaultError({
|
|
3264
3199
|
output,
|
|
3265
3200
|
parsedBody,
|
|
3266
|
-
exceptionCtor: __BaseException,
|
|
3267
3201
|
errorCode,
|
|
3268
3202
|
});
|
|
3269
3203
|
}
|
|
@@ -3276,9 +3210,10 @@ export const de_UpdateUserAccessLoggingSettingsCommand = async (output, context)
|
|
|
3276
3210
|
$metadata: deserializeMetadata(output),
|
|
3277
3211
|
});
|
|
3278
3212
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
3279
|
-
|
|
3280
|
-
|
|
3281
|
-
}
|
|
3213
|
+
const doc = take(data, {
|
|
3214
|
+
userAccessLoggingSettings: _json,
|
|
3215
|
+
});
|
|
3216
|
+
Object.assign(contents, doc);
|
|
3282
3217
|
return contents;
|
|
3283
3218
|
};
|
|
3284
3219
|
const de_UpdateUserAccessLoggingSettingsCommandError = async (output, context) => {
|
|
@@ -3305,10 +3240,9 @@ const de_UpdateUserAccessLoggingSettingsCommandError = async (output, context) =
|
|
|
3305
3240
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
3306
3241
|
default:
|
|
3307
3242
|
const parsedBody = parsedOutput.body;
|
|
3308
|
-
throwDefaultError({
|
|
3243
|
+
return throwDefaultError({
|
|
3309
3244
|
output,
|
|
3310
3245
|
parsedBody,
|
|
3311
|
-
exceptionCtor: __BaseException,
|
|
3312
3246
|
errorCode,
|
|
3313
3247
|
});
|
|
3314
3248
|
}
|
|
@@ -3321,9 +3255,10 @@ export const de_UpdateUserSettingsCommand = async (output, context) => {
|
|
|
3321
3255
|
$metadata: deserializeMetadata(output),
|
|
3322
3256
|
});
|
|
3323
3257
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
3324
|
-
|
|
3325
|
-
|
|
3326
|
-
}
|
|
3258
|
+
const doc = take(data, {
|
|
3259
|
+
userSettings: _json,
|
|
3260
|
+
});
|
|
3261
|
+
Object.assign(contents, doc);
|
|
3327
3262
|
return contents;
|
|
3328
3263
|
};
|
|
3329
3264
|
const de_UpdateUserSettingsCommandError = async (output, context) => {
|
|
@@ -3350,21 +3285,21 @@ const de_UpdateUserSettingsCommandError = async (output, context) => {
|
|
|
3350
3285
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
3351
3286
|
default:
|
|
3352
3287
|
const parsedBody = parsedOutput.body;
|
|
3353
|
-
throwDefaultError({
|
|
3288
|
+
return throwDefaultError({
|
|
3354
3289
|
output,
|
|
3355
3290
|
parsedBody,
|
|
3356
|
-
exceptionCtor: __BaseException,
|
|
3357
3291
|
errorCode,
|
|
3358
3292
|
});
|
|
3359
3293
|
}
|
|
3360
3294
|
};
|
|
3361
|
-
const
|
|
3295
|
+
const throwDefaultError = withBaseException(__BaseException);
|
|
3362
3296
|
const de_AccessDeniedExceptionRes = async (parsedOutput, context) => {
|
|
3363
3297
|
const contents = map({});
|
|
3364
3298
|
const data = parsedOutput.body;
|
|
3365
|
-
|
|
3366
|
-
|
|
3367
|
-
}
|
|
3299
|
+
const doc = take(data, {
|
|
3300
|
+
message: __expectString,
|
|
3301
|
+
});
|
|
3302
|
+
Object.assign(contents, doc);
|
|
3368
3303
|
const exception = new AccessDeniedException({
|
|
3369
3304
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3370
3305
|
...contents,
|
|
@@ -3374,15 +3309,12 @@ const de_AccessDeniedExceptionRes = async (parsedOutput, context) => {
|
|
|
3374
3309
|
const de_ConflictExceptionRes = async (parsedOutput, context) => {
|
|
3375
3310
|
const contents = map({});
|
|
3376
3311
|
const data = parsedOutput.body;
|
|
3377
|
-
|
|
3378
|
-
|
|
3379
|
-
|
|
3380
|
-
|
|
3381
|
-
|
|
3382
|
-
|
|
3383
|
-
if (data.resourceType != null) {
|
|
3384
|
-
contents.resourceType = __expectString(data.resourceType);
|
|
3385
|
-
}
|
|
3312
|
+
const doc = take(data, {
|
|
3313
|
+
message: __expectString,
|
|
3314
|
+
resourceId: __expectString,
|
|
3315
|
+
resourceType: __expectString,
|
|
3316
|
+
});
|
|
3317
|
+
Object.assign(contents, doc);
|
|
3386
3318
|
const exception = new ConflictException({
|
|
3387
3319
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3388
3320
|
...contents,
|
|
@@ -3397,9 +3329,10 @@ const de_InternalServerExceptionRes = async (parsedOutput, context) => {
|
|
|
3397
3329
|
],
|
|
3398
3330
|
});
|
|
3399
3331
|
const data = parsedOutput.body;
|
|
3400
|
-
|
|
3401
|
-
|
|
3402
|
-
}
|
|
3332
|
+
const doc = take(data, {
|
|
3333
|
+
message: __expectString,
|
|
3334
|
+
});
|
|
3335
|
+
Object.assign(contents, doc);
|
|
3403
3336
|
const exception = new InternalServerException({
|
|
3404
3337
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3405
3338
|
...contents,
|
|
@@ -3409,15 +3342,12 @@ const de_InternalServerExceptionRes = async (parsedOutput, context) => {
|
|
|
3409
3342
|
const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
3410
3343
|
const contents = map({});
|
|
3411
3344
|
const data = parsedOutput.body;
|
|
3412
|
-
|
|
3413
|
-
|
|
3414
|
-
|
|
3415
|
-
|
|
3416
|
-
|
|
3417
|
-
|
|
3418
|
-
if (data.resourceType != null) {
|
|
3419
|
-
contents.resourceType = __expectString(data.resourceType);
|
|
3420
|
-
}
|
|
3345
|
+
const doc = take(data, {
|
|
3346
|
+
message: __expectString,
|
|
3347
|
+
resourceId: __expectString,
|
|
3348
|
+
resourceType: __expectString,
|
|
3349
|
+
});
|
|
3350
|
+
Object.assign(contents, doc);
|
|
3421
3351
|
const exception = new ResourceNotFoundException({
|
|
3422
3352
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3423
3353
|
...contents,
|
|
@@ -3427,21 +3357,14 @@ const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
|
3427
3357
|
const de_ServiceQuotaExceededExceptionRes = async (parsedOutput, context) => {
|
|
3428
3358
|
const contents = map({});
|
|
3429
3359
|
const data = parsedOutput.body;
|
|
3430
|
-
|
|
3431
|
-
|
|
3432
|
-
|
|
3433
|
-
|
|
3434
|
-
|
|
3435
|
-
|
|
3436
|
-
|
|
3437
|
-
|
|
3438
|
-
}
|
|
3439
|
-
if (data.resourceType != null) {
|
|
3440
|
-
contents.resourceType = __expectString(data.resourceType);
|
|
3441
|
-
}
|
|
3442
|
-
if (data.serviceCode != null) {
|
|
3443
|
-
contents.serviceCode = __expectString(data.serviceCode);
|
|
3444
|
-
}
|
|
3360
|
+
const doc = take(data, {
|
|
3361
|
+
message: __expectString,
|
|
3362
|
+
quotaCode: __expectString,
|
|
3363
|
+
resourceId: __expectString,
|
|
3364
|
+
resourceType: __expectString,
|
|
3365
|
+
serviceCode: __expectString,
|
|
3366
|
+
});
|
|
3367
|
+
Object.assign(contents, doc);
|
|
3445
3368
|
const exception = new ServiceQuotaExceededException({
|
|
3446
3369
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3447
3370
|
...contents,
|
|
@@ -3456,15 +3379,12 @@ const de_ThrottlingExceptionRes = async (parsedOutput, context) => {
|
|
|
3456
3379
|
],
|
|
3457
3380
|
});
|
|
3458
3381
|
const data = parsedOutput.body;
|
|
3459
|
-
|
|
3460
|
-
|
|
3461
|
-
|
|
3462
|
-
|
|
3463
|
-
|
|
3464
|
-
|
|
3465
|
-
if (data.serviceCode != null) {
|
|
3466
|
-
contents.serviceCode = __expectString(data.serviceCode);
|
|
3467
|
-
}
|
|
3382
|
+
const doc = take(data, {
|
|
3383
|
+
message: __expectString,
|
|
3384
|
+
quotaCode: __expectString,
|
|
3385
|
+
serviceCode: __expectString,
|
|
3386
|
+
});
|
|
3387
|
+
Object.assign(contents, doc);
|
|
3468
3388
|
const exception = new ThrottlingException({
|
|
3469
3389
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3470
3390
|
...contents,
|
|
@@ -3474,12 +3394,11 @@ const de_ThrottlingExceptionRes = async (parsedOutput, context) => {
|
|
|
3474
3394
|
const de_TooManyTagsExceptionRes = async (parsedOutput, context) => {
|
|
3475
3395
|
const contents = map({});
|
|
3476
3396
|
const data = parsedOutput.body;
|
|
3477
|
-
|
|
3478
|
-
|
|
3479
|
-
|
|
3480
|
-
|
|
3481
|
-
|
|
3482
|
-
}
|
|
3397
|
+
const doc = take(data, {
|
|
3398
|
+
message: __expectString,
|
|
3399
|
+
resourceName: __expectString,
|
|
3400
|
+
});
|
|
3401
|
+
Object.assign(contents, doc);
|
|
3483
3402
|
const exception = new TooManyTagsException({
|
|
3484
3403
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3485
3404
|
...contents,
|
|
@@ -3489,15 +3408,12 @@ const de_TooManyTagsExceptionRes = async (parsedOutput, context) => {
|
|
|
3489
3408
|
const de_ValidationExceptionRes = async (parsedOutput, context) => {
|
|
3490
3409
|
const contents = map({});
|
|
3491
3410
|
const data = parsedOutput.body;
|
|
3492
|
-
|
|
3493
|
-
|
|
3494
|
-
|
|
3495
|
-
|
|
3496
|
-
|
|
3497
|
-
|
|
3498
|
-
if (data.reason != null) {
|
|
3499
|
-
contents.reason = __expectString(data.reason);
|
|
3500
|
-
}
|
|
3411
|
+
const doc = take(data, {
|
|
3412
|
+
fieldList: _json,
|
|
3413
|
+
message: __expectString,
|
|
3414
|
+
reason: __expectString,
|
|
3415
|
+
});
|
|
3416
|
+
Object.assign(contents, doc);
|
|
3501
3417
|
const exception = new ValidationException({
|
|
3502
3418
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3503
3419
|
...contents,
|
|
@@ -3511,380 +3427,75 @@ const se_CertificateList = (input, context) => {
|
|
|
3511
3427
|
return context.base64Encoder(entry);
|
|
3512
3428
|
});
|
|
3513
3429
|
};
|
|
3514
|
-
const se_CertificateThumbprintList = (input, context) => {
|
|
3515
|
-
return input
|
|
3516
|
-
.filter((e) => e != null)
|
|
3517
|
-
.map((entry) => {
|
|
3518
|
-
return entry;
|
|
3519
|
-
});
|
|
3520
|
-
};
|
|
3521
|
-
const se_EncryptionContextMap = (input, context) => {
|
|
3522
|
-
return Object.entries(input).reduce((acc, [key, value]) => {
|
|
3523
|
-
if (value === null) {
|
|
3524
|
-
return acc;
|
|
3525
|
-
}
|
|
3526
|
-
acc[key] = value;
|
|
3527
|
-
return acc;
|
|
3528
|
-
}, {});
|
|
3529
|
-
};
|
|
3530
|
-
const se_IdentityProviderDetails = (input, context) => {
|
|
3531
|
-
return Object.entries(input).reduce((acc, [key, value]) => {
|
|
3532
|
-
if (value === null) {
|
|
3533
|
-
return acc;
|
|
3534
|
-
}
|
|
3535
|
-
acc[key] = value;
|
|
3536
|
-
return acc;
|
|
3537
|
-
}, {});
|
|
3538
|
-
};
|
|
3539
|
-
const se_SecurityGroupIdList = (input, context) => {
|
|
3540
|
-
return input
|
|
3541
|
-
.filter((e) => e != null)
|
|
3542
|
-
.map((entry) => {
|
|
3543
|
-
return entry;
|
|
3544
|
-
});
|
|
3545
|
-
};
|
|
3546
|
-
const se_SubnetIdList = (input, context) => {
|
|
3547
|
-
return input
|
|
3548
|
-
.filter((e) => e != null)
|
|
3549
|
-
.map((entry) => {
|
|
3550
|
-
return entry;
|
|
3551
|
-
});
|
|
3552
|
-
};
|
|
3553
|
-
const se_Tag = (input, context) => {
|
|
3554
|
-
return {
|
|
3555
|
-
...(input.Key != null && { Key: input.Key }),
|
|
3556
|
-
...(input.Value != null && { Value: input.Value }),
|
|
3557
|
-
};
|
|
3558
|
-
};
|
|
3559
|
-
const se_TagList = (input, context) => {
|
|
3560
|
-
return input
|
|
3561
|
-
.filter((e) => e != null)
|
|
3562
|
-
.map((entry) => {
|
|
3563
|
-
return se_Tag(entry, context);
|
|
3564
|
-
});
|
|
3565
|
-
};
|
|
3566
|
-
const de_ArnList = (output, context) => {
|
|
3567
|
-
const retVal = (output || [])
|
|
3568
|
-
.filter((e) => e != null)
|
|
3569
|
-
.map((entry) => {
|
|
3570
|
-
if (entry === null) {
|
|
3571
|
-
return null;
|
|
3572
|
-
}
|
|
3573
|
-
return __expectString(entry);
|
|
3574
|
-
});
|
|
3575
|
-
return retVal;
|
|
3576
|
-
};
|
|
3577
|
-
const de_BrowserSettings = (output, context) => {
|
|
3578
|
-
return {
|
|
3579
|
-
associatedPortalArns: output.associatedPortalArns != null ? de_ArnList(output.associatedPortalArns, context) : undefined,
|
|
3580
|
-
browserPolicy: __expectString(output.browserPolicy),
|
|
3581
|
-
browserSettingsArn: __expectString(output.browserSettingsArn),
|
|
3582
|
-
};
|
|
3583
|
-
};
|
|
3584
|
-
const de_BrowserSettingsList = (output, context) => {
|
|
3585
|
-
const retVal = (output || [])
|
|
3586
|
-
.filter((e) => e != null)
|
|
3587
|
-
.map((entry) => {
|
|
3588
|
-
if (entry === null) {
|
|
3589
|
-
return null;
|
|
3590
|
-
}
|
|
3591
|
-
return de_BrowserSettingsSummary(entry, context);
|
|
3592
|
-
});
|
|
3593
|
-
return retVal;
|
|
3594
|
-
};
|
|
3595
|
-
const de_BrowserSettingsSummary = (output, context) => {
|
|
3596
|
-
return {
|
|
3597
|
-
browserSettingsArn: __expectString(output.browserSettingsArn),
|
|
3598
|
-
};
|
|
3599
|
-
};
|
|
3600
3430
|
const de_Certificate = (output, context) => {
|
|
3601
|
-
return {
|
|
3602
|
-
body:
|
|
3603
|
-
issuer: __expectString
|
|
3604
|
-
notValidAfter:
|
|
3605
|
-
|
|
3606
|
-
|
|
3607
|
-
|
|
3608
|
-
|
|
3609
|
-
: undefined,
|
|
3610
|
-
subject: __expectString(output.subject),
|
|
3611
|
-
thumbprint: __expectString(output.thumbprint),
|
|
3612
|
-
};
|
|
3431
|
+
return take(output, {
|
|
3432
|
+
body: context.base64Decoder,
|
|
3433
|
+
issuer: __expectString,
|
|
3434
|
+
notValidAfter: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
3435
|
+
notValidBefore: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
3436
|
+
subject: __expectString,
|
|
3437
|
+
thumbprint: __expectString,
|
|
3438
|
+
});
|
|
3613
3439
|
};
|
|
3614
3440
|
const de_CertificateSummary = (output, context) => {
|
|
3615
|
-
return {
|
|
3616
|
-
issuer: __expectString
|
|
3617
|
-
notValidAfter:
|
|
3618
|
-
|
|
3619
|
-
|
|
3620
|
-
|
|
3621
|
-
|
|
3622
|
-
: undefined,
|
|
3623
|
-
subject: __expectString(output.subject),
|
|
3624
|
-
thumbprint: __expectString(output.thumbprint),
|
|
3625
|
-
};
|
|
3441
|
+
return take(output, {
|
|
3442
|
+
issuer: __expectString,
|
|
3443
|
+
notValidAfter: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
3444
|
+
notValidBefore: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
3445
|
+
subject: __expectString,
|
|
3446
|
+
thumbprint: __expectString,
|
|
3447
|
+
});
|
|
3626
3448
|
};
|
|
3627
3449
|
const de_CertificateSummaryList = (output, context) => {
|
|
3628
3450
|
const retVal = (output || [])
|
|
3629
3451
|
.filter((e) => e != null)
|
|
3630
3452
|
.map((entry) => {
|
|
3631
|
-
if (entry === null) {
|
|
3632
|
-
return null;
|
|
3633
|
-
}
|
|
3634
3453
|
return de_CertificateSummary(entry, context);
|
|
3635
3454
|
});
|
|
3636
3455
|
return retVal;
|
|
3637
3456
|
};
|
|
3638
|
-
const de_IdentityProvider = (output, context) => {
|
|
3639
|
-
return {
|
|
3640
|
-
identityProviderArn: __expectString(output.identityProviderArn),
|
|
3641
|
-
identityProviderDetails: output.identityProviderDetails != null
|
|
3642
|
-
? de_IdentityProviderDetails(output.identityProviderDetails, context)
|
|
3643
|
-
: undefined,
|
|
3644
|
-
identityProviderName: __expectString(output.identityProviderName),
|
|
3645
|
-
identityProviderType: __expectString(output.identityProviderType),
|
|
3646
|
-
};
|
|
3647
|
-
};
|
|
3648
|
-
const de_IdentityProviderDetails = (output, context) => {
|
|
3649
|
-
return Object.entries(output).reduce((acc, [key, value]) => {
|
|
3650
|
-
if (value === null) {
|
|
3651
|
-
return acc;
|
|
3652
|
-
}
|
|
3653
|
-
acc[key] = __expectString(value);
|
|
3654
|
-
return acc;
|
|
3655
|
-
}, {});
|
|
3656
|
-
};
|
|
3657
|
-
const de_IdentityProviderList = (output, context) => {
|
|
3658
|
-
const retVal = (output || [])
|
|
3659
|
-
.filter((e) => e != null)
|
|
3660
|
-
.map((entry) => {
|
|
3661
|
-
if (entry === null) {
|
|
3662
|
-
return null;
|
|
3663
|
-
}
|
|
3664
|
-
return de_IdentityProviderSummary(entry, context);
|
|
3665
|
-
});
|
|
3666
|
-
return retVal;
|
|
3667
|
-
};
|
|
3668
|
-
const de_IdentityProviderSummary = (output, context) => {
|
|
3669
|
-
return {
|
|
3670
|
-
identityProviderArn: __expectString(output.identityProviderArn),
|
|
3671
|
-
identityProviderName: __expectString(output.identityProviderName),
|
|
3672
|
-
identityProviderType: __expectString(output.identityProviderType),
|
|
3673
|
-
};
|
|
3674
|
-
};
|
|
3675
|
-
const de_NetworkSettings = (output, context) => {
|
|
3676
|
-
return {
|
|
3677
|
-
associatedPortalArns: output.associatedPortalArns != null ? de_ArnList(output.associatedPortalArns, context) : undefined,
|
|
3678
|
-
networkSettingsArn: __expectString(output.networkSettingsArn),
|
|
3679
|
-
securityGroupIds: output.securityGroupIds != null ? de_SecurityGroupIdList(output.securityGroupIds, context) : undefined,
|
|
3680
|
-
subnetIds: output.subnetIds != null ? de_SubnetIdList(output.subnetIds, context) : undefined,
|
|
3681
|
-
vpcId: __expectString(output.vpcId),
|
|
3682
|
-
};
|
|
3683
|
-
};
|
|
3684
|
-
const de_NetworkSettingsList = (output, context) => {
|
|
3685
|
-
const retVal = (output || [])
|
|
3686
|
-
.filter((e) => e != null)
|
|
3687
|
-
.map((entry) => {
|
|
3688
|
-
if (entry === null) {
|
|
3689
|
-
return null;
|
|
3690
|
-
}
|
|
3691
|
-
return de_NetworkSettingsSummary(entry, context);
|
|
3692
|
-
});
|
|
3693
|
-
return retVal;
|
|
3694
|
-
};
|
|
3695
|
-
const de_NetworkSettingsSummary = (output, context) => {
|
|
3696
|
-
return {
|
|
3697
|
-
networkSettingsArn: __expectString(output.networkSettingsArn),
|
|
3698
|
-
vpcId: __expectString(output.vpcId),
|
|
3699
|
-
};
|
|
3700
|
-
};
|
|
3701
3457
|
const de_Portal = (output, context) => {
|
|
3702
|
-
return {
|
|
3703
|
-
authenticationType: __expectString
|
|
3704
|
-
browserSettingsArn: __expectString
|
|
3705
|
-
browserType: __expectString
|
|
3706
|
-
creationDate:
|
|
3707
|
-
|
|
3708
|
-
|
|
3709
|
-
|
|
3710
|
-
|
|
3711
|
-
|
|
3712
|
-
|
|
3713
|
-
|
|
3714
|
-
|
|
3715
|
-
|
|
3716
|
-
|
|
3717
|
-
|
|
3718
|
-
userSettingsArn: __expectString(output.userSettingsArn),
|
|
3719
|
-
};
|
|
3458
|
+
return take(output, {
|
|
3459
|
+
authenticationType: __expectString,
|
|
3460
|
+
browserSettingsArn: __expectString,
|
|
3461
|
+
browserType: __expectString,
|
|
3462
|
+
creationDate: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
3463
|
+
displayName: __expectString,
|
|
3464
|
+
networkSettingsArn: __expectString,
|
|
3465
|
+
portalArn: __expectString,
|
|
3466
|
+
portalEndpoint: __expectString,
|
|
3467
|
+
portalStatus: __expectString,
|
|
3468
|
+
rendererType: __expectString,
|
|
3469
|
+
statusReason: __expectString,
|
|
3470
|
+
trustStoreArn: __expectString,
|
|
3471
|
+
userAccessLoggingSettingsArn: __expectString,
|
|
3472
|
+
userSettingsArn: __expectString,
|
|
3473
|
+
});
|
|
3720
3474
|
};
|
|
3721
3475
|
const de_PortalList = (output, context) => {
|
|
3722
3476
|
const retVal = (output || [])
|
|
3723
3477
|
.filter((e) => e != null)
|
|
3724
3478
|
.map((entry) => {
|
|
3725
|
-
if (entry === null) {
|
|
3726
|
-
return null;
|
|
3727
|
-
}
|
|
3728
3479
|
return de_PortalSummary(entry, context);
|
|
3729
3480
|
});
|
|
3730
3481
|
return retVal;
|
|
3731
3482
|
};
|
|
3732
3483
|
const de_PortalSummary = (output, context) => {
|
|
3733
|
-
return {
|
|
3734
|
-
authenticationType: __expectString
|
|
3735
|
-
browserSettingsArn: __expectString
|
|
3736
|
-
browserType: __expectString
|
|
3737
|
-
creationDate:
|
|
3738
|
-
|
|
3739
|
-
|
|
3740
|
-
|
|
3741
|
-
|
|
3742
|
-
|
|
3743
|
-
|
|
3744
|
-
|
|
3745
|
-
|
|
3746
|
-
|
|
3747
|
-
userAccessLoggingSettingsArn: __expectString(output.userAccessLoggingSettingsArn),
|
|
3748
|
-
userSettingsArn: __expectString(output.userSettingsArn),
|
|
3749
|
-
};
|
|
3750
|
-
};
|
|
3751
|
-
const de_SecurityGroupIdList = (output, context) => {
|
|
3752
|
-
const retVal = (output || [])
|
|
3753
|
-
.filter((e) => e != null)
|
|
3754
|
-
.map((entry) => {
|
|
3755
|
-
if (entry === null) {
|
|
3756
|
-
return null;
|
|
3757
|
-
}
|
|
3758
|
-
return __expectString(entry);
|
|
3759
|
-
});
|
|
3760
|
-
return retVal;
|
|
3761
|
-
};
|
|
3762
|
-
const de_SubnetIdList = (output, context) => {
|
|
3763
|
-
const retVal = (output || [])
|
|
3764
|
-
.filter((e) => e != null)
|
|
3765
|
-
.map((entry) => {
|
|
3766
|
-
if (entry === null) {
|
|
3767
|
-
return null;
|
|
3768
|
-
}
|
|
3769
|
-
return __expectString(entry);
|
|
3770
|
-
});
|
|
3771
|
-
return retVal;
|
|
3772
|
-
};
|
|
3773
|
-
const de_Tag = (output, context) => {
|
|
3774
|
-
return {
|
|
3775
|
-
Key: __expectString(output.Key),
|
|
3776
|
-
Value: __expectString(output.Value),
|
|
3777
|
-
};
|
|
3778
|
-
};
|
|
3779
|
-
const de_TagList = (output, context) => {
|
|
3780
|
-
const retVal = (output || [])
|
|
3781
|
-
.filter((e) => e != null)
|
|
3782
|
-
.map((entry) => {
|
|
3783
|
-
if (entry === null) {
|
|
3784
|
-
return null;
|
|
3785
|
-
}
|
|
3786
|
-
return de_Tag(entry, context);
|
|
3787
|
-
});
|
|
3788
|
-
return retVal;
|
|
3789
|
-
};
|
|
3790
|
-
const de_TrustStore = (output, context) => {
|
|
3791
|
-
return {
|
|
3792
|
-
associatedPortalArns: output.associatedPortalArns != null ? de_ArnList(output.associatedPortalArns, context) : undefined,
|
|
3793
|
-
trustStoreArn: __expectString(output.trustStoreArn),
|
|
3794
|
-
};
|
|
3795
|
-
};
|
|
3796
|
-
const de_TrustStoreSummary = (output, context) => {
|
|
3797
|
-
return {
|
|
3798
|
-
trustStoreArn: __expectString(output.trustStoreArn),
|
|
3799
|
-
};
|
|
3800
|
-
};
|
|
3801
|
-
const de_TrustStoreSummaryList = (output, context) => {
|
|
3802
|
-
const retVal = (output || [])
|
|
3803
|
-
.filter((e) => e != null)
|
|
3804
|
-
.map((entry) => {
|
|
3805
|
-
if (entry === null) {
|
|
3806
|
-
return null;
|
|
3807
|
-
}
|
|
3808
|
-
return de_TrustStoreSummary(entry, context);
|
|
3809
|
-
});
|
|
3810
|
-
return retVal;
|
|
3811
|
-
};
|
|
3812
|
-
const de_UserAccessLoggingSettings = (output, context) => {
|
|
3813
|
-
return {
|
|
3814
|
-
associatedPortalArns: output.associatedPortalArns != null ? de_ArnList(output.associatedPortalArns, context) : undefined,
|
|
3815
|
-
kinesisStreamArn: __expectString(output.kinesisStreamArn),
|
|
3816
|
-
userAccessLoggingSettingsArn: __expectString(output.userAccessLoggingSettingsArn),
|
|
3817
|
-
};
|
|
3818
|
-
};
|
|
3819
|
-
const de_UserAccessLoggingSettingsList = (output, context) => {
|
|
3820
|
-
const retVal = (output || [])
|
|
3821
|
-
.filter((e) => e != null)
|
|
3822
|
-
.map((entry) => {
|
|
3823
|
-
if (entry === null) {
|
|
3824
|
-
return null;
|
|
3825
|
-
}
|
|
3826
|
-
return de_UserAccessLoggingSettingsSummary(entry, context);
|
|
3827
|
-
});
|
|
3828
|
-
return retVal;
|
|
3829
|
-
};
|
|
3830
|
-
const de_UserAccessLoggingSettingsSummary = (output, context) => {
|
|
3831
|
-
return {
|
|
3832
|
-
kinesisStreamArn: __expectString(output.kinesisStreamArn),
|
|
3833
|
-
userAccessLoggingSettingsArn: __expectString(output.userAccessLoggingSettingsArn),
|
|
3834
|
-
};
|
|
3835
|
-
};
|
|
3836
|
-
const de_UserSettings = (output, context) => {
|
|
3837
|
-
return {
|
|
3838
|
-
associatedPortalArns: output.associatedPortalArns != null ? de_ArnList(output.associatedPortalArns, context) : undefined,
|
|
3839
|
-
copyAllowed: __expectString(output.copyAllowed),
|
|
3840
|
-
disconnectTimeoutInMinutes: __expectInt32(output.disconnectTimeoutInMinutes),
|
|
3841
|
-
downloadAllowed: __expectString(output.downloadAllowed),
|
|
3842
|
-
idleDisconnectTimeoutInMinutes: __expectInt32(output.idleDisconnectTimeoutInMinutes),
|
|
3843
|
-
pasteAllowed: __expectString(output.pasteAllowed),
|
|
3844
|
-
printAllowed: __expectString(output.printAllowed),
|
|
3845
|
-
uploadAllowed: __expectString(output.uploadAllowed),
|
|
3846
|
-
userSettingsArn: __expectString(output.userSettingsArn),
|
|
3847
|
-
};
|
|
3848
|
-
};
|
|
3849
|
-
const de_UserSettingsList = (output, context) => {
|
|
3850
|
-
const retVal = (output || [])
|
|
3851
|
-
.filter((e) => e != null)
|
|
3852
|
-
.map((entry) => {
|
|
3853
|
-
if (entry === null) {
|
|
3854
|
-
return null;
|
|
3855
|
-
}
|
|
3856
|
-
return de_UserSettingsSummary(entry, context);
|
|
3484
|
+
return take(output, {
|
|
3485
|
+
authenticationType: __expectString,
|
|
3486
|
+
browserSettingsArn: __expectString,
|
|
3487
|
+
browserType: __expectString,
|
|
3488
|
+
creationDate: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
3489
|
+
displayName: __expectString,
|
|
3490
|
+
networkSettingsArn: __expectString,
|
|
3491
|
+
portalArn: __expectString,
|
|
3492
|
+
portalEndpoint: __expectString,
|
|
3493
|
+
portalStatus: __expectString,
|
|
3494
|
+
rendererType: __expectString,
|
|
3495
|
+
trustStoreArn: __expectString,
|
|
3496
|
+
userAccessLoggingSettingsArn: __expectString,
|
|
3497
|
+
userSettingsArn: __expectString,
|
|
3857
3498
|
});
|
|
3858
|
-
return retVal;
|
|
3859
|
-
};
|
|
3860
|
-
const de_UserSettingsSummary = (output, context) => {
|
|
3861
|
-
return {
|
|
3862
|
-
copyAllowed: __expectString(output.copyAllowed),
|
|
3863
|
-
disconnectTimeoutInMinutes: __expectInt32(output.disconnectTimeoutInMinutes),
|
|
3864
|
-
downloadAllowed: __expectString(output.downloadAllowed),
|
|
3865
|
-
idleDisconnectTimeoutInMinutes: __expectInt32(output.idleDisconnectTimeoutInMinutes),
|
|
3866
|
-
pasteAllowed: __expectString(output.pasteAllowed),
|
|
3867
|
-
printAllowed: __expectString(output.printAllowed),
|
|
3868
|
-
uploadAllowed: __expectString(output.uploadAllowed),
|
|
3869
|
-
userSettingsArn: __expectString(output.userSettingsArn),
|
|
3870
|
-
};
|
|
3871
|
-
};
|
|
3872
|
-
const de_ValidationExceptionField = (output, context) => {
|
|
3873
|
-
return {
|
|
3874
|
-
message: __expectString(output.message),
|
|
3875
|
-
name: __expectString(output.name),
|
|
3876
|
-
};
|
|
3877
|
-
};
|
|
3878
|
-
const de_ValidationExceptionFieldList = (output, context) => {
|
|
3879
|
-
const retVal = (output || [])
|
|
3880
|
-
.filter((e) => e != null)
|
|
3881
|
-
.map((entry) => {
|
|
3882
|
-
if (entry === null) {
|
|
3883
|
-
return null;
|
|
3884
|
-
}
|
|
3885
|
-
return de_ValidationExceptionField(entry, context);
|
|
3886
|
-
});
|
|
3887
|
-
return retVal;
|
|
3888
3499
|
};
|
|
3889
3500
|
const deserializeMetadata = (output) => ({
|
|
3890
3501
|
httpStatusCode: output.statusCode,
|