@aws-sdk/client-appstream 3.118.1 → 3.127.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/CHANGELOG.md +30 -0
- package/dist-cjs/models/models_0.js +16 -4
- package/dist-cjs/protocols/Aws_json1_1.js +722 -834
- package/dist-es/models/models_0.js +10 -0
- package/dist-es/protocols/Aws_json1_1.js +553 -669
- package/dist-types/AppStream.d.ts +1 -1
- package/dist-types/commands/UpdateFleetCommand.d.ts +1 -1
- package/dist-types/models/models_0.d.ts +32 -0
- package/dist-types/ts3.4/models/models_0.d.ts +20 -0
- package/package.json +27 -27
|
@@ -737,7 +737,7 @@ export var deserializeAws_json1_1AssociateApplicationFleetCommand = function (ou
|
|
|
737
737
|
});
|
|
738
738
|
}); };
|
|
739
739
|
var deserializeAws_json1_1AssociateApplicationFleetCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
740
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
740
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
741
741
|
var _c;
|
|
742
742
|
return __generator(this, function (_d) {
|
|
743
743
|
switch (_d.label) {
|
|
@@ -747,7 +747,6 @@ var deserializeAws_json1_1AssociateApplicationFleetCommandError = function (outp
|
|
|
747
747
|
return [4, parseBody(output.body, context)];
|
|
748
748
|
case 1:
|
|
749
749
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
750
|
-
errorCode = "UnknownError";
|
|
751
750
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
752
751
|
_b = errorCode;
|
|
753
752
|
switch (_b) {
|
|
@@ -775,10 +774,12 @@ var deserializeAws_json1_1AssociateApplicationFleetCommandError = function (outp
|
|
|
775
774
|
case 11: throw _d.sent();
|
|
776
775
|
case 12:
|
|
777
776
|
parsedBody = parsedOutput.body;
|
|
777
|
+
$metadata = deserializeMetadata(output);
|
|
778
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
778
779
|
response = new __BaseException({
|
|
779
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
780
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
780
781
|
$fault: "client",
|
|
781
|
-
$metadata:
|
|
782
|
+
$metadata: $metadata,
|
|
782
783
|
});
|
|
783
784
|
throw __decorateServiceException(response, parsedBody);
|
|
784
785
|
}
|
|
@@ -803,7 +804,7 @@ export var deserializeAws_json1_1AssociateApplicationToEntitlementCommand = func
|
|
|
803
804
|
});
|
|
804
805
|
}); };
|
|
805
806
|
var deserializeAws_json1_1AssociateApplicationToEntitlementCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
806
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
807
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
807
808
|
var _c;
|
|
808
809
|
return __generator(this, function (_d) {
|
|
809
810
|
switch (_d.label) {
|
|
@@ -813,7 +814,6 @@ var deserializeAws_json1_1AssociateApplicationToEntitlementCommandError = functi
|
|
|
813
814
|
return [4, parseBody(output.body, context)];
|
|
814
815
|
case 1:
|
|
815
816
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
816
|
-
errorCode = "UnknownError";
|
|
817
817
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
818
818
|
_b = errorCode;
|
|
819
819
|
switch (_b) {
|
|
@@ -837,10 +837,12 @@ var deserializeAws_json1_1AssociateApplicationToEntitlementCommandError = functi
|
|
|
837
837
|
case 9: throw _d.sent();
|
|
838
838
|
case 10:
|
|
839
839
|
parsedBody = parsedOutput.body;
|
|
840
|
+
$metadata = deserializeMetadata(output);
|
|
841
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
840
842
|
response = new __BaseException({
|
|
841
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
843
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
842
844
|
$fault: "client",
|
|
843
|
-
$metadata:
|
|
845
|
+
$metadata: $metadata,
|
|
844
846
|
});
|
|
845
847
|
throw __decorateServiceException(response, parsedBody);
|
|
846
848
|
}
|
|
@@ -865,7 +867,7 @@ export var deserializeAws_json1_1AssociateFleetCommand = function (output, conte
|
|
|
865
867
|
});
|
|
866
868
|
}); };
|
|
867
869
|
var deserializeAws_json1_1AssociateFleetCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
868
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
870
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
869
871
|
var _c;
|
|
870
872
|
return __generator(this, function (_d) {
|
|
871
873
|
switch (_d.label) {
|
|
@@ -875,7 +877,6 @@ var deserializeAws_json1_1AssociateFleetCommandError = function (output, context
|
|
|
875
877
|
return [4, parseBody(output.body, context)];
|
|
876
878
|
case 1:
|
|
877
879
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
878
|
-
errorCode = "UnknownError";
|
|
879
880
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
880
881
|
_b = errorCode;
|
|
881
882
|
switch (_b) {
|
|
@@ -907,10 +908,12 @@ var deserializeAws_json1_1AssociateFleetCommandError = function (output, context
|
|
|
907
908
|
case 13: throw _d.sent();
|
|
908
909
|
case 14:
|
|
909
910
|
parsedBody = parsedOutput.body;
|
|
911
|
+
$metadata = deserializeMetadata(output);
|
|
912
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
910
913
|
response = new __BaseException({
|
|
911
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
914
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
912
915
|
$fault: "client",
|
|
913
|
-
$metadata:
|
|
916
|
+
$metadata: $metadata,
|
|
914
917
|
});
|
|
915
918
|
throw __decorateServiceException(response, parsedBody);
|
|
916
919
|
}
|
|
@@ -935,7 +938,7 @@ export var deserializeAws_json1_1BatchAssociateUserStackCommand = function (outp
|
|
|
935
938
|
});
|
|
936
939
|
}); };
|
|
937
940
|
var deserializeAws_json1_1BatchAssociateUserStackCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
938
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
941
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
939
942
|
var _c;
|
|
940
943
|
return __generator(this, function (_d) {
|
|
941
944
|
switch (_d.label) {
|
|
@@ -945,7 +948,6 @@ var deserializeAws_json1_1BatchAssociateUserStackCommandError = function (output
|
|
|
945
948
|
return [4, parseBody(output.body, context)];
|
|
946
949
|
case 1:
|
|
947
950
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
948
|
-
errorCode = "UnknownError";
|
|
949
951
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
950
952
|
_b = errorCode;
|
|
951
953
|
switch (_b) {
|
|
@@ -961,10 +963,12 @@ var deserializeAws_json1_1BatchAssociateUserStackCommandError = function (output
|
|
|
961
963
|
case 5: throw _d.sent();
|
|
962
964
|
case 6:
|
|
963
965
|
parsedBody = parsedOutput.body;
|
|
966
|
+
$metadata = deserializeMetadata(output);
|
|
967
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
964
968
|
response = new __BaseException({
|
|
965
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
969
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
966
970
|
$fault: "client",
|
|
967
|
-
$metadata:
|
|
971
|
+
$metadata: $metadata,
|
|
968
972
|
});
|
|
969
973
|
throw __decorateServiceException(response, parsedBody);
|
|
970
974
|
}
|
|
@@ -989,7 +993,7 @@ export var deserializeAws_json1_1BatchDisassociateUserStackCommand = function (o
|
|
|
989
993
|
});
|
|
990
994
|
}); };
|
|
991
995
|
var deserializeAws_json1_1BatchDisassociateUserStackCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
992
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
996
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
993
997
|
var _c;
|
|
994
998
|
return __generator(this, function (_d) {
|
|
995
999
|
switch (_d.label) {
|
|
@@ -999,7 +1003,6 @@ var deserializeAws_json1_1BatchDisassociateUserStackCommandError = function (out
|
|
|
999
1003
|
return [4, parseBody(output.body, context)];
|
|
1000
1004
|
case 1:
|
|
1001
1005
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
1002
|
-
errorCode = "UnknownError";
|
|
1003
1006
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1004
1007
|
_b = errorCode;
|
|
1005
1008
|
switch (_b) {
|
|
@@ -1015,10 +1018,12 @@ var deserializeAws_json1_1BatchDisassociateUserStackCommandError = function (out
|
|
|
1015
1018
|
case 5: throw _d.sent();
|
|
1016
1019
|
case 6:
|
|
1017
1020
|
parsedBody = parsedOutput.body;
|
|
1021
|
+
$metadata = deserializeMetadata(output);
|
|
1022
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
1018
1023
|
response = new __BaseException({
|
|
1019
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1024
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
1020
1025
|
$fault: "client",
|
|
1021
|
-
$metadata:
|
|
1026
|
+
$metadata: $metadata,
|
|
1022
1027
|
});
|
|
1023
1028
|
throw __decorateServiceException(response, parsedBody);
|
|
1024
1029
|
}
|
|
@@ -1043,7 +1048,7 @@ export var deserializeAws_json1_1CopyImageCommand = function (output, context) {
|
|
|
1043
1048
|
});
|
|
1044
1049
|
}); };
|
|
1045
1050
|
var deserializeAws_json1_1CopyImageCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1046
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
1051
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
1047
1052
|
var _c;
|
|
1048
1053
|
return __generator(this, function (_d) {
|
|
1049
1054
|
switch (_d.label) {
|
|
@@ -1053,7 +1058,6 @@ var deserializeAws_json1_1CopyImageCommandError = function (output, context) { r
|
|
|
1053
1058
|
return [4, parseBody(output.body, context)];
|
|
1054
1059
|
case 1:
|
|
1055
1060
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
1056
|
-
errorCode = "UnknownError";
|
|
1057
1061
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1058
1062
|
_b = errorCode;
|
|
1059
1063
|
switch (_b) {
|
|
@@ -1085,10 +1089,12 @@ var deserializeAws_json1_1CopyImageCommandError = function (output, context) { r
|
|
|
1085
1089
|
case 13: throw _d.sent();
|
|
1086
1090
|
case 14:
|
|
1087
1091
|
parsedBody = parsedOutput.body;
|
|
1092
|
+
$metadata = deserializeMetadata(output);
|
|
1093
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
1088
1094
|
response = new __BaseException({
|
|
1089
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1095
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
1090
1096
|
$fault: "client",
|
|
1091
|
-
$metadata:
|
|
1097
|
+
$metadata: $metadata,
|
|
1092
1098
|
});
|
|
1093
1099
|
throw __decorateServiceException(response, parsedBody);
|
|
1094
1100
|
}
|
|
@@ -1113,7 +1119,7 @@ export var deserializeAws_json1_1CreateAppBlockCommand = function (output, conte
|
|
|
1113
1119
|
});
|
|
1114
1120
|
}); };
|
|
1115
1121
|
var deserializeAws_json1_1CreateAppBlockCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1116
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
1122
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
1117
1123
|
var _c;
|
|
1118
1124
|
return __generator(this, function (_d) {
|
|
1119
1125
|
switch (_d.label) {
|
|
@@ -1123,7 +1129,6 @@ var deserializeAws_json1_1CreateAppBlockCommandError = function (output, context
|
|
|
1123
1129
|
return [4, parseBody(output.body, context)];
|
|
1124
1130
|
case 1:
|
|
1125
1131
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
1126
|
-
errorCode = "UnknownError";
|
|
1127
1132
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1128
1133
|
_b = errorCode;
|
|
1129
1134
|
switch (_b) {
|
|
@@ -1147,10 +1152,12 @@ var deserializeAws_json1_1CreateAppBlockCommandError = function (output, context
|
|
|
1147
1152
|
case 9: throw _d.sent();
|
|
1148
1153
|
case 10:
|
|
1149
1154
|
parsedBody = parsedOutput.body;
|
|
1155
|
+
$metadata = deserializeMetadata(output);
|
|
1156
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
1150
1157
|
response = new __BaseException({
|
|
1151
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1158
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
1152
1159
|
$fault: "client",
|
|
1153
|
-
$metadata:
|
|
1160
|
+
$metadata: $metadata,
|
|
1154
1161
|
});
|
|
1155
1162
|
throw __decorateServiceException(response, parsedBody);
|
|
1156
1163
|
}
|
|
@@ -1175,7 +1182,7 @@ export var deserializeAws_json1_1CreateApplicationCommand = function (output, co
|
|
|
1175
1182
|
});
|
|
1176
1183
|
}); };
|
|
1177
1184
|
var deserializeAws_json1_1CreateApplicationCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1178
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
1185
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
1179
1186
|
var _c;
|
|
1180
1187
|
return __generator(this, function (_d) {
|
|
1181
1188
|
switch (_d.label) {
|
|
@@ -1185,7 +1192,6 @@ var deserializeAws_json1_1CreateApplicationCommandError = function (output, cont
|
|
|
1185
1192
|
return [4, parseBody(output.body, context)];
|
|
1186
1193
|
case 1:
|
|
1187
1194
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
1188
|
-
errorCode = "UnknownError";
|
|
1189
1195
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1190
1196
|
_b = errorCode;
|
|
1191
1197
|
switch (_b) {
|
|
@@ -1213,10 +1219,12 @@ var deserializeAws_json1_1CreateApplicationCommandError = function (output, cont
|
|
|
1213
1219
|
case 11: throw _d.sent();
|
|
1214
1220
|
case 12:
|
|
1215
1221
|
parsedBody = parsedOutput.body;
|
|
1222
|
+
$metadata = deserializeMetadata(output);
|
|
1223
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
1216
1224
|
response = new __BaseException({
|
|
1217
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1225
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
1218
1226
|
$fault: "client",
|
|
1219
|
-
$metadata:
|
|
1227
|
+
$metadata: $metadata,
|
|
1220
1228
|
});
|
|
1221
1229
|
throw __decorateServiceException(response, parsedBody);
|
|
1222
1230
|
}
|
|
@@ -1241,7 +1249,7 @@ export var deserializeAws_json1_1CreateDirectoryConfigCommand = function (output
|
|
|
1241
1249
|
});
|
|
1242
1250
|
}); };
|
|
1243
1251
|
var deserializeAws_json1_1CreateDirectoryConfigCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1244
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
1252
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
1245
1253
|
var _c;
|
|
1246
1254
|
return __generator(this, function (_d) {
|
|
1247
1255
|
switch (_d.label) {
|
|
@@ -1251,7 +1259,6 @@ var deserializeAws_json1_1CreateDirectoryConfigCommandError = function (output,
|
|
|
1251
1259
|
return [4, parseBody(output.body, context)];
|
|
1252
1260
|
case 1:
|
|
1253
1261
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
1254
|
-
errorCode = "UnknownError";
|
|
1255
1262
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1256
1263
|
_b = errorCode;
|
|
1257
1264
|
switch (_b) {
|
|
@@ -1283,10 +1290,12 @@ var deserializeAws_json1_1CreateDirectoryConfigCommandError = function (output,
|
|
|
1283
1290
|
case 13: throw _d.sent();
|
|
1284
1291
|
case 14:
|
|
1285
1292
|
parsedBody = parsedOutput.body;
|
|
1293
|
+
$metadata = deserializeMetadata(output);
|
|
1294
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
1286
1295
|
response = new __BaseException({
|
|
1287
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1296
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
1288
1297
|
$fault: "client",
|
|
1289
|
-
$metadata:
|
|
1298
|
+
$metadata: $metadata,
|
|
1290
1299
|
});
|
|
1291
1300
|
throw __decorateServiceException(response, parsedBody);
|
|
1292
1301
|
}
|
|
@@ -1311,7 +1320,7 @@ export var deserializeAws_json1_1CreateEntitlementCommand = function (output, co
|
|
|
1311
1320
|
});
|
|
1312
1321
|
}); };
|
|
1313
1322
|
var deserializeAws_json1_1CreateEntitlementCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1314
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
1323
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
1315
1324
|
var _c;
|
|
1316
1325
|
return __generator(this, function (_d) {
|
|
1317
1326
|
switch (_d.label) {
|
|
@@ -1321,7 +1330,6 @@ var deserializeAws_json1_1CreateEntitlementCommandError = function (output, cont
|
|
|
1321
1330
|
return [4, parseBody(output.body, context)];
|
|
1322
1331
|
case 1:
|
|
1323
1332
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
1324
|
-
errorCode = "UnknownError";
|
|
1325
1333
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1326
1334
|
_b = errorCode;
|
|
1327
1335
|
switch (_b) {
|
|
@@ -1345,10 +1353,12 @@ var deserializeAws_json1_1CreateEntitlementCommandError = function (output, cont
|
|
|
1345
1353
|
case 9: throw _d.sent();
|
|
1346
1354
|
case 10:
|
|
1347
1355
|
parsedBody = parsedOutput.body;
|
|
1356
|
+
$metadata = deserializeMetadata(output);
|
|
1357
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
1348
1358
|
response = new __BaseException({
|
|
1349
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1359
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
1350
1360
|
$fault: "client",
|
|
1351
|
-
$metadata:
|
|
1361
|
+
$metadata: $metadata,
|
|
1352
1362
|
});
|
|
1353
1363
|
throw __decorateServiceException(response, parsedBody);
|
|
1354
1364
|
}
|
|
@@ -1373,7 +1383,7 @@ export var deserializeAws_json1_1CreateFleetCommand = function (output, context)
|
|
|
1373
1383
|
});
|
|
1374
1384
|
}); };
|
|
1375
1385
|
var deserializeAws_json1_1CreateFleetCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1376
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
1386
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
1377
1387
|
var _c;
|
|
1378
1388
|
return __generator(this, function (_d) {
|
|
1379
1389
|
switch (_d.label) {
|
|
@@ -1383,7 +1393,6 @@ var deserializeAws_json1_1CreateFleetCommandError = function (output, context) {
|
|
|
1383
1393
|
return [4, parseBody(output.body, context)];
|
|
1384
1394
|
case 1:
|
|
1385
1395
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
1386
|
-
errorCode = "UnknownError";
|
|
1387
1396
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1388
1397
|
_b = errorCode;
|
|
1389
1398
|
switch (_b) {
|
|
@@ -1435,10 +1444,12 @@ var deserializeAws_json1_1CreateFleetCommandError = function (output, context) {
|
|
|
1435
1444
|
case 23: throw _d.sent();
|
|
1436
1445
|
case 24:
|
|
1437
1446
|
parsedBody = parsedOutput.body;
|
|
1447
|
+
$metadata = deserializeMetadata(output);
|
|
1448
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
1438
1449
|
response = new __BaseException({
|
|
1439
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1450
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
1440
1451
|
$fault: "client",
|
|
1441
|
-
$metadata:
|
|
1452
|
+
$metadata: $metadata,
|
|
1442
1453
|
});
|
|
1443
1454
|
throw __decorateServiceException(response, parsedBody);
|
|
1444
1455
|
}
|
|
@@ -1463,7 +1474,7 @@ export var deserializeAws_json1_1CreateImageBuilderCommand = function (output, c
|
|
|
1463
1474
|
});
|
|
1464
1475
|
}); };
|
|
1465
1476
|
var deserializeAws_json1_1CreateImageBuilderCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1466
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
1477
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
1467
1478
|
var _c;
|
|
1468
1479
|
return __generator(this, function (_d) {
|
|
1469
1480
|
switch (_d.label) {
|
|
@@ -1473,7 +1484,6 @@ var deserializeAws_json1_1CreateImageBuilderCommandError = function (output, con
|
|
|
1473
1484
|
return [4, parseBody(output.body, context)];
|
|
1474
1485
|
case 1:
|
|
1475
1486
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
1476
|
-
errorCode = "UnknownError";
|
|
1477
1487
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1478
1488
|
_b = errorCode;
|
|
1479
1489
|
switch (_b) {
|
|
@@ -1525,10 +1535,12 @@ var deserializeAws_json1_1CreateImageBuilderCommandError = function (output, con
|
|
|
1525
1535
|
case 23: throw _d.sent();
|
|
1526
1536
|
case 24:
|
|
1527
1537
|
parsedBody = parsedOutput.body;
|
|
1538
|
+
$metadata = deserializeMetadata(output);
|
|
1539
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
1528
1540
|
response = new __BaseException({
|
|
1529
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1541
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
1530
1542
|
$fault: "client",
|
|
1531
|
-
$metadata:
|
|
1543
|
+
$metadata: $metadata,
|
|
1532
1544
|
});
|
|
1533
1545
|
throw __decorateServiceException(response, parsedBody);
|
|
1534
1546
|
}
|
|
@@ -1553,7 +1565,7 @@ export var deserializeAws_json1_1CreateImageBuilderStreamingURLCommand = functio
|
|
|
1553
1565
|
});
|
|
1554
1566
|
}); };
|
|
1555
1567
|
var deserializeAws_json1_1CreateImageBuilderStreamingURLCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1556
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
1568
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
1557
1569
|
var _c;
|
|
1558
1570
|
return __generator(this, function (_d) {
|
|
1559
1571
|
switch (_d.label) {
|
|
@@ -1563,7 +1575,6 @@ var deserializeAws_json1_1CreateImageBuilderStreamingURLCommandError = function
|
|
|
1563
1575
|
return [4, parseBody(output.body, context)];
|
|
1564
1576
|
case 1:
|
|
1565
1577
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
1566
|
-
errorCode = "UnknownError";
|
|
1567
1578
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1568
1579
|
_b = errorCode;
|
|
1569
1580
|
switch (_b) {
|
|
@@ -1579,10 +1590,12 @@ var deserializeAws_json1_1CreateImageBuilderStreamingURLCommandError = function
|
|
|
1579
1590
|
case 5: throw _d.sent();
|
|
1580
1591
|
case 6:
|
|
1581
1592
|
parsedBody = parsedOutput.body;
|
|
1593
|
+
$metadata = deserializeMetadata(output);
|
|
1594
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
1582
1595
|
response = new __BaseException({
|
|
1583
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1596
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
1584
1597
|
$fault: "client",
|
|
1585
|
-
$metadata:
|
|
1598
|
+
$metadata: $metadata,
|
|
1586
1599
|
});
|
|
1587
1600
|
throw __decorateServiceException(response, parsedBody);
|
|
1588
1601
|
}
|
|
@@ -1607,7 +1620,7 @@ export var deserializeAws_json1_1CreateStackCommand = function (output, context)
|
|
|
1607
1620
|
});
|
|
1608
1621
|
}); };
|
|
1609
1622
|
var deserializeAws_json1_1CreateStackCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1610
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
1623
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
1611
1624
|
var _c;
|
|
1612
1625
|
return __generator(this, function (_d) {
|
|
1613
1626
|
switch (_d.label) {
|
|
@@ -1617,7 +1630,6 @@ var deserializeAws_json1_1CreateStackCommandError = function (output, context) {
|
|
|
1617
1630
|
return [4, parseBody(output.body, context)];
|
|
1618
1631
|
case 1:
|
|
1619
1632
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
1620
|
-
errorCode = "UnknownError";
|
|
1621
1633
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1622
1634
|
_b = errorCode;
|
|
1623
1635
|
switch (_b) {
|
|
@@ -1653,10 +1665,12 @@ var deserializeAws_json1_1CreateStackCommandError = function (output, context) {
|
|
|
1653
1665
|
case 15: throw _d.sent();
|
|
1654
1666
|
case 16:
|
|
1655
1667
|
parsedBody = parsedOutput.body;
|
|
1668
|
+
$metadata = deserializeMetadata(output);
|
|
1669
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
1656
1670
|
response = new __BaseException({
|
|
1657
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1671
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
1658
1672
|
$fault: "client",
|
|
1659
|
-
$metadata:
|
|
1673
|
+
$metadata: $metadata,
|
|
1660
1674
|
});
|
|
1661
1675
|
throw __decorateServiceException(response, parsedBody);
|
|
1662
1676
|
}
|
|
@@ -1681,7 +1695,7 @@ export var deserializeAws_json1_1CreateStreamingURLCommand = function (output, c
|
|
|
1681
1695
|
});
|
|
1682
1696
|
}); };
|
|
1683
1697
|
var deserializeAws_json1_1CreateStreamingURLCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1684
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
1698
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
1685
1699
|
var _c;
|
|
1686
1700
|
return __generator(this, function (_d) {
|
|
1687
1701
|
switch (_d.label) {
|
|
@@ -1691,7 +1705,6 @@ var deserializeAws_json1_1CreateStreamingURLCommandError = function (output, con
|
|
|
1691
1705
|
return [4, parseBody(output.body, context)];
|
|
1692
1706
|
case 1:
|
|
1693
1707
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
1694
|
-
errorCode = "UnknownError";
|
|
1695
1708
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1696
1709
|
_b = errorCode;
|
|
1697
1710
|
switch (_b) {
|
|
@@ -1715,10 +1728,12 @@ var deserializeAws_json1_1CreateStreamingURLCommandError = function (output, con
|
|
|
1715
1728
|
case 9: throw _d.sent();
|
|
1716
1729
|
case 10:
|
|
1717
1730
|
parsedBody = parsedOutput.body;
|
|
1731
|
+
$metadata = deserializeMetadata(output);
|
|
1732
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
1718
1733
|
response = new __BaseException({
|
|
1719
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1734
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
1720
1735
|
$fault: "client",
|
|
1721
|
-
$metadata:
|
|
1736
|
+
$metadata: $metadata,
|
|
1722
1737
|
});
|
|
1723
1738
|
throw __decorateServiceException(response, parsedBody);
|
|
1724
1739
|
}
|
|
@@ -1743,7 +1758,7 @@ export var deserializeAws_json1_1CreateUpdatedImageCommand = function (output, c
|
|
|
1743
1758
|
});
|
|
1744
1759
|
}); };
|
|
1745
1760
|
var deserializeAws_json1_1CreateUpdatedImageCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1746
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
1761
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
1747
1762
|
var _c;
|
|
1748
1763
|
return __generator(this, function (_d) {
|
|
1749
1764
|
switch (_d.label) {
|
|
@@ -1753,7 +1768,6 @@ var deserializeAws_json1_1CreateUpdatedImageCommandError = function (output, con
|
|
|
1753
1768
|
return [4, parseBody(output.body, context)];
|
|
1754
1769
|
case 1:
|
|
1755
1770
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
1756
|
-
errorCode = "UnknownError";
|
|
1757
1771
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1758
1772
|
_b = errorCode;
|
|
1759
1773
|
switch (_b) {
|
|
@@ -1789,10 +1803,12 @@ var deserializeAws_json1_1CreateUpdatedImageCommandError = function (output, con
|
|
|
1789
1803
|
case 15: throw _d.sent();
|
|
1790
1804
|
case 16:
|
|
1791
1805
|
parsedBody = parsedOutput.body;
|
|
1806
|
+
$metadata = deserializeMetadata(output);
|
|
1807
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
1792
1808
|
response = new __BaseException({
|
|
1793
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1809
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
1794
1810
|
$fault: "client",
|
|
1795
|
-
$metadata:
|
|
1811
|
+
$metadata: $metadata,
|
|
1796
1812
|
});
|
|
1797
1813
|
throw __decorateServiceException(response, parsedBody);
|
|
1798
1814
|
}
|
|
@@ -1817,7 +1833,7 @@ export var deserializeAws_json1_1CreateUsageReportSubscriptionCommand = function
|
|
|
1817
1833
|
});
|
|
1818
1834
|
}); };
|
|
1819
1835
|
var deserializeAws_json1_1CreateUsageReportSubscriptionCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1820
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
1836
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
1821
1837
|
var _c;
|
|
1822
1838
|
return __generator(this, function (_d) {
|
|
1823
1839
|
switch (_d.label) {
|
|
@@ -1827,7 +1843,6 @@ var deserializeAws_json1_1CreateUsageReportSubscriptionCommandError = function (
|
|
|
1827
1843
|
return [4, parseBody(output.body, context)];
|
|
1828
1844
|
case 1:
|
|
1829
1845
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
1830
|
-
errorCode = "UnknownError";
|
|
1831
1846
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1832
1847
|
_b = errorCode;
|
|
1833
1848
|
switch (_b) {
|
|
@@ -1847,10 +1862,12 @@ var deserializeAws_json1_1CreateUsageReportSubscriptionCommandError = function (
|
|
|
1847
1862
|
case 7: throw _d.sent();
|
|
1848
1863
|
case 8:
|
|
1849
1864
|
parsedBody = parsedOutput.body;
|
|
1865
|
+
$metadata = deserializeMetadata(output);
|
|
1866
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
1850
1867
|
response = new __BaseException({
|
|
1851
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1868
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
1852
1869
|
$fault: "client",
|
|
1853
|
-
$metadata:
|
|
1870
|
+
$metadata: $metadata,
|
|
1854
1871
|
});
|
|
1855
1872
|
throw __decorateServiceException(response, parsedBody);
|
|
1856
1873
|
}
|
|
@@ -1875,7 +1892,7 @@ export var deserializeAws_json1_1CreateUserCommand = function (output, context)
|
|
|
1875
1892
|
});
|
|
1876
1893
|
}); };
|
|
1877
1894
|
var deserializeAws_json1_1CreateUserCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1878
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
1895
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
1879
1896
|
var _c;
|
|
1880
1897
|
return __generator(this, function (_d) {
|
|
1881
1898
|
switch (_d.label) {
|
|
@@ -1885,7 +1902,6 @@ var deserializeAws_json1_1CreateUserCommandError = function (output, context) {
|
|
|
1885
1902
|
return [4, parseBody(output.body, context)];
|
|
1886
1903
|
case 1:
|
|
1887
1904
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
1888
|
-
errorCode = "UnknownError";
|
|
1889
1905
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1890
1906
|
_b = errorCode;
|
|
1891
1907
|
switch (_b) {
|
|
@@ -1913,10 +1929,12 @@ var deserializeAws_json1_1CreateUserCommandError = function (output, context) {
|
|
|
1913
1929
|
case 11: throw _d.sent();
|
|
1914
1930
|
case 12:
|
|
1915
1931
|
parsedBody = parsedOutput.body;
|
|
1932
|
+
$metadata = deserializeMetadata(output);
|
|
1933
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
1916
1934
|
response = new __BaseException({
|
|
1917
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1935
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
1918
1936
|
$fault: "client",
|
|
1919
|
-
$metadata:
|
|
1937
|
+
$metadata: $metadata,
|
|
1920
1938
|
});
|
|
1921
1939
|
throw __decorateServiceException(response, parsedBody);
|
|
1922
1940
|
}
|
|
@@ -1941,7 +1959,7 @@ export var deserializeAws_json1_1DeleteAppBlockCommand = function (output, conte
|
|
|
1941
1959
|
});
|
|
1942
1960
|
}); };
|
|
1943
1961
|
var deserializeAws_json1_1DeleteAppBlockCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1944
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
1962
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
1945
1963
|
var _c;
|
|
1946
1964
|
return __generator(this, function (_d) {
|
|
1947
1965
|
switch (_d.label) {
|
|
@@ -1951,7 +1969,6 @@ var deserializeAws_json1_1DeleteAppBlockCommandError = function (output, context
|
|
|
1951
1969
|
return [4, parseBody(output.body, context)];
|
|
1952
1970
|
case 1:
|
|
1953
1971
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
1954
|
-
errorCode = "UnknownError";
|
|
1955
1972
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1956
1973
|
_b = errorCode;
|
|
1957
1974
|
switch (_b) {
|
|
@@ -1971,10 +1988,12 @@ var deserializeAws_json1_1DeleteAppBlockCommandError = function (output, context
|
|
|
1971
1988
|
case 7: throw _d.sent();
|
|
1972
1989
|
case 8:
|
|
1973
1990
|
parsedBody = parsedOutput.body;
|
|
1991
|
+
$metadata = deserializeMetadata(output);
|
|
1992
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
1974
1993
|
response = new __BaseException({
|
|
1975
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1994
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
1976
1995
|
$fault: "client",
|
|
1977
|
-
$metadata:
|
|
1996
|
+
$metadata: $metadata,
|
|
1978
1997
|
});
|
|
1979
1998
|
throw __decorateServiceException(response, parsedBody);
|
|
1980
1999
|
}
|
|
@@ -1999,7 +2018,7 @@ export var deserializeAws_json1_1DeleteApplicationCommand = function (output, co
|
|
|
1999
2018
|
});
|
|
2000
2019
|
}); };
|
|
2001
2020
|
var deserializeAws_json1_1DeleteApplicationCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
2002
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
2021
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
2003
2022
|
var _c;
|
|
2004
2023
|
return __generator(this, function (_d) {
|
|
2005
2024
|
switch (_d.label) {
|
|
@@ -2009,7 +2028,6 @@ var deserializeAws_json1_1DeleteApplicationCommandError = function (output, cont
|
|
|
2009
2028
|
return [4, parseBody(output.body, context)];
|
|
2010
2029
|
case 1:
|
|
2011
2030
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
2012
|
-
errorCode = "UnknownError";
|
|
2013
2031
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2014
2032
|
_b = errorCode;
|
|
2015
2033
|
switch (_b) {
|
|
@@ -2033,10 +2051,12 @@ var deserializeAws_json1_1DeleteApplicationCommandError = function (output, cont
|
|
|
2033
2051
|
case 9: throw _d.sent();
|
|
2034
2052
|
case 10:
|
|
2035
2053
|
parsedBody = parsedOutput.body;
|
|
2054
|
+
$metadata = deserializeMetadata(output);
|
|
2055
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
2036
2056
|
response = new __BaseException({
|
|
2037
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
2057
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
2038
2058
|
$fault: "client",
|
|
2039
|
-
$metadata:
|
|
2059
|
+
$metadata: $metadata,
|
|
2040
2060
|
});
|
|
2041
2061
|
throw __decorateServiceException(response, parsedBody);
|
|
2042
2062
|
}
|
|
@@ -2061,7 +2081,7 @@ export var deserializeAws_json1_1DeleteDirectoryConfigCommand = function (output
|
|
|
2061
2081
|
});
|
|
2062
2082
|
}); };
|
|
2063
2083
|
var deserializeAws_json1_1DeleteDirectoryConfigCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
2064
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
2084
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
2065
2085
|
var _c;
|
|
2066
2086
|
return __generator(this, function (_d) {
|
|
2067
2087
|
switch (_d.label) {
|
|
@@ -2071,7 +2091,6 @@ var deserializeAws_json1_1DeleteDirectoryConfigCommandError = function (output,
|
|
|
2071
2091
|
return [4, parseBody(output.body, context)];
|
|
2072
2092
|
case 1:
|
|
2073
2093
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
2074
|
-
errorCode = "UnknownError";
|
|
2075
2094
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2076
2095
|
_b = errorCode;
|
|
2077
2096
|
switch (_b) {
|
|
@@ -2087,10 +2106,12 @@ var deserializeAws_json1_1DeleteDirectoryConfigCommandError = function (output,
|
|
|
2087
2106
|
case 5: throw _d.sent();
|
|
2088
2107
|
case 6:
|
|
2089
2108
|
parsedBody = parsedOutput.body;
|
|
2109
|
+
$metadata = deserializeMetadata(output);
|
|
2110
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
2090
2111
|
response = new __BaseException({
|
|
2091
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
2112
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
2092
2113
|
$fault: "client",
|
|
2093
|
-
$metadata:
|
|
2114
|
+
$metadata: $metadata,
|
|
2094
2115
|
});
|
|
2095
2116
|
throw __decorateServiceException(response, parsedBody);
|
|
2096
2117
|
}
|
|
@@ -2115,7 +2136,7 @@ export var deserializeAws_json1_1DeleteEntitlementCommand = function (output, co
|
|
|
2115
2136
|
});
|
|
2116
2137
|
}); };
|
|
2117
2138
|
var deserializeAws_json1_1DeleteEntitlementCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
2118
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
2139
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
2119
2140
|
var _c;
|
|
2120
2141
|
return __generator(this, function (_d) {
|
|
2121
2142
|
switch (_d.label) {
|
|
@@ -2125,7 +2146,6 @@ var deserializeAws_json1_1DeleteEntitlementCommandError = function (output, cont
|
|
|
2125
2146
|
return [4, parseBody(output.body, context)];
|
|
2126
2147
|
case 1:
|
|
2127
2148
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
2128
|
-
errorCode = "UnknownError";
|
|
2129
2149
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2130
2150
|
_b = errorCode;
|
|
2131
2151
|
switch (_b) {
|
|
@@ -2149,10 +2169,12 @@ var deserializeAws_json1_1DeleteEntitlementCommandError = function (output, cont
|
|
|
2149
2169
|
case 9: throw _d.sent();
|
|
2150
2170
|
case 10:
|
|
2151
2171
|
parsedBody = parsedOutput.body;
|
|
2172
|
+
$metadata = deserializeMetadata(output);
|
|
2173
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
2152
2174
|
response = new __BaseException({
|
|
2153
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
2175
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
2154
2176
|
$fault: "client",
|
|
2155
|
-
$metadata:
|
|
2177
|
+
$metadata: $metadata,
|
|
2156
2178
|
});
|
|
2157
2179
|
throw __decorateServiceException(response, parsedBody);
|
|
2158
2180
|
}
|
|
@@ -2177,7 +2199,7 @@ export var deserializeAws_json1_1DeleteFleetCommand = function (output, context)
|
|
|
2177
2199
|
});
|
|
2178
2200
|
}); };
|
|
2179
2201
|
var deserializeAws_json1_1DeleteFleetCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
2180
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
2202
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
2181
2203
|
var _c;
|
|
2182
2204
|
return __generator(this, function (_d) {
|
|
2183
2205
|
switch (_d.label) {
|
|
@@ -2187,7 +2209,6 @@ var deserializeAws_json1_1DeleteFleetCommandError = function (output, context) {
|
|
|
2187
2209
|
return [4, parseBody(output.body, context)];
|
|
2188
2210
|
case 1:
|
|
2189
2211
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
2190
|
-
errorCode = "UnknownError";
|
|
2191
2212
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2192
2213
|
_b = errorCode;
|
|
2193
2214
|
switch (_b) {
|
|
@@ -2207,10 +2228,12 @@ var deserializeAws_json1_1DeleteFleetCommandError = function (output, context) {
|
|
|
2207
2228
|
case 7: throw _d.sent();
|
|
2208
2229
|
case 8:
|
|
2209
2230
|
parsedBody = parsedOutput.body;
|
|
2231
|
+
$metadata = deserializeMetadata(output);
|
|
2232
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
2210
2233
|
response = new __BaseException({
|
|
2211
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
2234
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
2212
2235
|
$fault: "client",
|
|
2213
|
-
$metadata:
|
|
2236
|
+
$metadata: $metadata,
|
|
2214
2237
|
});
|
|
2215
2238
|
throw __decorateServiceException(response, parsedBody);
|
|
2216
2239
|
}
|
|
@@ -2235,7 +2258,7 @@ export var deserializeAws_json1_1DeleteImageCommand = function (output, context)
|
|
|
2235
2258
|
});
|
|
2236
2259
|
}); };
|
|
2237
2260
|
var deserializeAws_json1_1DeleteImageCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
2238
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
2261
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
2239
2262
|
var _c;
|
|
2240
2263
|
return __generator(this, function (_d) {
|
|
2241
2264
|
switch (_d.label) {
|
|
@@ -2245,7 +2268,6 @@ var deserializeAws_json1_1DeleteImageCommandError = function (output, context) {
|
|
|
2245
2268
|
return [4, parseBody(output.body, context)];
|
|
2246
2269
|
case 1:
|
|
2247
2270
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
2248
|
-
errorCode = "UnknownError";
|
|
2249
2271
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2250
2272
|
_b = errorCode;
|
|
2251
2273
|
switch (_b) {
|
|
@@ -2269,10 +2291,12 @@ var deserializeAws_json1_1DeleteImageCommandError = function (output, context) {
|
|
|
2269
2291
|
case 9: throw _d.sent();
|
|
2270
2292
|
case 10:
|
|
2271
2293
|
parsedBody = parsedOutput.body;
|
|
2294
|
+
$metadata = deserializeMetadata(output);
|
|
2295
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
2272
2296
|
response = new __BaseException({
|
|
2273
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
2297
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
2274
2298
|
$fault: "client",
|
|
2275
|
-
$metadata:
|
|
2299
|
+
$metadata: $metadata,
|
|
2276
2300
|
});
|
|
2277
2301
|
throw __decorateServiceException(response, parsedBody);
|
|
2278
2302
|
}
|
|
@@ -2297,7 +2321,7 @@ export var deserializeAws_json1_1DeleteImageBuilderCommand = function (output, c
|
|
|
2297
2321
|
});
|
|
2298
2322
|
}); };
|
|
2299
2323
|
var deserializeAws_json1_1DeleteImageBuilderCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
2300
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
2324
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
2301
2325
|
var _c;
|
|
2302
2326
|
return __generator(this, function (_d) {
|
|
2303
2327
|
switch (_d.label) {
|
|
@@ -2307,7 +2331,6 @@ var deserializeAws_json1_1DeleteImageBuilderCommandError = function (output, con
|
|
|
2307
2331
|
return [4, parseBody(output.body, context)];
|
|
2308
2332
|
case 1:
|
|
2309
2333
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
2310
|
-
errorCode = "UnknownError";
|
|
2311
2334
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2312
2335
|
_b = errorCode;
|
|
2313
2336
|
switch (_b) {
|
|
@@ -2327,10 +2350,12 @@ var deserializeAws_json1_1DeleteImageBuilderCommandError = function (output, con
|
|
|
2327
2350
|
case 7: throw _d.sent();
|
|
2328
2351
|
case 8:
|
|
2329
2352
|
parsedBody = parsedOutput.body;
|
|
2353
|
+
$metadata = deserializeMetadata(output);
|
|
2354
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
2330
2355
|
response = new __BaseException({
|
|
2331
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
2356
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
2332
2357
|
$fault: "client",
|
|
2333
|
-
$metadata:
|
|
2358
|
+
$metadata: $metadata,
|
|
2334
2359
|
});
|
|
2335
2360
|
throw __decorateServiceException(response, parsedBody);
|
|
2336
2361
|
}
|
|
@@ -2355,7 +2380,7 @@ export var deserializeAws_json1_1DeleteImagePermissionsCommand = function (outpu
|
|
|
2355
2380
|
});
|
|
2356
2381
|
}); };
|
|
2357
2382
|
var deserializeAws_json1_1DeleteImagePermissionsCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
2358
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
2383
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
2359
2384
|
var _c;
|
|
2360
2385
|
return __generator(this, function (_d) {
|
|
2361
2386
|
switch (_d.label) {
|
|
@@ -2365,7 +2390,6 @@ var deserializeAws_json1_1DeleteImagePermissionsCommandError = function (output,
|
|
|
2365
2390
|
return [4, parseBody(output.body, context)];
|
|
2366
2391
|
case 1:
|
|
2367
2392
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
2368
|
-
errorCode = "UnknownError";
|
|
2369
2393
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2370
2394
|
_b = errorCode;
|
|
2371
2395
|
switch (_b) {
|
|
@@ -2381,10 +2405,12 @@ var deserializeAws_json1_1DeleteImagePermissionsCommandError = function (output,
|
|
|
2381
2405
|
case 5: throw _d.sent();
|
|
2382
2406
|
case 6:
|
|
2383
2407
|
parsedBody = parsedOutput.body;
|
|
2408
|
+
$metadata = deserializeMetadata(output);
|
|
2409
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
2384
2410
|
response = new __BaseException({
|
|
2385
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
2411
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
2386
2412
|
$fault: "client",
|
|
2387
|
-
$metadata:
|
|
2413
|
+
$metadata: $metadata,
|
|
2388
2414
|
});
|
|
2389
2415
|
throw __decorateServiceException(response, parsedBody);
|
|
2390
2416
|
}
|
|
@@ -2409,7 +2435,7 @@ export var deserializeAws_json1_1DeleteStackCommand = function (output, context)
|
|
|
2409
2435
|
});
|
|
2410
2436
|
}); };
|
|
2411
2437
|
var deserializeAws_json1_1DeleteStackCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
2412
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
2438
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
2413
2439
|
var _c;
|
|
2414
2440
|
return __generator(this, function (_d) {
|
|
2415
2441
|
switch (_d.label) {
|
|
@@ -2419,7 +2445,6 @@ var deserializeAws_json1_1DeleteStackCommandError = function (output, context) {
|
|
|
2419
2445
|
return [4, parseBody(output.body, context)];
|
|
2420
2446
|
case 1:
|
|
2421
2447
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
2422
|
-
errorCode = "UnknownError";
|
|
2423
2448
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2424
2449
|
_b = errorCode;
|
|
2425
2450
|
switch (_b) {
|
|
@@ -2443,10 +2468,12 @@ var deserializeAws_json1_1DeleteStackCommandError = function (output, context) {
|
|
|
2443
2468
|
case 9: throw _d.sent();
|
|
2444
2469
|
case 10:
|
|
2445
2470
|
parsedBody = parsedOutput.body;
|
|
2471
|
+
$metadata = deserializeMetadata(output);
|
|
2472
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
2446
2473
|
response = new __BaseException({
|
|
2447
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
2474
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
2448
2475
|
$fault: "client",
|
|
2449
|
-
$metadata:
|
|
2476
|
+
$metadata: $metadata,
|
|
2450
2477
|
});
|
|
2451
2478
|
throw __decorateServiceException(response, parsedBody);
|
|
2452
2479
|
}
|
|
@@ -2471,7 +2498,7 @@ export var deserializeAws_json1_1DeleteUsageReportSubscriptionCommand = function
|
|
|
2471
2498
|
});
|
|
2472
2499
|
}); };
|
|
2473
2500
|
var deserializeAws_json1_1DeleteUsageReportSubscriptionCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
2474
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
2501
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
2475
2502
|
var _c;
|
|
2476
2503
|
return __generator(this, function (_d) {
|
|
2477
2504
|
switch (_d.label) {
|
|
@@ -2481,7 +2508,6 @@ var deserializeAws_json1_1DeleteUsageReportSubscriptionCommandError = function (
|
|
|
2481
2508
|
return [4, parseBody(output.body, context)];
|
|
2482
2509
|
case 1:
|
|
2483
2510
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
2484
|
-
errorCode = "UnknownError";
|
|
2485
2511
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2486
2512
|
_b = errorCode;
|
|
2487
2513
|
switch (_b) {
|
|
@@ -2497,10 +2523,12 @@ var deserializeAws_json1_1DeleteUsageReportSubscriptionCommandError = function (
|
|
|
2497
2523
|
case 5: throw _d.sent();
|
|
2498
2524
|
case 6:
|
|
2499
2525
|
parsedBody = parsedOutput.body;
|
|
2526
|
+
$metadata = deserializeMetadata(output);
|
|
2527
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
2500
2528
|
response = new __BaseException({
|
|
2501
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
2529
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
2502
2530
|
$fault: "client",
|
|
2503
|
-
$metadata:
|
|
2531
|
+
$metadata: $metadata,
|
|
2504
2532
|
});
|
|
2505
2533
|
throw __decorateServiceException(response, parsedBody);
|
|
2506
2534
|
}
|
|
@@ -2525,7 +2553,7 @@ export var deserializeAws_json1_1DeleteUserCommand = function (output, context)
|
|
|
2525
2553
|
});
|
|
2526
2554
|
}); };
|
|
2527
2555
|
var deserializeAws_json1_1DeleteUserCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
2528
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
2556
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
2529
2557
|
var _c;
|
|
2530
2558
|
return __generator(this, function (_d) {
|
|
2531
2559
|
switch (_d.label) {
|
|
@@ -2535,7 +2563,6 @@ var deserializeAws_json1_1DeleteUserCommandError = function (output, context) {
|
|
|
2535
2563
|
return [4, parseBody(output.body, context)];
|
|
2536
2564
|
case 1:
|
|
2537
2565
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
2538
|
-
errorCode = "UnknownError";
|
|
2539
2566
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2540
2567
|
_b = errorCode;
|
|
2541
2568
|
switch (_b) {
|
|
@@ -2547,10 +2574,12 @@ var deserializeAws_json1_1DeleteUserCommandError = function (output, context) {
|
|
|
2547
2574
|
case 3: throw _d.sent();
|
|
2548
2575
|
case 4:
|
|
2549
2576
|
parsedBody = parsedOutput.body;
|
|
2577
|
+
$metadata = deserializeMetadata(output);
|
|
2578
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
2550
2579
|
response = new __BaseException({
|
|
2551
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
2580
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
2552
2581
|
$fault: "client",
|
|
2553
|
-
$metadata:
|
|
2582
|
+
$metadata: $metadata,
|
|
2554
2583
|
});
|
|
2555
2584
|
throw __decorateServiceException(response, parsedBody);
|
|
2556
2585
|
}
|
|
@@ -2575,7 +2604,7 @@ export var deserializeAws_json1_1DescribeAppBlocksCommand = function (output, co
|
|
|
2575
2604
|
});
|
|
2576
2605
|
}); };
|
|
2577
2606
|
var deserializeAws_json1_1DescribeAppBlocksCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
2578
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
2607
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
2579
2608
|
var _c;
|
|
2580
2609
|
return __generator(this, function (_d) {
|
|
2581
2610
|
switch (_d.label) {
|
|
@@ -2585,7 +2614,6 @@ var deserializeAws_json1_1DescribeAppBlocksCommandError = function (output, cont
|
|
|
2585
2614
|
return [4, parseBody(output.body, context)];
|
|
2586
2615
|
case 1:
|
|
2587
2616
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
2588
|
-
errorCode = "UnknownError";
|
|
2589
2617
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2590
2618
|
_b = errorCode;
|
|
2591
2619
|
switch (_b) {
|
|
@@ -2601,10 +2629,12 @@ var deserializeAws_json1_1DescribeAppBlocksCommandError = function (output, cont
|
|
|
2601
2629
|
case 5: throw _d.sent();
|
|
2602
2630
|
case 6:
|
|
2603
2631
|
parsedBody = parsedOutput.body;
|
|
2632
|
+
$metadata = deserializeMetadata(output);
|
|
2633
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
2604
2634
|
response = new __BaseException({
|
|
2605
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
2635
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
2606
2636
|
$fault: "client",
|
|
2607
|
-
$metadata:
|
|
2637
|
+
$metadata: $metadata,
|
|
2608
2638
|
});
|
|
2609
2639
|
throw __decorateServiceException(response, parsedBody);
|
|
2610
2640
|
}
|
|
@@ -2629,7 +2659,7 @@ export var deserializeAws_json1_1DescribeApplicationFleetAssociationsCommand = f
|
|
|
2629
2659
|
});
|
|
2630
2660
|
}); };
|
|
2631
2661
|
var deserializeAws_json1_1DescribeApplicationFleetAssociationsCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
2632
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
2662
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
2633
2663
|
var _c;
|
|
2634
2664
|
return __generator(this, function (_d) {
|
|
2635
2665
|
switch (_d.label) {
|
|
@@ -2639,7 +2669,6 @@ var deserializeAws_json1_1DescribeApplicationFleetAssociationsCommandError = fun
|
|
|
2639
2669
|
return [4, parseBody(output.body, context)];
|
|
2640
2670
|
case 1:
|
|
2641
2671
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
2642
|
-
errorCode = "UnknownError";
|
|
2643
2672
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2644
2673
|
_b = errorCode;
|
|
2645
2674
|
switch (_b) {
|
|
@@ -2655,10 +2684,12 @@ var deserializeAws_json1_1DescribeApplicationFleetAssociationsCommandError = fun
|
|
|
2655
2684
|
case 5: throw _d.sent();
|
|
2656
2685
|
case 6:
|
|
2657
2686
|
parsedBody = parsedOutput.body;
|
|
2687
|
+
$metadata = deserializeMetadata(output);
|
|
2688
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
2658
2689
|
response = new __BaseException({
|
|
2659
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
2690
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
2660
2691
|
$fault: "client",
|
|
2661
|
-
$metadata:
|
|
2692
|
+
$metadata: $metadata,
|
|
2662
2693
|
});
|
|
2663
2694
|
throw __decorateServiceException(response, parsedBody);
|
|
2664
2695
|
}
|
|
@@ -2683,7 +2714,7 @@ export var deserializeAws_json1_1DescribeApplicationsCommand = function (output,
|
|
|
2683
2714
|
});
|
|
2684
2715
|
}); };
|
|
2685
2716
|
var deserializeAws_json1_1DescribeApplicationsCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
2686
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
2717
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
2687
2718
|
var _c;
|
|
2688
2719
|
return __generator(this, function (_d) {
|
|
2689
2720
|
switch (_d.label) {
|
|
@@ -2693,7 +2724,6 @@ var deserializeAws_json1_1DescribeApplicationsCommandError = function (output, c
|
|
|
2693
2724
|
return [4, parseBody(output.body, context)];
|
|
2694
2725
|
case 1:
|
|
2695
2726
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
2696
|
-
errorCode = "UnknownError";
|
|
2697
2727
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2698
2728
|
_b = errorCode;
|
|
2699
2729
|
switch (_b) {
|
|
@@ -2709,10 +2739,12 @@ var deserializeAws_json1_1DescribeApplicationsCommandError = function (output, c
|
|
|
2709
2739
|
case 5: throw _d.sent();
|
|
2710
2740
|
case 6:
|
|
2711
2741
|
parsedBody = parsedOutput.body;
|
|
2742
|
+
$metadata = deserializeMetadata(output);
|
|
2743
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
2712
2744
|
response = new __BaseException({
|
|
2713
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
2745
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
2714
2746
|
$fault: "client",
|
|
2715
|
-
$metadata:
|
|
2747
|
+
$metadata: $metadata,
|
|
2716
2748
|
});
|
|
2717
2749
|
throw __decorateServiceException(response, parsedBody);
|
|
2718
2750
|
}
|
|
@@ -2737,7 +2769,7 @@ export var deserializeAws_json1_1DescribeDirectoryConfigsCommand = function (out
|
|
|
2737
2769
|
});
|
|
2738
2770
|
}); };
|
|
2739
2771
|
var deserializeAws_json1_1DescribeDirectoryConfigsCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
2740
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
2772
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
2741
2773
|
var _c;
|
|
2742
2774
|
return __generator(this, function (_d) {
|
|
2743
2775
|
switch (_d.label) {
|
|
@@ -2747,7 +2779,6 @@ var deserializeAws_json1_1DescribeDirectoryConfigsCommandError = function (outpu
|
|
|
2747
2779
|
return [4, parseBody(output.body, context)];
|
|
2748
2780
|
case 1:
|
|
2749
2781
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
2750
|
-
errorCode = "UnknownError";
|
|
2751
2782
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2752
2783
|
_b = errorCode;
|
|
2753
2784
|
switch (_b) {
|
|
@@ -2759,10 +2790,12 @@ var deserializeAws_json1_1DescribeDirectoryConfigsCommandError = function (outpu
|
|
|
2759
2790
|
case 3: throw _d.sent();
|
|
2760
2791
|
case 4:
|
|
2761
2792
|
parsedBody = parsedOutput.body;
|
|
2793
|
+
$metadata = deserializeMetadata(output);
|
|
2794
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
2762
2795
|
response = new __BaseException({
|
|
2763
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
2796
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
2764
2797
|
$fault: "client",
|
|
2765
|
-
$metadata:
|
|
2798
|
+
$metadata: $metadata,
|
|
2766
2799
|
});
|
|
2767
2800
|
throw __decorateServiceException(response, parsedBody);
|
|
2768
2801
|
}
|
|
@@ -2787,7 +2820,7 @@ export var deserializeAws_json1_1DescribeEntitlementsCommand = function (output,
|
|
|
2787
2820
|
});
|
|
2788
2821
|
}); };
|
|
2789
2822
|
var deserializeAws_json1_1DescribeEntitlementsCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
2790
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
2823
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
2791
2824
|
var _c;
|
|
2792
2825
|
return __generator(this, function (_d) {
|
|
2793
2826
|
switch (_d.label) {
|
|
@@ -2797,7 +2830,6 @@ var deserializeAws_json1_1DescribeEntitlementsCommandError = function (output, c
|
|
|
2797
2830
|
return [4, parseBody(output.body, context)];
|
|
2798
2831
|
case 1:
|
|
2799
2832
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
2800
|
-
errorCode = "UnknownError";
|
|
2801
2833
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2802
2834
|
_b = errorCode;
|
|
2803
2835
|
switch (_b) {
|
|
@@ -2817,10 +2849,12 @@ var deserializeAws_json1_1DescribeEntitlementsCommandError = function (output, c
|
|
|
2817
2849
|
case 7: throw _d.sent();
|
|
2818
2850
|
case 8:
|
|
2819
2851
|
parsedBody = parsedOutput.body;
|
|
2852
|
+
$metadata = deserializeMetadata(output);
|
|
2853
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
2820
2854
|
response = new __BaseException({
|
|
2821
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
2855
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
2822
2856
|
$fault: "client",
|
|
2823
|
-
$metadata:
|
|
2857
|
+
$metadata: $metadata,
|
|
2824
2858
|
});
|
|
2825
2859
|
throw __decorateServiceException(response, parsedBody);
|
|
2826
2860
|
}
|
|
@@ -2845,7 +2879,7 @@ export var deserializeAws_json1_1DescribeFleetsCommand = function (output, conte
|
|
|
2845
2879
|
});
|
|
2846
2880
|
}); };
|
|
2847
2881
|
var deserializeAws_json1_1DescribeFleetsCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
2848
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
2882
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
2849
2883
|
var _c;
|
|
2850
2884
|
return __generator(this, function (_d) {
|
|
2851
2885
|
switch (_d.label) {
|
|
@@ -2855,7 +2889,6 @@ var deserializeAws_json1_1DescribeFleetsCommandError = function (output, context
|
|
|
2855
2889
|
return [4, parseBody(output.body, context)];
|
|
2856
2890
|
case 1:
|
|
2857
2891
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
2858
|
-
errorCode = "UnknownError";
|
|
2859
2892
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2860
2893
|
_b = errorCode;
|
|
2861
2894
|
switch (_b) {
|
|
@@ -2867,10 +2900,12 @@ var deserializeAws_json1_1DescribeFleetsCommandError = function (output, context
|
|
|
2867
2900
|
case 3: throw _d.sent();
|
|
2868
2901
|
case 4:
|
|
2869
2902
|
parsedBody = parsedOutput.body;
|
|
2903
|
+
$metadata = deserializeMetadata(output);
|
|
2904
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
2870
2905
|
response = new __BaseException({
|
|
2871
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
2906
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
2872
2907
|
$fault: "client",
|
|
2873
|
-
$metadata:
|
|
2908
|
+
$metadata: $metadata,
|
|
2874
2909
|
});
|
|
2875
2910
|
throw __decorateServiceException(response, parsedBody);
|
|
2876
2911
|
}
|
|
@@ -2895,7 +2930,7 @@ export var deserializeAws_json1_1DescribeImageBuildersCommand = function (output
|
|
|
2895
2930
|
});
|
|
2896
2931
|
}); };
|
|
2897
2932
|
var deserializeAws_json1_1DescribeImageBuildersCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
2898
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
2933
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
2899
2934
|
var _c;
|
|
2900
2935
|
return __generator(this, function (_d) {
|
|
2901
2936
|
switch (_d.label) {
|
|
@@ -2905,7 +2940,6 @@ var deserializeAws_json1_1DescribeImageBuildersCommandError = function (output,
|
|
|
2905
2940
|
return [4, parseBody(output.body, context)];
|
|
2906
2941
|
case 1:
|
|
2907
2942
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
2908
|
-
errorCode = "UnknownError";
|
|
2909
2943
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2910
2944
|
_b = errorCode;
|
|
2911
2945
|
switch (_b) {
|
|
@@ -2917,10 +2951,12 @@ var deserializeAws_json1_1DescribeImageBuildersCommandError = function (output,
|
|
|
2917
2951
|
case 3: throw _d.sent();
|
|
2918
2952
|
case 4:
|
|
2919
2953
|
parsedBody = parsedOutput.body;
|
|
2954
|
+
$metadata = deserializeMetadata(output);
|
|
2955
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
2920
2956
|
response = new __BaseException({
|
|
2921
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
2957
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
2922
2958
|
$fault: "client",
|
|
2923
|
-
$metadata:
|
|
2959
|
+
$metadata: $metadata,
|
|
2924
2960
|
});
|
|
2925
2961
|
throw __decorateServiceException(response, parsedBody);
|
|
2926
2962
|
}
|
|
@@ -2945,7 +2981,7 @@ export var deserializeAws_json1_1DescribeImagePermissionsCommand = function (out
|
|
|
2945
2981
|
});
|
|
2946
2982
|
}); };
|
|
2947
2983
|
var deserializeAws_json1_1DescribeImagePermissionsCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
2948
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
2984
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
2949
2985
|
var _c;
|
|
2950
2986
|
return __generator(this, function (_d) {
|
|
2951
2987
|
switch (_d.label) {
|
|
@@ -2955,7 +2991,6 @@ var deserializeAws_json1_1DescribeImagePermissionsCommandError = function (outpu
|
|
|
2955
2991
|
return [4, parseBody(output.body, context)];
|
|
2956
2992
|
case 1:
|
|
2957
2993
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
2958
|
-
errorCode = "UnknownError";
|
|
2959
2994
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2960
2995
|
_b = errorCode;
|
|
2961
2996
|
switch (_b) {
|
|
@@ -2967,10 +3002,12 @@ var deserializeAws_json1_1DescribeImagePermissionsCommandError = function (outpu
|
|
|
2967
3002
|
case 3: throw _d.sent();
|
|
2968
3003
|
case 4:
|
|
2969
3004
|
parsedBody = parsedOutput.body;
|
|
3005
|
+
$metadata = deserializeMetadata(output);
|
|
3006
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
2970
3007
|
response = new __BaseException({
|
|
2971
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
3008
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
2972
3009
|
$fault: "client",
|
|
2973
|
-
$metadata:
|
|
3010
|
+
$metadata: $metadata,
|
|
2974
3011
|
});
|
|
2975
3012
|
throw __decorateServiceException(response, parsedBody);
|
|
2976
3013
|
}
|
|
@@ -2995,7 +3032,7 @@ export var deserializeAws_json1_1DescribeImagesCommand = function (output, conte
|
|
|
2995
3032
|
});
|
|
2996
3033
|
}); };
|
|
2997
3034
|
var deserializeAws_json1_1DescribeImagesCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
2998
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
3035
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
2999
3036
|
var _c;
|
|
3000
3037
|
return __generator(this, function (_d) {
|
|
3001
3038
|
switch (_d.label) {
|
|
@@ -3005,7 +3042,6 @@ var deserializeAws_json1_1DescribeImagesCommandError = function (output, context
|
|
|
3005
3042
|
return [4, parseBody(output.body, context)];
|
|
3006
3043
|
case 1:
|
|
3007
3044
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
3008
|
-
errorCode = "UnknownError";
|
|
3009
3045
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3010
3046
|
_b = errorCode;
|
|
3011
3047
|
switch (_b) {
|
|
@@ -3021,10 +3057,12 @@ var deserializeAws_json1_1DescribeImagesCommandError = function (output, context
|
|
|
3021
3057
|
case 5: throw _d.sent();
|
|
3022
3058
|
case 6:
|
|
3023
3059
|
parsedBody = parsedOutput.body;
|
|
3060
|
+
$metadata = deserializeMetadata(output);
|
|
3061
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
3024
3062
|
response = new __BaseException({
|
|
3025
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
3063
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
3026
3064
|
$fault: "client",
|
|
3027
|
-
$metadata:
|
|
3065
|
+
$metadata: $metadata,
|
|
3028
3066
|
});
|
|
3029
3067
|
throw __decorateServiceException(response, parsedBody);
|
|
3030
3068
|
}
|
|
@@ -3049,7 +3087,7 @@ export var deserializeAws_json1_1DescribeSessionsCommand = function (output, con
|
|
|
3049
3087
|
});
|
|
3050
3088
|
}); };
|
|
3051
3089
|
var deserializeAws_json1_1DescribeSessionsCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
3052
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
3090
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
3053
3091
|
var _c;
|
|
3054
3092
|
return __generator(this, function (_d) {
|
|
3055
3093
|
switch (_d.label) {
|
|
@@ -3059,7 +3097,6 @@ var deserializeAws_json1_1DescribeSessionsCommandError = function (output, conte
|
|
|
3059
3097
|
return [4, parseBody(output.body, context)];
|
|
3060
3098
|
case 1:
|
|
3061
3099
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
3062
|
-
errorCode = "UnknownError";
|
|
3063
3100
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3064
3101
|
_b = errorCode;
|
|
3065
3102
|
switch (_b) {
|
|
@@ -3071,10 +3108,12 @@ var deserializeAws_json1_1DescribeSessionsCommandError = function (output, conte
|
|
|
3071
3108
|
case 3: throw _d.sent();
|
|
3072
3109
|
case 4:
|
|
3073
3110
|
parsedBody = parsedOutput.body;
|
|
3111
|
+
$metadata = deserializeMetadata(output);
|
|
3112
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
3074
3113
|
response = new __BaseException({
|
|
3075
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
3114
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
3076
3115
|
$fault: "client",
|
|
3077
|
-
$metadata:
|
|
3116
|
+
$metadata: $metadata,
|
|
3078
3117
|
});
|
|
3079
3118
|
throw __decorateServiceException(response, parsedBody);
|
|
3080
3119
|
}
|
|
@@ -3099,7 +3138,7 @@ export var deserializeAws_json1_1DescribeStacksCommand = function (output, conte
|
|
|
3099
3138
|
});
|
|
3100
3139
|
}); };
|
|
3101
3140
|
var deserializeAws_json1_1DescribeStacksCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
3102
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
3141
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
3103
3142
|
var _c;
|
|
3104
3143
|
return __generator(this, function (_d) {
|
|
3105
3144
|
switch (_d.label) {
|
|
@@ -3109,7 +3148,6 @@ var deserializeAws_json1_1DescribeStacksCommandError = function (output, context
|
|
|
3109
3148
|
return [4, parseBody(output.body, context)];
|
|
3110
3149
|
case 1:
|
|
3111
3150
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
3112
|
-
errorCode = "UnknownError";
|
|
3113
3151
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3114
3152
|
_b = errorCode;
|
|
3115
3153
|
switch (_b) {
|
|
@@ -3121,10 +3159,12 @@ var deserializeAws_json1_1DescribeStacksCommandError = function (output, context
|
|
|
3121
3159
|
case 3: throw _d.sent();
|
|
3122
3160
|
case 4:
|
|
3123
3161
|
parsedBody = parsedOutput.body;
|
|
3162
|
+
$metadata = deserializeMetadata(output);
|
|
3163
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
3124
3164
|
response = new __BaseException({
|
|
3125
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
3165
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
3126
3166
|
$fault: "client",
|
|
3127
|
-
$metadata:
|
|
3167
|
+
$metadata: $metadata,
|
|
3128
3168
|
});
|
|
3129
3169
|
throw __decorateServiceException(response, parsedBody);
|
|
3130
3170
|
}
|
|
@@ -3149,7 +3189,7 @@ export var deserializeAws_json1_1DescribeUsageReportSubscriptionsCommand = funct
|
|
|
3149
3189
|
});
|
|
3150
3190
|
}); };
|
|
3151
3191
|
var deserializeAws_json1_1DescribeUsageReportSubscriptionsCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
3152
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
3192
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
3153
3193
|
var _c;
|
|
3154
3194
|
return __generator(this, function (_d) {
|
|
3155
3195
|
switch (_d.label) {
|
|
@@ -3159,7 +3199,6 @@ var deserializeAws_json1_1DescribeUsageReportSubscriptionsCommandError = functio
|
|
|
3159
3199
|
return [4, parseBody(output.body, context)];
|
|
3160
3200
|
case 1:
|
|
3161
3201
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
3162
|
-
errorCode = "UnknownError";
|
|
3163
3202
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3164
3203
|
_b = errorCode;
|
|
3165
3204
|
switch (_b) {
|
|
@@ -3175,10 +3214,12 @@ var deserializeAws_json1_1DescribeUsageReportSubscriptionsCommandError = functio
|
|
|
3175
3214
|
case 5: throw _d.sent();
|
|
3176
3215
|
case 6:
|
|
3177
3216
|
parsedBody = parsedOutput.body;
|
|
3217
|
+
$metadata = deserializeMetadata(output);
|
|
3218
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
3178
3219
|
response = new __BaseException({
|
|
3179
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
3220
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
3180
3221
|
$fault: "client",
|
|
3181
|
-
$metadata:
|
|
3222
|
+
$metadata: $metadata,
|
|
3182
3223
|
});
|
|
3183
3224
|
throw __decorateServiceException(response, parsedBody);
|
|
3184
3225
|
}
|
|
@@ -3203,7 +3244,7 @@ export var deserializeAws_json1_1DescribeUsersCommand = function (output, contex
|
|
|
3203
3244
|
});
|
|
3204
3245
|
}); };
|
|
3205
3246
|
var deserializeAws_json1_1DescribeUsersCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
3206
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
3247
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
3207
3248
|
var _c;
|
|
3208
3249
|
return __generator(this, function (_d) {
|
|
3209
3250
|
switch (_d.label) {
|
|
@@ -3213,7 +3254,6 @@ var deserializeAws_json1_1DescribeUsersCommandError = function (output, context)
|
|
|
3213
3254
|
return [4, parseBody(output.body, context)];
|
|
3214
3255
|
case 1:
|
|
3215
3256
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
3216
|
-
errorCode = "UnknownError";
|
|
3217
3257
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3218
3258
|
_b = errorCode;
|
|
3219
3259
|
switch (_b) {
|
|
@@ -3233,10 +3273,12 @@ var deserializeAws_json1_1DescribeUsersCommandError = function (output, context)
|
|
|
3233
3273
|
case 7: throw _d.sent();
|
|
3234
3274
|
case 8:
|
|
3235
3275
|
parsedBody = parsedOutput.body;
|
|
3276
|
+
$metadata = deserializeMetadata(output);
|
|
3277
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
3236
3278
|
response = new __BaseException({
|
|
3237
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
3279
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
3238
3280
|
$fault: "client",
|
|
3239
|
-
$metadata:
|
|
3281
|
+
$metadata: $metadata,
|
|
3240
3282
|
});
|
|
3241
3283
|
throw __decorateServiceException(response, parsedBody);
|
|
3242
3284
|
}
|
|
@@ -3261,7 +3303,7 @@ export var deserializeAws_json1_1DescribeUserStackAssociationsCommand = function
|
|
|
3261
3303
|
});
|
|
3262
3304
|
}); };
|
|
3263
3305
|
var deserializeAws_json1_1DescribeUserStackAssociationsCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
3264
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
3306
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
3265
3307
|
var _c;
|
|
3266
3308
|
return __generator(this, function (_d) {
|
|
3267
3309
|
switch (_d.label) {
|
|
@@ -3271,7 +3313,6 @@ var deserializeAws_json1_1DescribeUserStackAssociationsCommandError = function (
|
|
|
3271
3313
|
return [4, parseBody(output.body, context)];
|
|
3272
3314
|
case 1:
|
|
3273
3315
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
3274
|
-
errorCode = "UnknownError";
|
|
3275
3316
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3276
3317
|
_b = errorCode;
|
|
3277
3318
|
switch (_b) {
|
|
@@ -3287,10 +3328,12 @@ var deserializeAws_json1_1DescribeUserStackAssociationsCommandError = function (
|
|
|
3287
3328
|
case 5: throw _d.sent();
|
|
3288
3329
|
case 6:
|
|
3289
3330
|
parsedBody = parsedOutput.body;
|
|
3331
|
+
$metadata = deserializeMetadata(output);
|
|
3332
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
3290
3333
|
response = new __BaseException({
|
|
3291
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
3334
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
3292
3335
|
$fault: "client",
|
|
3293
|
-
$metadata:
|
|
3336
|
+
$metadata: $metadata,
|
|
3294
3337
|
});
|
|
3295
3338
|
throw __decorateServiceException(response, parsedBody);
|
|
3296
3339
|
}
|
|
@@ -3315,7 +3358,7 @@ export var deserializeAws_json1_1DisableUserCommand = function (output, context)
|
|
|
3315
3358
|
});
|
|
3316
3359
|
}); };
|
|
3317
3360
|
var deserializeAws_json1_1DisableUserCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
3318
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
3361
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
3319
3362
|
var _c;
|
|
3320
3363
|
return __generator(this, function (_d) {
|
|
3321
3364
|
switch (_d.label) {
|
|
@@ -3325,7 +3368,6 @@ var deserializeAws_json1_1DisableUserCommandError = function (output, context) {
|
|
|
3325
3368
|
return [4, parseBody(output.body, context)];
|
|
3326
3369
|
case 1:
|
|
3327
3370
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
3328
|
-
errorCode = "UnknownError";
|
|
3329
3371
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3330
3372
|
_b = errorCode;
|
|
3331
3373
|
switch (_b) {
|
|
@@ -3337,10 +3379,12 @@ var deserializeAws_json1_1DisableUserCommandError = function (output, context) {
|
|
|
3337
3379
|
case 3: throw _d.sent();
|
|
3338
3380
|
case 4:
|
|
3339
3381
|
parsedBody = parsedOutput.body;
|
|
3382
|
+
$metadata = deserializeMetadata(output);
|
|
3383
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
3340
3384
|
response = new __BaseException({
|
|
3341
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
3385
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
3342
3386
|
$fault: "client",
|
|
3343
|
-
$metadata:
|
|
3387
|
+
$metadata: $metadata,
|
|
3344
3388
|
});
|
|
3345
3389
|
throw __decorateServiceException(response, parsedBody);
|
|
3346
3390
|
}
|
|
@@ -3365,7 +3409,7 @@ export var deserializeAws_json1_1DisassociateApplicationFleetCommand = function
|
|
|
3365
3409
|
});
|
|
3366
3410
|
}); };
|
|
3367
3411
|
var deserializeAws_json1_1DisassociateApplicationFleetCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
3368
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
3412
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
3369
3413
|
var _c;
|
|
3370
3414
|
return __generator(this, function (_d) {
|
|
3371
3415
|
switch (_d.label) {
|
|
@@ -3375,7 +3419,6 @@ var deserializeAws_json1_1DisassociateApplicationFleetCommandError = function (o
|
|
|
3375
3419
|
return [4, parseBody(output.body, context)];
|
|
3376
3420
|
case 1:
|
|
3377
3421
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
3378
|
-
errorCode = "UnknownError";
|
|
3379
3422
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3380
3423
|
_b = errorCode;
|
|
3381
3424
|
switch (_b) {
|
|
@@ -3395,10 +3438,12 @@ var deserializeAws_json1_1DisassociateApplicationFleetCommandError = function (o
|
|
|
3395
3438
|
case 7: throw _d.sent();
|
|
3396
3439
|
case 8:
|
|
3397
3440
|
parsedBody = parsedOutput.body;
|
|
3441
|
+
$metadata = deserializeMetadata(output);
|
|
3442
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
3398
3443
|
response = new __BaseException({
|
|
3399
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
3444
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
3400
3445
|
$fault: "client",
|
|
3401
|
-
$metadata:
|
|
3446
|
+
$metadata: $metadata,
|
|
3402
3447
|
});
|
|
3403
3448
|
throw __decorateServiceException(response, parsedBody);
|
|
3404
3449
|
}
|
|
@@ -3423,7 +3468,7 @@ export var deserializeAws_json1_1DisassociateApplicationFromEntitlementCommand =
|
|
|
3423
3468
|
});
|
|
3424
3469
|
}); };
|
|
3425
3470
|
var deserializeAws_json1_1DisassociateApplicationFromEntitlementCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
3426
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
3471
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
3427
3472
|
var _c;
|
|
3428
3473
|
return __generator(this, function (_d) {
|
|
3429
3474
|
switch (_d.label) {
|
|
@@ -3433,7 +3478,6 @@ var deserializeAws_json1_1DisassociateApplicationFromEntitlementCommandError = f
|
|
|
3433
3478
|
return [4, parseBody(output.body, context)];
|
|
3434
3479
|
case 1:
|
|
3435
3480
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
3436
|
-
errorCode = "UnknownError";
|
|
3437
3481
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3438
3482
|
_b = errorCode;
|
|
3439
3483
|
switch (_b) {
|
|
@@ -3453,10 +3497,12 @@ var deserializeAws_json1_1DisassociateApplicationFromEntitlementCommandError = f
|
|
|
3453
3497
|
case 7: throw _d.sent();
|
|
3454
3498
|
case 8:
|
|
3455
3499
|
parsedBody = parsedOutput.body;
|
|
3500
|
+
$metadata = deserializeMetadata(output);
|
|
3501
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
3456
3502
|
response = new __BaseException({
|
|
3457
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
3503
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
3458
3504
|
$fault: "client",
|
|
3459
|
-
$metadata:
|
|
3505
|
+
$metadata: $metadata,
|
|
3460
3506
|
});
|
|
3461
3507
|
throw __decorateServiceException(response, parsedBody);
|
|
3462
3508
|
}
|
|
@@ -3481,7 +3527,7 @@ export var deserializeAws_json1_1DisassociateFleetCommand = function (output, co
|
|
|
3481
3527
|
});
|
|
3482
3528
|
}); };
|
|
3483
3529
|
var deserializeAws_json1_1DisassociateFleetCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
3484
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
3530
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
3485
3531
|
var _c;
|
|
3486
3532
|
return __generator(this, function (_d) {
|
|
3487
3533
|
switch (_d.label) {
|
|
@@ -3491,7 +3537,6 @@ var deserializeAws_json1_1DisassociateFleetCommandError = function (output, cont
|
|
|
3491
3537
|
return [4, parseBody(output.body, context)];
|
|
3492
3538
|
case 1:
|
|
3493
3539
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
3494
|
-
errorCode = "UnknownError";
|
|
3495
3540
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3496
3541
|
_b = errorCode;
|
|
3497
3542
|
switch (_b) {
|
|
@@ -3515,10 +3560,12 @@ var deserializeAws_json1_1DisassociateFleetCommandError = function (output, cont
|
|
|
3515
3560
|
case 9: throw _d.sent();
|
|
3516
3561
|
case 10:
|
|
3517
3562
|
parsedBody = parsedOutput.body;
|
|
3563
|
+
$metadata = deserializeMetadata(output);
|
|
3564
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
3518
3565
|
response = new __BaseException({
|
|
3519
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
3566
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
3520
3567
|
$fault: "client",
|
|
3521
|
-
$metadata:
|
|
3568
|
+
$metadata: $metadata,
|
|
3522
3569
|
});
|
|
3523
3570
|
throw __decorateServiceException(response, parsedBody);
|
|
3524
3571
|
}
|
|
@@ -3543,7 +3590,7 @@ export var deserializeAws_json1_1EnableUserCommand = function (output, context)
|
|
|
3543
3590
|
});
|
|
3544
3591
|
}); };
|
|
3545
3592
|
var deserializeAws_json1_1EnableUserCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
3546
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
3593
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
3547
3594
|
var _c;
|
|
3548
3595
|
return __generator(this, function (_d) {
|
|
3549
3596
|
switch (_d.label) {
|
|
@@ -3553,7 +3600,6 @@ var deserializeAws_json1_1EnableUserCommandError = function (output, context) {
|
|
|
3553
3600
|
return [4, parseBody(output.body, context)];
|
|
3554
3601
|
case 1:
|
|
3555
3602
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
3556
|
-
errorCode = "UnknownError";
|
|
3557
3603
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3558
3604
|
_b = errorCode;
|
|
3559
3605
|
switch (_b) {
|
|
@@ -3569,10 +3615,12 @@ var deserializeAws_json1_1EnableUserCommandError = function (output, context) {
|
|
|
3569
3615
|
case 5: throw _d.sent();
|
|
3570
3616
|
case 6:
|
|
3571
3617
|
parsedBody = parsedOutput.body;
|
|
3618
|
+
$metadata = deserializeMetadata(output);
|
|
3619
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
3572
3620
|
response = new __BaseException({
|
|
3573
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
3621
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
3574
3622
|
$fault: "client",
|
|
3575
|
-
$metadata:
|
|
3623
|
+
$metadata: $metadata,
|
|
3576
3624
|
});
|
|
3577
3625
|
throw __decorateServiceException(response, parsedBody);
|
|
3578
3626
|
}
|
|
@@ -3597,7 +3645,7 @@ export var deserializeAws_json1_1ExpireSessionCommand = function (output, contex
|
|
|
3597
3645
|
});
|
|
3598
3646
|
}); };
|
|
3599
3647
|
var deserializeAws_json1_1ExpireSessionCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
3600
|
-
var parsedOutput, _a, response, errorCode, parsedBody;
|
|
3648
|
+
var parsedOutput, _a, response, errorCode, parsedBody, $metadata, statusCode;
|
|
3601
3649
|
var _b;
|
|
3602
3650
|
return __generator(this, function (_c) {
|
|
3603
3651
|
switch (_c.label) {
|
|
@@ -3607,15 +3655,16 @@ var deserializeAws_json1_1ExpireSessionCommandError = function (output, context)
|
|
|
3607
3655
|
return [4, parseBody(output.body, context)];
|
|
3608
3656
|
case 1:
|
|
3609
3657
|
parsedOutput = __assign.apply(void 0, _a.concat([(_b.body = _c.sent(), _b)]));
|
|
3610
|
-
errorCode = "UnknownError";
|
|
3611
3658
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3612
3659
|
switch (errorCode) {
|
|
3613
3660
|
default:
|
|
3614
3661
|
parsedBody = parsedOutput.body;
|
|
3662
|
+
$metadata = deserializeMetadata(output);
|
|
3663
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
3615
3664
|
response = new __BaseException({
|
|
3616
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
3665
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
3617
3666
|
$fault: "client",
|
|
3618
|
-
$metadata:
|
|
3667
|
+
$metadata: $metadata,
|
|
3619
3668
|
});
|
|
3620
3669
|
throw __decorateServiceException(response, parsedBody);
|
|
3621
3670
|
}
|
|
@@ -3642,7 +3691,7 @@ export var deserializeAws_json1_1ListAssociatedFleetsCommand = function (output,
|
|
|
3642
3691
|
});
|
|
3643
3692
|
}); };
|
|
3644
3693
|
var deserializeAws_json1_1ListAssociatedFleetsCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
3645
|
-
var parsedOutput, _a, response, errorCode, parsedBody;
|
|
3694
|
+
var parsedOutput, _a, response, errorCode, parsedBody, $metadata, statusCode;
|
|
3646
3695
|
var _b;
|
|
3647
3696
|
return __generator(this, function (_c) {
|
|
3648
3697
|
switch (_c.label) {
|
|
@@ -3652,15 +3701,16 @@ var deserializeAws_json1_1ListAssociatedFleetsCommandError = function (output, c
|
|
|
3652
3701
|
return [4, parseBody(output.body, context)];
|
|
3653
3702
|
case 1:
|
|
3654
3703
|
parsedOutput = __assign.apply(void 0, _a.concat([(_b.body = _c.sent(), _b)]));
|
|
3655
|
-
errorCode = "UnknownError";
|
|
3656
3704
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3657
3705
|
switch (errorCode) {
|
|
3658
3706
|
default:
|
|
3659
3707
|
parsedBody = parsedOutput.body;
|
|
3708
|
+
$metadata = deserializeMetadata(output);
|
|
3709
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
3660
3710
|
response = new __BaseException({
|
|
3661
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
3711
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
3662
3712
|
$fault: "client",
|
|
3663
|
-
$metadata:
|
|
3713
|
+
$metadata: $metadata,
|
|
3664
3714
|
});
|
|
3665
3715
|
throw __decorateServiceException(response, parsedBody);
|
|
3666
3716
|
}
|
|
@@ -3687,7 +3737,7 @@ export var deserializeAws_json1_1ListAssociatedStacksCommand = function (output,
|
|
|
3687
3737
|
});
|
|
3688
3738
|
}); };
|
|
3689
3739
|
var deserializeAws_json1_1ListAssociatedStacksCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
3690
|
-
var parsedOutput, _a, response, errorCode, parsedBody;
|
|
3740
|
+
var parsedOutput, _a, response, errorCode, parsedBody, $metadata, statusCode;
|
|
3691
3741
|
var _b;
|
|
3692
3742
|
return __generator(this, function (_c) {
|
|
3693
3743
|
switch (_c.label) {
|
|
@@ -3697,15 +3747,16 @@ var deserializeAws_json1_1ListAssociatedStacksCommandError = function (output, c
|
|
|
3697
3747
|
return [4, parseBody(output.body, context)];
|
|
3698
3748
|
case 1:
|
|
3699
3749
|
parsedOutput = __assign.apply(void 0, _a.concat([(_b.body = _c.sent(), _b)]));
|
|
3700
|
-
errorCode = "UnknownError";
|
|
3701
3750
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3702
3751
|
switch (errorCode) {
|
|
3703
3752
|
default:
|
|
3704
3753
|
parsedBody = parsedOutput.body;
|
|
3754
|
+
$metadata = deserializeMetadata(output);
|
|
3755
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
3705
3756
|
response = new __BaseException({
|
|
3706
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
3757
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
3707
3758
|
$fault: "client",
|
|
3708
|
-
$metadata:
|
|
3759
|
+
$metadata: $metadata,
|
|
3709
3760
|
});
|
|
3710
3761
|
throw __decorateServiceException(response, parsedBody);
|
|
3711
3762
|
}
|
|
@@ -3732,7 +3783,7 @@ export var deserializeAws_json1_1ListEntitledApplicationsCommand = function (out
|
|
|
3732
3783
|
});
|
|
3733
3784
|
}); };
|
|
3734
3785
|
var deserializeAws_json1_1ListEntitledApplicationsCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
3735
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
3786
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
3736
3787
|
var _c;
|
|
3737
3788
|
return __generator(this, function (_d) {
|
|
3738
3789
|
switch (_d.label) {
|
|
@@ -3742,7 +3793,6 @@ var deserializeAws_json1_1ListEntitledApplicationsCommandError = function (outpu
|
|
|
3742
3793
|
return [4, parseBody(output.body, context)];
|
|
3743
3794
|
case 1:
|
|
3744
3795
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
3745
|
-
errorCode = "UnknownError";
|
|
3746
3796
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3747
3797
|
_b = errorCode;
|
|
3748
3798
|
switch (_b) {
|
|
@@ -3762,10 +3812,12 @@ var deserializeAws_json1_1ListEntitledApplicationsCommandError = function (outpu
|
|
|
3762
3812
|
case 7: throw _d.sent();
|
|
3763
3813
|
case 8:
|
|
3764
3814
|
parsedBody = parsedOutput.body;
|
|
3815
|
+
$metadata = deserializeMetadata(output);
|
|
3816
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
3765
3817
|
response = new __BaseException({
|
|
3766
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
3818
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
3767
3819
|
$fault: "client",
|
|
3768
|
-
$metadata:
|
|
3820
|
+
$metadata: $metadata,
|
|
3769
3821
|
});
|
|
3770
3822
|
throw __decorateServiceException(response, parsedBody);
|
|
3771
3823
|
}
|
|
@@ -3790,7 +3842,7 @@ export var deserializeAws_json1_1ListTagsForResourceCommand = function (output,
|
|
|
3790
3842
|
});
|
|
3791
3843
|
}); };
|
|
3792
3844
|
var deserializeAws_json1_1ListTagsForResourceCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
3793
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
3845
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
3794
3846
|
var _c;
|
|
3795
3847
|
return __generator(this, function (_d) {
|
|
3796
3848
|
switch (_d.label) {
|
|
@@ -3800,7 +3852,6 @@ var deserializeAws_json1_1ListTagsForResourceCommandError = function (output, co
|
|
|
3800
3852
|
return [4, parseBody(output.body, context)];
|
|
3801
3853
|
case 1:
|
|
3802
3854
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
3803
|
-
errorCode = "UnknownError";
|
|
3804
3855
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3805
3856
|
_b = errorCode;
|
|
3806
3857
|
switch (_b) {
|
|
@@ -3812,10 +3863,12 @@ var deserializeAws_json1_1ListTagsForResourceCommandError = function (output, co
|
|
|
3812
3863
|
case 3: throw _d.sent();
|
|
3813
3864
|
case 4:
|
|
3814
3865
|
parsedBody = parsedOutput.body;
|
|
3866
|
+
$metadata = deserializeMetadata(output);
|
|
3867
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
3815
3868
|
response = new __BaseException({
|
|
3816
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
3869
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
3817
3870
|
$fault: "client",
|
|
3818
|
-
$metadata:
|
|
3871
|
+
$metadata: $metadata,
|
|
3819
3872
|
});
|
|
3820
3873
|
throw __decorateServiceException(response, parsedBody);
|
|
3821
3874
|
}
|
|
@@ -3840,7 +3893,7 @@ export var deserializeAws_json1_1StartFleetCommand = function (output, context)
|
|
|
3840
3893
|
});
|
|
3841
3894
|
}); };
|
|
3842
3895
|
var deserializeAws_json1_1StartFleetCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
3843
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
3896
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
3844
3897
|
var _c;
|
|
3845
3898
|
return __generator(this, function (_d) {
|
|
3846
3899
|
switch (_d.label) {
|
|
@@ -3850,7 +3903,6 @@ var deserializeAws_json1_1StartFleetCommandError = function (output, context) {
|
|
|
3850
3903
|
return [4, parseBody(output.body, context)];
|
|
3851
3904
|
case 1:
|
|
3852
3905
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
3853
|
-
errorCode = "UnknownError";
|
|
3854
3906
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3855
3907
|
_b = errorCode;
|
|
3856
3908
|
switch (_b) {
|
|
@@ -3890,10 +3942,12 @@ var deserializeAws_json1_1StartFleetCommandError = function (output, context) {
|
|
|
3890
3942
|
case 17: throw _d.sent();
|
|
3891
3943
|
case 18:
|
|
3892
3944
|
parsedBody = parsedOutput.body;
|
|
3945
|
+
$metadata = deserializeMetadata(output);
|
|
3946
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
3893
3947
|
response = new __BaseException({
|
|
3894
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
3948
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
3895
3949
|
$fault: "client",
|
|
3896
|
-
$metadata:
|
|
3950
|
+
$metadata: $metadata,
|
|
3897
3951
|
});
|
|
3898
3952
|
throw __decorateServiceException(response, parsedBody);
|
|
3899
3953
|
}
|
|
@@ -3918,7 +3972,7 @@ export var deserializeAws_json1_1StartImageBuilderCommand = function (output, co
|
|
|
3918
3972
|
});
|
|
3919
3973
|
}); };
|
|
3920
3974
|
var deserializeAws_json1_1StartImageBuilderCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
3921
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
3975
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
3922
3976
|
var _c;
|
|
3923
3977
|
return __generator(this, function (_d) {
|
|
3924
3978
|
switch (_d.label) {
|
|
@@ -3928,7 +3982,6 @@ var deserializeAws_json1_1StartImageBuilderCommandError = function (output, cont
|
|
|
3928
3982
|
return [4, parseBody(output.body, context)];
|
|
3929
3983
|
case 1:
|
|
3930
3984
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
3931
|
-
errorCode = "UnknownError";
|
|
3932
3985
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3933
3986
|
_b = errorCode;
|
|
3934
3987
|
switch (_b) {
|
|
@@ -3956,10 +4009,12 @@ var deserializeAws_json1_1StartImageBuilderCommandError = function (output, cont
|
|
|
3956
4009
|
case 11: throw _d.sent();
|
|
3957
4010
|
case 12:
|
|
3958
4011
|
parsedBody = parsedOutput.body;
|
|
4012
|
+
$metadata = deserializeMetadata(output);
|
|
4013
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
3959
4014
|
response = new __BaseException({
|
|
3960
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
4015
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
3961
4016
|
$fault: "client",
|
|
3962
|
-
$metadata:
|
|
4017
|
+
$metadata: $metadata,
|
|
3963
4018
|
});
|
|
3964
4019
|
throw __decorateServiceException(response, parsedBody);
|
|
3965
4020
|
}
|
|
@@ -3984,7 +4039,7 @@ export var deserializeAws_json1_1StopFleetCommand = function (output, context) {
|
|
|
3984
4039
|
});
|
|
3985
4040
|
}); };
|
|
3986
4041
|
var deserializeAws_json1_1StopFleetCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
3987
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
4042
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
3988
4043
|
var _c;
|
|
3989
4044
|
return __generator(this, function (_d) {
|
|
3990
4045
|
switch (_d.label) {
|
|
@@ -3994,7 +4049,6 @@ var deserializeAws_json1_1StopFleetCommandError = function (output, context) { r
|
|
|
3994
4049
|
return [4, parseBody(output.body, context)];
|
|
3995
4050
|
case 1:
|
|
3996
4051
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
3997
|
-
errorCode = "UnknownError";
|
|
3998
4052
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3999
4053
|
_b = errorCode;
|
|
4000
4054
|
switch (_b) {
|
|
@@ -4010,10 +4064,12 @@ var deserializeAws_json1_1StopFleetCommandError = function (output, context) { r
|
|
|
4010
4064
|
case 5: throw _d.sent();
|
|
4011
4065
|
case 6:
|
|
4012
4066
|
parsedBody = parsedOutput.body;
|
|
4067
|
+
$metadata = deserializeMetadata(output);
|
|
4068
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
4013
4069
|
response = new __BaseException({
|
|
4014
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
4070
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
4015
4071
|
$fault: "client",
|
|
4016
|
-
$metadata:
|
|
4072
|
+
$metadata: $metadata,
|
|
4017
4073
|
});
|
|
4018
4074
|
throw __decorateServiceException(response, parsedBody);
|
|
4019
4075
|
}
|
|
@@ -4038,7 +4094,7 @@ export var deserializeAws_json1_1StopImageBuilderCommand = function (output, con
|
|
|
4038
4094
|
});
|
|
4039
4095
|
}); };
|
|
4040
4096
|
var deserializeAws_json1_1StopImageBuilderCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
4041
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
4097
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
4042
4098
|
var _c;
|
|
4043
4099
|
return __generator(this, function (_d) {
|
|
4044
4100
|
switch (_d.label) {
|
|
@@ -4048,7 +4104,6 @@ var deserializeAws_json1_1StopImageBuilderCommandError = function (output, conte
|
|
|
4048
4104
|
return [4, parseBody(output.body, context)];
|
|
4049
4105
|
case 1:
|
|
4050
4106
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
4051
|
-
errorCode = "UnknownError";
|
|
4052
4107
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4053
4108
|
_b = errorCode;
|
|
4054
4109
|
switch (_b) {
|
|
@@ -4068,10 +4123,12 @@ var deserializeAws_json1_1StopImageBuilderCommandError = function (output, conte
|
|
|
4068
4123
|
case 7: throw _d.sent();
|
|
4069
4124
|
case 8:
|
|
4070
4125
|
parsedBody = parsedOutput.body;
|
|
4126
|
+
$metadata = deserializeMetadata(output);
|
|
4127
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
4071
4128
|
response = new __BaseException({
|
|
4072
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
4129
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
4073
4130
|
$fault: "client",
|
|
4074
|
-
$metadata:
|
|
4131
|
+
$metadata: $metadata,
|
|
4075
4132
|
});
|
|
4076
4133
|
throw __decorateServiceException(response, parsedBody);
|
|
4077
4134
|
}
|
|
@@ -4096,7 +4153,7 @@ export var deserializeAws_json1_1TagResourceCommand = function (output, context)
|
|
|
4096
4153
|
});
|
|
4097
4154
|
}); };
|
|
4098
4155
|
var deserializeAws_json1_1TagResourceCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
4099
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
4156
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
4100
4157
|
var _c;
|
|
4101
4158
|
return __generator(this, function (_d) {
|
|
4102
4159
|
switch (_d.label) {
|
|
@@ -4106,7 +4163,6 @@ var deserializeAws_json1_1TagResourceCommandError = function (output, context) {
|
|
|
4106
4163
|
return [4, parseBody(output.body, context)];
|
|
4107
4164
|
case 1:
|
|
4108
4165
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
4109
|
-
errorCode = "UnknownError";
|
|
4110
4166
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4111
4167
|
_b = errorCode;
|
|
4112
4168
|
switch (_b) {
|
|
@@ -4126,10 +4182,12 @@ var deserializeAws_json1_1TagResourceCommandError = function (output, context) {
|
|
|
4126
4182
|
case 7: throw _d.sent();
|
|
4127
4183
|
case 8:
|
|
4128
4184
|
parsedBody = parsedOutput.body;
|
|
4185
|
+
$metadata = deserializeMetadata(output);
|
|
4186
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
4129
4187
|
response = new __BaseException({
|
|
4130
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
4188
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
4131
4189
|
$fault: "client",
|
|
4132
|
-
$metadata:
|
|
4190
|
+
$metadata: $metadata,
|
|
4133
4191
|
});
|
|
4134
4192
|
throw __decorateServiceException(response, parsedBody);
|
|
4135
4193
|
}
|
|
@@ -4154,7 +4212,7 @@ export var deserializeAws_json1_1UntagResourceCommand = function (output, contex
|
|
|
4154
4212
|
});
|
|
4155
4213
|
}); };
|
|
4156
4214
|
var deserializeAws_json1_1UntagResourceCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
4157
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
4215
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
4158
4216
|
var _c;
|
|
4159
4217
|
return __generator(this, function (_d) {
|
|
4160
4218
|
switch (_d.label) {
|
|
@@ -4164,7 +4222,6 @@ var deserializeAws_json1_1UntagResourceCommandError = function (output, context)
|
|
|
4164
4222
|
return [4, parseBody(output.body, context)];
|
|
4165
4223
|
case 1:
|
|
4166
4224
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
4167
|
-
errorCode = "UnknownError";
|
|
4168
4225
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4169
4226
|
_b = errorCode;
|
|
4170
4227
|
switch (_b) {
|
|
@@ -4176,10 +4233,12 @@ var deserializeAws_json1_1UntagResourceCommandError = function (output, context)
|
|
|
4176
4233
|
case 3: throw _d.sent();
|
|
4177
4234
|
case 4:
|
|
4178
4235
|
parsedBody = parsedOutput.body;
|
|
4236
|
+
$metadata = deserializeMetadata(output);
|
|
4237
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
4179
4238
|
response = new __BaseException({
|
|
4180
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
4239
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
4181
4240
|
$fault: "client",
|
|
4182
|
-
$metadata:
|
|
4241
|
+
$metadata: $metadata,
|
|
4183
4242
|
});
|
|
4184
4243
|
throw __decorateServiceException(response, parsedBody);
|
|
4185
4244
|
}
|
|
@@ -4204,7 +4263,7 @@ export var deserializeAws_json1_1UpdateApplicationCommand = function (output, co
|
|
|
4204
4263
|
});
|
|
4205
4264
|
}); };
|
|
4206
4265
|
var deserializeAws_json1_1UpdateApplicationCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
4207
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
4266
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
4208
4267
|
var _c;
|
|
4209
4268
|
return __generator(this, function (_d) {
|
|
4210
4269
|
switch (_d.label) {
|
|
@@ -4214,7 +4273,6 @@ var deserializeAws_json1_1UpdateApplicationCommandError = function (output, cont
|
|
|
4214
4273
|
return [4, parseBody(output.body, context)];
|
|
4215
4274
|
case 1:
|
|
4216
4275
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
4217
|
-
errorCode = "UnknownError";
|
|
4218
4276
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4219
4277
|
_b = errorCode;
|
|
4220
4278
|
switch (_b) {
|
|
@@ -4234,10 +4292,12 @@ var deserializeAws_json1_1UpdateApplicationCommandError = function (output, cont
|
|
|
4234
4292
|
case 7: throw _d.sent();
|
|
4235
4293
|
case 8:
|
|
4236
4294
|
parsedBody = parsedOutput.body;
|
|
4295
|
+
$metadata = deserializeMetadata(output);
|
|
4296
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
4237
4297
|
response = new __BaseException({
|
|
4238
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
4298
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
4239
4299
|
$fault: "client",
|
|
4240
|
-
$metadata:
|
|
4300
|
+
$metadata: $metadata,
|
|
4241
4301
|
});
|
|
4242
4302
|
throw __decorateServiceException(response, parsedBody);
|
|
4243
4303
|
}
|
|
@@ -4262,7 +4322,7 @@ export var deserializeAws_json1_1UpdateDirectoryConfigCommand = function (output
|
|
|
4262
4322
|
});
|
|
4263
4323
|
}); };
|
|
4264
4324
|
var deserializeAws_json1_1UpdateDirectoryConfigCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
4265
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
4325
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
4266
4326
|
var _c;
|
|
4267
4327
|
return __generator(this, function (_d) {
|
|
4268
4328
|
switch (_d.label) {
|
|
@@ -4272,7 +4332,6 @@ var deserializeAws_json1_1UpdateDirectoryConfigCommandError = function (output,
|
|
|
4272
4332
|
return [4, parseBody(output.body, context)];
|
|
4273
4333
|
case 1:
|
|
4274
4334
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
4275
|
-
errorCode = "UnknownError";
|
|
4276
4335
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4277
4336
|
_b = errorCode;
|
|
4278
4337
|
switch (_b) {
|
|
@@ -4300,10 +4359,12 @@ var deserializeAws_json1_1UpdateDirectoryConfigCommandError = function (output,
|
|
|
4300
4359
|
case 11: throw _d.sent();
|
|
4301
4360
|
case 12:
|
|
4302
4361
|
parsedBody = parsedOutput.body;
|
|
4362
|
+
$metadata = deserializeMetadata(output);
|
|
4363
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
4303
4364
|
response = new __BaseException({
|
|
4304
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
4365
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
4305
4366
|
$fault: "client",
|
|
4306
|
-
$metadata:
|
|
4367
|
+
$metadata: $metadata,
|
|
4307
4368
|
});
|
|
4308
4369
|
throw __decorateServiceException(response, parsedBody);
|
|
4309
4370
|
}
|
|
@@ -4328,7 +4389,7 @@ export var deserializeAws_json1_1UpdateEntitlementCommand = function (output, co
|
|
|
4328
4389
|
});
|
|
4329
4390
|
}); };
|
|
4330
4391
|
var deserializeAws_json1_1UpdateEntitlementCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
4331
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
4392
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
4332
4393
|
var _c;
|
|
4333
4394
|
return __generator(this, function (_d) {
|
|
4334
4395
|
switch (_d.label) {
|
|
@@ -4338,7 +4399,6 @@ var deserializeAws_json1_1UpdateEntitlementCommandError = function (output, cont
|
|
|
4338
4399
|
return [4, parseBody(output.body, context)];
|
|
4339
4400
|
case 1:
|
|
4340
4401
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
4341
|
-
errorCode = "UnknownError";
|
|
4342
4402
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4343
4403
|
_b = errorCode;
|
|
4344
4404
|
switch (_b) {
|
|
@@ -4362,10 +4422,12 @@ var deserializeAws_json1_1UpdateEntitlementCommandError = function (output, cont
|
|
|
4362
4422
|
case 9: throw _d.sent();
|
|
4363
4423
|
case 10:
|
|
4364
4424
|
parsedBody = parsedOutput.body;
|
|
4425
|
+
$metadata = deserializeMetadata(output);
|
|
4426
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
4365
4427
|
response = new __BaseException({
|
|
4366
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
4428
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
4367
4429
|
$fault: "client",
|
|
4368
|
-
$metadata:
|
|
4430
|
+
$metadata: $metadata,
|
|
4369
4431
|
});
|
|
4370
4432
|
throw __decorateServiceException(response, parsedBody);
|
|
4371
4433
|
}
|
|
@@ -4390,7 +4452,7 @@ export var deserializeAws_json1_1UpdateFleetCommand = function (output, context)
|
|
|
4390
4452
|
});
|
|
4391
4453
|
}); };
|
|
4392
4454
|
var deserializeAws_json1_1UpdateFleetCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
4393
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
4455
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
4394
4456
|
var _c;
|
|
4395
4457
|
return __generator(this, function (_d) {
|
|
4396
4458
|
switch (_d.label) {
|
|
@@ -4400,7 +4462,6 @@ var deserializeAws_json1_1UpdateFleetCommandError = function (output, context) {
|
|
|
4400
4462
|
return [4, parseBody(output.body, context)];
|
|
4401
4463
|
case 1:
|
|
4402
4464
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
4403
|
-
errorCode = "UnknownError";
|
|
4404
4465
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4405
4466
|
_b = errorCode;
|
|
4406
4467
|
switch (_b) {
|
|
@@ -4452,10 +4513,12 @@ var deserializeAws_json1_1UpdateFleetCommandError = function (output, context) {
|
|
|
4452
4513
|
case 23: throw _d.sent();
|
|
4453
4514
|
case 24:
|
|
4454
4515
|
parsedBody = parsedOutput.body;
|
|
4516
|
+
$metadata = deserializeMetadata(output);
|
|
4517
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
4455
4518
|
response = new __BaseException({
|
|
4456
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
4519
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
4457
4520
|
$fault: "client",
|
|
4458
|
-
$metadata:
|
|
4521
|
+
$metadata: $metadata,
|
|
4459
4522
|
});
|
|
4460
4523
|
throw __decorateServiceException(response, parsedBody);
|
|
4461
4524
|
}
|
|
@@ -4480,7 +4543,7 @@ export var deserializeAws_json1_1UpdateImagePermissionsCommand = function (outpu
|
|
|
4480
4543
|
});
|
|
4481
4544
|
}); };
|
|
4482
4545
|
var deserializeAws_json1_1UpdateImagePermissionsCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
4483
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
4546
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
4484
4547
|
var _c;
|
|
4485
4548
|
return __generator(this, function (_d) {
|
|
4486
4549
|
switch (_d.label) {
|
|
@@ -4490,7 +4553,6 @@ var deserializeAws_json1_1UpdateImagePermissionsCommandError = function (output,
|
|
|
4490
4553
|
return [4, parseBody(output.body, context)];
|
|
4491
4554
|
case 1:
|
|
4492
4555
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
4493
|
-
errorCode = "UnknownError";
|
|
4494
4556
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4495
4557
|
_b = errorCode;
|
|
4496
4558
|
switch (_b) {
|
|
@@ -4510,10 +4572,12 @@ var deserializeAws_json1_1UpdateImagePermissionsCommandError = function (output,
|
|
|
4510
4572
|
case 7: throw _d.sent();
|
|
4511
4573
|
case 8:
|
|
4512
4574
|
parsedBody = parsedOutput.body;
|
|
4575
|
+
$metadata = deserializeMetadata(output);
|
|
4576
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
4513
4577
|
response = new __BaseException({
|
|
4514
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
4578
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
4515
4579
|
$fault: "client",
|
|
4516
|
-
$metadata:
|
|
4580
|
+
$metadata: $metadata,
|
|
4517
4581
|
});
|
|
4518
4582
|
throw __decorateServiceException(response, parsedBody);
|
|
4519
4583
|
}
|
|
@@ -4538,7 +4602,7 @@ export var deserializeAws_json1_1UpdateStackCommand = function (output, context)
|
|
|
4538
4602
|
});
|
|
4539
4603
|
}); };
|
|
4540
4604
|
var deserializeAws_json1_1UpdateStackCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
4541
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
4605
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
4542
4606
|
var _c;
|
|
4543
4607
|
return __generator(this, function (_d) {
|
|
4544
4608
|
switch (_d.label) {
|
|
@@ -4548,7 +4612,6 @@ var deserializeAws_json1_1UpdateStackCommandError = function (output, context) {
|
|
|
4548
4612
|
return [4, parseBody(output.body, context)];
|
|
4549
4613
|
case 1:
|
|
4550
4614
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
4551
|
-
errorCode = "UnknownError";
|
|
4552
4615
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4553
4616
|
_b = errorCode;
|
|
4554
4617
|
switch (_b) {
|
|
@@ -4592,10 +4655,12 @@ var deserializeAws_json1_1UpdateStackCommandError = function (output, context) {
|
|
|
4592
4655
|
case 19: throw _d.sent();
|
|
4593
4656
|
case 20:
|
|
4594
4657
|
parsedBody = parsedOutput.body;
|
|
4658
|
+
$metadata = deserializeMetadata(output);
|
|
4659
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
4595
4660
|
response = new __BaseException({
|
|
4596
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
4661
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
4597
4662
|
$fault: "client",
|
|
4598
|
-
$metadata:
|
|
4663
|
+
$metadata: $metadata,
|
|
4599
4664
|
});
|
|
4600
4665
|
throw __decorateServiceException(response, parsedBody);
|
|
4601
4666
|
}
|
|
@@ -4728,7 +4793,7 @@ var deserializeAws_json1_1ResourceNotFoundExceptionResponse = function (parsedOu
|
|
|
4728
4793
|
});
|
|
4729
4794
|
}); };
|
|
4730
4795
|
var serializeAws_json1_1AccessEndpoint = function (input, context) {
|
|
4731
|
-
return __assign(__assign({}, (input.EndpointType
|
|
4796
|
+
return __assign(__assign({}, (input.EndpointType != null && { EndpointType: input.EndpointType })), (input.VpceId != null && { VpceId: input.VpceId }));
|
|
4732
4797
|
};
|
|
4733
4798
|
var serializeAws_json1_1AccessEndpointList = function (input, context) {
|
|
4734
4799
|
return input
|
|
@@ -4751,7 +4816,7 @@ var serializeAws_json1_1ApplicationAttributes = function (input, context) {
|
|
|
4751
4816
|
});
|
|
4752
4817
|
};
|
|
4753
4818
|
var serializeAws_json1_1ApplicationSettings = function (input, context) {
|
|
4754
|
-
return __assign(__assign({}, (input.Enabled
|
|
4819
|
+
return __assign(__assign({}, (input.Enabled != null && { Enabled: input.Enabled })), (input.SettingsGroup != null && { SettingsGroup: input.SettingsGroup }));
|
|
4755
4820
|
};
|
|
4756
4821
|
var serializeAws_json1_1ArnList = function (input, context) {
|
|
4757
4822
|
return input
|
|
@@ -4764,16 +4829,13 @@ var serializeAws_json1_1ArnList = function (input, context) {
|
|
|
4764
4829
|
});
|
|
4765
4830
|
};
|
|
4766
4831
|
var serializeAws_json1_1AssociateApplicationFleetRequest = function (input, context) {
|
|
4767
|
-
return __assign(__assign({}, (input.ApplicationArn
|
|
4768
|
-
input.ApplicationArn !== null && { ApplicationArn: input.ApplicationArn })), (input.FleetName !== undefined && input.FleetName !== null && { FleetName: input.FleetName }));
|
|
4832
|
+
return __assign(__assign({}, (input.ApplicationArn != null && { ApplicationArn: input.ApplicationArn })), (input.FleetName != null && { FleetName: input.FleetName }));
|
|
4769
4833
|
};
|
|
4770
4834
|
var serializeAws_json1_1AssociateApplicationToEntitlementRequest = function (input, context) {
|
|
4771
|
-
return __assign(__assign(__assign({}, (input.ApplicationIdentifier
|
|
4772
|
-
input.ApplicationIdentifier !== null && { ApplicationIdentifier: input.ApplicationIdentifier })), (input.EntitlementName !== undefined &&
|
|
4773
|
-
input.EntitlementName !== null && { EntitlementName: input.EntitlementName })), (input.StackName !== undefined && input.StackName !== null && { StackName: input.StackName }));
|
|
4835
|
+
return __assign(__assign(__assign({}, (input.ApplicationIdentifier != null && { ApplicationIdentifier: input.ApplicationIdentifier })), (input.EntitlementName != null && { EntitlementName: input.EntitlementName })), (input.StackName != null && { StackName: input.StackName }));
|
|
4774
4836
|
};
|
|
4775
4837
|
var serializeAws_json1_1AssociateFleetRequest = function (input, context) {
|
|
4776
|
-
return __assign(__assign({}, (input.FleetName
|
|
4838
|
+
return __assign(__assign({}, (input.FleetName != null && { FleetName: input.FleetName })), (input.StackName != null && { StackName: input.StackName }));
|
|
4777
4839
|
};
|
|
4778
4840
|
var serializeAws_json1_1AwsAccountIdList = function (input, context) {
|
|
4779
4841
|
return input
|
|
@@ -4786,228 +4848,181 @@ var serializeAws_json1_1AwsAccountIdList = function (input, context) {
|
|
|
4786
4848
|
});
|
|
4787
4849
|
};
|
|
4788
4850
|
var serializeAws_json1_1BatchAssociateUserStackRequest = function (input, context) {
|
|
4789
|
-
return __assign({}, (input.UserStackAssociations
|
|
4790
|
-
input.UserStackAssociations !== null && {
|
|
4851
|
+
return __assign({}, (input.UserStackAssociations != null && {
|
|
4791
4852
|
UserStackAssociations: serializeAws_json1_1UserStackAssociationList(input.UserStackAssociations, context),
|
|
4792
4853
|
}));
|
|
4793
4854
|
};
|
|
4794
4855
|
var serializeAws_json1_1BatchDisassociateUserStackRequest = function (input, context) {
|
|
4795
|
-
return __assign({}, (input.UserStackAssociations
|
|
4796
|
-
input.UserStackAssociations !== null && {
|
|
4856
|
+
return __assign({}, (input.UserStackAssociations != null && {
|
|
4797
4857
|
UserStackAssociations: serializeAws_json1_1UserStackAssociationList(input.UserStackAssociations, context),
|
|
4798
4858
|
}));
|
|
4799
4859
|
};
|
|
4800
4860
|
var serializeAws_json1_1ComputeCapacity = function (input, context) {
|
|
4801
|
-
return __assign({}, (input.DesiredInstances
|
|
4802
|
-
input.DesiredInstances !== null && { DesiredInstances: input.DesiredInstances }));
|
|
4861
|
+
return __assign({}, (input.DesiredInstances != null && { DesiredInstances: input.DesiredInstances }));
|
|
4803
4862
|
};
|
|
4804
4863
|
var serializeAws_json1_1CopyImageRequest = function (input, context) {
|
|
4805
|
-
return __assign(__assign(__assign(__assign({}, (input.DestinationImageDescription
|
|
4806
|
-
|
|
4807
|
-
|
|
4808
|
-
input.DestinationRegion !== null && { DestinationRegion: input.DestinationRegion })), (input.SourceImageName !== undefined &&
|
|
4809
|
-
input.SourceImageName !== null && { SourceImageName: input.SourceImageName }));
|
|
4864
|
+
return __assign(__assign(__assign(__assign({}, (input.DestinationImageDescription != null && {
|
|
4865
|
+
DestinationImageDescription: input.DestinationImageDescription,
|
|
4866
|
+
})), (input.DestinationImageName != null && { DestinationImageName: input.DestinationImageName })), (input.DestinationRegion != null && { DestinationRegion: input.DestinationRegion })), (input.SourceImageName != null && { SourceImageName: input.SourceImageName }));
|
|
4810
4867
|
};
|
|
4811
4868
|
var serializeAws_json1_1CreateAppBlockRequest = function (input, context) {
|
|
4812
|
-
return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.Description
|
|
4813
|
-
input.SetupScriptDetails !== null && {
|
|
4869
|
+
return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.Description != null && { Description: input.Description })), (input.DisplayName != null && { DisplayName: input.DisplayName })), (input.Name != null && { Name: input.Name })), (input.SetupScriptDetails != null && {
|
|
4814
4870
|
SetupScriptDetails: serializeAws_json1_1ScriptDetails(input.SetupScriptDetails, context),
|
|
4815
|
-
})), (input.SourceS3Location
|
|
4816
|
-
input.SourceS3Location !== null && {
|
|
4871
|
+
})), (input.SourceS3Location != null && {
|
|
4817
4872
|
SourceS3Location: serializeAws_json1_1S3Location(input.SourceS3Location, context),
|
|
4818
|
-
})), (input.Tags
|
|
4873
|
+
})), (input.Tags != null && { Tags: serializeAws_json1_1Tags(input.Tags, context) }));
|
|
4819
4874
|
};
|
|
4820
4875
|
var serializeAws_json1_1CreateApplicationRequest = function (input, context) {
|
|
4821
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AppBlockArn
|
|
4822
|
-
input.IconS3Location !== null && {
|
|
4876
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AppBlockArn != null && { AppBlockArn: input.AppBlockArn })), (input.Description != null && { Description: input.Description })), (input.DisplayName != null && { DisplayName: input.DisplayName })), (input.IconS3Location != null && {
|
|
4823
4877
|
IconS3Location: serializeAws_json1_1S3Location(input.IconS3Location, context),
|
|
4824
|
-
})), (input.InstanceFamilies
|
|
4825
|
-
input.InstanceFamilies !== null && {
|
|
4878
|
+
})), (input.InstanceFamilies != null && {
|
|
4826
4879
|
InstanceFamilies: serializeAws_json1_1StringList(input.InstanceFamilies, context),
|
|
4827
|
-
})), (input.LaunchParameters
|
|
4828
|
-
input.LaunchParameters !== null && { LaunchParameters: input.LaunchParameters })), (input.LaunchPath !== undefined && input.LaunchPath !== null && { LaunchPath: input.LaunchPath })), (input.Name !== undefined && input.Name !== null && { Name: input.Name })), (input.Platforms !== undefined &&
|
|
4829
|
-
input.Platforms !== null && { Platforms: serializeAws_json1_1Platforms(input.Platforms, context) })), (input.Tags !== undefined && input.Tags !== null && { Tags: serializeAws_json1_1Tags(input.Tags, context) })), (input.WorkingDirectory !== undefined &&
|
|
4830
|
-
input.WorkingDirectory !== null && { WorkingDirectory: input.WorkingDirectory }));
|
|
4880
|
+
})), (input.LaunchParameters != null && { LaunchParameters: input.LaunchParameters })), (input.LaunchPath != null && { LaunchPath: input.LaunchPath })), (input.Name != null && { Name: input.Name })), (input.Platforms != null && { Platforms: serializeAws_json1_1Platforms(input.Platforms, context) })), (input.Tags != null && { Tags: serializeAws_json1_1Tags(input.Tags, context) })), (input.WorkingDirectory != null && { WorkingDirectory: input.WorkingDirectory }));
|
|
4831
4881
|
};
|
|
4832
4882
|
var serializeAws_json1_1CreateDirectoryConfigRequest = function (input, context) {
|
|
4833
|
-
return __assign(__assign(__assign({}, (input.DirectoryName
|
|
4834
|
-
input.OrganizationalUnitDistinguishedNames !== null && {
|
|
4883
|
+
return __assign(__assign(__assign({}, (input.DirectoryName != null && { DirectoryName: input.DirectoryName })), (input.OrganizationalUnitDistinguishedNames != null && {
|
|
4835
4884
|
OrganizationalUnitDistinguishedNames: serializeAws_json1_1OrganizationalUnitDistinguishedNamesList(input.OrganizationalUnitDistinguishedNames, context),
|
|
4836
|
-
})), (input.ServiceAccountCredentials
|
|
4837
|
-
input.ServiceAccountCredentials !== null && {
|
|
4885
|
+
})), (input.ServiceAccountCredentials != null && {
|
|
4838
4886
|
ServiceAccountCredentials: serializeAws_json1_1ServiceAccountCredentials(input.ServiceAccountCredentials, context),
|
|
4839
4887
|
}));
|
|
4840
4888
|
};
|
|
4841
4889
|
var serializeAws_json1_1CreateEntitlementRequest = function (input, context) {
|
|
4842
|
-
return __assign(__assign(__assign(__assign(__assign({}, (input.AppVisibility
|
|
4843
|
-
input.Attributes !== null && {
|
|
4890
|
+
return __assign(__assign(__assign(__assign(__assign({}, (input.AppVisibility != null && { AppVisibility: input.AppVisibility })), (input.Attributes != null && {
|
|
4844
4891
|
Attributes: serializeAws_json1_1EntitlementAttributeList(input.Attributes, context),
|
|
4845
|
-
})), (input.Description
|
|
4892
|
+
})), (input.Description != null && { Description: input.Description })), (input.Name != null && { Name: input.Name })), (input.StackName != null && { StackName: input.StackName }));
|
|
4846
4893
|
};
|
|
4847
4894
|
var serializeAws_json1_1CreateFleetRequest = function (input, context) {
|
|
4848
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.ComputeCapacity
|
|
4849
|
-
input.ComputeCapacity !== null && {
|
|
4895
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.ComputeCapacity != null && {
|
|
4850
4896
|
ComputeCapacity: serializeAws_json1_1ComputeCapacity(input.ComputeCapacity, context),
|
|
4851
|
-
})), (input.Description
|
|
4852
|
-
input.DisconnectTimeoutInSeconds !== null && { DisconnectTimeoutInSeconds: input.DisconnectTimeoutInSeconds })), (input.DisplayName !== undefined && input.DisplayName !== null && { DisplayName: input.DisplayName })), (input.DomainJoinInfo !== undefined &&
|
|
4853
|
-
input.DomainJoinInfo !== null && {
|
|
4897
|
+
})), (input.Description != null && { Description: input.Description })), (input.DisconnectTimeoutInSeconds != null && { DisconnectTimeoutInSeconds: input.DisconnectTimeoutInSeconds })), (input.DisplayName != null && { DisplayName: input.DisplayName })), (input.DomainJoinInfo != null && {
|
|
4854
4898
|
DomainJoinInfo: serializeAws_json1_1DomainJoinInfo(input.DomainJoinInfo, context),
|
|
4855
|
-
})), (input.EnableDefaultInternetAccess
|
|
4856
|
-
|
|
4857
|
-
|
|
4899
|
+
})), (input.EnableDefaultInternetAccess != null && {
|
|
4900
|
+
EnableDefaultInternetAccess: input.EnableDefaultInternetAccess,
|
|
4901
|
+
})), (input.FleetType != null && { FleetType: input.FleetType })), (input.IamRoleArn != null && { IamRoleArn: input.IamRoleArn })), (input.IdleDisconnectTimeoutInSeconds != null && {
|
|
4858
4902
|
IdleDisconnectTimeoutInSeconds: input.IdleDisconnectTimeoutInSeconds,
|
|
4859
|
-
})), (input.ImageArn
|
|
4860
|
-
input.MaxConcurrentSessions !== null && { MaxConcurrentSessions: input.MaxConcurrentSessions })), (input.MaxUserDurationInSeconds !== undefined &&
|
|
4861
|
-
input.MaxUserDurationInSeconds !== null && { MaxUserDurationInSeconds: input.MaxUserDurationInSeconds })), (input.Name !== undefined && input.Name !== null && { Name: input.Name })), (input.Platform !== undefined && input.Platform !== null && { Platform: input.Platform })), (input.SessionScriptS3Location !== undefined &&
|
|
4862
|
-
input.SessionScriptS3Location !== null && {
|
|
4903
|
+
})), (input.ImageArn != null && { ImageArn: input.ImageArn })), (input.ImageName != null && { ImageName: input.ImageName })), (input.InstanceType != null && { InstanceType: input.InstanceType })), (input.MaxConcurrentSessions != null && { MaxConcurrentSessions: input.MaxConcurrentSessions })), (input.MaxUserDurationInSeconds != null && { MaxUserDurationInSeconds: input.MaxUserDurationInSeconds })), (input.Name != null && { Name: input.Name })), (input.Platform != null && { Platform: input.Platform })), (input.SessionScriptS3Location != null && {
|
|
4863
4904
|
SessionScriptS3Location: serializeAws_json1_1S3Location(input.SessionScriptS3Location, context),
|
|
4864
|
-
})), (input.StreamView
|
|
4865
|
-
input.UsbDeviceFilterStrings !== null && {
|
|
4905
|
+
})), (input.StreamView != null && { StreamView: input.StreamView })), (input.Tags != null && { Tags: serializeAws_json1_1Tags(input.Tags, context) })), (input.UsbDeviceFilterStrings != null && {
|
|
4866
4906
|
UsbDeviceFilterStrings: serializeAws_json1_1UsbDeviceFilterStrings(input.UsbDeviceFilterStrings, context),
|
|
4867
|
-
})), (input.VpcConfig
|
|
4868
|
-
input.VpcConfig !== null && { VpcConfig: serializeAws_json1_1VpcConfig(input.VpcConfig, context) }));
|
|
4907
|
+
})), (input.VpcConfig != null && { VpcConfig: serializeAws_json1_1VpcConfig(input.VpcConfig, context) }));
|
|
4869
4908
|
};
|
|
4870
4909
|
var serializeAws_json1_1CreateImageBuilderRequest = function (input, context) {
|
|
4871
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AccessEndpoints
|
|
4872
|
-
input.AccessEndpoints !== null && {
|
|
4910
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AccessEndpoints != null && {
|
|
4873
4911
|
AccessEndpoints: serializeAws_json1_1AccessEndpointList(input.AccessEndpoints, context),
|
|
4874
|
-
})), (input.AppstreamAgentVersion
|
|
4875
|
-
input.AppstreamAgentVersion !== null && { AppstreamAgentVersion: input.AppstreamAgentVersion })), (input.Description !== undefined && input.Description !== null && { Description: input.Description })), (input.DisplayName !== undefined && input.DisplayName !== null && { DisplayName: input.DisplayName })), (input.DomainJoinInfo !== undefined &&
|
|
4876
|
-
input.DomainJoinInfo !== null && {
|
|
4912
|
+
})), (input.AppstreamAgentVersion != null && { AppstreamAgentVersion: input.AppstreamAgentVersion })), (input.Description != null && { Description: input.Description })), (input.DisplayName != null && { DisplayName: input.DisplayName })), (input.DomainJoinInfo != null && {
|
|
4877
4913
|
DomainJoinInfo: serializeAws_json1_1DomainJoinInfo(input.DomainJoinInfo, context),
|
|
4878
|
-
})), (input.EnableDefaultInternetAccess
|
|
4879
|
-
|
|
4880
|
-
|
|
4914
|
+
})), (input.EnableDefaultInternetAccess != null && {
|
|
4915
|
+
EnableDefaultInternetAccess: input.EnableDefaultInternetAccess,
|
|
4916
|
+
})), (input.IamRoleArn != null && { IamRoleArn: input.IamRoleArn })), (input.ImageArn != null && { ImageArn: input.ImageArn })), (input.ImageName != null && { ImageName: input.ImageName })), (input.InstanceType != null && { InstanceType: input.InstanceType })), (input.Name != null && { Name: input.Name })), (input.Tags != null && { Tags: serializeAws_json1_1Tags(input.Tags, context) })), (input.VpcConfig != null && { VpcConfig: serializeAws_json1_1VpcConfig(input.VpcConfig, context) }));
|
|
4881
4917
|
};
|
|
4882
4918
|
var serializeAws_json1_1CreateImageBuilderStreamingURLRequest = function (input, context) {
|
|
4883
|
-
return __assign(__assign({}, (input.Name
|
|
4919
|
+
return __assign(__assign({}, (input.Name != null && { Name: input.Name })), (input.Validity != null && { Validity: input.Validity }));
|
|
4884
4920
|
};
|
|
4885
4921
|
var serializeAws_json1_1CreateStackRequest = function (input, context) {
|
|
4886
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AccessEndpoints
|
|
4887
|
-
input.AccessEndpoints !== null && {
|
|
4922
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AccessEndpoints != null && {
|
|
4888
4923
|
AccessEndpoints: serializeAws_json1_1AccessEndpointList(input.AccessEndpoints, context),
|
|
4889
|
-
})), (input.ApplicationSettings
|
|
4890
|
-
input.ApplicationSettings !== null && {
|
|
4924
|
+
})), (input.ApplicationSettings != null && {
|
|
4891
4925
|
ApplicationSettings: serializeAws_json1_1ApplicationSettings(input.ApplicationSettings, context),
|
|
4892
|
-
})), (input.Description
|
|
4893
|
-
input.EmbedHostDomains !== null && {
|
|
4926
|
+
})), (input.Description != null && { Description: input.Description })), (input.DisplayName != null && { DisplayName: input.DisplayName })), (input.EmbedHostDomains != null && {
|
|
4894
4927
|
EmbedHostDomains: serializeAws_json1_1EmbedHostDomains(input.EmbedHostDomains, context),
|
|
4895
|
-
})), (input.FeedbackURL
|
|
4896
|
-
input.StorageConnectors !== null && {
|
|
4928
|
+
})), (input.FeedbackURL != null && { FeedbackURL: input.FeedbackURL })), (input.Name != null && { Name: input.Name })), (input.RedirectURL != null && { RedirectURL: input.RedirectURL })), (input.StorageConnectors != null && {
|
|
4897
4929
|
StorageConnectors: serializeAws_json1_1StorageConnectorList(input.StorageConnectors, context),
|
|
4898
|
-
})), (input.
|
|
4899
|
-
input.
|
|
4930
|
+
})), (input.StreamingExperienceSettings != null && {
|
|
4931
|
+
StreamingExperienceSettings: serializeAws_json1_1StreamingExperienceSettings(input.StreamingExperienceSettings, context),
|
|
4932
|
+
})), (input.Tags != null && { Tags: serializeAws_json1_1Tags(input.Tags, context) })), (input.UserSettings != null && {
|
|
4900
4933
|
UserSettings: serializeAws_json1_1UserSettingList(input.UserSettings, context),
|
|
4901
4934
|
}));
|
|
4902
4935
|
};
|
|
4903
4936
|
var serializeAws_json1_1CreateStreamingURLRequest = function (input, context) {
|
|
4904
|
-
return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.ApplicationId
|
|
4905
|
-
input.SessionContext !== null && { SessionContext: input.SessionContext })), (input.StackName !== undefined && input.StackName !== null && { StackName: input.StackName })), (input.UserId !== undefined && input.UserId !== null && { UserId: input.UserId })), (input.Validity !== undefined && input.Validity !== null && { Validity: input.Validity }));
|
|
4937
|
+
return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.ApplicationId != null && { ApplicationId: input.ApplicationId })), (input.FleetName != null && { FleetName: input.FleetName })), (input.SessionContext != null && { SessionContext: input.SessionContext })), (input.StackName != null && { StackName: input.StackName })), (input.UserId != null && { UserId: input.UserId })), (input.Validity != null && { Validity: input.Validity }));
|
|
4906
4938
|
};
|
|
4907
4939
|
var serializeAws_json1_1CreateUpdatedImageRequest = function (input, context) {
|
|
4908
|
-
return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.dryRun
|
|
4909
|
-
input.existingImageName !== null && { existingImageName: input.existingImageName })), (input.newImageDescription !== undefined &&
|
|
4910
|
-
input.newImageDescription !== null && { newImageDescription: input.newImageDescription })), (input.newImageDisplayName !== undefined &&
|
|
4911
|
-
input.newImageDisplayName !== null && { newImageDisplayName: input.newImageDisplayName })), (input.newImageName !== undefined && input.newImageName !== null && { newImageName: input.newImageName })), (input.newImageTags !== undefined &&
|
|
4912
|
-
input.newImageTags !== null && { newImageTags: serializeAws_json1_1Tags(input.newImageTags, context) }));
|
|
4940
|
+
return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.dryRun != null && { dryRun: input.dryRun })), (input.existingImageName != null && { existingImageName: input.existingImageName })), (input.newImageDescription != null && { newImageDescription: input.newImageDescription })), (input.newImageDisplayName != null && { newImageDisplayName: input.newImageDisplayName })), (input.newImageName != null && { newImageName: input.newImageName })), (input.newImageTags != null && { newImageTags: serializeAws_json1_1Tags(input.newImageTags, context) }));
|
|
4913
4941
|
};
|
|
4914
4942
|
var serializeAws_json1_1CreateUsageReportSubscriptionRequest = function (input, context) {
|
|
4915
4943
|
return {};
|
|
4916
4944
|
};
|
|
4917
4945
|
var serializeAws_json1_1CreateUserRequest = function (input, context) {
|
|
4918
|
-
return __assign(__assign(__assign(__assign(__assign({}, (input.AuthenticationType
|
|
4919
|
-
input.AuthenticationType !== null && { AuthenticationType: input.AuthenticationType })), (input.FirstName !== undefined && input.FirstName !== null && { FirstName: input.FirstName })), (input.LastName !== undefined && input.LastName !== null && { LastName: input.LastName })), (input.MessageAction !== undefined && input.MessageAction !== null && { MessageAction: input.MessageAction })), (input.UserName !== undefined && input.UserName !== null && { UserName: input.UserName }));
|
|
4946
|
+
return __assign(__assign(__assign(__assign(__assign({}, (input.AuthenticationType != null && { AuthenticationType: input.AuthenticationType })), (input.FirstName != null && { FirstName: input.FirstName })), (input.LastName != null && { LastName: input.LastName })), (input.MessageAction != null && { MessageAction: input.MessageAction })), (input.UserName != null && { UserName: input.UserName }));
|
|
4920
4947
|
};
|
|
4921
4948
|
var serializeAws_json1_1DeleteAppBlockRequest = function (input, context) {
|
|
4922
|
-
return __assign({}, (input.Name
|
|
4949
|
+
return __assign({}, (input.Name != null && { Name: input.Name }));
|
|
4923
4950
|
};
|
|
4924
4951
|
var serializeAws_json1_1DeleteApplicationRequest = function (input, context) {
|
|
4925
|
-
return __assign({}, (input.Name
|
|
4952
|
+
return __assign({}, (input.Name != null && { Name: input.Name }));
|
|
4926
4953
|
};
|
|
4927
4954
|
var serializeAws_json1_1DeleteDirectoryConfigRequest = function (input, context) {
|
|
4928
|
-
return __assign({}, (input.DirectoryName
|
|
4955
|
+
return __assign({}, (input.DirectoryName != null && { DirectoryName: input.DirectoryName }));
|
|
4929
4956
|
};
|
|
4930
4957
|
var serializeAws_json1_1DeleteEntitlementRequest = function (input, context) {
|
|
4931
|
-
return __assign(__assign({}, (input.Name
|
|
4958
|
+
return __assign(__assign({}, (input.Name != null && { Name: input.Name })), (input.StackName != null && { StackName: input.StackName }));
|
|
4932
4959
|
};
|
|
4933
4960
|
var serializeAws_json1_1DeleteFleetRequest = function (input, context) {
|
|
4934
|
-
return __assign({}, (input.Name
|
|
4961
|
+
return __assign({}, (input.Name != null && { Name: input.Name }));
|
|
4935
4962
|
};
|
|
4936
4963
|
var serializeAws_json1_1DeleteImageBuilderRequest = function (input, context) {
|
|
4937
|
-
return __assign({}, (input.Name
|
|
4964
|
+
return __assign({}, (input.Name != null && { Name: input.Name }));
|
|
4938
4965
|
};
|
|
4939
4966
|
var serializeAws_json1_1DeleteImagePermissionsRequest = function (input, context) {
|
|
4940
|
-
return __assign(__assign({}, (input.Name
|
|
4941
|
-
input.SharedAccountId !== null && { SharedAccountId: input.SharedAccountId }));
|
|
4967
|
+
return __assign(__assign({}, (input.Name != null && { Name: input.Name })), (input.SharedAccountId != null && { SharedAccountId: input.SharedAccountId }));
|
|
4942
4968
|
};
|
|
4943
4969
|
var serializeAws_json1_1DeleteImageRequest = function (input, context) {
|
|
4944
|
-
return __assign({}, (input.Name
|
|
4970
|
+
return __assign({}, (input.Name != null && { Name: input.Name }));
|
|
4945
4971
|
};
|
|
4946
4972
|
var serializeAws_json1_1DeleteStackRequest = function (input, context) {
|
|
4947
|
-
return __assign({}, (input.Name
|
|
4973
|
+
return __assign({}, (input.Name != null && { Name: input.Name }));
|
|
4948
4974
|
};
|
|
4949
4975
|
var serializeAws_json1_1DeleteUsageReportSubscriptionRequest = function (input, context) {
|
|
4950
4976
|
return {};
|
|
4951
4977
|
};
|
|
4952
4978
|
var serializeAws_json1_1DeleteUserRequest = function (input, context) {
|
|
4953
|
-
return __assign(__assign({}, (input.AuthenticationType
|
|
4954
|
-
input.AuthenticationType !== null && { AuthenticationType: input.AuthenticationType })), (input.UserName !== undefined && input.UserName !== null && { UserName: input.UserName }));
|
|
4979
|
+
return __assign(__assign({}, (input.AuthenticationType != null && { AuthenticationType: input.AuthenticationType })), (input.UserName != null && { UserName: input.UserName }));
|
|
4955
4980
|
};
|
|
4956
4981
|
var serializeAws_json1_1DescribeAppBlocksRequest = function (input, context) {
|
|
4957
|
-
return __assign(__assign(__assign({}, (input.Arns
|
|
4982
|
+
return __assign(__assign(__assign({}, (input.Arns != null && { Arns: serializeAws_json1_1ArnList(input.Arns, context) })), (input.MaxResults != null && { MaxResults: input.MaxResults })), (input.NextToken != null && { NextToken: input.NextToken }));
|
|
4958
4983
|
};
|
|
4959
4984
|
var serializeAws_json1_1DescribeApplicationFleetAssociationsRequest = function (input, context) {
|
|
4960
|
-
return __assign(__assign(__assign(__assign({}, (input.ApplicationArn
|
|
4961
|
-
input.ApplicationArn !== null && { ApplicationArn: input.ApplicationArn })), (input.FleetName !== undefined && input.FleetName !== null && { FleetName: input.FleetName })), (input.MaxResults !== undefined && input.MaxResults !== null && { MaxResults: input.MaxResults })), (input.NextToken !== undefined && input.NextToken !== null && { NextToken: input.NextToken }));
|
|
4985
|
+
return __assign(__assign(__assign(__assign({}, (input.ApplicationArn != null && { ApplicationArn: input.ApplicationArn })), (input.FleetName != null && { FleetName: input.FleetName })), (input.MaxResults != null && { MaxResults: input.MaxResults })), (input.NextToken != null && { NextToken: input.NextToken }));
|
|
4962
4986
|
};
|
|
4963
4987
|
var serializeAws_json1_1DescribeApplicationsRequest = function (input, context) {
|
|
4964
|
-
return __assign(__assign(__assign({}, (input.Arns
|
|
4988
|
+
return __assign(__assign(__assign({}, (input.Arns != null && { Arns: serializeAws_json1_1ArnList(input.Arns, context) })), (input.MaxResults != null && { MaxResults: input.MaxResults })), (input.NextToken != null && { NextToken: input.NextToken }));
|
|
4965
4989
|
};
|
|
4966
4990
|
var serializeAws_json1_1DescribeDirectoryConfigsRequest = function (input, context) {
|
|
4967
|
-
return __assign(__assign(__assign({}, (input.DirectoryNames
|
|
4968
|
-
input.DirectoryNames !== null && {
|
|
4991
|
+
return __assign(__assign(__assign({}, (input.DirectoryNames != null && {
|
|
4969
4992
|
DirectoryNames: serializeAws_json1_1DirectoryNameList(input.DirectoryNames, context),
|
|
4970
|
-
})), (input.MaxResults
|
|
4993
|
+
})), (input.MaxResults != null && { MaxResults: input.MaxResults })), (input.NextToken != null && { NextToken: input.NextToken }));
|
|
4971
4994
|
};
|
|
4972
4995
|
var serializeAws_json1_1DescribeEntitlementsRequest = function (input, context) {
|
|
4973
|
-
return __assign(__assign(__assign(__assign({}, (input.MaxResults
|
|
4996
|
+
return __assign(__assign(__assign(__assign({}, (input.MaxResults != null && { MaxResults: input.MaxResults })), (input.Name != null && { Name: input.Name })), (input.NextToken != null && { NextToken: input.NextToken })), (input.StackName != null && { StackName: input.StackName }));
|
|
4974
4997
|
};
|
|
4975
4998
|
var serializeAws_json1_1DescribeFleetsRequest = function (input, context) {
|
|
4976
|
-
return __assign(__assign({}, (input.Names
|
|
4977
|
-
input.Names !== null && { Names: serializeAws_json1_1StringList(input.Names, context) })), (input.NextToken !== undefined && input.NextToken !== null && { NextToken: input.NextToken }));
|
|
4999
|
+
return __assign(__assign({}, (input.Names != null && { Names: serializeAws_json1_1StringList(input.Names, context) })), (input.NextToken != null && { NextToken: input.NextToken }));
|
|
4978
5000
|
};
|
|
4979
5001
|
var serializeAws_json1_1DescribeImageBuildersRequest = function (input, context) {
|
|
4980
|
-
return __assign(__assign(__assign({}, (input.MaxResults
|
|
4981
|
-
input.Names !== null && { Names: serializeAws_json1_1StringList(input.Names, context) })), (input.NextToken !== undefined && input.NextToken !== null && { NextToken: input.NextToken }));
|
|
5002
|
+
return __assign(__assign(__assign({}, (input.MaxResults != null && { MaxResults: input.MaxResults })), (input.Names != null && { Names: serializeAws_json1_1StringList(input.Names, context) })), (input.NextToken != null && { NextToken: input.NextToken }));
|
|
4982
5003
|
};
|
|
4983
5004
|
var serializeAws_json1_1DescribeImagePermissionsRequest = function (input, context) {
|
|
4984
|
-
return __assign(__assign(__assign(__assign({}, (input.MaxResults
|
|
4985
|
-
input.SharedAwsAccountIds !== null && {
|
|
5005
|
+
return __assign(__assign(__assign(__assign({}, (input.MaxResults != null && { MaxResults: input.MaxResults })), (input.Name != null && { Name: input.Name })), (input.NextToken != null && { NextToken: input.NextToken })), (input.SharedAwsAccountIds != null && {
|
|
4986
5006
|
SharedAwsAccountIds: serializeAws_json1_1AwsAccountIdList(input.SharedAwsAccountIds, context),
|
|
4987
5007
|
}));
|
|
4988
5008
|
};
|
|
4989
5009
|
var serializeAws_json1_1DescribeImagesRequest = function (input, context) {
|
|
4990
|
-
return __assign(__assign(__assign(__assign(__assign({}, (input.Arns
|
|
4991
|
-
input.Names !== null && { Names: serializeAws_json1_1StringList(input.Names, context) })), (input.NextToken !== undefined && input.NextToken !== null && { NextToken: input.NextToken })), (input.Type !== undefined && input.Type !== null && { Type: input.Type }));
|
|
5010
|
+
return __assign(__assign(__assign(__assign(__assign({}, (input.Arns != null && { Arns: serializeAws_json1_1ArnList(input.Arns, context) })), (input.MaxResults != null && { MaxResults: input.MaxResults })), (input.Names != null && { Names: serializeAws_json1_1StringList(input.Names, context) })), (input.NextToken != null && { NextToken: input.NextToken })), (input.Type != null && { Type: input.Type }));
|
|
4992
5011
|
};
|
|
4993
5012
|
var serializeAws_json1_1DescribeSessionsRequest = function (input, context) {
|
|
4994
|
-
return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.AuthenticationType
|
|
4995
|
-
input.AuthenticationType !== null && { AuthenticationType: input.AuthenticationType })), (input.FleetName !== undefined && input.FleetName !== null && { FleetName: input.FleetName })), (input.Limit !== undefined && input.Limit !== null && { Limit: input.Limit })), (input.NextToken !== undefined && input.NextToken !== null && { NextToken: input.NextToken })), (input.StackName !== undefined && input.StackName !== null && { StackName: input.StackName })), (input.UserId !== undefined && input.UserId !== null && { UserId: input.UserId }));
|
|
5013
|
+
return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.AuthenticationType != null && { AuthenticationType: input.AuthenticationType })), (input.FleetName != null && { FleetName: input.FleetName })), (input.Limit != null && { Limit: input.Limit })), (input.NextToken != null && { NextToken: input.NextToken })), (input.StackName != null && { StackName: input.StackName })), (input.UserId != null && { UserId: input.UserId }));
|
|
4996
5014
|
};
|
|
4997
5015
|
var serializeAws_json1_1DescribeStacksRequest = function (input, context) {
|
|
4998
|
-
return __assign(__assign({}, (input.Names
|
|
4999
|
-
input.Names !== null && { Names: serializeAws_json1_1StringList(input.Names, context) })), (input.NextToken !== undefined && input.NextToken !== null && { NextToken: input.NextToken }));
|
|
5016
|
+
return __assign(__assign({}, (input.Names != null && { Names: serializeAws_json1_1StringList(input.Names, context) })), (input.NextToken != null && { NextToken: input.NextToken }));
|
|
5000
5017
|
};
|
|
5001
5018
|
var serializeAws_json1_1DescribeUsageReportSubscriptionsRequest = function (input, context) {
|
|
5002
|
-
return __assign(__assign({}, (input.MaxResults
|
|
5019
|
+
return __assign(__assign({}, (input.MaxResults != null && { MaxResults: input.MaxResults })), (input.NextToken != null && { NextToken: input.NextToken }));
|
|
5003
5020
|
};
|
|
5004
5021
|
var serializeAws_json1_1DescribeUsersRequest = function (input, context) {
|
|
5005
|
-
return __assign(__assign(__assign({}, (input.AuthenticationType
|
|
5006
|
-
input.AuthenticationType !== null && { AuthenticationType: input.AuthenticationType })), (input.MaxResults !== undefined && input.MaxResults !== null && { MaxResults: input.MaxResults })), (input.NextToken !== undefined && input.NextToken !== null && { NextToken: input.NextToken }));
|
|
5022
|
+
return __assign(__assign(__assign({}, (input.AuthenticationType != null && { AuthenticationType: input.AuthenticationType })), (input.MaxResults != null && { MaxResults: input.MaxResults })), (input.NextToken != null && { NextToken: input.NextToken }));
|
|
5007
5023
|
};
|
|
5008
5024
|
var serializeAws_json1_1DescribeUserStackAssociationsRequest = function (input, context) {
|
|
5009
|
-
return __assign(__assign(__assign(__assign(__assign({}, (input.AuthenticationType
|
|
5010
|
-
input.AuthenticationType !== null && { AuthenticationType: input.AuthenticationType })), (input.MaxResults !== undefined && input.MaxResults !== null && { MaxResults: input.MaxResults })), (input.NextToken !== undefined && input.NextToken !== null && { NextToken: input.NextToken })), (input.StackName !== undefined && input.StackName !== null && { StackName: input.StackName })), (input.UserName !== undefined && input.UserName !== null && { UserName: input.UserName }));
|
|
5025
|
+
return __assign(__assign(__assign(__assign(__assign({}, (input.AuthenticationType != null && { AuthenticationType: input.AuthenticationType })), (input.MaxResults != null && { MaxResults: input.MaxResults })), (input.NextToken != null && { NextToken: input.NextToken })), (input.StackName != null && { StackName: input.StackName })), (input.UserName != null && { UserName: input.UserName }));
|
|
5011
5026
|
};
|
|
5012
5027
|
var serializeAws_json1_1DirectoryNameList = function (input, context) {
|
|
5013
5028
|
return input
|
|
@@ -5020,24 +5035,19 @@ var serializeAws_json1_1DirectoryNameList = function (input, context) {
|
|
|
5020
5035
|
});
|
|
5021
5036
|
};
|
|
5022
5037
|
var serializeAws_json1_1DisableUserRequest = function (input, context) {
|
|
5023
|
-
return __assign(__assign({}, (input.AuthenticationType
|
|
5024
|
-
input.AuthenticationType !== null && { AuthenticationType: input.AuthenticationType })), (input.UserName !== undefined && input.UserName !== null && { UserName: input.UserName }));
|
|
5038
|
+
return __assign(__assign({}, (input.AuthenticationType != null && { AuthenticationType: input.AuthenticationType })), (input.UserName != null && { UserName: input.UserName }));
|
|
5025
5039
|
};
|
|
5026
5040
|
var serializeAws_json1_1DisassociateApplicationFleetRequest = function (input, context) {
|
|
5027
|
-
return __assign(__assign({}, (input.ApplicationArn
|
|
5028
|
-
input.ApplicationArn !== null && { ApplicationArn: input.ApplicationArn })), (input.FleetName !== undefined && input.FleetName !== null && { FleetName: input.FleetName }));
|
|
5041
|
+
return __assign(__assign({}, (input.ApplicationArn != null && { ApplicationArn: input.ApplicationArn })), (input.FleetName != null && { FleetName: input.FleetName }));
|
|
5029
5042
|
};
|
|
5030
5043
|
var serializeAws_json1_1DisassociateApplicationFromEntitlementRequest = function (input, context) {
|
|
5031
|
-
return __assign(__assign(__assign({}, (input.ApplicationIdentifier
|
|
5032
|
-
input.ApplicationIdentifier !== null && { ApplicationIdentifier: input.ApplicationIdentifier })), (input.EntitlementName !== undefined &&
|
|
5033
|
-
input.EntitlementName !== null && { EntitlementName: input.EntitlementName })), (input.StackName !== undefined && input.StackName !== null && { StackName: input.StackName }));
|
|
5044
|
+
return __assign(__assign(__assign({}, (input.ApplicationIdentifier != null && { ApplicationIdentifier: input.ApplicationIdentifier })), (input.EntitlementName != null && { EntitlementName: input.EntitlementName })), (input.StackName != null && { StackName: input.StackName }));
|
|
5034
5045
|
};
|
|
5035
5046
|
var serializeAws_json1_1DisassociateFleetRequest = function (input, context) {
|
|
5036
|
-
return __assign(__assign({}, (input.FleetName
|
|
5047
|
+
return __assign(__assign({}, (input.FleetName != null && { FleetName: input.FleetName })), (input.StackName != null && { StackName: input.StackName }));
|
|
5037
5048
|
};
|
|
5038
5049
|
var serializeAws_json1_1DomainJoinInfo = function (input, context) {
|
|
5039
|
-
return __assign(__assign({}, (input.DirectoryName
|
|
5040
|
-
input.OrganizationalUnitDistinguishedName !== null && {
|
|
5050
|
+
return __assign(__assign({}, (input.DirectoryName != null && { DirectoryName: input.DirectoryName })), (input.OrganizationalUnitDistinguishedName != null && {
|
|
5041
5051
|
OrganizationalUnitDistinguishedName: input.OrganizationalUnitDistinguishedName,
|
|
5042
5052
|
}));
|
|
5043
5053
|
};
|
|
@@ -5062,11 +5072,10 @@ var serializeAws_json1_1EmbedHostDomains = function (input, context) {
|
|
|
5062
5072
|
});
|
|
5063
5073
|
};
|
|
5064
5074
|
var serializeAws_json1_1EnableUserRequest = function (input, context) {
|
|
5065
|
-
return __assign(__assign({}, (input.AuthenticationType
|
|
5066
|
-
input.AuthenticationType !== null && { AuthenticationType: input.AuthenticationType })), (input.UserName !== undefined && input.UserName !== null && { UserName: input.UserName }));
|
|
5075
|
+
return __assign(__assign({}, (input.AuthenticationType != null && { AuthenticationType: input.AuthenticationType })), (input.UserName != null && { UserName: input.UserName }));
|
|
5067
5076
|
};
|
|
5068
5077
|
var serializeAws_json1_1EntitlementAttribute = function (input, context) {
|
|
5069
|
-
return __assign(__assign({}, (input.Name
|
|
5078
|
+
return __assign(__assign({}, (input.Name != null && { Name: input.Name })), (input.Value != null && { Value: input.Value }));
|
|
5070
5079
|
};
|
|
5071
5080
|
var serializeAws_json1_1EntitlementAttributeList = function (input, context) {
|
|
5072
5081
|
return input
|
|
@@ -5079,7 +5088,7 @@ var serializeAws_json1_1EntitlementAttributeList = function (input, context) {
|
|
|
5079
5088
|
});
|
|
5080
5089
|
};
|
|
5081
5090
|
var serializeAws_json1_1ExpireSessionRequest = function (input, context) {
|
|
5082
|
-
return __assign({}, (input.SessionId
|
|
5091
|
+
return __assign({}, (input.SessionId != null && { SessionId: input.SessionId }));
|
|
5083
5092
|
};
|
|
5084
5093
|
var serializeAws_json1_1FleetAttributes = function (input, context) {
|
|
5085
5094
|
return input
|
|
@@ -5092,21 +5101,19 @@ var serializeAws_json1_1FleetAttributes = function (input, context) {
|
|
|
5092
5101
|
});
|
|
5093
5102
|
};
|
|
5094
5103
|
var serializeAws_json1_1ImagePermissions = function (input, context) {
|
|
5095
|
-
return __assign(__assign({}, (input.allowFleet
|
|
5096
|
-
input.allowImageBuilder !== null && { allowImageBuilder: input.allowImageBuilder }));
|
|
5104
|
+
return __assign(__assign({}, (input.allowFleet != null && { allowFleet: input.allowFleet })), (input.allowImageBuilder != null && { allowImageBuilder: input.allowImageBuilder }));
|
|
5097
5105
|
};
|
|
5098
5106
|
var serializeAws_json1_1ListAssociatedFleetsRequest = function (input, context) {
|
|
5099
|
-
return __assign(__assign({}, (input.NextToken
|
|
5107
|
+
return __assign(__assign({}, (input.NextToken != null && { NextToken: input.NextToken })), (input.StackName != null && { StackName: input.StackName }));
|
|
5100
5108
|
};
|
|
5101
5109
|
var serializeAws_json1_1ListAssociatedStacksRequest = function (input, context) {
|
|
5102
|
-
return __assign(__assign({}, (input.FleetName
|
|
5110
|
+
return __assign(__assign({}, (input.FleetName != null && { FleetName: input.FleetName })), (input.NextToken != null && { NextToken: input.NextToken }));
|
|
5103
5111
|
};
|
|
5104
5112
|
var serializeAws_json1_1ListEntitledApplicationsRequest = function (input, context) {
|
|
5105
|
-
return __assign(__assign(__assign(__assign({}, (input.EntitlementName
|
|
5106
|
-
input.EntitlementName !== null && { EntitlementName: input.EntitlementName })), (input.MaxResults !== undefined && input.MaxResults !== null && { MaxResults: input.MaxResults })), (input.NextToken !== undefined && input.NextToken !== null && { NextToken: input.NextToken })), (input.StackName !== undefined && input.StackName !== null && { StackName: input.StackName }));
|
|
5113
|
+
return __assign(__assign(__assign(__assign({}, (input.EntitlementName != null && { EntitlementName: input.EntitlementName })), (input.MaxResults != null && { MaxResults: input.MaxResults })), (input.NextToken != null && { NextToken: input.NextToken })), (input.StackName != null && { StackName: input.StackName }));
|
|
5107
5114
|
};
|
|
5108
5115
|
var serializeAws_json1_1ListTagsForResourceRequest = function (input, context) {
|
|
5109
|
-
return __assign({}, (input.ResourceArn
|
|
5116
|
+
return __assign({}, (input.ResourceArn != null && { ResourceArn: input.ResourceArn }));
|
|
5110
5117
|
};
|
|
5111
5118
|
var serializeAws_json1_1OrganizationalUnitDistinguishedNamesList = function (input, context) {
|
|
5112
5119
|
return input
|
|
@@ -5129,16 +5136,12 @@ var serializeAws_json1_1Platforms = function (input, context) {
|
|
|
5129
5136
|
});
|
|
5130
5137
|
};
|
|
5131
5138
|
var serializeAws_json1_1S3Location = function (input, context) {
|
|
5132
|
-
return __assign(__assign({}, (input.S3Bucket
|
|
5139
|
+
return __assign(__assign({}, (input.S3Bucket != null && { S3Bucket: input.S3Bucket })), (input.S3Key != null && { S3Key: input.S3Key }));
|
|
5133
5140
|
};
|
|
5134
5141
|
var serializeAws_json1_1ScriptDetails = function (input, context) {
|
|
5135
|
-
return __assign(__assign(__assign(__assign({}, (input.ExecutableParameters
|
|
5136
|
-
input.ExecutableParameters !== null && { ExecutableParameters: input.ExecutableParameters })), (input.ExecutablePath !== undefined &&
|
|
5137
|
-
input.ExecutablePath !== null && { ExecutablePath: input.ExecutablePath })), (input.ScriptS3Location !== undefined &&
|
|
5138
|
-
input.ScriptS3Location !== null && {
|
|
5142
|
+
return __assign(__assign(__assign(__assign({}, (input.ExecutableParameters != null && { ExecutableParameters: input.ExecutableParameters })), (input.ExecutablePath != null && { ExecutablePath: input.ExecutablePath })), (input.ScriptS3Location != null && {
|
|
5139
5143
|
ScriptS3Location: serializeAws_json1_1S3Location(input.ScriptS3Location, context),
|
|
5140
|
-
})), (input.TimeoutInSeconds
|
|
5141
|
-
input.TimeoutInSeconds !== null && { TimeoutInSeconds: input.TimeoutInSeconds }));
|
|
5144
|
+
})), (input.TimeoutInSeconds != null && { TimeoutInSeconds: input.TimeoutInSeconds }));
|
|
5142
5145
|
};
|
|
5143
5146
|
var serializeAws_json1_1SecurityGroupIdList = function (input, context) {
|
|
5144
5147
|
return input
|
|
@@ -5151,8 +5154,7 @@ var serializeAws_json1_1SecurityGroupIdList = function (input, context) {
|
|
|
5151
5154
|
});
|
|
5152
5155
|
};
|
|
5153
5156
|
var serializeAws_json1_1ServiceAccountCredentials = function (input, context) {
|
|
5154
|
-
return __assign(__assign({}, (input.AccountName
|
|
5155
|
-
input.AccountPassword !== null && { AccountPassword: input.AccountPassword }));
|
|
5157
|
+
return __assign(__assign({}, (input.AccountName != null && { AccountName: input.AccountName })), (input.AccountPassword != null && { AccountPassword: input.AccountPassword }));
|
|
5156
5158
|
};
|
|
5157
5159
|
var serializeAws_json1_1StackAttributes = function (input, context) {
|
|
5158
5160
|
return input
|
|
@@ -5165,22 +5167,19 @@ var serializeAws_json1_1StackAttributes = function (input, context) {
|
|
|
5165
5167
|
});
|
|
5166
5168
|
};
|
|
5167
5169
|
var serializeAws_json1_1StartFleetRequest = function (input, context) {
|
|
5168
|
-
return __assign({}, (input.Name
|
|
5170
|
+
return __assign({}, (input.Name != null && { Name: input.Name }));
|
|
5169
5171
|
};
|
|
5170
5172
|
var serializeAws_json1_1StartImageBuilderRequest = function (input, context) {
|
|
5171
|
-
return __assign(__assign({}, (input.AppstreamAgentVersion
|
|
5172
|
-
input.AppstreamAgentVersion !== null && { AppstreamAgentVersion: input.AppstreamAgentVersion })), (input.Name !== undefined && input.Name !== null && { Name: input.Name }));
|
|
5173
|
+
return __assign(__assign({}, (input.AppstreamAgentVersion != null && { AppstreamAgentVersion: input.AppstreamAgentVersion })), (input.Name != null && { Name: input.Name }));
|
|
5173
5174
|
};
|
|
5174
5175
|
var serializeAws_json1_1StopFleetRequest = function (input, context) {
|
|
5175
|
-
return __assign({}, (input.Name
|
|
5176
|
+
return __assign({}, (input.Name != null && { Name: input.Name }));
|
|
5176
5177
|
};
|
|
5177
5178
|
var serializeAws_json1_1StopImageBuilderRequest = function (input, context) {
|
|
5178
|
-
return __assign({}, (input.Name
|
|
5179
|
+
return __assign({}, (input.Name != null && { Name: input.Name }));
|
|
5179
5180
|
};
|
|
5180
5181
|
var serializeAws_json1_1StorageConnector = function (input, context) {
|
|
5181
|
-
return __assign(__assign(__assign({}, (input.ConnectorType
|
|
5182
|
-
input.Domains !== null && { Domains: serializeAws_json1_1DomainList(input.Domains, context) })), (input.ResourceIdentifier !== undefined &&
|
|
5183
|
-
input.ResourceIdentifier !== null && { ResourceIdentifier: input.ResourceIdentifier }));
|
|
5182
|
+
return __assign(__assign(__assign({}, (input.ConnectorType != null && { ConnectorType: input.ConnectorType })), (input.Domains != null && { Domains: serializeAws_json1_1DomainList(input.Domains, context) })), (input.ResourceIdentifier != null && { ResourceIdentifier: input.ResourceIdentifier }));
|
|
5184
5183
|
};
|
|
5185
5184
|
var serializeAws_json1_1StorageConnectorList = function (input, context) {
|
|
5186
5185
|
return input
|
|
@@ -5192,6 +5191,9 @@ var serializeAws_json1_1StorageConnectorList = function (input, context) {
|
|
|
5192
5191
|
return serializeAws_json1_1StorageConnector(entry, context);
|
|
5193
5192
|
});
|
|
5194
5193
|
};
|
|
5194
|
+
var serializeAws_json1_1StreamingExperienceSettings = function (input, context) {
|
|
5195
|
+
return __assign({}, (input.PreferredProtocol != null && { PreferredProtocol: input.PreferredProtocol }));
|
|
5196
|
+
};
|
|
5195
5197
|
var serializeAws_json1_1StringList = function (input, context) {
|
|
5196
5198
|
return input
|
|
5197
5199
|
.filter(function (e) { return e != null; })
|
|
@@ -5223,7 +5225,7 @@ var serializeAws_json1_1TagKeyList = function (input, context) {
|
|
|
5223
5225
|
});
|
|
5224
5226
|
};
|
|
5225
5227
|
var serializeAws_json1_1TagResourceRequest = function (input, context) {
|
|
5226
|
-
return __assign(__assign({}, (input.ResourceArn
|
|
5228
|
+
return __assign(__assign({}, (input.ResourceArn != null && { ResourceArn: input.ResourceArn })), (input.Tags != null && { Tags: serializeAws_json1_1Tags(input.Tags, context) }));
|
|
5227
5229
|
};
|
|
5228
5230
|
var serializeAws_json1_1Tags = function (input, context) {
|
|
5229
5231
|
return Object.entries(input).reduce(function (acc, _a) {
|
|
@@ -5236,88 +5238,63 @@ var serializeAws_json1_1Tags = function (input, context) {
|
|
|
5236
5238
|
}, {});
|
|
5237
5239
|
};
|
|
5238
5240
|
var serializeAws_json1_1UntagResourceRequest = function (input, context) {
|
|
5239
|
-
return __assign(__assign({}, (input.ResourceArn
|
|
5240
|
-
input.TagKeys !== null && { TagKeys: serializeAws_json1_1TagKeyList(input.TagKeys, context) }));
|
|
5241
|
+
return __assign(__assign({}, (input.ResourceArn != null && { ResourceArn: input.ResourceArn })), (input.TagKeys != null && { TagKeys: serializeAws_json1_1TagKeyList(input.TagKeys, context) }));
|
|
5241
5242
|
};
|
|
5242
5243
|
var serializeAws_json1_1UpdateApplicationRequest = function (input, context) {
|
|
5243
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AppBlockArn
|
|
5244
|
-
input.AttributesToDelete !== null && {
|
|
5244
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AppBlockArn != null && { AppBlockArn: input.AppBlockArn })), (input.AttributesToDelete != null && {
|
|
5245
5245
|
AttributesToDelete: serializeAws_json1_1ApplicationAttributes(input.AttributesToDelete, context),
|
|
5246
|
-
})), (input.Description
|
|
5247
|
-
input.IconS3Location !== null && {
|
|
5246
|
+
})), (input.Description != null && { Description: input.Description })), (input.DisplayName != null && { DisplayName: input.DisplayName })), (input.IconS3Location != null && {
|
|
5248
5247
|
IconS3Location: serializeAws_json1_1S3Location(input.IconS3Location, context),
|
|
5249
|
-
})), (input.LaunchParameters
|
|
5250
|
-
input.LaunchParameters !== null && { LaunchParameters: input.LaunchParameters })), (input.LaunchPath !== undefined && input.LaunchPath !== null && { LaunchPath: input.LaunchPath })), (input.Name !== undefined && input.Name !== null && { Name: input.Name })), (input.WorkingDirectory !== undefined &&
|
|
5251
|
-
input.WorkingDirectory !== null && { WorkingDirectory: input.WorkingDirectory }));
|
|
5248
|
+
})), (input.LaunchParameters != null && { LaunchParameters: input.LaunchParameters })), (input.LaunchPath != null && { LaunchPath: input.LaunchPath })), (input.Name != null && { Name: input.Name })), (input.WorkingDirectory != null && { WorkingDirectory: input.WorkingDirectory }));
|
|
5252
5249
|
};
|
|
5253
5250
|
var serializeAws_json1_1UpdateDirectoryConfigRequest = function (input, context) {
|
|
5254
|
-
return __assign(__assign(__assign({}, (input.DirectoryName
|
|
5255
|
-
input.OrganizationalUnitDistinguishedNames !== null && {
|
|
5251
|
+
return __assign(__assign(__assign({}, (input.DirectoryName != null && { DirectoryName: input.DirectoryName })), (input.OrganizationalUnitDistinguishedNames != null && {
|
|
5256
5252
|
OrganizationalUnitDistinguishedNames: serializeAws_json1_1OrganizationalUnitDistinguishedNamesList(input.OrganizationalUnitDistinguishedNames, context),
|
|
5257
|
-
})), (input.ServiceAccountCredentials
|
|
5258
|
-
input.ServiceAccountCredentials !== null && {
|
|
5253
|
+
})), (input.ServiceAccountCredentials != null && {
|
|
5259
5254
|
ServiceAccountCredentials: serializeAws_json1_1ServiceAccountCredentials(input.ServiceAccountCredentials, context),
|
|
5260
5255
|
}));
|
|
5261
5256
|
};
|
|
5262
5257
|
var serializeAws_json1_1UpdateEntitlementRequest = function (input, context) {
|
|
5263
|
-
return __assign(__assign(__assign(__assign(__assign({}, (input.AppVisibility
|
|
5264
|
-
input.Attributes !== null && {
|
|
5258
|
+
return __assign(__assign(__assign(__assign(__assign({}, (input.AppVisibility != null && { AppVisibility: input.AppVisibility })), (input.Attributes != null && {
|
|
5265
5259
|
Attributes: serializeAws_json1_1EntitlementAttributeList(input.Attributes, context),
|
|
5266
|
-
})), (input.Description
|
|
5260
|
+
})), (input.Description != null && { Description: input.Description })), (input.Name != null && { Name: input.Name })), (input.StackName != null && { StackName: input.StackName }));
|
|
5267
5261
|
};
|
|
5268
5262
|
var serializeAws_json1_1UpdateFleetRequest = function (input, context) {
|
|
5269
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AttributesToDelete
|
|
5270
|
-
input.AttributesToDelete !== null && {
|
|
5263
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AttributesToDelete != null && {
|
|
5271
5264
|
AttributesToDelete: serializeAws_json1_1FleetAttributes(input.AttributesToDelete, context),
|
|
5272
|
-
})), (input.ComputeCapacity
|
|
5273
|
-
input.ComputeCapacity !== null && {
|
|
5265
|
+
})), (input.ComputeCapacity != null && {
|
|
5274
5266
|
ComputeCapacity: serializeAws_json1_1ComputeCapacity(input.ComputeCapacity, context),
|
|
5275
|
-
})), (input.DeleteVpcConfig
|
|
5276
|
-
input.DeleteVpcConfig !== null && { DeleteVpcConfig: input.DeleteVpcConfig })), (input.Description !== undefined && input.Description !== null && { Description: input.Description })), (input.DisconnectTimeoutInSeconds !== undefined &&
|
|
5277
|
-
input.DisconnectTimeoutInSeconds !== null && { DisconnectTimeoutInSeconds: input.DisconnectTimeoutInSeconds })), (input.DisplayName !== undefined && input.DisplayName !== null && { DisplayName: input.DisplayName })), (input.DomainJoinInfo !== undefined &&
|
|
5278
|
-
input.DomainJoinInfo !== null && {
|
|
5267
|
+
})), (input.DeleteVpcConfig != null && { DeleteVpcConfig: input.DeleteVpcConfig })), (input.Description != null && { Description: input.Description })), (input.DisconnectTimeoutInSeconds != null && { DisconnectTimeoutInSeconds: input.DisconnectTimeoutInSeconds })), (input.DisplayName != null && { DisplayName: input.DisplayName })), (input.DomainJoinInfo != null && {
|
|
5279
5268
|
DomainJoinInfo: serializeAws_json1_1DomainJoinInfo(input.DomainJoinInfo, context),
|
|
5280
|
-
})), (input.EnableDefaultInternetAccess
|
|
5281
|
-
|
|
5282
|
-
|
|
5269
|
+
})), (input.EnableDefaultInternetAccess != null && {
|
|
5270
|
+
EnableDefaultInternetAccess: input.EnableDefaultInternetAccess,
|
|
5271
|
+
})), (input.IamRoleArn != null && { IamRoleArn: input.IamRoleArn })), (input.IdleDisconnectTimeoutInSeconds != null && {
|
|
5283
5272
|
IdleDisconnectTimeoutInSeconds: input.IdleDisconnectTimeoutInSeconds,
|
|
5284
|
-
})), (input.ImageArn
|
|
5285
|
-
input.MaxConcurrentSessions !== null && { MaxConcurrentSessions: input.MaxConcurrentSessions })), (input.MaxUserDurationInSeconds !== undefined &&
|
|
5286
|
-
input.MaxUserDurationInSeconds !== null && { MaxUserDurationInSeconds: input.MaxUserDurationInSeconds })), (input.Name !== undefined && input.Name !== null && { Name: input.Name })), (input.Platform !== undefined && input.Platform !== null && { Platform: input.Platform })), (input.SessionScriptS3Location !== undefined &&
|
|
5287
|
-
input.SessionScriptS3Location !== null && {
|
|
5273
|
+
})), (input.ImageArn != null && { ImageArn: input.ImageArn })), (input.ImageName != null && { ImageName: input.ImageName })), (input.InstanceType != null && { InstanceType: input.InstanceType })), (input.MaxConcurrentSessions != null && { MaxConcurrentSessions: input.MaxConcurrentSessions })), (input.MaxUserDurationInSeconds != null && { MaxUserDurationInSeconds: input.MaxUserDurationInSeconds })), (input.Name != null && { Name: input.Name })), (input.Platform != null && { Platform: input.Platform })), (input.SessionScriptS3Location != null && {
|
|
5288
5274
|
SessionScriptS3Location: serializeAws_json1_1S3Location(input.SessionScriptS3Location, context),
|
|
5289
|
-
})), (input.StreamView
|
|
5290
|
-
input.UsbDeviceFilterStrings !== null && {
|
|
5275
|
+
})), (input.StreamView != null && { StreamView: input.StreamView })), (input.UsbDeviceFilterStrings != null && {
|
|
5291
5276
|
UsbDeviceFilterStrings: serializeAws_json1_1UsbDeviceFilterStrings(input.UsbDeviceFilterStrings, context),
|
|
5292
|
-
})), (input.VpcConfig
|
|
5293
|
-
input.VpcConfig !== null && { VpcConfig: serializeAws_json1_1VpcConfig(input.VpcConfig, context) }));
|
|
5277
|
+
})), (input.VpcConfig != null && { VpcConfig: serializeAws_json1_1VpcConfig(input.VpcConfig, context) }));
|
|
5294
5278
|
};
|
|
5295
5279
|
var serializeAws_json1_1UpdateImagePermissionsRequest = function (input, context) {
|
|
5296
|
-
return __assign(__assign(__assign({}, (input.ImagePermissions
|
|
5297
|
-
input.ImagePermissions !== null && {
|
|
5280
|
+
return __assign(__assign(__assign({}, (input.ImagePermissions != null && {
|
|
5298
5281
|
ImagePermissions: serializeAws_json1_1ImagePermissions(input.ImagePermissions, context),
|
|
5299
|
-
})), (input.Name
|
|
5300
|
-
input.SharedAccountId !== null && { SharedAccountId: input.SharedAccountId }));
|
|
5282
|
+
})), (input.Name != null && { Name: input.Name })), (input.SharedAccountId != null && { SharedAccountId: input.SharedAccountId }));
|
|
5301
5283
|
};
|
|
5302
5284
|
var serializeAws_json1_1UpdateStackRequest = function (input, context) {
|
|
5303
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AccessEndpoints
|
|
5304
|
-
input.AccessEndpoints !== null && {
|
|
5285
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AccessEndpoints != null && {
|
|
5305
5286
|
AccessEndpoints: serializeAws_json1_1AccessEndpointList(input.AccessEndpoints, context),
|
|
5306
|
-
})), (input.ApplicationSettings
|
|
5307
|
-
input.ApplicationSettings !== null && {
|
|
5287
|
+
})), (input.ApplicationSettings != null && {
|
|
5308
5288
|
ApplicationSettings: serializeAws_json1_1ApplicationSettings(input.ApplicationSettings, context),
|
|
5309
|
-
})), (input.AttributesToDelete
|
|
5310
|
-
input.AttributesToDelete !== null && {
|
|
5289
|
+
})), (input.AttributesToDelete != null && {
|
|
5311
5290
|
AttributesToDelete: serializeAws_json1_1StackAttributes(input.AttributesToDelete, context),
|
|
5312
|
-
})), (input.DeleteStorageConnectors
|
|
5313
|
-
input.DeleteStorageConnectors !== null && { DeleteStorageConnectors: input.DeleteStorageConnectors })), (input.Description !== undefined && input.Description !== null && { Description: input.Description })), (input.DisplayName !== undefined && input.DisplayName !== null && { DisplayName: input.DisplayName })), (input.EmbedHostDomains !== undefined &&
|
|
5314
|
-
input.EmbedHostDomains !== null && {
|
|
5291
|
+
})), (input.DeleteStorageConnectors != null && { DeleteStorageConnectors: input.DeleteStorageConnectors })), (input.Description != null && { Description: input.Description })), (input.DisplayName != null && { DisplayName: input.DisplayName })), (input.EmbedHostDomains != null && {
|
|
5315
5292
|
EmbedHostDomains: serializeAws_json1_1EmbedHostDomains(input.EmbedHostDomains, context),
|
|
5316
|
-
})), (input.FeedbackURL
|
|
5317
|
-
input.StorageConnectors !== null && {
|
|
5293
|
+
})), (input.FeedbackURL != null && { FeedbackURL: input.FeedbackURL })), (input.Name != null && { Name: input.Name })), (input.RedirectURL != null && { RedirectURL: input.RedirectURL })), (input.StorageConnectors != null && {
|
|
5318
5294
|
StorageConnectors: serializeAws_json1_1StorageConnectorList(input.StorageConnectors, context),
|
|
5319
|
-
})), (input.
|
|
5320
|
-
input.
|
|
5295
|
+
})), (input.StreamingExperienceSettings != null && {
|
|
5296
|
+
StreamingExperienceSettings: serializeAws_json1_1StreamingExperienceSettings(input.StreamingExperienceSettings, context),
|
|
5297
|
+
})), (input.UserSettings != null && {
|
|
5321
5298
|
UserSettings: serializeAws_json1_1UserSettingList(input.UserSettings, context),
|
|
5322
5299
|
}));
|
|
5323
5300
|
};
|
|
@@ -5332,7 +5309,7 @@ var serializeAws_json1_1UsbDeviceFilterStrings = function (input, context) {
|
|
|
5332
5309
|
});
|
|
5333
5310
|
};
|
|
5334
5311
|
var serializeAws_json1_1UserSetting = function (input, context) {
|
|
5335
|
-
return __assign(__assign({}, (input.Action
|
|
5312
|
+
return __assign(__assign({}, (input.Action != null && { Action: input.Action })), (input.Permission != null && { Permission: input.Permission }));
|
|
5336
5313
|
};
|
|
5337
5314
|
var serializeAws_json1_1UserSettingList = function (input, context) {
|
|
5338
5315
|
return input
|
|
@@ -5345,9 +5322,7 @@ var serializeAws_json1_1UserSettingList = function (input, context) {
|
|
|
5345
5322
|
});
|
|
5346
5323
|
};
|
|
5347
5324
|
var serializeAws_json1_1UserStackAssociation = function (input, context) {
|
|
5348
|
-
return __assign(__assign(__assign(__assign({}, (input.AuthenticationType
|
|
5349
|
-
input.AuthenticationType !== null && { AuthenticationType: input.AuthenticationType })), (input.SendEmailNotification !== undefined &&
|
|
5350
|
-
input.SendEmailNotification !== null && { SendEmailNotification: input.SendEmailNotification })), (input.StackName !== undefined && input.StackName !== null && { StackName: input.StackName })), (input.UserName !== undefined && input.UserName !== null && { UserName: input.UserName }));
|
|
5325
|
+
return __assign(__assign(__assign(__assign({}, (input.AuthenticationType != null && { AuthenticationType: input.AuthenticationType })), (input.SendEmailNotification != null && { SendEmailNotification: input.SendEmailNotification })), (input.StackName != null && { StackName: input.StackName })), (input.UserName != null && { UserName: input.UserName }));
|
|
5351
5326
|
};
|
|
5352
5327
|
var serializeAws_json1_1UserStackAssociationList = function (input, context) {
|
|
5353
5328
|
return input
|
|
@@ -5360,11 +5335,9 @@ var serializeAws_json1_1UserStackAssociationList = function (input, context) {
|
|
|
5360
5335
|
});
|
|
5361
5336
|
};
|
|
5362
5337
|
var serializeAws_json1_1VpcConfig = function (input, context) {
|
|
5363
|
-
return __assign(__assign({}, (input.SecurityGroupIds
|
|
5364
|
-
input.SecurityGroupIds !== null && {
|
|
5338
|
+
return __assign(__assign({}, (input.SecurityGroupIds != null && {
|
|
5365
5339
|
SecurityGroupIds: serializeAws_json1_1SecurityGroupIdList(input.SecurityGroupIds, context),
|
|
5366
|
-
})), (input.SubnetIds
|
|
5367
|
-
input.SubnetIds !== null && { SubnetIds: serializeAws_json1_1SubnetIdList(input.SubnetIds, context) }));
|
|
5340
|
+
})), (input.SubnetIds != null && { SubnetIds: serializeAws_json1_1SubnetIdList(input.SubnetIds, context) }));
|
|
5368
5341
|
};
|
|
5369
5342
|
var deserializeAws_json1_1AccessEndpoint = function (output, context) {
|
|
5370
5343
|
return {
|
|
@@ -5386,18 +5359,16 @@ var deserializeAws_json1_1AccessEndpointList = function (output, context) {
|
|
|
5386
5359
|
var deserializeAws_json1_1AppBlock = function (output, context) {
|
|
5387
5360
|
return {
|
|
5388
5361
|
Arn: __expectString(output.Arn),
|
|
5389
|
-
CreatedTime: output.CreatedTime
|
|
5362
|
+
CreatedTime: output.CreatedTime != null
|
|
5390
5363
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedTime)))
|
|
5391
5364
|
: undefined,
|
|
5392
5365
|
Description: __expectString(output.Description),
|
|
5393
5366
|
DisplayName: __expectString(output.DisplayName),
|
|
5394
5367
|
Name: __expectString(output.Name),
|
|
5395
|
-
SetupScriptDetails: output.SetupScriptDetails
|
|
5368
|
+
SetupScriptDetails: output.SetupScriptDetails != null
|
|
5396
5369
|
? deserializeAws_json1_1ScriptDetails(output.SetupScriptDetails, context)
|
|
5397
5370
|
: undefined,
|
|
5398
|
-
SourceS3Location: output.SourceS3Location
|
|
5399
|
-
? deserializeAws_json1_1S3Location(output.SourceS3Location, context)
|
|
5400
|
-
: undefined,
|
|
5371
|
+
SourceS3Location: output.SourceS3Location != null ? deserializeAws_json1_1S3Location(output.SourceS3Location, context) : undefined,
|
|
5401
5372
|
};
|
|
5402
5373
|
};
|
|
5403
5374
|
var deserializeAws_json1_1AppBlocks = function (output, context) {
|
|
@@ -5415,28 +5386,20 @@ var deserializeAws_json1_1Application = function (output, context) {
|
|
|
5415
5386
|
return {
|
|
5416
5387
|
AppBlockArn: __expectString(output.AppBlockArn),
|
|
5417
5388
|
Arn: __expectString(output.Arn),
|
|
5418
|
-
CreatedTime: output.CreatedTime
|
|
5389
|
+
CreatedTime: output.CreatedTime != null
|
|
5419
5390
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedTime)))
|
|
5420
5391
|
: undefined,
|
|
5421
5392
|
Description: __expectString(output.Description),
|
|
5422
5393
|
DisplayName: __expectString(output.DisplayName),
|
|
5423
5394
|
Enabled: __expectBoolean(output.Enabled),
|
|
5424
|
-
IconS3Location: output.IconS3Location
|
|
5425
|
-
? deserializeAws_json1_1S3Location(output.IconS3Location, context)
|
|
5426
|
-
: undefined,
|
|
5395
|
+
IconS3Location: output.IconS3Location != null ? deserializeAws_json1_1S3Location(output.IconS3Location, context) : undefined,
|
|
5427
5396
|
IconURL: __expectString(output.IconURL),
|
|
5428
|
-
InstanceFamilies: output.InstanceFamilies
|
|
5429
|
-
? deserializeAws_json1_1StringList(output.InstanceFamilies, context)
|
|
5430
|
-
: undefined,
|
|
5397
|
+
InstanceFamilies: output.InstanceFamilies != null ? deserializeAws_json1_1StringList(output.InstanceFamilies, context) : undefined,
|
|
5431
5398
|
LaunchParameters: __expectString(output.LaunchParameters),
|
|
5432
5399
|
LaunchPath: __expectString(output.LaunchPath),
|
|
5433
|
-
Metadata: output.Metadata
|
|
5434
|
-
? deserializeAws_json1_1Metadata(output.Metadata, context)
|
|
5435
|
-
: undefined,
|
|
5400
|
+
Metadata: output.Metadata != null ? deserializeAws_json1_1Metadata(output.Metadata, context) : undefined,
|
|
5436
5401
|
Name: __expectString(output.Name),
|
|
5437
|
-
Platforms: output.Platforms
|
|
5438
|
-
? deserializeAws_json1_1Platforms(output.Platforms, context)
|
|
5439
|
-
: undefined,
|
|
5402
|
+
Platforms: output.Platforms != null ? deserializeAws_json1_1Platforms(output.Platforms, context) : undefined,
|
|
5440
5403
|
WorkingDirectory: __expectString(output.WorkingDirectory),
|
|
5441
5404
|
};
|
|
5442
5405
|
};
|
|
@@ -5477,7 +5440,7 @@ var deserializeAws_json1_1ApplicationSettingsResponse = function (output, contex
|
|
|
5477
5440
|
};
|
|
5478
5441
|
var deserializeAws_json1_1AssociateApplicationFleetResult = function (output, context) {
|
|
5479
5442
|
return {
|
|
5480
|
-
ApplicationFleetAssociation: output.ApplicationFleetAssociation
|
|
5443
|
+
ApplicationFleetAssociation: output.ApplicationFleetAssociation != null
|
|
5481
5444
|
? deserializeAws_json1_1ApplicationFleetAssociation(output.ApplicationFleetAssociation, context)
|
|
5482
5445
|
: undefined,
|
|
5483
5446
|
};
|
|
@@ -5490,16 +5453,12 @@ var deserializeAws_json1_1AssociateFleetResult = function (output, context) {
|
|
|
5490
5453
|
};
|
|
5491
5454
|
var deserializeAws_json1_1BatchAssociateUserStackResult = function (output, context) {
|
|
5492
5455
|
return {
|
|
5493
|
-
errors: output.errors
|
|
5494
|
-
? deserializeAws_json1_1UserStackAssociationErrorList(output.errors, context)
|
|
5495
|
-
: undefined,
|
|
5456
|
+
errors: output.errors != null ? deserializeAws_json1_1UserStackAssociationErrorList(output.errors, context) : undefined,
|
|
5496
5457
|
};
|
|
5497
5458
|
};
|
|
5498
5459
|
var deserializeAws_json1_1BatchDisassociateUserStackResult = function (output, context) {
|
|
5499
5460
|
return {
|
|
5500
|
-
errors: output.errors
|
|
5501
|
-
? deserializeAws_json1_1UserStackAssociationErrorList(output.errors, context)
|
|
5502
|
-
: undefined,
|
|
5461
|
+
errors: output.errors != null ? deserializeAws_json1_1UserStackAssociationErrorList(output.errors, context) : undefined,
|
|
5503
5462
|
};
|
|
5504
5463
|
};
|
|
5505
5464
|
var deserializeAws_json1_1ComputeCapacityStatus = function (output, context) {
|
|
@@ -5522,75 +5481,57 @@ var deserializeAws_json1_1CopyImageResponse = function (output, context) {
|
|
|
5522
5481
|
};
|
|
5523
5482
|
var deserializeAws_json1_1CreateAppBlockResult = function (output, context) {
|
|
5524
5483
|
return {
|
|
5525
|
-
AppBlock: output.AppBlock
|
|
5526
|
-
? deserializeAws_json1_1AppBlock(output.AppBlock, context)
|
|
5527
|
-
: undefined,
|
|
5484
|
+
AppBlock: output.AppBlock != null ? deserializeAws_json1_1AppBlock(output.AppBlock, context) : undefined,
|
|
5528
5485
|
};
|
|
5529
5486
|
};
|
|
5530
5487
|
var deserializeAws_json1_1CreateApplicationResult = function (output, context) {
|
|
5531
5488
|
return {
|
|
5532
|
-
Application: output.Application
|
|
5533
|
-
? deserializeAws_json1_1Application(output.Application, context)
|
|
5534
|
-
: undefined,
|
|
5489
|
+
Application: output.Application != null ? deserializeAws_json1_1Application(output.Application, context) : undefined,
|
|
5535
5490
|
};
|
|
5536
5491
|
};
|
|
5537
5492
|
var deserializeAws_json1_1CreateDirectoryConfigResult = function (output, context) {
|
|
5538
5493
|
return {
|
|
5539
|
-
DirectoryConfig: output.DirectoryConfig
|
|
5494
|
+
DirectoryConfig: output.DirectoryConfig != null
|
|
5540
5495
|
? deserializeAws_json1_1DirectoryConfig(output.DirectoryConfig, context)
|
|
5541
5496
|
: undefined,
|
|
5542
5497
|
};
|
|
5543
5498
|
};
|
|
5544
5499
|
var deserializeAws_json1_1CreateEntitlementResult = function (output, context) {
|
|
5545
5500
|
return {
|
|
5546
|
-
Entitlement: output.Entitlement
|
|
5547
|
-
? deserializeAws_json1_1Entitlement(output.Entitlement, context)
|
|
5548
|
-
: undefined,
|
|
5501
|
+
Entitlement: output.Entitlement != null ? deserializeAws_json1_1Entitlement(output.Entitlement, context) : undefined,
|
|
5549
5502
|
};
|
|
5550
5503
|
};
|
|
5551
5504
|
var deserializeAws_json1_1CreateFleetResult = function (output, context) {
|
|
5552
5505
|
return {
|
|
5553
|
-
Fleet: output.Fleet
|
|
5554
|
-
? deserializeAws_json1_1Fleet(output.Fleet, context)
|
|
5555
|
-
: undefined,
|
|
5506
|
+
Fleet: output.Fleet != null ? deserializeAws_json1_1Fleet(output.Fleet, context) : undefined,
|
|
5556
5507
|
};
|
|
5557
5508
|
};
|
|
5558
5509
|
var deserializeAws_json1_1CreateImageBuilderResult = function (output, context) {
|
|
5559
5510
|
return {
|
|
5560
|
-
ImageBuilder: output.ImageBuilder
|
|
5561
|
-
? deserializeAws_json1_1ImageBuilder(output.ImageBuilder, context)
|
|
5562
|
-
: undefined,
|
|
5511
|
+
ImageBuilder: output.ImageBuilder != null ? deserializeAws_json1_1ImageBuilder(output.ImageBuilder, context) : undefined,
|
|
5563
5512
|
};
|
|
5564
5513
|
};
|
|
5565
5514
|
var deserializeAws_json1_1CreateImageBuilderStreamingURLResult = function (output, context) {
|
|
5566
5515
|
return {
|
|
5567
|
-
Expires: output.Expires
|
|
5568
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.Expires)))
|
|
5569
|
-
: undefined,
|
|
5516
|
+
Expires: output.Expires != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.Expires))) : undefined,
|
|
5570
5517
|
StreamingURL: __expectString(output.StreamingURL),
|
|
5571
5518
|
};
|
|
5572
5519
|
};
|
|
5573
5520
|
var deserializeAws_json1_1CreateStackResult = function (output, context) {
|
|
5574
5521
|
return {
|
|
5575
|
-
Stack: output.Stack
|
|
5576
|
-
? deserializeAws_json1_1Stack(output.Stack, context)
|
|
5577
|
-
: undefined,
|
|
5522
|
+
Stack: output.Stack != null ? deserializeAws_json1_1Stack(output.Stack, context) : undefined,
|
|
5578
5523
|
};
|
|
5579
5524
|
};
|
|
5580
5525
|
var deserializeAws_json1_1CreateStreamingURLResult = function (output, context) {
|
|
5581
5526
|
return {
|
|
5582
|
-
Expires: output.Expires
|
|
5583
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.Expires)))
|
|
5584
|
-
: undefined,
|
|
5527
|
+
Expires: output.Expires != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.Expires))) : undefined,
|
|
5585
5528
|
StreamingURL: __expectString(output.StreamingURL),
|
|
5586
5529
|
};
|
|
5587
5530
|
};
|
|
5588
5531
|
var deserializeAws_json1_1CreateUpdatedImageResult = function (output, context) {
|
|
5589
5532
|
return {
|
|
5590
5533
|
canUpdateImage: __expectBoolean(output.canUpdateImage),
|
|
5591
|
-
image: output.image
|
|
5592
|
-
? deserializeAws_json1_1Image(output.image, context)
|
|
5593
|
-
: undefined,
|
|
5534
|
+
image: output.image != null ? deserializeAws_json1_1Image(output.image, context) : undefined,
|
|
5594
5535
|
};
|
|
5595
5536
|
};
|
|
5596
5537
|
var deserializeAws_json1_1CreateUsageReportSubscriptionResult = function (output, context) {
|
|
@@ -5619,9 +5560,7 @@ var deserializeAws_json1_1DeleteFleetResult = function (output, context) {
|
|
|
5619
5560
|
};
|
|
5620
5561
|
var deserializeAws_json1_1DeleteImageBuilderResult = function (output, context) {
|
|
5621
5562
|
return {
|
|
5622
|
-
ImageBuilder: output.ImageBuilder
|
|
5623
|
-
? deserializeAws_json1_1ImageBuilder(output.ImageBuilder, context)
|
|
5624
|
-
: undefined,
|
|
5563
|
+
ImageBuilder: output.ImageBuilder != null ? deserializeAws_json1_1ImageBuilder(output.ImageBuilder, context) : undefined,
|
|
5625
5564
|
};
|
|
5626
5565
|
};
|
|
5627
5566
|
var deserializeAws_json1_1DeleteImagePermissionsResult = function (output, context) {
|
|
@@ -5629,9 +5568,7 @@ var deserializeAws_json1_1DeleteImagePermissionsResult = function (output, conte
|
|
|
5629
5568
|
};
|
|
5630
5569
|
var deserializeAws_json1_1DeleteImageResult = function (output, context) {
|
|
5631
5570
|
return {
|
|
5632
|
-
Image: output.Image
|
|
5633
|
-
? deserializeAws_json1_1Image(output.Image, context)
|
|
5634
|
-
: undefined,
|
|
5571
|
+
Image: output.Image != null ? deserializeAws_json1_1Image(output.Image, context) : undefined,
|
|
5635
5572
|
};
|
|
5636
5573
|
};
|
|
5637
5574
|
var deserializeAws_json1_1DeleteStackResult = function (output, context) {
|
|
@@ -5645,15 +5582,13 @@ var deserializeAws_json1_1DeleteUserResult = function (output, context) {
|
|
|
5645
5582
|
};
|
|
5646
5583
|
var deserializeAws_json1_1DescribeAppBlocksResult = function (output, context) {
|
|
5647
5584
|
return {
|
|
5648
|
-
AppBlocks: output.AppBlocks
|
|
5649
|
-
? deserializeAws_json1_1AppBlocks(output.AppBlocks, context)
|
|
5650
|
-
: undefined,
|
|
5585
|
+
AppBlocks: output.AppBlocks != null ? deserializeAws_json1_1AppBlocks(output.AppBlocks, context) : undefined,
|
|
5651
5586
|
NextToken: __expectString(output.NextToken),
|
|
5652
5587
|
};
|
|
5653
5588
|
};
|
|
5654
5589
|
var deserializeAws_json1_1DescribeApplicationFleetAssociationsResult = function (output, context) {
|
|
5655
5590
|
return {
|
|
5656
|
-
ApplicationFleetAssociations: output.ApplicationFleetAssociations
|
|
5591
|
+
ApplicationFleetAssociations: output.ApplicationFleetAssociations != null
|
|
5657
5592
|
? deserializeAws_json1_1ApplicationFleetAssociationList(output.ApplicationFleetAssociations, context)
|
|
5658
5593
|
: undefined,
|
|
5659
5594
|
NextToken: __expectString(output.NextToken),
|
|
@@ -5661,15 +5596,13 @@ var deserializeAws_json1_1DescribeApplicationFleetAssociationsResult = function
|
|
|
5661
5596
|
};
|
|
5662
5597
|
var deserializeAws_json1_1DescribeApplicationsResult = function (output, context) {
|
|
5663
5598
|
return {
|
|
5664
|
-
Applications: output.Applications
|
|
5665
|
-
? deserializeAws_json1_1Applications(output.Applications, context)
|
|
5666
|
-
: undefined,
|
|
5599
|
+
Applications: output.Applications != null ? deserializeAws_json1_1Applications(output.Applications, context) : undefined,
|
|
5667
5600
|
NextToken: __expectString(output.NextToken),
|
|
5668
5601
|
};
|
|
5669
5602
|
};
|
|
5670
5603
|
var deserializeAws_json1_1DescribeDirectoryConfigsResult = function (output, context) {
|
|
5671
5604
|
return {
|
|
5672
|
-
DirectoryConfigs: output.DirectoryConfigs
|
|
5605
|
+
DirectoryConfigs: output.DirectoryConfigs != null
|
|
5673
5606
|
? deserializeAws_json1_1DirectoryConfigList(output.DirectoryConfigs, context)
|
|
5674
5607
|
: undefined,
|
|
5675
5608
|
NextToken: __expectString(output.NextToken),
|
|
@@ -5677,25 +5610,19 @@ var deserializeAws_json1_1DescribeDirectoryConfigsResult = function (output, con
|
|
|
5677
5610
|
};
|
|
5678
5611
|
var deserializeAws_json1_1DescribeEntitlementsResult = function (output, context) {
|
|
5679
5612
|
return {
|
|
5680
|
-
Entitlements: output.Entitlements
|
|
5681
|
-
? deserializeAws_json1_1EntitlementList(output.Entitlements, context)
|
|
5682
|
-
: undefined,
|
|
5613
|
+
Entitlements: output.Entitlements != null ? deserializeAws_json1_1EntitlementList(output.Entitlements, context) : undefined,
|
|
5683
5614
|
NextToken: __expectString(output.NextToken),
|
|
5684
5615
|
};
|
|
5685
5616
|
};
|
|
5686
5617
|
var deserializeAws_json1_1DescribeFleetsResult = function (output, context) {
|
|
5687
5618
|
return {
|
|
5688
|
-
Fleets: output.Fleets
|
|
5689
|
-
? deserializeAws_json1_1FleetList(output.Fleets, context)
|
|
5690
|
-
: undefined,
|
|
5619
|
+
Fleets: output.Fleets != null ? deserializeAws_json1_1FleetList(output.Fleets, context) : undefined,
|
|
5691
5620
|
NextToken: __expectString(output.NextToken),
|
|
5692
5621
|
};
|
|
5693
5622
|
};
|
|
5694
5623
|
var deserializeAws_json1_1DescribeImageBuildersResult = function (output, context) {
|
|
5695
5624
|
return {
|
|
5696
|
-
ImageBuilders: output.ImageBuilders
|
|
5697
|
-
? deserializeAws_json1_1ImageBuilderList(output.ImageBuilders, context)
|
|
5698
|
-
: undefined,
|
|
5625
|
+
ImageBuilders: output.ImageBuilders != null ? deserializeAws_json1_1ImageBuilderList(output.ImageBuilders, context) : undefined,
|
|
5699
5626
|
NextToken: __expectString(output.NextToken),
|
|
5700
5627
|
};
|
|
5701
5628
|
};
|
|
@@ -5703,39 +5630,33 @@ var deserializeAws_json1_1DescribeImagePermissionsResult = function (output, con
|
|
|
5703
5630
|
return {
|
|
5704
5631
|
Name: __expectString(output.Name),
|
|
5705
5632
|
NextToken: __expectString(output.NextToken),
|
|
5706
|
-
SharedImagePermissionsList: output.SharedImagePermissionsList
|
|
5633
|
+
SharedImagePermissionsList: output.SharedImagePermissionsList != null
|
|
5707
5634
|
? deserializeAws_json1_1SharedImagePermissionsList(output.SharedImagePermissionsList, context)
|
|
5708
5635
|
: undefined,
|
|
5709
5636
|
};
|
|
5710
5637
|
};
|
|
5711
5638
|
var deserializeAws_json1_1DescribeImagesResult = function (output, context) {
|
|
5712
5639
|
return {
|
|
5713
|
-
Images: output.Images
|
|
5714
|
-
? deserializeAws_json1_1ImageList(output.Images, context)
|
|
5715
|
-
: undefined,
|
|
5640
|
+
Images: output.Images != null ? deserializeAws_json1_1ImageList(output.Images, context) : undefined,
|
|
5716
5641
|
NextToken: __expectString(output.NextToken),
|
|
5717
5642
|
};
|
|
5718
5643
|
};
|
|
5719
5644
|
var deserializeAws_json1_1DescribeSessionsResult = function (output, context) {
|
|
5720
5645
|
return {
|
|
5721
5646
|
NextToken: __expectString(output.NextToken),
|
|
5722
|
-
Sessions: output.Sessions
|
|
5723
|
-
? deserializeAws_json1_1SessionList(output.Sessions, context)
|
|
5724
|
-
: undefined,
|
|
5647
|
+
Sessions: output.Sessions != null ? deserializeAws_json1_1SessionList(output.Sessions, context) : undefined,
|
|
5725
5648
|
};
|
|
5726
5649
|
};
|
|
5727
5650
|
var deserializeAws_json1_1DescribeStacksResult = function (output, context) {
|
|
5728
5651
|
return {
|
|
5729
5652
|
NextToken: __expectString(output.NextToken),
|
|
5730
|
-
Stacks: output.Stacks
|
|
5731
|
-
? deserializeAws_json1_1StackList(output.Stacks, context)
|
|
5732
|
-
: undefined,
|
|
5653
|
+
Stacks: output.Stacks != null ? deserializeAws_json1_1StackList(output.Stacks, context) : undefined,
|
|
5733
5654
|
};
|
|
5734
5655
|
};
|
|
5735
5656
|
var deserializeAws_json1_1DescribeUsageReportSubscriptionsResult = function (output, context) {
|
|
5736
5657
|
return {
|
|
5737
5658
|
NextToken: __expectString(output.NextToken),
|
|
5738
|
-
UsageReportSubscriptions: output.UsageReportSubscriptions
|
|
5659
|
+
UsageReportSubscriptions: output.UsageReportSubscriptions != null
|
|
5739
5660
|
? deserializeAws_json1_1UsageReportSubscriptionList(output.UsageReportSubscriptions, context)
|
|
5740
5661
|
: undefined,
|
|
5741
5662
|
};
|
|
@@ -5743,29 +5664,27 @@ var deserializeAws_json1_1DescribeUsageReportSubscriptionsResult = function (out
|
|
|
5743
5664
|
var deserializeAws_json1_1DescribeUsersResult = function (output, context) {
|
|
5744
5665
|
return {
|
|
5745
5666
|
NextToken: __expectString(output.NextToken),
|
|
5746
|
-
Users: output.Users
|
|
5747
|
-
? deserializeAws_json1_1UserList(output.Users, context)
|
|
5748
|
-
: undefined,
|
|
5667
|
+
Users: output.Users != null ? deserializeAws_json1_1UserList(output.Users, context) : undefined,
|
|
5749
5668
|
};
|
|
5750
5669
|
};
|
|
5751
5670
|
var deserializeAws_json1_1DescribeUserStackAssociationsResult = function (output, context) {
|
|
5752
5671
|
return {
|
|
5753
5672
|
NextToken: __expectString(output.NextToken),
|
|
5754
|
-
UserStackAssociations: output.UserStackAssociations
|
|
5673
|
+
UserStackAssociations: output.UserStackAssociations != null
|
|
5755
5674
|
? deserializeAws_json1_1UserStackAssociationList(output.UserStackAssociations, context)
|
|
5756
5675
|
: undefined,
|
|
5757
5676
|
};
|
|
5758
5677
|
};
|
|
5759
5678
|
var deserializeAws_json1_1DirectoryConfig = function (output, context) {
|
|
5760
5679
|
return {
|
|
5761
|
-
CreatedTime: output.CreatedTime
|
|
5680
|
+
CreatedTime: output.CreatedTime != null
|
|
5762
5681
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedTime)))
|
|
5763
5682
|
: undefined,
|
|
5764
5683
|
DirectoryName: __expectString(output.DirectoryName),
|
|
5765
|
-
OrganizationalUnitDistinguishedNames: output.OrganizationalUnitDistinguishedNames
|
|
5684
|
+
OrganizationalUnitDistinguishedNames: output.OrganizationalUnitDistinguishedNames != null
|
|
5766
5685
|
? deserializeAws_json1_1OrganizationalUnitDistinguishedNamesList(output.OrganizationalUnitDistinguishedNames, context)
|
|
5767
5686
|
: undefined,
|
|
5768
|
-
ServiceAccountCredentials: output.ServiceAccountCredentials
|
|
5687
|
+
ServiceAccountCredentials: output.ServiceAccountCredentials != null
|
|
5769
5688
|
? deserializeAws_json1_1ServiceAccountCredentials(output.ServiceAccountCredentials, context)
|
|
5770
5689
|
: undefined,
|
|
5771
5690
|
};
|
|
@@ -5843,14 +5762,14 @@ var deserializeAws_json1_1EntitledApplicationList = function (output, context) {
|
|
|
5843
5762
|
var deserializeAws_json1_1Entitlement = function (output, context) {
|
|
5844
5763
|
return {
|
|
5845
5764
|
AppVisibility: __expectString(output.AppVisibility),
|
|
5846
|
-
Attributes: output.Attributes
|
|
5765
|
+
Attributes: output.Attributes != null
|
|
5847
5766
|
? deserializeAws_json1_1EntitlementAttributeList(output.Attributes, context)
|
|
5848
5767
|
: undefined,
|
|
5849
|
-
CreatedTime: output.CreatedTime
|
|
5768
|
+
CreatedTime: output.CreatedTime != null
|
|
5850
5769
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedTime)))
|
|
5851
5770
|
: undefined,
|
|
5852
5771
|
Description: __expectString(output.Description),
|
|
5853
|
-
LastModifiedTime: output.LastModifiedTime
|
|
5772
|
+
LastModifiedTime: output.LastModifiedTime != null
|
|
5854
5773
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastModifiedTime)))
|
|
5855
5774
|
: undefined,
|
|
5856
5775
|
Name: __expectString(output.Name),
|
|
@@ -5901,22 +5820,18 @@ var deserializeAws_json1_1ExpireSessionResult = function (output, context) {
|
|
|
5901
5820
|
var deserializeAws_json1_1Fleet = function (output, context) {
|
|
5902
5821
|
return {
|
|
5903
5822
|
Arn: __expectString(output.Arn),
|
|
5904
|
-
ComputeCapacityStatus: output.ComputeCapacityStatus
|
|
5823
|
+
ComputeCapacityStatus: output.ComputeCapacityStatus != null
|
|
5905
5824
|
? deserializeAws_json1_1ComputeCapacityStatus(output.ComputeCapacityStatus, context)
|
|
5906
5825
|
: undefined,
|
|
5907
|
-
CreatedTime: output.CreatedTime
|
|
5826
|
+
CreatedTime: output.CreatedTime != null
|
|
5908
5827
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedTime)))
|
|
5909
5828
|
: undefined,
|
|
5910
5829
|
Description: __expectString(output.Description),
|
|
5911
5830
|
DisconnectTimeoutInSeconds: __expectInt32(output.DisconnectTimeoutInSeconds),
|
|
5912
5831
|
DisplayName: __expectString(output.DisplayName),
|
|
5913
|
-
DomainJoinInfo: output.DomainJoinInfo
|
|
5914
|
-
? deserializeAws_json1_1DomainJoinInfo(output.DomainJoinInfo, context)
|
|
5915
|
-
: undefined,
|
|
5832
|
+
DomainJoinInfo: output.DomainJoinInfo != null ? deserializeAws_json1_1DomainJoinInfo(output.DomainJoinInfo, context) : undefined,
|
|
5916
5833
|
EnableDefaultInternetAccess: __expectBoolean(output.EnableDefaultInternetAccess),
|
|
5917
|
-
FleetErrors: output.FleetErrors
|
|
5918
|
-
? deserializeAws_json1_1FleetErrors(output.FleetErrors, context)
|
|
5919
|
-
: undefined,
|
|
5834
|
+
FleetErrors: output.FleetErrors != null ? deserializeAws_json1_1FleetErrors(output.FleetErrors, context) : undefined,
|
|
5920
5835
|
FleetType: __expectString(output.FleetType),
|
|
5921
5836
|
IamRoleArn: __expectString(output.IamRoleArn),
|
|
5922
5837
|
IdleDisconnectTimeoutInSeconds: __expectInt32(output.IdleDisconnectTimeoutInSeconds),
|
|
@@ -5927,17 +5842,15 @@ var deserializeAws_json1_1Fleet = function (output, context) {
|
|
|
5927
5842
|
MaxUserDurationInSeconds: __expectInt32(output.MaxUserDurationInSeconds),
|
|
5928
5843
|
Name: __expectString(output.Name),
|
|
5929
5844
|
Platform: __expectString(output.Platform),
|
|
5930
|
-
SessionScriptS3Location: output.SessionScriptS3Location
|
|
5845
|
+
SessionScriptS3Location: output.SessionScriptS3Location != null
|
|
5931
5846
|
? deserializeAws_json1_1S3Location(output.SessionScriptS3Location, context)
|
|
5932
5847
|
: undefined,
|
|
5933
5848
|
State: __expectString(output.State),
|
|
5934
5849
|
StreamView: __expectString(output.StreamView),
|
|
5935
|
-
UsbDeviceFilterStrings: output.UsbDeviceFilterStrings
|
|
5850
|
+
UsbDeviceFilterStrings: output.UsbDeviceFilterStrings != null
|
|
5936
5851
|
? deserializeAws_json1_1UsbDeviceFilterStrings(output.UsbDeviceFilterStrings, context)
|
|
5937
5852
|
: undefined,
|
|
5938
|
-
VpcConfig: output.VpcConfig
|
|
5939
|
-
? deserializeAws_json1_1VpcConfig(output.VpcConfig, context)
|
|
5940
|
-
: undefined,
|
|
5853
|
+
VpcConfig: output.VpcConfig != null ? deserializeAws_json1_1VpcConfig(output.VpcConfig, context) : undefined,
|
|
5941
5854
|
};
|
|
5942
5855
|
};
|
|
5943
5856
|
var deserializeAws_json1_1FleetError = function (output, context) {
|
|
@@ -5970,32 +5883,28 @@ var deserializeAws_json1_1FleetList = function (output, context) {
|
|
|
5970
5883
|
};
|
|
5971
5884
|
var deserializeAws_json1_1Image = function (output, context) {
|
|
5972
5885
|
return {
|
|
5973
|
-
Applications: output.Applications
|
|
5974
|
-
? deserializeAws_json1_1Applications(output.Applications, context)
|
|
5975
|
-
: undefined,
|
|
5886
|
+
Applications: output.Applications != null ? deserializeAws_json1_1Applications(output.Applications, context) : undefined,
|
|
5976
5887
|
AppstreamAgentVersion: __expectString(output.AppstreamAgentVersion),
|
|
5977
5888
|
Arn: __expectString(output.Arn),
|
|
5978
5889
|
BaseImageArn: __expectString(output.BaseImageArn),
|
|
5979
|
-
CreatedTime: output.CreatedTime
|
|
5890
|
+
CreatedTime: output.CreatedTime != null
|
|
5980
5891
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedTime)))
|
|
5981
5892
|
: undefined,
|
|
5982
5893
|
Description: __expectString(output.Description),
|
|
5983
5894
|
DisplayName: __expectString(output.DisplayName),
|
|
5984
5895
|
ImageBuilderName: __expectString(output.ImageBuilderName),
|
|
5985
5896
|
ImageBuilderSupported: __expectBoolean(output.ImageBuilderSupported),
|
|
5986
|
-
ImageErrors: output.ImageErrors
|
|
5987
|
-
|
|
5988
|
-
: undefined,
|
|
5989
|
-
ImagePermissions: output.ImagePermissions !== undefined && output.ImagePermissions !== null
|
|
5897
|
+
ImageErrors: output.ImageErrors != null ? deserializeAws_json1_1ResourceErrors(output.ImageErrors, context) : undefined,
|
|
5898
|
+
ImagePermissions: output.ImagePermissions != null
|
|
5990
5899
|
? deserializeAws_json1_1ImagePermissions(output.ImagePermissions, context)
|
|
5991
5900
|
: undefined,
|
|
5992
5901
|
Name: __expectString(output.Name),
|
|
5993
5902
|
Platform: __expectString(output.Platform),
|
|
5994
|
-
PublicBaseImageReleasedDate: output.PublicBaseImageReleasedDate
|
|
5903
|
+
PublicBaseImageReleasedDate: output.PublicBaseImageReleasedDate != null
|
|
5995
5904
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.PublicBaseImageReleasedDate)))
|
|
5996
5905
|
: undefined,
|
|
5997
5906
|
State: __expectString(output.State),
|
|
5998
|
-
StateChangeReason: output.StateChangeReason
|
|
5907
|
+
StateChangeReason: output.StateChangeReason != null
|
|
5999
5908
|
? deserializeAws_json1_1ImageStateChangeReason(output.StateChangeReason, context)
|
|
6000
5909
|
: undefined,
|
|
6001
5910
|
Visibility: __expectString(output.Visibility),
|
|
@@ -6003,38 +5912,34 @@ var deserializeAws_json1_1Image = function (output, context) {
|
|
|
6003
5912
|
};
|
|
6004
5913
|
var deserializeAws_json1_1ImageBuilder = function (output, context) {
|
|
6005
5914
|
return {
|
|
6006
|
-
AccessEndpoints: output.AccessEndpoints
|
|
5915
|
+
AccessEndpoints: output.AccessEndpoints != null
|
|
6007
5916
|
? deserializeAws_json1_1AccessEndpointList(output.AccessEndpoints, context)
|
|
6008
5917
|
: undefined,
|
|
6009
5918
|
AppstreamAgentVersion: __expectString(output.AppstreamAgentVersion),
|
|
6010
5919
|
Arn: __expectString(output.Arn),
|
|
6011
|
-
CreatedTime: output.CreatedTime
|
|
5920
|
+
CreatedTime: output.CreatedTime != null
|
|
6012
5921
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedTime)))
|
|
6013
5922
|
: undefined,
|
|
6014
5923
|
Description: __expectString(output.Description),
|
|
6015
5924
|
DisplayName: __expectString(output.DisplayName),
|
|
6016
|
-
DomainJoinInfo: output.DomainJoinInfo
|
|
6017
|
-
? deserializeAws_json1_1DomainJoinInfo(output.DomainJoinInfo, context)
|
|
6018
|
-
: undefined,
|
|
5925
|
+
DomainJoinInfo: output.DomainJoinInfo != null ? deserializeAws_json1_1DomainJoinInfo(output.DomainJoinInfo, context) : undefined,
|
|
6019
5926
|
EnableDefaultInternetAccess: __expectBoolean(output.EnableDefaultInternetAccess),
|
|
6020
5927
|
IamRoleArn: __expectString(output.IamRoleArn),
|
|
6021
5928
|
ImageArn: __expectString(output.ImageArn),
|
|
6022
|
-
ImageBuilderErrors: output.ImageBuilderErrors
|
|
5929
|
+
ImageBuilderErrors: output.ImageBuilderErrors != null
|
|
6023
5930
|
? deserializeAws_json1_1ResourceErrors(output.ImageBuilderErrors, context)
|
|
6024
5931
|
: undefined,
|
|
6025
5932
|
InstanceType: __expectString(output.InstanceType),
|
|
6026
5933
|
Name: __expectString(output.Name),
|
|
6027
|
-
NetworkAccessConfiguration: output.NetworkAccessConfiguration
|
|
5934
|
+
NetworkAccessConfiguration: output.NetworkAccessConfiguration != null
|
|
6028
5935
|
? deserializeAws_json1_1NetworkAccessConfiguration(output.NetworkAccessConfiguration, context)
|
|
6029
5936
|
: undefined,
|
|
6030
5937
|
Platform: __expectString(output.Platform),
|
|
6031
5938
|
State: __expectString(output.State),
|
|
6032
|
-
StateChangeReason: output.StateChangeReason
|
|
5939
|
+
StateChangeReason: output.StateChangeReason != null
|
|
6033
5940
|
? deserializeAws_json1_1ImageBuilderStateChangeReason(output.StateChangeReason, context)
|
|
6034
5941
|
: undefined,
|
|
6035
|
-
VpcConfig: output.VpcConfig
|
|
6036
|
-
? deserializeAws_json1_1VpcConfig(output.VpcConfig, context)
|
|
6037
|
-
: undefined,
|
|
5942
|
+
VpcConfig: output.VpcConfig != null ? deserializeAws_json1_1VpcConfig(output.VpcConfig, context) : undefined,
|
|
6038
5943
|
};
|
|
6039
5944
|
};
|
|
6040
5945
|
var deserializeAws_json1_1ImageBuilderList = function (output, context) {
|
|
@@ -6121,23 +6026,19 @@ var deserializeAws_json1_1LimitExceededException = function (output, context) {
|
|
|
6121
6026
|
};
|
|
6122
6027
|
var deserializeAws_json1_1ListAssociatedFleetsResult = function (output, context) {
|
|
6123
6028
|
return {
|
|
6124
|
-
Names: output.Names
|
|
6125
|
-
? deserializeAws_json1_1StringList(output.Names, context)
|
|
6126
|
-
: undefined,
|
|
6029
|
+
Names: output.Names != null ? deserializeAws_json1_1StringList(output.Names, context) : undefined,
|
|
6127
6030
|
NextToken: __expectString(output.NextToken),
|
|
6128
6031
|
};
|
|
6129
6032
|
};
|
|
6130
6033
|
var deserializeAws_json1_1ListAssociatedStacksResult = function (output, context) {
|
|
6131
6034
|
return {
|
|
6132
|
-
Names: output.Names
|
|
6133
|
-
? deserializeAws_json1_1StringList(output.Names, context)
|
|
6134
|
-
: undefined,
|
|
6035
|
+
Names: output.Names != null ? deserializeAws_json1_1StringList(output.Names, context) : undefined,
|
|
6135
6036
|
NextToken: __expectString(output.NextToken),
|
|
6136
6037
|
};
|
|
6137
6038
|
};
|
|
6138
6039
|
var deserializeAws_json1_1ListEntitledApplicationsResult = function (output, context) {
|
|
6139
6040
|
return {
|
|
6140
|
-
EntitledApplications: output.EntitledApplications
|
|
6041
|
+
EntitledApplications: output.EntitledApplications != null
|
|
6141
6042
|
? deserializeAws_json1_1EntitledApplicationList(output.EntitledApplications, context)
|
|
6142
6043
|
: undefined,
|
|
6143
6044
|
NextToken: __expectString(output.NextToken),
|
|
@@ -6145,7 +6046,7 @@ var deserializeAws_json1_1ListEntitledApplicationsResult = function (output, con
|
|
|
6145
6046
|
};
|
|
6146
6047
|
var deserializeAws_json1_1ListTagsForResourceResponse = function (output, context) {
|
|
6147
6048
|
return {
|
|
6148
|
-
Tags: output.Tags
|
|
6049
|
+
Tags: output.Tags != null ? deserializeAws_json1_1Tags(output.Tags, context) : undefined,
|
|
6149
6050
|
};
|
|
6150
6051
|
};
|
|
6151
6052
|
var deserializeAws_json1_1Metadata = function (output, context) {
|
|
@@ -6205,7 +6106,7 @@ var deserializeAws_json1_1ResourceError = function (output, context) {
|
|
|
6205
6106
|
return {
|
|
6206
6107
|
ErrorCode: __expectString(output.ErrorCode),
|
|
6207
6108
|
ErrorMessage: __expectString(output.ErrorMessage),
|
|
6208
|
-
ErrorTimestamp: output.ErrorTimestamp
|
|
6109
|
+
ErrorTimestamp: output.ErrorTimestamp != null
|
|
6209
6110
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.ErrorTimestamp)))
|
|
6210
6111
|
: undefined,
|
|
6211
6112
|
};
|
|
@@ -6246,9 +6147,7 @@ var deserializeAws_json1_1ScriptDetails = function (output, context) {
|
|
|
6246
6147
|
return {
|
|
6247
6148
|
ExecutableParameters: __expectString(output.ExecutableParameters),
|
|
6248
6149
|
ExecutablePath: __expectString(output.ExecutablePath),
|
|
6249
|
-
ScriptS3Location: output.ScriptS3Location
|
|
6250
|
-
? deserializeAws_json1_1S3Location(output.ScriptS3Location, context)
|
|
6251
|
-
: undefined,
|
|
6150
|
+
ScriptS3Location: output.ScriptS3Location != null ? deserializeAws_json1_1S3Location(output.ScriptS3Location, context) : undefined,
|
|
6252
6151
|
TimeoutInSeconds: __expectInt32(output.TimeoutInSeconds),
|
|
6253
6152
|
};
|
|
6254
6153
|
};
|
|
@@ -6275,16 +6174,14 @@ var deserializeAws_json1_1Session = function (output, context) {
|
|
|
6275
6174
|
ConnectionState: __expectString(output.ConnectionState),
|
|
6276
6175
|
FleetName: __expectString(output.FleetName),
|
|
6277
6176
|
Id: __expectString(output.Id),
|
|
6278
|
-
MaxExpirationTime: output.MaxExpirationTime
|
|
6177
|
+
MaxExpirationTime: output.MaxExpirationTime != null
|
|
6279
6178
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.MaxExpirationTime)))
|
|
6280
6179
|
: undefined,
|
|
6281
|
-
NetworkAccessConfiguration: output.NetworkAccessConfiguration
|
|
6180
|
+
NetworkAccessConfiguration: output.NetworkAccessConfiguration != null
|
|
6282
6181
|
? deserializeAws_json1_1NetworkAccessConfiguration(output.NetworkAccessConfiguration, context)
|
|
6283
6182
|
: undefined,
|
|
6284
6183
|
StackName: __expectString(output.StackName),
|
|
6285
|
-
StartTime: output.StartTime
|
|
6286
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.StartTime)))
|
|
6287
|
-
: undefined,
|
|
6184
|
+
StartTime: output.StartTime != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.StartTime))) : undefined,
|
|
6288
6185
|
State: __expectString(output.State),
|
|
6289
6186
|
UserId: __expectString(output.UserId),
|
|
6290
6187
|
};
|
|
@@ -6302,7 +6199,7 @@ var deserializeAws_json1_1SessionList = function (output, context) {
|
|
|
6302
6199
|
};
|
|
6303
6200
|
var deserializeAws_json1_1SharedImagePermissions = function (output, context) {
|
|
6304
6201
|
return {
|
|
6305
|
-
imagePermissions: output.imagePermissions
|
|
6202
|
+
imagePermissions: output.imagePermissions != null
|
|
6306
6203
|
? deserializeAws_json1_1ImagePermissions(output.imagePermissions, context)
|
|
6307
6204
|
: undefined,
|
|
6308
6205
|
sharedAccountId: __expectString(output.sharedAccountId),
|
|
@@ -6321,33 +6218,32 @@ var deserializeAws_json1_1SharedImagePermissionsList = function (output, context
|
|
|
6321
6218
|
};
|
|
6322
6219
|
var deserializeAws_json1_1Stack = function (output, context) {
|
|
6323
6220
|
return {
|
|
6324
|
-
AccessEndpoints: output.AccessEndpoints
|
|
6221
|
+
AccessEndpoints: output.AccessEndpoints != null
|
|
6325
6222
|
? deserializeAws_json1_1AccessEndpointList(output.AccessEndpoints, context)
|
|
6326
6223
|
: undefined,
|
|
6327
|
-
ApplicationSettings: output.ApplicationSettings
|
|
6224
|
+
ApplicationSettings: output.ApplicationSettings != null
|
|
6328
6225
|
? deserializeAws_json1_1ApplicationSettingsResponse(output.ApplicationSettings, context)
|
|
6329
6226
|
: undefined,
|
|
6330
6227
|
Arn: __expectString(output.Arn),
|
|
6331
|
-
CreatedTime: output.CreatedTime
|
|
6228
|
+
CreatedTime: output.CreatedTime != null
|
|
6332
6229
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedTime)))
|
|
6333
6230
|
: undefined,
|
|
6334
6231
|
Description: __expectString(output.Description),
|
|
6335
6232
|
DisplayName: __expectString(output.DisplayName),
|
|
6336
|
-
EmbedHostDomains: output.EmbedHostDomains
|
|
6233
|
+
EmbedHostDomains: output.EmbedHostDomains != null
|
|
6337
6234
|
? deserializeAws_json1_1EmbedHostDomains(output.EmbedHostDomains, context)
|
|
6338
6235
|
: undefined,
|
|
6339
6236
|
FeedbackURL: __expectString(output.FeedbackURL),
|
|
6340
6237
|
Name: __expectString(output.Name),
|
|
6341
6238
|
RedirectURL: __expectString(output.RedirectURL),
|
|
6342
|
-
StackErrors: output.StackErrors
|
|
6343
|
-
|
|
6344
|
-
: undefined,
|
|
6345
|
-
StorageConnectors: output.StorageConnectors !== undefined && output.StorageConnectors !== null
|
|
6239
|
+
StackErrors: output.StackErrors != null ? deserializeAws_json1_1StackErrors(output.StackErrors, context) : undefined,
|
|
6240
|
+
StorageConnectors: output.StorageConnectors != null
|
|
6346
6241
|
? deserializeAws_json1_1StorageConnectorList(output.StorageConnectors, context)
|
|
6347
6242
|
: undefined,
|
|
6348
|
-
|
|
6349
|
-
?
|
|
6243
|
+
StreamingExperienceSettings: output.StreamingExperienceSettings != null
|
|
6244
|
+
? deserializeAws_json1_1StreamingExperienceSettings(output.StreamingExperienceSettings, context)
|
|
6350
6245
|
: undefined,
|
|
6246
|
+
UserSettings: output.UserSettings != null ? deserializeAws_json1_1UserSettingList(output.UserSettings, context) : undefined,
|
|
6351
6247
|
};
|
|
6352
6248
|
};
|
|
6353
6249
|
var deserializeAws_json1_1StackError = function (output, context) {
|
|
@@ -6383,9 +6279,7 @@ var deserializeAws_json1_1StartFleetResult = function (output, context) {
|
|
|
6383
6279
|
};
|
|
6384
6280
|
var deserializeAws_json1_1StartImageBuilderResult = function (output, context) {
|
|
6385
6281
|
return {
|
|
6386
|
-
ImageBuilder: output.ImageBuilder
|
|
6387
|
-
? deserializeAws_json1_1ImageBuilder(output.ImageBuilder, context)
|
|
6388
|
-
: undefined,
|
|
6282
|
+
ImageBuilder: output.ImageBuilder != null ? deserializeAws_json1_1ImageBuilder(output.ImageBuilder, context) : undefined,
|
|
6389
6283
|
};
|
|
6390
6284
|
};
|
|
6391
6285
|
var deserializeAws_json1_1StopFleetResult = function (output, context) {
|
|
@@ -6393,17 +6287,13 @@ var deserializeAws_json1_1StopFleetResult = function (output, context) {
|
|
|
6393
6287
|
};
|
|
6394
6288
|
var deserializeAws_json1_1StopImageBuilderResult = function (output, context) {
|
|
6395
6289
|
return {
|
|
6396
|
-
ImageBuilder: output.ImageBuilder
|
|
6397
|
-
? deserializeAws_json1_1ImageBuilder(output.ImageBuilder, context)
|
|
6398
|
-
: undefined,
|
|
6290
|
+
ImageBuilder: output.ImageBuilder != null ? deserializeAws_json1_1ImageBuilder(output.ImageBuilder, context) : undefined,
|
|
6399
6291
|
};
|
|
6400
6292
|
};
|
|
6401
6293
|
var deserializeAws_json1_1StorageConnector = function (output, context) {
|
|
6402
6294
|
return {
|
|
6403
6295
|
ConnectorType: __expectString(output.ConnectorType),
|
|
6404
|
-
Domains: output.Domains
|
|
6405
|
-
? deserializeAws_json1_1DomainList(output.Domains, context)
|
|
6406
|
-
: undefined,
|
|
6296
|
+
Domains: output.Domains != null ? deserializeAws_json1_1DomainList(output.Domains, context) : undefined,
|
|
6407
6297
|
ResourceIdentifier: __expectString(output.ResourceIdentifier),
|
|
6408
6298
|
};
|
|
6409
6299
|
};
|
|
@@ -6418,6 +6308,11 @@ var deserializeAws_json1_1StorageConnectorList = function (output, context) {
|
|
|
6418
6308
|
});
|
|
6419
6309
|
return retVal;
|
|
6420
6310
|
};
|
|
6311
|
+
var deserializeAws_json1_1StreamingExperienceSettings = function (output, context) {
|
|
6312
|
+
return {
|
|
6313
|
+
PreferredProtocol: __expectString(output.PreferredProtocol),
|
|
6314
|
+
};
|
|
6315
|
+
};
|
|
6421
6316
|
var deserializeAws_json1_1StringList = function (output, context) {
|
|
6422
6317
|
var retVal = (output || [])
|
|
6423
6318
|
.filter(function (e) { return e != null; })
|
|
@@ -6458,30 +6353,24 @@ var deserializeAws_json1_1UntagResourceResponse = function (output, context) {
|
|
|
6458
6353
|
};
|
|
6459
6354
|
var deserializeAws_json1_1UpdateApplicationResult = function (output, context) {
|
|
6460
6355
|
return {
|
|
6461
|
-
Application: output.Application
|
|
6462
|
-
? deserializeAws_json1_1Application(output.Application, context)
|
|
6463
|
-
: undefined,
|
|
6356
|
+
Application: output.Application != null ? deserializeAws_json1_1Application(output.Application, context) : undefined,
|
|
6464
6357
|
};
|
|
6465
6358
|
};
|
|
6466
6359
|
var deserializeAws_json1_1UpdateDirectoryConfigResult = function (output, context) {
|
|
6467
6360
|
return {
|
|
6468
|
-
DirectoryConfig: output.DirectoryConfig
|
|
6361
|
+
DirectoryConfig: output.DirectoryConfig != null
|
|
6469
6362
|
? deserializeAws_json1_1DirectoryConfig(output.DirectoryConfig, context)
|
|
6470
6363
|
: undefined,
|
|
6471
6364
|
};
|
|
6472
6365
|
};
|
|
6473
6366
|
var deserializeAws_json1_1UpdateEntitlementResult = function (output, context) {
|
|
6474
6367
|
return {
|
|
6475
|
-
Entitlement: output.Entitlement
|
|
6476
|
-
? deserializeAws_json1_1Entitlement(output.Entitlement, context)
|
|
6477
|
-
: undefined,
|
|
6368
|
+
Entitlement: output.Entitlement != null ? deserializeAws_json1_1Entitlement(output.Entitlement, context) : undefined,
|
|
6478
6369
|
};
|
|
6479
6370
|
};
|
|
6480
6371
|
var deserializeAws_json1_1UpdateFleetResult = function (output, context) {
|
|
6481
6372
|
return {
|
|
6482
|
-
Fleet: output.Fleet
|
|
6483
|
-
? deserializeAws_json1_1Fleet(output.Fleet, context)
|
|
6484
|
-
: undefined,
|
|
6373
|
+
Fleet: output.Fleet != null ? deserializeAws_json1_1Fleet(output.Fleet, context) : undefined,
|
|
6485
6374
|
};
|
|
6486
6375
|
};
|
|
6487
6376
|
var deserializeAws_json1_1UpdateImagePermissionsResult = function (output, context) {
|
|
@@ -6489,19 +6378,17 @@ var deserializeAws_json1_1UpdateImagePermissionsResult = function (output, conte
|
|
|
6489
6378
|
};
|
|
6490
6379
|
var deserializeAws_json1_1UpdateStackResult = function (output, context) {
|
|
6491
6380
|
return {
|
|
6492
|
-
Stack: output.Stack
|
|
6493
|
-
? deserializeAws_json1_1Stack(output.Stack, context)
|
|
6494
|
-
: undefined,
|
|
6381
|
+
Stack: output.Stack != null ? deserializeAws_json1_1Stack(output.Stack, context) : undefined,
|
|
6495
6382
|
};
|
|
6496
6383
|
};
|
|
6497
6384
|
var deserializeAws_json1_1UsageReportSubscription = function (output, context) {
|
|
6498
6385
|
return {
|
|
6499
|
-
LastGeneratedReportDate: output.LastGeneratedReportDate
|
|
6386
|
+
LastGeneratedReportDate: output.LastGeneratedReportDate != null
|
|
6500
6387
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastGeneratedReportDate)))
|
|
6501
6388
|
: undefined,
|
|
6502
6389
|
S3BucketName: __expectString(output.S3BucketName),
|
|
6503
6390
|
Schedule: __expectString(output.Schedule),
|
|
6504
|
-
SubscriptionErrors: output.SubscriptionErrors
|
|
6391
|
+
SubscriptionErrors: output.SubscriptionErrors != null
|
|
6505
6392
|
? deserializeAws_json1_1LastReportGenerationExecutionErrors(output.SubscriptionErrors, context)
|
|
6506
6393
|
: undefined,
|
|
6507
6394
|
};
|
|
@@ -6532,7 +6419,7 @@ var deserializeAws_json1_1User = function (output, context) {
|
|
|
6532
6419
|
return {
|
|
6533
6420
|
Arn: __expectString(output.Arn),
|
|
6534
6421
|
AuthenticationType: __expectString(output.AuthenticationType),
|
|
6535
|
-
CreatedTime: output.CreatedTime
|
|
6422
|
+
CreatedTime: output.CreatedTime != null
|
|
6536
6423
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedTime)))
|
|
6537
6424
|
: undefined,
|
|
6538
6425
|
Enabled: __expectBoolean(output.Enabled),
|
|
@@ -6582,7 +6469,7 @@ var deserializeAws_json1_1UserStackAssociationError = function (output, context)
|
|
|
6582
6469
|
return {
|
|
6583
6470
|
ErrorCode: __expectString(output.ErrorCode),
|
|
6584
6471
|
ErrorMessage: __expectString(output.ErrorMessage),
|
|
6585
|
-
UserStackAssociation: output.UserStackAssociation
|
|
6472
|
+
UserStackAssociation: output.UserStackAssociation != null
|
|
6586
6473
|
? deserializeAws_json1_1UserStackAssociation(output.UserStackAssociation, context)
|
|
6587
6474
|
: undefined,
|
|
6588
6475
|
};
|
|
@@ -6611,12 +6498,10 @@ var deserializeAws_json1_1UserStackAssociationList = function (output, context)
|
|
|
6611
6498
|
};
|
|
6612
6499
|
var deserializeAws_json1_1VpcConfig = function (output, context) {
|
|
6613
6500
|
return {
|
|
6614
|
-
SecurityGroupIds: output.SecurityGroupIds
|
|
6501
|
+
SecurityGroupIds: output.SecurityGroupIds != null
|
|
6615
6502
|
? deserializeAws_json1_1SecurityGroupIdList(output.SecurityGroupIds, context)
|
|
6616
6503
|
: undefined,
|
|
6617
|
-
SubnetIds: output.SubnetIds
|
|
6618
|
-
? deserializeAws_json1_1SubnetIdList(output.SubnetIds, context)
|
|
6619
|
-
: undefined,
|
|
6504
|
+
SubnetIds: output.SubnetIds != null ? deserializeAws_json1_1SubnetIdList(output.SubnetIds, context) : undefined,
|
|
6620
6505
|
};
|
|
6621
6506
|
};
|
|
6622
6507
|
var deserializeMetadata = function (output) {
|
|
@@ -6693,5 +6578,4 @@ var loadRestJsonErrorCode = function (output, data) {
|
|
|
6693
6578
|
if (data["__type"] !== undefined) {
|
|
6694
6579
|
return sanitizeErrorCode(data["__type"]);
|
|
6695
6580
|
}
|
|
6696
|
-
return "";
|
|
6697
6581
|
};
|