@aws-sdk/client-sso-admin 3.503.1 → 3.507.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/index.js +152 -2492
- package/dist-es/protocols/Aws_json1_1.js +283 -2623
- package/package.json +3 -3
package/dist-cjs/index.js
CHANGED
|
@@ -929,7 +929,7 @@ var se_UpdateTrustedTokenIssuerCommand = /* @__PURE__ */ __name(async (input, co
|
|
|
929
929
|
}, "se_UpdateTrustedTokenIssuerCommand");
|
|
930
930
|
var de_AttachCustomerManagedPolicyReferenceToPermissionSetCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
931
931
|
if (output.statusCode >= 300) {
|
|
932
|
-
return
|
|
932
|
+
return de_CommandError(output, context);
|
|
933
933
|
}
|
|
934
934
|
const data = await parseBody(output.body, context);
|
|
935
935
|
let contents = {};
|
|
@@ -940,46 +940,9 @@ var de_AttachCustomerManagedPolicyReferenceToPermissionSetCommand = /* @__PURE__
|
|
|
940
940
|
};
|
|
941
941
|
return response;
|
|
942
942
|
}, "de_AttachCustomerManagedPolicyReferenceToPermissionSetCommand");
|
|
943
|
-
var de_AttachCustomerManagedPolicyReferenceToPermissionSetCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
944
|
-
const parsedOutput = {
|
|
945
|
-
...output,
|
|
946
|
-
body: await parseErrorBody(output.body, context)
|
|
947
|
-
};
|
|
948
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
949
|
-
switch (errorCode) {
|
|
950
|
-
case "AccessDeniedException":
|
|
951
|
-
case "com.amazonaws.ssoadmin#AccessDeniedException":
|
|
952
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
953
|
-
case "ConflictException":
|
|
954
|
-
case "com.amazonaws.ssoadmin#ConflictException":
|
|
955
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
956
|
-
case "InternalServerException":
|
|
957
|
-
case "com.amazonaws.ssoadmin#InternalServerException":
|
|
958
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
959
|
-
case "ResourceNotFoundException":
|
|
960
|
-
case "com.amazonaws.ssoadmin#ResourceNotFoundException":
|
|
961
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
962
|
-
case "ServiceQuotaExceededException":
|
|
963
|
-
case "com.amazonaws.ssoadmin#ServiceQuotaExceededException":
|
|
964
|
-
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
965
|
-
case "ThrottlingException":
|
|
966
|
-
case "com.amazonaws.ssoadmin#ThrottlingException":
|
|
967
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
968
|
-
case "ValidationException":
|
|
969
|
-
case "com.amazonaws.ssoadmin#ValidationException":
|
|
970
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
971
|
-
default:
|
|
972
|
-
const parsedBody = parsedOutput.body;
|
|
973
|
-
return throwDefaultError({
|
|
974
|
-
output,
|
|
975
|
-
parsedBody,
|
|
976
|
-
errorCode
|
|
977
|
-
});
|
|
978
|
-
}
|
|
979
|
-
}, "de_AttachCustomerManagedPolicyReferenceToPermissionSetCommandError");
|
|
980
943
|
var de_AttachManagedPolicyToPermissionSetCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
981
944
|
if (output.statusCode >= 300) {
|
|
982
|
-
return
|
|
945
|
+
return de_CommandError(output, context);
|
|
983
946
|
}
|
|
984
947
|
const data = await parseBody(output.body, context);
|
|
985
948
|
let contents = {};
|
|
@@ -990,46 +953,9 @@ var de_AttachManagedPolicyToPermissionSetCommand = /* @__PURE__ */ __name(async
|
|
|
990
953
|
};
|
|
991
954
|
return response;
|
|
992
955
|
}, "de_AttachManagedPolicyToPermissionSetCommand");
|
|
993
|
-
var de_AttachManagedPolicyToPermissionSetCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
994
|
-
const parsedOutput = {
|
|
995
|
-
...output,
|
|
996
|
-
body: await parseErrorBody(output.body, context)
|
|
997
|
-
};
|
|
998
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
999
|
-
switch (errorCode) {
|
|
1000
|
-
case "AccessDeniedException":
|
|
1001
|
-
case "com.amazonaws.ssoadmin#AccessDeniedException":
|
|
1002
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1003
|
-
case "ConflictException":
|
|
1004
|
-
case "com.amazonaws.ssoadmin#ConflictException":
|
|
1005
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
1006
|
-
case "InternalServerException":
|
|
1007
|
-
case "com.amazonaws.ssoadmin#InternalServerException":
|
|
1008
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1009
|
-
case "ResourceNotFoundException":
|
|
1010
|
-
case "com.amazonaws.ssoadmin#ResourceNotFoundException":
|
|
1011
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1012
|
-
case "ServiceQuotaExceededException":
|
|
1013
|
-
case "com.amazonaws.ssoadmin#ServiceQuotaExceededException":
|
|
1014
|
-
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
1015
|
-
case "ThrottlingException":
|
|
1016
|
-
case "com.amazonaws.ssoadmin#ThrottlingException":
|
|
1017
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1018
|
-
case "ValidationException":
|
|
1019
|
-
case "com.amazonaws.ssoadmin#ValidationException":
|
|
1020
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1021
|
-
default:
|
|
1022
|
-
const parsedBody = parsedOutput.body;
|
|
1023
|
-
return throwDefaultError({
|
|
1024
|
-
output,
|
|
1025
|
-
parsedBody,
|
|
1026
|
-
errorCode
|
|
1027
|
-
});
|
|
1028
|
-
}
|
|
1029
|
-
}, "de_AttachManagedPolicyToPermissionSetCommandError");
|
|
1030
956
|
var de_CreateAccountAssignmentCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1031
957
|
if (output.statusCode >= 300) {
|
|
1032
|
-
return
|
|
958
|
+
return de_CommandError(output, context);
|
|
1033
959
|
}
|
|
1034
960
|
const data = await parseBody(output.body, context);
|
|
1035
961
|
let contents = {};
|
|
@@ -1040,46 +966,9 @@ var de_CreateAccountAssignmentCommand = /* @__PURE__ */ __name(async (output, co
|
|
|
1040
966
|
};
|
|
1041
967
|
return response;
|
|
1042
968
|
}, "de_CreateAccountAssignmentCommand");
|
|
1043
|
-
var de_CreateAccountAssignmentCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1044
|
-
const parsedOutput = {
|
|
1045
|
-
...output,
|
|
1046
|
-
body: await parseErrorBody(output.body, context)
|
|
1047
|
-
};
|
|
1048
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1049
|
-
switch (errorCode) {
|
|
1050
|
-
case "AccessDeniedException":
|
|
1051
|
-
case "com.amazonaws.ssoadmin#AccessDeniedException":
|
|
1052
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1053
|
-
case "ConflictException":
|
|
1054
|
-
case "com.amazonaws.ssoadmin#ConflictException":
|
|
1055
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
1056
|
-
case "InternalServerException":
|
|
1057
|
-
case "com.amazonaws.ssoadmin#InternalServerException":
|
|
1058
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1059
|
-
case "ResourceNotFoundException":
|
|
1060
|
-
case "com.amazonaws.ssoadmin#ResourceNotFoundException":
|
|
1061
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1062
|
-
case "ServiceQuotaExceededException":
|
|
1063
|
-
case "com.amazonaws.ssoadmin#ServiceQuotaExceededException":
|
|
1064
|
-
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
1065
|
-
case "ThrottlingException":
|
|
1066
|
-
case "com.amazonaws.ssoadmin#ThrottlingException":
|
|
1067
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1068
|
-
case "ValidationException":
|
|
1069
|
-
case "com.amazonaws.ssoadmin#ValidationException":
|
|
1070
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1071
|
-
default:
|
|
1072
|
-
const parsedBody = parsedOutput.body;
|
|
1073
|
-
return throwDefaultError({
|
|
1074
|
-
output,
|
|
1075
|
-
parsedBody,
|
|
1076
|
-
errorCode
|
|
1077
|
-
});
|
|
1078
|
-
}
|
|
1079
|
-
}, "de_CreateAccountAssignmentCommandError");
|
|
1080
969
|
var de_CreateApplicationCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1081
970
|
if (output.statusCode >= 300) {
|
|
1082
|
-
return
|
|
971
|
+
return de_CommandError(output, context);
|
|
1083
972
|
}
|
|
1084
973
|
const data = await parseBody(output.body, context);
|
|
1085
974
|
let contents = {};
|
|
@@ -1090,46 +979,9 @@ var de_CreateApplicationCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
1090
979
|
};
|
|
1091
980
|
return response;
|
|
1092
981
|
}, "de_CreateApplicationCommand");
|
|
1093
|
-
var de_CreateApplicationCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1094
|
-
const parsedOutput = {
|
|
1095
|
-
...output,
|
|
1096
|
-
body: await parseErrorBody(output.body, context)
|
|
1097
|
-
};
|
|
1098
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1099
|
-
switch (errorCode) {
|
|
1100
|
-
case "AccessDeniedException":
|
|
1101
|
-
case "com.amazonaws.ssoadmin#AccessDeniedException":
|
|
1102
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1103
|
-
case "ConflictException":
|
|
1104
|
-
case "com.amazonaws.ssoadmin#ConflictException":
|
|
1105
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
1106
|
-
case "InternalServerException":
|
|
1107
|
-
case "com.amazonaws.ssoadmin#InternalServerException":
|
|
1108
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1109
|
-
case "ResourceNotFoundException":
|
|
1110
|
-
case "com.amazonaws.ssoadmin#ResourceNotFoundException":
|
|
1111
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1112
|
-
case "ServiceQuotaExceededException":
|
|
1113
|
-
case "com.amazonaws.ssoadmin#ServiceQuotaExceededException":
|
|
1114
|
-
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
1115
|
-
case "ThrottlingException":
|
|
1116
|
-
case "com.amazonaws.ssoadmin#ThrottlingException":
|
|
1117
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1118
|
-
case "ValidationException":
|
|
1119
|
-
case "com.amazonaws.ssoadmin#ValidationException":
|
|
1120
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1121
|
-
default:
|
|
1122
|
-
const parsedBody = parsedOutput.body;
|
|
1123
|
-
return throwDefaultError({
|
|
1124
|
-
output,
|
|
1125
|
-
parsedBody,
|
|
1126
|
-
errorCode
|
|
1127
|
-
});
|
|
1128
|
-
}
|
|
1129
|
-
}, "de_CreateApplicationCommandError");
|
|
1130
982
|
var de_CreateApplicationAssignmentCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1131
983
|
if (output.statusCode >= 300) {
|
|
1132
|
-
return
|
|
984
|
+
return de_CommandError(output, context);
|
|
1133
985
|
}
|
|
1134
986
|
const data = await parseBody(output.body, context);
|
|
1135
987
|
let contents = {};
|
|
@@ -1140,46 +992,9 @@ var de_CreateApplicationAssignmentCommand = /* @__PURE__ */ __name(async (output
|
|
|
1140
992
|
};
|
|
1141
993
|
return response;
|
|
1142
994
|
}, "de_CreateApplicationAssignmentCommand");
|
|
1143
|
-
var de_CreateApplicationAssignmentCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1144
|
-
const parsedOutput = {
|
|
1145
|
-
...output,
|
|
1146
|
-
body: await parseErrorBody(output.body, context)
|
|
1147
|
-
};
|
|
1148
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1149
|
-
switch (errorCode) {
|
|
1150
|
-
case "AccessDeniedException":
|
|
1151
|
-
case "com.amazonaws.ssoadmin#AccessDeniedException":
|
|
1152
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1153
|
-
case "ConflictException":
|
|
1154
|
-
case "com.amazonaws.ssoadmin#ConflictException":
|
|
1155
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
1156
|
-
case "InternalServerException":
|
|
1157
|
-
case "com.amazonaws.ssoadmin#InternalServerException":
|
|
1158
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1159
|
-
case "ResourceNotFoundException":
|
|
1160
|
-
case "com.amazonaws.ssoadmin#ResourceNotFoundException":
|
|
1161
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1162
|
-
case "ServiceQuotaExceededException":
|
|
1163
|
-
case "com.amazonaws.ssoadmin#ServiceQuotaExceededException":
|
|
1164
|
-
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
1165
|
-
case "ThrottlingException":
|
|
1166
|
-
case "com.amazonaws.ssoadmin#ThrottlingException":
|
|
1167
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1168
|
-
case "ValidationException":
|
|
1169
|
-
case "com.amazonaws.ssoadmin#ValidationException":
|
|
1170
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1171
|
-
default:
|
|
1172
|
-
const parsedBody = parsedOutput.body;
|
|
1173
|
-
return throwDefaultError({
|
|
1174
|
-
output,
|
|
1175
|
-
parsedBody,
|
|
1176
|
-
errorCode
|
|
1177
|
-
});
|
|
1178
|
-
}
|
|
1179
|
-
}, "de_CreateApplicationAssignmentCommandError");
|
|
1180
995
|
var de_CreateInstanceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1181
996
|
if (output.statusCode >= 300) {
|
|
1182
|
-
return
|
|
997
|
+
return de_CommandError(output, context);
|
|
1183
998
|
}
|
|
1184
999
|
const data = await parseBody(output.body, context);
|
|
1185
1000
|
let contents = {};
|
|
@@ -1190,43 +1005,9 @@ var de_CreateInstanceCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
1190
1005
|
};
|
|
1191
1006
|
return response;
|
|
1192
1007
|
}, "de_CreateInstanceCommand");
|
|
1193
|
-
var de_CreateInstanceCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1194
|
-
const parsedOutput = {
|
|
1195
|
-
...output,
|
|
1196
|
-
body: await parseErrorBody(output.body, context)
|
|
1197
|
-
};
|
|
1198
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1199
|
-
switch (errorCode) {
|
|
1200
|
-
case "AccessDeniedException":
|
|
1201
|
-
case "com.amazonaws.ssoadmin#AccessDeniedException":
|
|
1202
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1203
|
-
case "ConflictException":
|
|
1204
|
-
case "com.amazonaws.ssoadmin#ConflictException":
|
|
1205
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
1206
|
-
case "InternalServerException":
|
|
1207
|
-
case "com.amazonaws.ssoadmin#InternalServerException":
|
|
1208
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1209
|
-
case "ServiceQuotaExceededException":
|
|
1210
|
-
case "com.amazonaws.ssoadmin#ServiceQuotaExceededException":
|
|
1211
|
-
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
1212
|
-
case "ThrottlingException":
|
|
1213
|
-
case "com.amazonaws.ssoadmin#ThrottlingException":
|
|
1214
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1215
|
-
case "ValidationException":
|
|
1216
|
-
case "com.amazonaws.ssoadmin#ValidationException":
|
|
1217
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1218
|
-
default:
|
|
1219
|
-
const parsedBody = parsedOutput.body;
|
|
1220
|
-
return throwDefaultError({
|
|
1221
|
-
output,
|
|
1222
|
-
parsedBody,
|
|
1223
|
-
errorCode
|
|
1224
|
-
});
|
|
1225
|
-
}
|
|
1226
|
-
}, "de_CreateInstanceCommandError");
|
|
1227
1008
|
var de_CreateInstanceAccessControlAttributeConfigurationCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1228
1009
|
if (output.statusCode >= 300) {
|
|
1229
|
-
return
|
|
1010
|
+
return de_CommandError(output, context);
|
|
1230
1011
|
}
|
|
1231
1012
|
const data = await parseBody(output.body, context);
|
|
1232
1013
|
let contents = {};
|
|
@@ -1237,43 +1018,9 @@ var de_CreateInstanceAccessControlAttributeConfigurationCommand = /* @__PURE__ *
|
|
|
1237
1018
|
};
|
|
1238
1019
|
return response;
|
|
1239
1020
|
}, "de_CreateInstanceAccessControlAttributeConfigurationCommand");
|
|
1240
|
-
var de_CreateInstanceAccessControlAttributeConfigurationCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1241
|
-
const parsedOutput = {
|
|
1242
|
-
...output,
|
|
1243
|
-
body: await parseErrorBody(output.body, context)
|
|
1244
|
-
};
|
|
1245
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1246
|
-
switch (errorCode) {
|
|
1247
|
-
case "AccessDeniedException":
|
|
1248
|
-
case "com.amazonaws.ssoadmin#AccessDeniedException":
|
|
1249
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1250
|
-
case "ConflictException":
|
|
1251
|
-
case "com.amazonaws.ssoadmin#ConflictException":
|
|
1252
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
1253
|
-
case "InternalServerException":
|
|
1254
|
-
case "com.amazonaws.ssoadmin#InternalServerException":
|
|
1255
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1256
|
-
case "ResourceNotFoundException":
|
|
1257
|
-
case "com.amazonaws.ssoadmin#ResourceNotFoundException":
|
|
1258
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1259
|
-
case "ThrottlingException":
|
|
1260
|
-
case "com.amazonaws.ssoadmin#ThrottlingException":
|
|
1261
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1262
|
-
case "ValidationException":
|
|
1263
|
-
case "com.amazonaws.ssoadmin#ValidationException":
|
|
1264
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1265
|
-
default:
|
|
1266
|
-
const parsedBody = parsedOutput.body;
|
|
1267
|
-
return throwDefaultError({
|
|
1268
|
-
output,
|
|
1269
|
-
parsedBody,
|
|
1270
|
-
errorCode
|
|
1271
|
-
});
|
|
1272
|
-
}
|
|
1273
|
-
}, "de_CreateInstanceAccessControlAttributeConfigurationCommandError");
|
|
1274
1021
|
var de_CreatePermissionSetCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1275
1022
|
if (output.statusCode >= 300) {
|
|
1276
|
-
return
|
|
1023
|
+
return de_CommandError(output, context);
|
|
1277
1024
|
}
|
|
1278
1025
|
const data = await parseBody(output.body, context);
|
|
1279
1026
|
let contents = {};
|
|
@@ -1284,93 +1031,22 @@ var de_CreatePermissionSetCommand = /* @__PURE__ */ __name(async (output, contex
|
|
|
1284
1031
|
};
|
|
1285
1032
|
return response;
|
|
1286
1033
|
}, "de_CreatePermissionSetCommand");
|
|
1287
|
-
var
|
|
1288
|
-
|
|
1289
|
-
|
|
1290
|
-
|
|
1291
|
-
|
|
1292
|
-
|
|
1293
|
-
|
|
1294
|
-
|
|
1295
|
-
|
|
1296
|
-
|
|
1297
|
-
case "ConflictException":
|
|
1298
|
-
case "com.amazonaws.ssoadmin#ConflictException":
|
|
1299
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
1300
|
-
case "InternalServerException":
|
|
1301
|
-
case "com.amazonaws.ssoadmin#InternalServerException":
|
|
1302
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1303
|
-
case "ResourceNotFoundException":
|
|
1304
|
-
case "com.amazonaws.ssoadmin#ResourceNotFoundException":
|
|
1305
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1306
|
-
case "ServiceQuotaExceededException":
|
|
1307
|
-
case "com.amazonaws.ssoadmin#ServiceQuotaExceededException":
|
|
1308
|
-
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
1309
|
-
case "ThrottlingException":
|
|
1310
|
-
case "com.amazonaws.ssoadmin#ThrottlingException":
|
|
1311
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1312
|
-
case "ValidationException":
|
|
1313
|
-
case "com.amazonaws.ssoadmin#ValidationException":
|
|
1314
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1315
|
-
default:
|
|
1316
|
-
const parsedBody = parsedOutput.body;
|
|
1317
|
-
return throwDefaultError({
|
|
1318
|
-
output,
|
|
1319
|
-
parsedBody,
|
|
1320
|
-
errorCode
|
|
1321
|
-
});
|
|
1322
|
-
}
|
|
1323
|
-
}, "de_CreatePermissionSetCommandError");
|
|
1324
|
-
var de_CreateTrustedTokenIssuerCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1325
|
-
if (output.statusCode >= 300) {
|
|
1326
|
-
return de_CreateTrustedTokenIssuerCommandError(output, context);
|
|
1327
|
-
}
|
|
1328
|
-
const data = await parseBody(output.body, context);
|
|
1329
|
-
let contents = {};
|
|
1330
|
-
contents = (0, import_smithy_client._json)(data);
|
|
1331
|
-
const response = {
|
|
1332
|
-
$metadata: deserializeMetadata(output),
|
|
1333
|
-
...contents
|
|
1034
|
+
var de_CreateTrustedTokenIssuerCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1035
|
+
if (output.statusCode >= 300) {
|
|
1036
|
+
return de_CommandError(output, context);
|
|
1037
|
+
}
|
|
1038
|
+
const data = await parseBody(output.body, context);
|
|
1039
|
+
let contents = {};
|
|
1040
|
+
contents = (0, import_smithy_client._json)(data);
|
|
1041
|
+
const response = {
|
|
1042
|
+
$metadata: deserializeMetadata(output),
|
|
1043
|
+
...contents
|
|
1334
1044
|
};
|
|
1335
1045
|
return response;
|
|
1336
1046
|
}, "de_CreateTrustedTokenIssuerCommand");
|
|
1337
|
-
var de_CreateTrustedTokenIssuerCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1338
|
-
const parsedOutput = {
|
|
1339
|
-
...output,
|
|
1340
|
-
body: await parseErrorBody(output.body, context)
|
|
1341
|
-
};
|
|
1342
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1343
|
-
switch (errorCode) {
|
|
1344
|
-
case "AccessDeniedException":
|
|
1345
|
-
case "com.amazonaws.ssoadmin#AccessDeniedException":
|
|
1346
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1347
|
-
case "ConflictException":
|
|
1348
|
-
case "com.amazonaws.ssoadmin#ConflictException":
|
|
1349
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
1350
|
-
case "InternalServerException":
|
|
1351
|
-
case "com.amazonaws.ssoadmin#InternalServerException":
|
|
1352
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1353
|
-
case "ServiceQuotaExceededException":
|
|
1354
|
-
case "com.amazonaws.ssoadmin#ServiceQuotaExceededException":
|
|
1355
|
-
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
1356
|
-
case "ThrottlingException":
|
|
1357
|
-
case "com.amazonaws.ssoadmin#ThrottlingException":
|
|
1358
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1359
|
-
case "ValidationException":
|
|
1360
|
-
case "com.amazonaws.ssoadmin#ValidationException":
|
|
1361
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1362
|
-
default:
|
|
1363
|
-
const parsedBody = parsedOutput.body;
|
|
1364
|
-
return throwDefaultError({
|
|
1365
|
-
output,
|
|
1366
|
-
parsedBody,
|
|
1367
|
-
errorCode
|
|
1368
|
-
});
|
|
1369
|
-
}
|
|
1370
|
-
}, "de_CreateTrustedTokenIssuerCommandError");
|
|
1371
1047
|
var de_DeleteAccountAssignmentCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1372
1048
|
if (output.statusCode >= 300) {
|
|
1373
|
-
return
|
|
1049
|
+
return de_CommandError(output, context);
|
|
1374
1050
|
}
|
|
1375
1051
|
const data = await parseBody(output.body, context);
|
|
1376
1052
|
let contents = {};
|
|
@@ -1381,43 +1057,9 @@ var de_DeleteAccountAssignmentCommand = /* @__PURE__ */ __name(async (output, co
|
|
|
1381
1057
|
};
|
|
1382
1058
|
return response;
|
|
1383
1059
|
}, "de_DeleteAccountAssignmentCommand");
|
|
1384
|
-
var de_DeleteAccountAssignmentCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1385
|
-
const parsedOutput = {
|
|
1386
|
-
...output,
|
|
1387
|
-
body: await parseErrorBody(output.body, context)
|
|
1388
|
-
};
|
|
1389
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1390
|
-
switch (errorCode) {
|
|
1391
|
-
case "AccessDeniedException":
|
|
1392
|
-
case "com.amazonaws.ssoadmin#AccessDeniedException":
|
|
1393
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1394
|
-
case "ConflictException":
|
|
1395
|
-
case "com.amazonaws.ssoadmin#ConflictException":
|
|
1396
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
1397
|
-
case "InternalServerException":
|
|
1398
|
-
case "com.amazonaws.ssoadmin#InternalServerException":
|
|
1399
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1400
|
-
case "ResourceNotFoundException":
|
|
1401
|
-
case "com.amazonaws.ssoadmin#ResourceNotFoundException":
|
|
1402
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1403
|
-
case "ThrottlingException":
|
|
1404
|
-
case "com.amazonaws.ssoadmin#ThrottlingException":
|
|
1405
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1406
|
-
case "ValidationException":
|
|
1407
|
-
case "com.amazonaws.ssoadmin#ValidationException":
|
|
1408
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1409
|
-
default:
|
|
1410
|
-
const parsedBody = parsedOutput.body;
|
|
1411
|
-
return throwDefaultError({
|
|
1412
|
-
output,
|
|
1413
|
-
parsedBody,
|
|
1414
|
-
errorCode
|
|
1415
|
-
});
|
|
1416
|
-
}
|
|
1417
|
-
}, "de_DeleteAccountAssignmentCommandError");
|
|
1418
1060
|
var de_DeleteApplicationCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1419
1061
|
if (output.statusCode >= 300) {
|
|
1420
|
-
return
|
|
1062
|
+
return de_CommandError(output, context);
|
|
1421
1063
|
}
|
|
1422
1064
|
const data = await parseBody(output.body, context);
|
|
1423
1065
|
let contents = {};
|
|
@@ -1428,43 +1070,9 @@ var de_DeleteApplicationCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
1428
1070
|
};
|
|
1429
1071
|
return response;
|
|
1430
1072
|
}, "de_DeleteApplicationCommand");
|
|
1431
|
-
var de_DeleteApplicationCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1432
|
-
const parsedOutput = {
|
|
1433
|
-
...output,
|
|
1434
|
-
body: await parseErrorBody(output.body, context)
|
|
1435
|
-
};
|
|
1436
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1437
|
-
switch (errorCode) {
|
|
1438
|
-
case "AccessDeniedException":
|
|
1439
|
-
case "com.amazonaws.ssoadmin#AccessDeniedException":
|
|
1440
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1441
|
-
case "ConflictException":
|
|
1442
|
-
case "com.amazonaws.ssoadmin#ConflictException":
|
|
1443
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
1444
|
-
case "InternalServerException":
|
|
1445
|
-
case "com.amazonaws.ssoadmin#InternalServerException":
|
|
1446
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1447
|
-
case "ResourceNotFoundException":
|
|
1448
|
-
case "com.amazonaws.ssoadmin#ResourceNotFoundException":
|
|
1449
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1450
|
-
case "ThrottlingException":
|
|
1451
|
-
case "com.amazonaws.ssoadmin#ThrottlingException":
|
|
1452
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1453
|
-
case "ValidationException":
|
|
1454
|
-
case "com.amazonaws.ssoadmin#ValidationException":
|
|
1455
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1456
|
-
default:
|
|
1457
|
-
const parsedBody = parsedOutput.body;
|
|
1458
|
-
return throwDefaultError({
|
|
1459
|
-
output,
|
|
1460
|
-
parsedBody,
|
|
1461
|
-
errorCode
|
|
1462
|
-
});
|
|
1463
|
-
}
|
|
1464
|
-
}, "de_DeleteApplicationCommandError");
|
|
1465
1073
|
var de_DeleteApplicationAccessScopeCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1466
1074
|
if (output.statusCode >= 300) {
|
|
1467
|
-
return
|
|
1075
|
+
return de_CommandError(output, context);
|
|
1468
1076
|
}
|
|
1469
1077
|
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
1470
1078
|
const response = {
|
|
@@ -1472,43 +1080,9 @@ var de_DeleteApplicationAccessScopeCommand = /* @__PURE__ */ __name(async (outpu
|
|
|
1472
1080
|
};
|
|
1473
1081
|
return response;
|
|
1474
1082
|
}, "de_DeleteApplicationAccessScopeCommand");
|
|
1475
|
-
var de_DeleteApplicationAccessScopeCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1476
|
-
const parsedOutput = {
|
|
1477
|
-
...output,
|
|
1478
|
-
body: await parseErrorBody(output.body, context)
|
|
1479
|
-
};
|
|
1480
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1481
|
-
switch (errorCode) {
|
|
1482
|
-
case "AccessDeniedException":
|
|
1483
|
-
case "com.amazonaws.ssoadmin#AccessDeniedException":
|
|
1484
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1485
|
-
case "ConflictException":
|
|
1486
|
-
case "com.amazonaws.ssoadmin#ConflictException":
|
|
1487
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
1488
|
-
case "InternalServerException":
|
|
1489
|
-
case "com.amazonaws.ssoadmin#InternalServerException":
|
|
1490
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1491
|
-
case "ResourceNotFoundException":
|
|
1492
|
-
case "com.amazonaws.ssoadmin#ResourceNotFoundException":
|
|
1493
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1494
|
-
case "ThrottlingException":
|
|
1495
|
-
case "com.amazonaws.ssoadmin#ThrottlingException":
|
|
1496
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1497
|
-
case "ValidationException":
|
|
1498
|
-
case "com.amazonaws.ssoadmin#ValidationException":
|
|
1499
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1500
|
-
default:
|
|
1501
|
-
const parsedBody = parsedOutput.body;
|
|
1502
|
-
return throwDefaultError({
|
|
1503
|
-
output,
|
|
1504
|
-
parsedBody,
|
|
1505
|
-
errorCode
|
|
1506
|
-
});
|
|
1507
|
-
}
|
|
1508
|
-
}, "de_DeleteApplicationAccessScopeCommandError");
|
|
1509
1083
|
var de_DeleteApplicationAssignmentCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1510
1084
|
if (output.statusCode >= 300) {
|
|
1511
|
-
return
|
|
1085
|
+
return de_CommandError(output, context);
|
|
1512
1086
|
}
|
|
1513
1087
|
const data = await parseBody(output.body, context);
|
|
1514
1088
|
let contents = {};
|
|
@@ -1519,43 +1093,9 @@ var de_DeleteApplicationAssignmentCommand = /* @__PURE__ */ __name(async (output
|
|
|
1519
1093
|
};
|
|
1520
1094
|
return response;
|
|
1521
1095
|
}, "de_DeleteApplicationAssignmentCommand");
|
|
1522
|
-
var de_DeleteApplicationAssignmentCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1523
|
-
const parsedOutput = {
|
|
1524
|
-
...output,
|
|
1525
|
-
body: await parseErrorBody(output.body, context)
|
|
1526
|
-
};
|
|
1527
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1528
|
-
switch (errorCode) {
|
|
1529
|
-
case "AccessDeniedException":
|
|
1530
|
-
case "com.amazonaws.ssoadmin#AccessDeniedException":
|
|
1531
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1532
|
-
case "ConflictException":
|
|
1533
|
-
case "com.amazonaws.ssoadmin#ConflictException":
|
|
1534
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
1535
|
-
case "InternalServerException":
|
|
1536
|
-
case "com.amazonaws.ssoadmin#InternalServerException":
|
|
1537
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1538
|
-
case "ResourceNotFoundException":
|
|
1539
|
-
case "com.amazonaws.ssoadmin#ResourceNotFoundException":
|
|
1540
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1541
|
-
case "ThrottlingException":
|
|
1542
|
-
case "com.amazonaws.ssoadmin#ThrottlingException":
|
|
1543
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1544
|
-
case "ValidationException":
|
|
1545
|
-
case "com.amazonaws.ssoadmin#ValidationException":
|
|
1546
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1547
|
-
default:
|
|
1548
|
-
const parsedBody = parsedOutput.body;
|
|
1549
|
-
return throwDefaultError({
|
|
1550
|
-
output,
|
|
1551
|
-
parsedBody,
|
|
1552
|
-
errorCode
|
|
1553
|
-
});
|
|
1554
|
-
}
|
|
1555
|
-
}, "de_DeleteApplicationAssignmentCommandError");
|
|
1556
1096
|
var de_DeleteApplicationAuthenticationMethodCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1557
1097
|
if (output.statusCode >= 300) {
|
|
1558
|
-
return
|
|
1098
|
+
return de_CommandError(output, context);
|
|
1559
1099
|
}
|
|
1560
1100
|
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
1561
1101
|
const response = {
|
|
@@ -1563,43 +1103,9 @@ var de_DeleteApplicationAuthenticationMethodCommand = /* @__PURE__ */ __name(asy
|
|
|
1563
1103
|
};
|
|
1564
1104
|
return response;
|
|
1565
1105
|
}, "de_DeleteApplicationAuthenticationMethodCommand");
|
|
1566
|
-
var de_DeleteApplicationAuthenticationMethodCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1567
|
-
const parsedOutput = {
|
|
1568
|
-
...output,
|
|
1569
|
-
body: await parseErrorBody(output.body, context)
|
|
1570
|
-
};
|
|
1571
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1572
|
-
switch (errorCode) {
|
|
1573
|
-
case "AccessDeniedException":
|
|
1574
|
-
case "com.amazonaws.ssoadmin#AccessDeniedException":
|
|
1575
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1576
|
-
case "ConflictException":
|
|
1577
|
-
case "com.amazonaws.ssoadmin#ConflictException":
|
|
1578
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
1579
|
-
case "InternalServerException":
|
|
1580
|
-
case "com.amazonaws.ssoadmin#InternalServerException":
|
|
1581
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1582
|
-
case "ResourceNotFoundException":
|
|
1583
|
-
case "com.amazonaws.ssoadmin#ResourceNotFoundException":
|
|
1584
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1585
|
-
case "ThrottlingException":
|
|
1586
|
-
case "com.amazonaws.ssoadmin#ThrottlingException":
|
|
1587
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1588
|
-
case "ValidationException":
|
|
1589
|
-
case "com.amazonaws.ssoadmin#ValidationException":
|
|
1590
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1591
|
-
default:
|
|
1592
|
-
const parsedBody = parsedOutput.body;
|
|
1593
|
-
return throwDefaultError({
|
|
1594
|
-
output,
|
|
1595
|
-
parsedBody,
|
|
1596
|
-
errorCode
|
|
1597
|
-
});
|
|
1598
|
-
}
|
|
1599
|
-
}, "de_DeleteApplicationAuthenticationMethodCommandError");
|
|
1600
1106
|
var de_DeleteApplicationGrantCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1601
1107
|
if (output.statusCode >= 300) {
|
|
1602
|
-
return
|
|
1108
|
+
return de_CommandError(output, context);
|
|
1603
1109
|
}
|
|
1604
1110
|
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
1605
1111
|
const response = {
|
|
@@ -1607,90 +1113,22 @@ var de_DeleteApplicationGrantCommand = /* @__PURE__ */ __name(async (output, con
|
|
|
1607
1113
|
};
|
|
1608
1114
|
return response;
|
|
1609
1115
|
}, "de_DeleteApplicationGrantCommand");
|
|
1610
|
-
var
|
|
1611
|
-
|
|
1612
|
-
|
|
1613
|
-
|
|
1614
|
-
|
|
1615
|
-
|
|
1616
|
-
|
|
1617
|
-
|
|
1618
|
-
|
|
1619
|
-
|
|
1620
|
-
case "ConflictException":
|
|
1621
|
-
case "com.amazonaws.ssoadmin#ConflictException":
|
|
1622
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
1623
|
-
case "InternalServerException":
|
|
1624
|
-
case "com.amazonaws.ssoadmin#InternalServerException":
|
|
1625
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1626
|
-
case "ResourceNotFoundException":
|
|
1627
|
-
case "com.amazonaws.ssoadmin#ResourceNotFoundException":
|
|
1628
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1629
|
-
case "ThrottlingException":
|
|
1630
|
-
case "com.amazonaws.ssoadmin#ThrottlingException":
|
|
1631
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1632
|
-
case "ValidationException":
|
|
1633
|
-
case "com.amazonaws.ssoadmin#ValidationException":
|
|
1634
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1635
|
-
default:
|
|
1636
|
-
const parsedBody = parsedOutput.body;
|
|
1637
|
-
return throwDefaultError({
|
|
1638
|
-
output,
|
|
1639
|
-
parsedBody,
|
|
1640
|
-
errorCode
|
|
1641
|
-
});
|
|
1642
|
-
}
|
|
1643
|
-
}, "de_DeleteApplicationGrantCommandError");
|
|
1644
|
-
var de_DeleteInlinePolicyFromPermissionSetCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1645
|
-
if (output.statusCode >= 300) {
|
|
1646
|
-
return de_DeleteInlinePolicyFromPermissionSetCommandError(output, context);
|
|
1647
|
-
}
|
|
1648
|
-
const data = await parseBody(output.body, context);
|
|
1649
|
-
let contents = {};
|
|
1650
|
-
contents = (0, import_smithy_client._json)(data);
|
|
1651
|
-
const response = {
|
|
1652
|
-
$metadata: deserializeMetadata(output),
|
|
1653
|
-
...contents
|
|
1116
|
+
var de_DeleteInlinePolicyFromPermissionSetCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1117
|
+
if (output.statusCode >= 300) {
|
|
1118
|
+
return de_CommandError(output, context);
|
|
1119
|
+
}
|
|
1120
|
+
const data = await parseBody(output.body, context);
|
|
1121
|
+
let contents = {};
|
|
1122
|
+
contents = (0, import_smithy_client._json)(data);
|
|
1123
|
+
const response = {
|
|
1124
|
+
$metadata: deserializeMetadata(output),
|
|
1125
|
+
...contents
|
|
1654
1126
|
};
|
|
1655
1127
|
return response;
|
|
1656
1128
|
}, "de_DeleteInlinePolicyFromPermissionSetCommand");
|
|
1657
|
-
var de_DeleteInlinePolicyFromPermissionSetCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1658
|
-
const parsedOutput = {
|
|
1659
|
-
...output,
|
|
1660
|
-
body: await parseErrorBody(output.body, context)
|
|
1661
|
-
};
|
|
1662
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1663
|
-
switch (errorCode) {
|
|
1664
|
-
case "AccessDeniedException":
|
|
1665
|
-
case "com.amazonaws.ssoadmin#AccessDeniedException":
|
|
1666
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1667
|
-
case "ConflictException":
|
|
1668
|
-
case "com.amazonaws.ssoadmin#ConflictException":
|
|
1669
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
1670
|
-
case "InternalServerException":
|
|
1671
|
-
case "com.amazonaws.ssoadmin#InternalServerException":
|
|
1672
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1673
|
-
case "ResourceNotFoundException":
|
|
1674
|
-
case "com.amazonaws.ssoadmin#ResourceNotFoundException":
|
|
1675
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1676
|
-
case "ThrottlingException":
|
|
1677
|
-
case "com.amazonaws.ssoadmin#ThrottlingException":
|
|
1678
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1679
|
-
case "ValidationException":
|
|
1680
|
-
case "com.amazonaws.ssoadmin#ValidationException":
|
|
1681
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1682
|
-
default:
|
|
1683
|
-
const parsedBody = parsedOutput.body;
|
|
1684
|
-
return throwDefaultError({
|
|
1685
|
-
output,
|
|
1686
|
-
parsedBody,
|
|
1687
|
-
errorCode
|
|
1688
|
-
});
|
|
1689
|
-
}
|
|
1690
|
-
}, "de_DeleteInlinePolicyFromPermissionSetCommandError");
|
|
1691
1129
|
var de_DeleteInstanceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1692
1130
|
if (output.statusCode >= 300) {
|
|
1693
|
-
return
|
|
1131
|
+
return de_CommandError(output, context);
|
|
1694
1132
|
}
|
|
1695
1133
|
const data = await parseBody(output.body, context);
|
|
1696
1134
|
let contents = {};
|
|
@@ -1701,40 +1139,9 @@ var de_DeleteInstanceCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
1701
1139
|
};
|
|
1702
1140
|
return response;
|
|
1703
1141
|
}, "de_DeleteInstanceCommand");
|
|
1704
|
-
var de_DeleteInstanceCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1705
|
-
const parsedOutput = {
|
|
1706
|
-
...output,
|
|
1707
|
-
body: await parseErrorBody(output.body, context)
|
|
1708
|
-
};
|
|
1709
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1710
|
-
switch (errorCode) {
|
|
1711
|
-
case "AccessDeniedException":
|
|
1712
|
-
case "com.amazonaws.ssoadmin#AccessDeniedException":
|
|
1713
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1714
|
-
case "ConflictException":
|
|
1715
|
-
case "com.amazonaws.ssoadmin#ConflictException":
|
|
1716
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
1717
|
-
case "InternalServerException":
|
|
1718
|
-
case "com.amazonaws.ssoadmin#InternalServerException":
|
|
1719
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1720
|
-
case "ThrottlingException":
|
|
1721
|
-
case "com.amazonaws.ssoadmin#ThrottlingException":
|
|
1722
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1723
|
-
case "ValidationException":
|
|
1724
|
-
case "com.amazonaws.ssoadmin#ValidationException":
|
|
1725
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1726
|
-
default:
|
|
1727
|
-
const parsedBody = parsedOutput.body;
|
|
1728
|
-
return throwDefaultError({
|
|
1729
|
-
output,
|
|
1730
|
-
parsedBody,
|
|
1731
|
-
errorCode
|
|
1732
|
-
});
|
|
1733
|
-
}
|
|
1734
|
-
}, "de_DeleteInstanceCommandError");
|
|
1735
1142
|
var de_DeleteInstanceAccessControlAttributeConfigurationCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1736
1143
|
if (output.statusCode >= 300) {
|
|
1737
|
-
return
|
|
1144
|
+
return de_CommandError(output, context);
|
|
1738
1145
|
}
|
|
1739
1146
|
const data = await parseBody(output.body, context);
|
|
1740
1147
|
let contents = {};
|
|
@@ -1745,43 +1152,9 @@ var de_DeleteInstanceAccessControlAttributeConfigurationCommand = /* @__PURE__ *
|
|
|
1745
1152
|
};
|
|
1746
1153
|
return response;
|
|
1747
1154
|
}, "de_DeleteInstanceAccessControlAttributeConfigurationCommand");
|
|
1748
|
-
var de_DeleteInstanceAccessControlAttributeConfigurationCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1749
|
-
const parsedOutput = {
|
|
1750
|
-
...output,
|
|
1751
|
-
body: await parseErrorBody(output.body, context)
|
|
1752
|
-
};
|
|
1753
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1754
|
-
switch (errorCode) {
|
|
1755
|
-
case "AccessDeniedException":
|
|
1756
|
-
case "com.amazonaws.ssoadmin#AccessDeniedException":
|
|
1757
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1758
|
-
case "ConflictException":
|
|
1759
|
-
case "com.amazonaws.ssoadmin#ConflictException":
|
|
1760
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
1761
|
-
case "InternalServerException":
|
|
1762
|
-
case "com.amazonaws.ssoadmin#InternalServerException":
|
|
1763
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1764
|
-
case "ResourceNotFoundException":
|
|
1765
|
-
case "com.amazonaws.ssoadmin#ResourceNotFoundException":
|
|
1766
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1767
|
-
case "ThrottlingException":
|
|
1768
|
-
case "com.amazonaws.ssoadmin#ThrottlingException":
|
|
1769
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1770
|
-
case "ValidationException":
|
|
1771
|
-
case "com.amazonaws.ssoadmin#ValidationException":
|
|
1772
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1773
|
-
default:
|
|
1774
|
-
const parsedBody = parsedOutput.body;
|
|
1775
|
-
return throwDefaultError({
|
|
1776
|
-
output,
|
|
1777
|
-
parsedBody,
|
|
1778
|
-
errorCode
|
|
1779
|
-
});
|
|
1780
|
-
}
|
|
1781
|
-
}, "de_DeleteInstanceAccessControlAttributeConfigurationCommandError");
|
|
1782
1155
|
var de_DeletePermissionsBoundaryFromPermissionSetCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1783
1156
|
if (output.statusCode >= 300) {
|
|
1784
|
-
return
|
|
1157
|
+
return de_CommandError(output, context);
|
|
1785
1158
|
}
|
|
1786
1159
|
const data = await parseBody(output.body, context);
|
|
1787
1160
|
let contents = {};
|
|
@@ -1792,43 +1165,9 @@ var de_DeletePermissionsBoundaryFromPermissionSetCommand = /* @__PURE__ */ __nam
|
|
|
1792
1165
|
};
|
|
1793
1166
|
return response;
|
|
1794
1167
|
}, "de_DeletePermissionsBoundaryFromPermissionSetCommand");
|
|
1795
|
-
var de_DeletePermissionsBoundaryFromPermissionSetCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1796
|
-
const parsedOutput = {
|
|
1797
|
-
...output,
|
|
1798
|
-
body: await parseErrorBody(output.body, context)
|
|
1799
|
-
};
|
|
1800
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1801
|
-
switch (errorCode) {
|
|
1802
|
-
case "AccessDeniedException":
|
|
1803
|
-
case "com.amazonaws.ssoadmin#AccessDeniedException":
|
|
1804
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1805
|
-
case "ConflictException":
|
|
1806
|
-
case "com.amazonaws.ssoadmin#ConflictException":
|
|
1807
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
1808
|
-
case "InternalServerException":
|
|
1809
|
-
case "com.amazonaws.ssoadmin#InternalServerException":
|
|
1810
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1811
|
-
case "ResourceNotFoundException":
|
|
1812
|
-
case "com.amazonaws.ssoadmin#ResourceNotFoundException":
|
|
1813
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1814
|
-
case "ThrottlingException":
|
|
1815
|
-
case "com.amazonaws.ssoadmin#ThrottlingException":
|
|
1816
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1817
|
-
case "ValidationException":
|
|
1818
|
-
case "com.amazonaws.ssoadmin#ValidationException":
|
|
1819
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1820
|
-
default:
|
|
1821
|
-
const parsedBody = parsedOutput.body;
|
|
1822
|
-
return throwDefaultError({
|
|
1823
|
-
output,
|
|
1824
|
-
parsedBody,
|
|
1825
|
-
errorCode
|
|
1826
|
-
});
|
|
1827
|
-
}
|
|
1828
|
-
}, "de_DeletePermissionsBoundaryFromPermissionSetCommandError");
|
|
1829
1168
|
var de_DeletePermissionSetCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1830
1169
|
if (output.statusCode >= 300) {
|
|
1831
|
-
return
|
|
1170
|
+
return de_CommandError(output, context);
|
|
1832
1171
|
}
|
|
1833
1172
|
const data = await parseBody(output.body, context);
|
|
1834
1173
|
let contents = {};
|
|
@@ -1839,43 +1178,9 @@ var de_DeletePermissionSetCommand = /* @__PURE__ */ __name(async (output, contex
|
|
|
1839
1178
|
};
|
|
1840
1179
|
return response;
|
|
1841
1180
|
}, "de_DeletePermissionSetCommand");
|
|
1842
|
-
var de_DeletePermissionSetCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1843
|
-
const parsedOutput = {
|
|
1844
|
-
...output,
|
|
1845
|
-
body: await parseErrorBody(output.body, context)
|
|
1846
|
-
};
|
|
1847
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1848
|
-
switch (errorCode) {
|
|
1849
|
-
case "AccessDeniedException":
|
|
1850
|
-
case "com.amazonaws.ssoadmin#AccessDeniedException":
|
|
1851
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1852
|
-
case "ConflictException":
|
|
1853
|
-
case "com.amazonaws.ssoadmin#ConflictException":
|
|
1854
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
1855
|
-
case "InternalServerException":
|
|
1856
|
-
case "com.amazonaws.ssoadmin#InternalServerException":
|
|
1857
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1858
|
-
case "ResourceNotFoundException":
|
|
1859
|
-
case "com.amazonaws.ssoadmin#ResourceNotFoundException":
|
|
1860
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1861
|
-
case "ThrottlingException":
|
|
1862
|
-
case "com.amazonaws.ssoadmin#ThrottlingException":
|
|
1863
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1864
|
-
case "ValidationException":
|
|
1865
|
-
case "com.amazonaws.ssoadmin#ValidationException":
|
|
1866
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1867
|
-
default:
|
|
1868
|
-
const parsedBody = parsedOutput.body;
|
|
1869
|
-
return throwDefaultError({
|
|
1870
|
-
output,
|
|
1871
|
-
parsedBody,
|
|
1872
|
-
errorCode
|
|
1873
|
-
});
|
|
1874
|
-
}
|
|
1875
|
-
}, "de_DeletePermissionSetCommandError");
|
|
1876
1181
|
var de_DeleteTrustedTokenIssuerCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1877
1182
|
if (output.statusCode >= 300) {
|
|
1878
|
-
return
|
|
1183
|
+
return de_CommandError(output, context);
|
|
1879
1184
|
}
|
|
1880
1185
|
const data = await parseBody(output.body, context);
|
|
1881
1186
|
let contents = {};
|
|
@@ -1886,43 +1191,9 @@ var de_DeleteTrustedTokenIssuerCommand = /* @__PURE__ */ __name(async (output, c
|
|
|
1886
1191
|
};
|
|
1887
1192
|
return response;
|
|
1888
1193
|
}, "de_DeleteTrustedTokenIssuerCommand");
|
|
1889
|
-
var de_DeleteTrustedTokenIssuerCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1890
|
-
const parsedOutput = {
|
|
1891
|
-
...output,
|
|
1892
|
-
body: await parseErrorBody(output.body, context)
|
|
1893
|
-
};
|
|
1894
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1895
|
-
switch (errorCode) {
|
|
1896
|
-
case "AccessDeniedException":
|
|
1897
|
-
case "com.amazonaws.ssoadmin#AccessDeniedException":
|
|
1898
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1899
|
-
case "ConflictException":
|
|
1900
|
-
case "com.amazonaws.ssoadmin#ConflictException":
|
|
1901
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
1902
|
-
case "InternalServerException":
|
|
1903
|
-
case "com.amazonaws.ssoadmin#InternalServerException":
|
|
1904
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1905
|
-
case "ResourceNotFoundException":
|
|
1906
|
-
case "com.amazonaws.ssoadmin#ResourceNotFoundException":
|
|
1907
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1908
|
-
case "ThrottlingException":
|
|
1909
|
-
case "com.amazonaws.ssoadmin#ThrottlingException":
|
|
1910
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1911
|
-
case "ValidationException":
|
|
1912
|
-
case "com.amazonaws.ssoadmin#ValidationException":
|
|
1913
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1914
|
-
default:
|
|
1915
|
-
const parsedBody = parsedOutput.body;
|
|
1916
|
-
return throwDefaultError({
|
|
1917
|
-
output,
|
|
1918
|
-
parsedBody,
|
|
1919
|
-
errorCode
|
|
1920
|
-
});
|
|
1921
|
-
}
|
|
1922
|
-
}, "de_DeleteTrustedTokenIssuerCommandError");
|
|
1923
1194
|
var de_DescribeAccountAssignmentCreationStatusCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1924
1195
|
if (output.statusCode >= 300) {
|
|
1925
|
-
return
|
|
1196
|
+
return de_CommandError(output, context);
|
|
1926
1197
|
}
|
|
1927
1198
|
const data = await parseBody(output.body, context);
|
|
1928
1199
|
let contents = {};
|
|
@@ -1933,40 +1204,9 @@ var de_DescribeAccountAssignmentCreationStatusCommand = /* @__PURE__ */ __name(a
|
|
|
1933
1204
|
};
|
|
1934
1205
|
return response;
|
|
1935
1206
|
}, "de_DescribeAccountAssignmentCreationStatusCommand");
|
|
1936
|
-
var de_DescribeAccountAssignmentCreationStatusCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1937
|
-
const parsedOutput = {
|
|
1938
|
-
...output,
|
|
1939
|
-
body: await parseErrorBody(output.body, context)
|
|
1940
|
-
};
|
|
1941
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1942
|
-
switch (errorCode) {
|
|
1943
|
-
case "AccessDeniedException":
|
|
1944
|
-
case "com.amazonaws.ssoadmin#AccessDeniedException":
|
|
1945
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1946
|
-
case "InternalServerException":
|
|
1947
|
-
case "com.amazonaws.ssoadmin#InternalServerException":
|
|
1948
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1949
|
-
case "ResourceNotFoundException":
|
|
1950
|
-
case "com.amazonaws.ssoadmin#ResourceNotFoundException":
|
|
1951
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1952
|
-
case "ThrottlingException":
|
|
1953
|
-
case "com.amazonaws.ssoadmin#ThrottlingException":
|
|
1954
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1955
|
-
case "ValidationException":
|
|
1956
|
-
case "com.amazonaws.ssoadmin#ValidationException":
|
|
1957
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1958
|
-
default:
|
|
1959
|
-
const parsedBody = parsedOutput.body;
|
|
1960
|
-
return throwDefaultError({
|
|
1961
|
-
output,
|
|
1962
|
-
parsedBody,
|
|
1963
|
-
errorCode
|
|
1964
|
-
});
|
|
1965
|
-
}
|
|
1966
|
-
}, "de_DescribeAccountAssignmentCreationStatusCommandError");
|
|
1967
1207
|
var de_DescribeAccountAssignmentDeletionStatusCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1968
1208
|
if (output.statusCode >= 300) {
|
|
1969
|
-
return
|
|
1209
|
+
return de_CommandError(output, context);
|
|
1970
1210
|
}
|
|
1971
1211
|
const data = await parseBody(output.body, context);
|
|
1972
1212
|
let contents = {};
|
|
@@ -1977,84 +1217,22 @@ var de_DescribeAccountAssignmentDeletionStatusCommand = /* @__PURE__ */ __name(a
|
|
|
1977
1217
|
};
|
|
1978
1218
|
return response;
|
|
1979
1219
|
}, "de_DescribeAccountAssignmentDeletionStatusCommand");
|
|
1980
|
-
var
|
|
1981
|
-
|
|
1982
|
-
|
|
1983
|
-
|
|
1984
|
-
|
|
1985
|
-
|
|
1986
|
-
|
|
1987
|
-
|
|
1988
|
-
|
|
1989
|
-
|
|
1990
|
-
case "InternalServerException":
|
|
1991
|
-
case "com.amazonaws.ssoadmin#InternalServerException":
|
|
1992
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1993
|
-
case "ResourceNotFoundException":
|
|
1994
|
-
case "com.amazonaws.ssoadmin#ResourceNotFoundException":
|
|
1995
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1996
|
-
case "ThrottlingException":
|
|
1997
|
-
case "com.amazonaws.ssoadmin#ThrottlingException":
|
|
1998
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1999
|
-
case "ValidationException":
|
|
2000
|
-
case "com.amazonaws.ssoadmin#ValidationException":
|
|
2001
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2002
|
-
default:
|
|
2003
|
-
const parsedBody = parsedOutput.body;
|
|
2004
|
-
return throwDefaultError({
|
|
2005
|
-
output,
|
|
2006
|
-
parsedBody,
|
|
2007
|
-
errorCode
|
|
2008
|
-
});
|
|
2009
|
-
}
|
|
2010
|
-
}, "de_DescribeAccountAssignmentDeletionStatusCommandError");
|
|
2011
|
-
var de_DescribeApplicationCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2012
|
-
if (output.statusCode >= 300) {
|
|
2013
|
-
return de_DescribeApplicationCommandError(output, context);
|
|
2014
|
-
}
|
|
2015
|
-
const data = await parseBody(output.body, context);
|
|
2016
|
-
let contents = {};
|
|
2017
|
-
contents = de_DescribeApplicationResponse(data, context);
|
|
2018
|
-
const response = {
|
|
2019
|
-
$metadata: deserializeMetadata(output),
|
|
2020
|
-
...contents
|
|
1220
|
+
var de_DescribeApplicationCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1221
|
+
if (output.statusCode >= 300) {
|
|
1222
|
+
return de_CommandError(output, context);
|
|
1223
|
+
}
|
|
1224
|
+
const data = await parseBody(output.body, context);
|
|
1225
|
+
let contents = {};
|
|
1226
|
+
contents = de_DescribeApplicationResponse(data, context);
|
|
1227
|
+
const response = {
|
|
1228
|
+
$metadata: deserializeMetadata(output),
|
|
1229
|
+
...contents
|
|
2021
1230
|
};
|
|
2022
1231
|
return response;
|
|
2023
1232
|
}, "de_DescribeApplicationCommand");
|
|
2024
|
-
var de_DescribeApplicationCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2025
|
-
const parsedOutput = {
|
|
2026
|
-
...output,
|
|
2027
|
-
body: await parseErrorBody(output.body, context)
|
|
2028
|
-
};
|
|
2029
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2030
|
-
switch (errorCode) {
|
|
2031
|
-
case "AccessDeniedException":
|
|
2032
|
-
case "com.amazonaws.ssoadmin#AccessDeniedException":
|
|
2033
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2034
|
-
case "InternalServerException":
|
|
2035
|
-
case "com.amazonaws.ssoadmin#InternalServerException":
|
|
2036
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
2037
|
-
case "ResourceNotFoundException":
|
|
2038
|
-
case "com.amazonaws.ssoadmin#ResourceNotFoundException":
|
|
2039
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2040
|
-
case "ThrottlingException":
|
|
2041
|
-
case "com.amazonaws.ssoadmin#ThrottlingException":
|
|
2042
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2043
|
-
case "ValidationException":
|
|
2044
|
-
case "com.amazonaws.ssoadmin#ValidationException":
|
|
2045
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2046
|
-
default:
|
|
2047
|
-
const parsedBody = parsedOutput.body;
|
|
2048
|
-
return throwDefaultError({
|
|
2049
|
-
output,
|
|
2050
|
-
parsedBody,
|
|
2051
|
-
errorCode
|
|
2052
|
-
});
|
|
2053
|
-
}
|
|
2054
|
-
}, "de_DescribeApplicationCommandError");
|
|
2055
1233
|
var de_DescribeApplicationAssignmentCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2056
1234
|
if (output.statusCode >= 300) {
|
|
2057
|
-
return
|
|
1235
|
+
return de_CommandError(output, context);
|
|
2058
1236
|
}
|
|
2059
1237
|
const data = await parseBody(output.body, context);
|
|
2060
1238
|
let contents = {};
|
|
@@ -2065,40 +1243,9 @@ var de_DescribeApplicationAssignmentCommand = /* @__PURE__ */ __name(async (outp
|
|
|
2065
1243
|
};
|
|
2066
1244
|
return response;
|
|
2067
1245
|
}, "de_DescribeApplicationAssignmentCommand");
|
|
2068
|
-
var de_DescribeApplicationAssignmentCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2069
|
-
const parsedOutput = {
|
|
2070
|
-
...output,
|
|
2071
|
-
body: await parseErrorBody(output.body, context)
|
|
2072
|
-
};
|
|
2073
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2074
|
-
switch (errorCode) {
|
|
2075
|
-
case "AccessDeniedException":
|
|
2076
|
-
case "com.amazonaws.ssoadmin#AccessDeniedException":
|
|
2077
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2078
|
-
case "InternalServerException":
|
|
2079
|
-
case "com.amazonaws.ssoadmin#InternalServerException":
|
|
2080
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
2081
|
-
case "ResourceNotFoundException":
|
|
2082
|
-
case "com.amazonaws.ssoadmin#ResourceNotFoundException":
|
|
2083
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2084
|
-
case "ThrottlingException":
|
|
2085
|
-
case "com.amazonaws.ssoadmin#ThrottlingException":
|
|
2086
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2087
|
-
case "ValidationException":
|
|
2088
|
-
case "com.amazonaws.ssoadmin#ValidationException":
|
|
2089
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2090
|
-
default:
|
|
2091
|
-
const parsedBody = parsedOutput.body;
|
|
2092
|
-
return throwDefaultError({
|
|
2093
|
-
output,
|
|
2094
|
-
parsedBody,
|
|
2095
|
-
errorCode
|
|
2096
|
-
});
|
|
2097
|
-
}
|
|
2098
|
-
}, "de_DescribeApplicationAssignmentCommandError");
|
|
2099
1246
|
var de_DescribeApplicationProviderCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2100
1247
|
if (output.statusCode >= 300) {
|
|
2101
|
-
return
|
|
1248
|
+
return de_CommandError(output, context);
|
|
2102
1249
|
}
|
|
2103
1250
|
const data = await parseBody(output.body, context);
|
|
2104
1251
|
let contents = {};
|
|
@@ -2109,40 +1256,9 @@ var de_DescribeApplicationProviderCommand = /* @__PURE__ */ __name(async (output
|
|
|
2109
1256
|
};
|
|
2110
1257
|
return response;
|
|
2111
1258
|
}, "de_DescribeApplicationProviderCommand");
|
|
2112
|
-
var de_DescribeApplicationProviderCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2113
|
-
const parsedOutput = {
|
|
2114
|
-
...output,
|
|
2115
|
-
body: await parseErrorBody(output.body, context)
|
|
2116
|
-
};
|
|
2117
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2118
|
-
switch (errorCode) {
|
|
2119
|
-
case "AccessDeniedException":
|
|
2120
|
-
case "com.amazonaws.ssoadmin#AccessDeniedException":
|
|
2121
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2122
|
-
case "InternalServerException":
|
|
2123
|
-
case "com.amazonaws.ssoadmin#InternalServerException":
|
|
2124
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
2125
|
-
case "ResourceNotFoundException":
|
|
2126
|
-
case "com.amazonaws.ssoadmin#ResourceNotFoundException":
|
|
2127
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2128
|
-
case "ThrottlingException":
|
|
2129
|
-
case "com.amazonaws.ssoadmin#ThrottlingException":
|
|
2130
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2131
|
-
case "ValidationException":
|
|
2132
|
-
case "com.amazonaws.ssoadmin#ValidationException":
|
|
2133
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2134
|
-
default:
|
|
2135
|
-
const parsedBody = parsedOutput.body;
|
|
2136
|
-
return throwDefaultError({
|
|
2137
|
-
output,
|
|
2138
|
-
parsedBody,
|
|
2139
|
-
errorCode
|
|
2140
|
-
});
|
|
2141
|
-
}
|
|
2142
|
-
}, "de_DescribeApplicationProviderCommandError");
|
|
2143
1259
|
var de_DescribeInstanceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2144
1260
|
if (output.statusCode >= 300) {
|
|
2145
|
-
return
|
|
1261
|
+
return de_CommandError(output, context);
|
|
2146
1262
|
}
|
|
2147
1263
|
const data = await parseBody(output.body, context);
|
|
2148
1264
|
let contents = {};
|
|
@@ -2153,37 +1269,9 @@ var de_DescribeInstanceCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
2153
1269
|
};
|
|
2154
1270
|
return response;
|
|
2155
1271
|
}, "de_DescribeInstanceCommand");
|
|
2156
|
-
var de_DescribeInstanceCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2157
|
-
const parsedOutput = {
|
|
2158
|
-
...output,
|
|
2159
|
-
body: await parseErrorBody(output.body, context)
|
|
2160
|
-
};
|
|
2161
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2162
|
-
switch (errorCode) {
|
|
2163
|
-
case "AccessDeniedException":
|
|
2164
|
-
case "com.amazonaws.ssoadmin#AccessDeniedException":
|
|
2165
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2166
|
-
case "InternalServerException":
|
|
2167
|
-
case "com.amazonaws.ssoadmin#InternalServerException":
|
|
2168
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
2169
|
-
case "ThrottlingException":
|
|
2170
|
-
case "com.amazonaws.ssoadmin#ThrottlingException":
|
|
2171
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2172
|
-
case "ValidationException":
|
|
2173
|
-
case "com.amazonaws.ssoadmin#ValidationException":
|
|
2174
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2175
|
-
default:
|
|
2176
|
-
const parsedBody = parsedOutput.body;
|
|
2177
|
-
return throwDefaultError({
|
|
2178
|
-
output,
|
|
2179
|
-
parsedBody,
|
|
2180
|
-
errorCode
|
|
2181
|
-
});
|
|
2182
|
-
}
|
|
2183
|
-
}, "de_DescribeInstanceCommandError");
|
|
2184
1272
|
var de_DescribeInstanceAccessControlAttributeConfigurationCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2185
1273
|
if (output.statusCode >= 300) {
|
|
2186
|
-
return
|
|
1274
|
+
return de_CommandError(output, context);
|
|
2187
1275
|
}
|
|
2188
1276
|
const data = await parseBody(output.body, context);
|
|
2189
1277
|
let contents = {};
|
|
@@ -2194,40 +1282,9 @@ var de_DescribeInstanceAccessControlAttributeConfigurationCommand = /* @__PURE__
|
|
|
2194
1282
|
};
|
|
2195
1283
|
return response;
|
|
2196
1284
|
}, "de_DescribeInstanceAccessControlAttributeConfigurationCommand");
|
|
2197
|
-
var de_DescribeInstanceAccessControlAttributeConfigurationCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2198
|
-
const parsedOutput = {
|
|
2199
|
-
...output,
|
|
2200
|
-
body: await parseErrorBody(output.body, context)
|
|
2201
|
-
};
|
|
2202
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2203
|
-
switch (errorCode) {
|
|
2204
|
-
case "AccessDeniedException":
|
|
2205
|
-
case "com.amazonaws.ssoadmin#AccessDeniedException":
|
|
2206
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2207
|
-
case "InternalServerException":
|
|
2208
|
-
case "com.amazonaws.ssoadmin#InternalServerException":
|
|
2209
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
2210
|
-
case "ResourceNotFoundException":
|
|
2211
|
-
case "com.amazonaws.ssoadmin#ResourceNotFoundException":
|
|
2212
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2213
|
-
case "ThrottlingException":
|
|
2214
|
-
case "com.amazonaws.ssoadmin#ThrottlingException":
|
|
2215
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2216
|
-
case "ValidationException":
|
|
2217
|
-
case "com.amazonaws.ssoadmin#ValidationException":
|
|
2218
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2219
|
-
default:
|
|
2220
|
-
const parsedBody = parsedOutput.body;
|
|
2221
|
-
return throwDefaultError({
|
|
2222
|
-
output,
|
|
2223
|
-
parsedBody,
|
|
2224
|
-
errorCode
|
|
2225
|
-
});
|
|
2226
|
-
}
|
|
2227
|
-
}, "de_DescribeInstanceAccessControlAttributeConfigurationCommandError");
|
|
2228
1285
|
var de_DescribePermissionSetCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2229
1286
|
if (output.statusCode >= 300) {
|
|
2230
|
-
return
|
|
1287
|
+
return de_CommandError(output, context);
|
|
2231
1288
|
}
|
|
2232
1289
|
const data = await parseBody(output.body, context);
|
|
2233
1290
|
let contents = {};
|
|
@@ -2238,40 +1295,9 @@ var de_DescribePermissionSetCommand = /* @__PURE__ */ __name(async (output, cont
|
|
|
2238
1295
|
};
|
|
2239
1296
|
return response;
|
|
2240
1297
|
}, "de_DescribePermissionSetCommand");
|
|
2241
|
-
var de_DescribePermissionSetCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2242
|
-
const parsedOutput = {
|
|
2243
|
-
...output,
|
|
2244
|
-
body: await parseErrorBody(output.body, context)
|
|
2245
|
-
};
|
|
2246
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2247
|
-
switch (errorCode) {
|
|
2248
|
-
case "AccessDeniedException":
|
|
2249
|
-
case "com.amazonaws.ssoadmin#AccessDeniedException":
|
|
2250
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2251
|
-
case "InternalServerException":
|
|
2252
|
-
case "com.amazonaws.ssoadmin#InternalServerException":
|
|
2253
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
2254
|
-
case "ResourceNotFoundException":
|
|
2255
|
-
case "com.amazonaws.ssoadmin#ResourceNotFoundException":
|
|
2256
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2257
|
-
case "ThrottlingException":
|
|
2258
|
-
case "com.amazonaws.ssoadmin#ThrottlingException":
|
|
2259
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2260
|
-
case "ValidationException":
|
|
2261
|
-
case "com.amazonaws.ssoadmin#ValidationException":
|
|
2262
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2263
|
-
default:
|
|
2264
|
-
const parsedBody = parsedOutput.body;
|
|
2265
|
-
return throwDefaultError({
|
|
2266
|
-
output,
|
|
2267
|
-
parsedBody,
|
|
2268
|
-
errorCode
|
|
2269
|
-
});
|
|
2270
|
-
}
|
|
2271
|
-
}, "de_DescribePermissionSetCommandError");
|
|
2272
1298
|
var de_DescribePermissionSetProvisioningStatusCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2273
1299
|
if (output.statusCode >= 300) {
|
|
2274
|
-
return
|
|
1300
|
+
return de_CommandError(output, context);
|
|
2275
1301
|
}
|
|
2276
1302
|
const data = await parseBody(output.body, context);
|
|
2277
1303
|
let contents = {};
|
|
@@ -2282,40 +1308,9 @@ var de_DescribePermissionSetProvisioningStatusCommand = /* @__PURE__ */ __name(a
|
|
|
2282
1308
|
};
|
|
2283
1309
|
return response;
|
|
2284
1310
|
}, "de_DescribePermissionSetProvisioningStatusCommand");
|
|
2285
|
-
var de_DescribePermissionSetProvisioningStatusCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2286
|
-
const parsedOutput = {
|
|
2287
|
-
...output,
|
|
2288
|
-
body: await parseErrorBody(output.body, context)
|
|
2289
|
-
};
|
|
2290
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2291
|
-
switch (errorCode) {
|
|
2292
|
-
case "AccessDeniedException":
|
|
2293
|
-
case "com.amazonaws.ssoadmin#AccessDeniedException":
|
|
2294
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2295
|
-
case "InternalServerException":
|
|
2296
|
-
case "com.amazonaws.ssoadmin#InternalServerException":
|
|
2297
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
2298
|
-
case "ResourceNotFoundException":
|
|
2299
|
-
case "com.amazonaws.ssoadmin#ResourceNotFoundException":
|
|
2300
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2301
|
-
case "ThrottlingException":
|
|
2302
|
-
case "com.amazonaws.ssoadmin#ThrottlingException":
|
|
2303
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2304
|
-
case "ValidationException":
|
|
2305
|
-
case "com.amazonaws.ssoadmin#ValidationException":
|
|
2306
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2307
|
-
default:
|
|
2308
|
-
const parsedBody = parsedOutput.body;
|
|
2309
|
-
return throwDefaultError({
|
|
2310
|
-
output,
|
|
2311
|
-
parsedBody,
|
|
2312
|
-
errorCode
|
|
2313
|
-
});
|
|
2314
|
-
}
|
|
2315
|
-
}, "de_DescribePermissionSetProvisioningStatusCommandError");
|
|
2316
1311
|
var de_DescribeTrustedTokenIssuerCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2317
1312
|
if (output.statusCode >= 300) {
|
|
2318
|
-
return
|
|
1313
|
+
return de_CommandError(output, context);
|
|
2319
1314
|
}
|
|
2320
1315
|
const data = await parseBody(output.body, context);
|
|
2321
1316
|
let contents = {};
|
|
@@ -2326,87 +1321,22 @@ var de_DescribeTrustedTokenIssuerCommand = /* @__PURE__ */ __name(async (output,
|
|
|
2326
1321
|
};
|
|
2327
1322
|
return response;
|
|
2328
1323
|
}, "de_DescribeTrustedTokenIssuerCommand");
|
|
2329
|
-
var
|
|
2330
|
-
|
|
2331
|
-
|
|
2332
|
-
|
|
2333
|
-
|
|
2334
|
-
|
|
2335
|
-
|
|
2336
|
-
|
|
2337
|
-
|
|
2338
|
-
|
|
2339
|
-
case "InternalServerException":
|
|
2340
|
-
case "com.amazonaws.ssoadmin#InternalServerException":
|
|
2341
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
2342
|
-
case "ResourceNotFoundException":
|
|
2343
|
-
case "com.amazonaws.ssoadmin#ResourceNotFoundException":
|
|
2344
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2345
|
-
case "ThrottlingException":
|
|
2346
|
-
case "com.amazonaws.ssoadmin#ThrottlingException":
|
|
2347
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2348
|
-
case "ValidationException":
|
|
2349
|
-
case "com.amazonaws.ssoadmin#ValidationException":
|
|
2350
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2351
|
-
default:
|
|
2352
|
-
const parsedBody = parsedOutput.body;
|
|
2353
|
-
return throwDefaultError({
|
|
2354
|
-
output,
|
|
2355
|
-
parsedBody,
|
|
2356
|
-
errorCode
|
|
2357
|
-
});
|
|
2358
|
-
}
|
|
2359
|
-
}, "de_DescribeTrustedTokenIssuerCommandError");
|
|
2360
|
-
var de_DetachCustomerManagedPolicyReferenceFromPermissionSetCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2361
|
-
if (output.statusCode >= 300) {
|
|
2362
|
-
return de_DetachCustomerManagedPolicyReferenceFromPermissionSetCommandError(output, context);
|
|
2363
|
-
}
|
|
2364
|
-
const data = await parseBody(output.body, context);
|
|
2365
|
-
let contents = {};
|
|
2366
|
-
contents = (0, import_smithy_client._json)(data);
|
|
2367
|
-
const response = {
|
|
2368
|
-
$metadata: deserializeMetadata(output),
|
|
2369
|
-
...contents
|
|
1324
|
+
var de_DetachCustomerManagedPolicyReferenceFromPermissionSetCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1325
|
+
if (output.statusCode >= 300) {
|
|
1326
|
+
return de_CommandError(output, context);
|
|
1327
|
+
}
|
|
1328
|
+
const data = await parseBody(output.body, context);
|
|
1329
|
+
let contents = {};
|
|
1330
|
+
contents = (0, import_smithy_client._json)(data);
|
|
1331
|
+
const response = {
|
|
1332
|
+
$metadata: deserializeMetadata(output),
|
|
1333
|
+
...contents
|
|
2370
1334
|
};
|
|
2371
1335
|
return response;
|
|
2372
1336
|
}, "de_DetachCustomerManagedPolicyReferenceFromPermissionSetCommand");
|
|
2373
|
-
var de_DetachCustomerManagedPolicyReferenceFromPermissionSetCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2374
|
-
const parsedOutput = {
|
|
2375
|
-
...output,
|
|
2376
|
-
body: await parseErrorBody(output.body, context)
|
|
2377
|
-
};
|
|
2378
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2379
|
-
switch (errorCode) {
|
|
2380
|
-
case "AccessDeniedException":
|
|
2381
|
-
case "com.amazonaws.ssoadmin#AccessDeniedException":
|
|
2382
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2383
|
-
case "ConflictException":
|
|
2384
|
-
case "com.amazonaws.ssoadmin#ConflictException":
|
|
2385
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
2386
|
-
case "InternalServerException":
|
|
2387
|
-
case "com.amazonaws.ssoadmin#InternalServerException":
|
|
2388
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
2389
|
-
case "ResourceNotFoundException":
|
|
2390
|
-
case "com.amazonaws.ssoadmin#ResourceNotFoundException":
|
|
2391
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2392
|
-
case "ThrottlingException":
|
|
2393
|
-
case "com.amazonaws.ssoadmin#ThrottlingException":
|
|
2394
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2395
|
-
case "ValidationException":
|
|
2396
|
-
case "com.amazonaws.ssoadmin#ValidationException":
|
|
2397
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2398
|
-
default:
|
|
2399
|
-
const parsedBody = parsedOutput.body;
|
|
2400
|
-
return throwDefaultError({
|
|
2401
|
-
output,
|
|
2402
|
-
parsedBody,
|
|
2403
|
-
errorCode
|
|
2404
|
-
});
|
|
2405
|
-
}
|
|
2406
|
-
}, "de_DetachCustomerManagedPolicyReferenceFromPermissionSetCommandError");
|
|
2407
1337
|
var de_DetachManagedPolicyFromPermissionSetCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2408
1338
|
if (output.statusCode >= 300) {
|
|
2409
|
-
return
|
|
1339
|
+
return de_CommandError(output, context);
|
|
2410
1340
|
}
|
|
2411
1341
|
const data = await parseBody(output.body, context);
|
|
2412
1342
|
let contents = {};
|
|
@@ -2417,43 +1347,9 @@ var de_DetachManagedPolicyFromPermissionSetCommand = /* @__PURE__ */ __name(asyn
|
|
|
2417
1347
|
};
|
|
2418
1348
|
return response;
|
|
2419
1349
|
}, "de_DetachManagedPolicyFromPermissionSetCommand");
|
|
2420
|
-
var de_DetachManagedPolicyFromPermissionSetCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2421
|
-
const parsedOutput = {
|
|
2422
|
-
...output,
|
|
2423
|
-
body: await parseErrorBody(output.body, context)
|
|
2424
|
-
};
|
|
2425
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2426
|
-
switch (errorCode) {
|
|
2427
|
-
case "AccessDeniedException":
|
|
2428
|
-
case "com.amazonaws.ssoadmin#AccessDeniedException":
|
|
2429
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2430
|
-
case "ConflictException":
|
|
2431
|
-
case "com.amazonaws.ssoadmin#ConflictException":
|
|
2432
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
2433
|
-
case "InternalServerException":
|
|
2434
|
-
case "com.amazonaws.ssoadmin#InternalServerException":
|
|
2435
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
2436
|
-
case "ResourceNotFoundException":
|
|
2437
|
-
case "com.amazonaws.ssoadmin#ResourceNotFoundException":
|
|
2438
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2439
|
-
case "ThrottlingException":
|
|
2440
|
-
case "com.amazonaws.ssoadmin#ThrottlingException":
|
|
2441
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2442
|
-
case "ValidationException":
|
|
2443
|
-
case "com.amazonaws.ssoadmin#ValidationException":
|
|
2444
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2445
|
-
default:
|
|
2446
|
-
const parsedBody = parsedOutput.body;
|
|
2447
|
-
return throwDefaultError({
|
|
2448
|
-
output,
|
|
2449
|
-
parsedBody,
|
|
2450
|
-
errorCode
|
|
2451
|
-
});
|
|
2452
|
-
}
|
|
2453
|
-
}, "de_DetachManagedPolicyFromPermissionSetCommandError");
|
|
2454
1350
|
var de_GetApplicationAccessScopeCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2455
1351
|
if (output.statusCode >= 300) {
|
|
2456
|
-
return
|
|
1352
|
+
return de_CommandError(output, context);
|
|
2457
1353
|
}
|
|
2458
1354
|
const data = await parseBody(output.body, context);
|
|
2459
1355
|
let contents = {};
|
|
@@ -2464,40 +1360,9 @@ var de_GetApplicationAccessScopeCommand = /* @__PURE__ */ __name(async (output,
|
|
|
2464
1360
|
};
|
|
2465
1361
|
return response;
|
|
2466
1362
|
}, "de_GetApplicationAccessScopeCommand");
|
|
2467
|
-
var de_GetApplicationAccessScopeCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2468
|
-
const parsedOutput = {
|
|
2469
|
-
...output,
|
|
2470
|
-
body: await parseErrorBody(output.body, context)
|
|
2471
|
-
};
|
|
2472
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2473
|
-
switch (errorCode) {
|
|
2474
|
-
case "AccessDeniedException":
|
|
2475
|
-
case "com.amazonaws.ssoadmin#AccessDeniedException":
|
|
2476
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2477
|
-
case "InternalServerException":
|
|
2478
|
-
case "com.amazonaws.ssoadmin#InternalServerException":
|
|
2479
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
2480
|
-
case "ResourceNotFoundException":
|
|
2481
|
-
case "com.amazonaws.ssoadmin#ResourceNotFoundException":
|
|
2482
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2483
|
-
case "ThrottlingException":
|
|
2484
|
-
case "com.amazonaws.ssoadmin#ThrottlingException":
|
|
2485
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2486
|
-
case "ValidationException":
|
|
2487
|
-
case "com.amazonaws.ssoadmin#ValidationException":
|
|
2488
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2489
|
-
default:
|
|
2490
|
-
const parsedBody = parsedOutput.body;
|
|
2491
|
-
return throwDefaultError({
|
|
2492
|
-
output,
|
|
2493
|
-
parsedBody,
|
|
2494
|
-
errorCode
|
|
2495
|
-
});
|
|
2496
|
-
}
|
|
2497
|
-
}, "de_GetApplicationAccessScopeCommandError");
|
|
2498
1363
|
var de_GetApplicationAssignmentConfigurationCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2499
1364
|
if (output.statusCode >= 300) {
|
|
2500
|
-
return
|
|
1365
|
+
return de_CommandError(output, context);
|
|
2501
1366
|
}
|
|
2502
1367
|
const data = await parseBody(output.body, context);
|
|
2503
1368
|
let contents = {};
|
|
@@ -2508,40 +1373,9 @@ var de_GetApplicationAssignmentConfigurationCommand = /* @__PURE__ */ __name(asy
|
|
|
2508
1373
|
};
|
|
2509
1374
|
return response;
|
|
2510
1375
|
}, "de_GetApplicationAssignmentConfigurationCommand");
|
|
2511
|
-
var de_GetApplicationAssignmentConfigurationCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2512
|
-
const parsedOutput = {
|
|
2513
|
-
...output,
|
|
2514
|
-
body: await parseErrorBody(output.body, context)
|
|
2515
|
-
};
|
|
2516
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2517
|
-
switch (errorCode) {
|
|
2518
|
-
case "AccessDeniedException":
|
|
2519
|
-
case "com.amazonaws.ssoadmin#AccessDeniedException":
|
|
2520
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2521
|
-
case "InternalServerException":
|
|
2522
|
-
case "com.amazonaws.ssoadmin#InternalServerException":
|
|
2523
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
2524
|
-
case "ResourceNotFoundException":
|
|
2525
|
-
case "com.amazonaws.ssoadmin#ResourceNotFoundException":
|
|
2526
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2527
|
-
case "ThrottlingException":
|
|
2528
|
-
case "com.amazonaws.ssoadmin#ThrottlingException":
|
|
2529
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2530
|
-
case "ValidationException":
|
|
2531
|
-
case "com.amazonaws.ssoadmin#ValidationException":
|
|
2532
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2533
|
-
default:
|
|
2534
|
-
const parsedBody = parsedOutput.body;
|
|
2535
|
-
return throwDefaultError({
|
|
2536
|
-
output,
|
|
2537
|
-
parsedBody,
|
|
2538
|
-
errorCode
|
|
2539
|
-
});
|
|
2540
|
-
}
|
|
2541
|
-
}, "de_GetApplicationAssignmentConfigurationCommandError");
|
|
2542
1376
|
var de_GetApplicationAuthenticationMethodCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2543
1377
|
if (output.statusCode >= 300) {
|
|
2544
|
-
return
|
|
1378
|
+
return de_CommandError(output, context);
|
|
2545
1379
|
}
|
|
2546
1380
|
const data = await parseBody(output.body, context);
|
|
2547
1381
|
let contents = {};
|
|
@@ -2552,40 +1386,9 @@ var de_GetApplicationAuthenticationMethodCommand = /* @__PURE__ */ __name(async
|
|
|
2552
1386
|
};
|
|
2553
1387
|
return response;
|
|
2554
1388
|
}, "de_GetApplicationAuthenticationMethodCommand");
|
|
2555
|
-
var de_GetApplicationAuthenticationMethodCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2556
|
-
const parsedOutput = {
|
|
2557
|
-
...output,
|
|
2558
|
-
body: await parseErrorBody(output.body, context)
|
|
2559
|
-
};
|
|
2560
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2561
|
-
switch (errorCode) {
|
|
2562
|
-
case "AccessDeniedException":
|
|
2563
|
-
case "com.amazonaws.ssoadmin#AccessDeniedException":
|
|
2564
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2565
|
-
case "InternalServerException":
|
|
2566
|
-
case "com.amazonaws.ssoadmin#InternalServerException":
|
|
2567
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
2568
|
-
case "ResourceNotFoundException":
|
|
2569
|
-
case "com.amazonaws.ssoadmin#ResourceNotFoundException":
|
|
2570
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2571
|
-
case "ThrottlingException":
|
|
2572
|
-
case "com.amazonaws.ssoadmin#ThrottlingException":
|
|
2573
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2574
|
-
case "ValidationException":
|
|
2575
|
-
case "com.amazonaws.ssoadmin#ValidationException":
|
|
2576
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2577
|
-
default:
|
|
2578
|
-
const parsedBody = parsedOutput.body;
|
|
2579
|
-
return throwDefaultError({
|
|
2580
|
-
output,
|
|
2581
|
-
parsedBody,
|
|
2582
|
-
errorCode
|
|
2583
|
-
});
|
|
2584
|
-
}
|
|
2585
|
-
}, "de_GetApplicationAuthenticationMethodCommandError");
|
|
2586
1389
|
var de_GetApplicationGrantCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2587
1390
|
if (output.statusCode >= 300) {
|
|
2588
|
-
return
|
|
1391
|
+
return de_CommandError(output, context);
|
|
2589
1392
|
}
|
|
2590
1393
|
const data = await parseBody(output.body, context);
|
|
2591
1394
|
let contents = {};
|
|
@@ -2596,40 +1399,9 @@ var de_GetApplicationGrantCommand = /* @__PURE__ */ __name(async (output, contex
|
|
|
2596
1399
|
};
|
|
2597
1400
|
return response;
|
|
2598
1401
|
}, "de_GetApplicationGrantCommand");
|
|
2599
|
-
var de_GetApplicationGrantCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2600
|
-
const parsedOutput = {
|
|
2601
|
-
...output,
|
|
2602
|
-
body: await parseErrorBody(output.body, context)
|
|
2603
|
-
};
|
|
2604
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2605
|
-
switch (errorCode) {
|
|
2606
|
-
case "AccessDeniedException":
|
|
2607
|
-
case "com.amazonaws.ssoadmin#AccessDeniedException":
|
|
2608
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2609
|
-
case "InternalServerException":
|
|
2610
|
-
case "com.amazonaws.ssoadmin#InternalServerException":
|
|
2611
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
2612
|
-
case "ResourceNotFoundException":
|
|
2613
|
-
case "com.amazonaws.ssoadmin#ResourceNotFoundException":
|
|
2614
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2615
|
-
case "ThrottlingException":
|
|
2616
|
-
case "com.amazonaws.ssoadmin#ThrottlingException":
|
|
2617
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2618
|
-
case "ValidationException":
|
|
2619
|
-
case "com.amazonaws.ssoadmin#ValidationException":
|
|
2620
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2621
|
-
default:
|
|
2622
|
-
const parsedBody = parsedOutput.body;
|
|
2623
|
-
return throwDefaultError({
|
|
2624
|
-
output,
|
|
2625
|
-
parsedBody,
|
|
2626
|
-
errorCode
|
|
2627
|
-
});
|
|
2628
|
-
}
|
|
2629
|
-
}, "de_GetApplicationGrantCommandError");
|
|
2630
1402
|
var de_GetInlinePolicyForPermissionSetCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2631
1403
|
if (output.statusCode >= 300) {
|
|
2632
|
-
return
|
|
1404
|
+
return de_CommandError(output, context);
|
|
2633
1405
|
}
|
|
2634
1406
|
const data = await parseBody(output.body, context);
|
|
2635
1407
|
let contents = {};
|
|
@@ -2640,40 +1412,9 @@ var de_GetInlinePolicyForPermissionSetCommand = /* @__PURE__ */ __name(async (ou
|
|
|
2640
1412
|
};
|
|
2641
1413
|
return response;
|
|
2642
1414
|
}, "de_GetInlinePolicyForPermissionSetCommand");
|
|
2643
|
-
var de_GetInlinePolicyForPermissionSetCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2644
|
-
const parsedOutput = {
|
|
2645
|
-
...output,
|
|
2646
|
-
body: await parseErrorBody(output.body, context)
|
|
2647
|
-
};
|
|
2648
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2649
|
-
switch (errorCode) {
|
|
2650
|
-
case "AccessDeniedException":
|
|
2651
|
-
case "com.amazonaws.ssoadmin#AccessDeniedException":
|
|
2652
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2653
|
-
case "InternalServerException":
|
|
2654
|
-
case "com.amazonaws.ssoadmin#InternalServerException":
|
|
2655
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
2656
|
-
case "ResourceNotFoundException":
|
|
2657
|
-
case "com.amazonaws.ssoadmin#ResourceNotFoundException":
|
|
2658
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2659
|
-
case "ThrottlingException":
|
|
2660
|
-
case "com.amazonaws.ssoadmin#ThrottlingException":
|
|
2661
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2662
|
-
case "ValidationException":
|
|
2663
|
-
case "com.amazonaws.ssoadmin#ValidationException":
|
|
2664
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2665
|
-
default:
|
|
2666
|
-
const parsedBody = parsedOutput.body;
|
|
2667
|
-
return throwDefaultError({
|
|
2668
|
-
output,
|
|
2669
|
-
parsedBody,
|
|
2670
|
-
errorCode
|
|
2671
|
-
});
|
|
2672
|
-
}
|
|
2673
|
-
}, "de_GetInlinePolicyForPermissionSetCommandError");
|
|
2674
1415
|
var de_GetPermissionsBoundaryForPermissionSetCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2675
1416
|
if (output.statusCode >= 300) {
|
|
2676
|
-
return
|
|
1417
|
+
return de_CommandError(output, context);
|
|
2677
1418
|
}
|
|
2678
1419
|
const data = await parseBody(output.body, context);
|
|
2679
1420
|
let contents = {};
|
|
@@ -2684,84 +1425,22 @@ var de_GetPermissionsBoundaryForPermissionSetCommand = /* @__PURE__ */ __name(as
|
|
|
2684
1425
|
};
|
|
2685
1426
|
return response;
|
|
2686
1427
|
}, "de_GetPermissionsBoundaryForPermissionSetCommand");
|
|
2687
|
-
var
|
|
2688
|
-
|
|
2689
|
-
|
|
2690
|
-
|
|
2691
|
-
|
|
2692
|
-
|
|
2693
|
-
|
|
2694
|
-
|
|
2695
|
-
|
|
2696
|
-
|
|
2697
|
-
case "InternalServerException":
|
|
2698
|
-
case "com.amazonaws.ssoadmin#InternalServerException":
|
|
2699
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
2700
|
-
case "ResourceNotFoundException":
|
|
2701
|
-
case "com.amazonaws.ssoadmin#ResourceNotFoundException":
|
|
2702
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2703
|
-
case "ThrottlingException":
|
|
2704
|
-
case "com.amazonaws.ssoadmin#ThrottlingException":
|
|
2705
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2706
|
-
case "ValidationException":
|
|
2707
|
-
case "com.amazonaws.ssoadmin#ValidationException":
|
|
2708
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2709
|
-
default:
|
|
2710
|
-
const parsedBody = parsedOutput.body;
|
|
2711
|
-
return throwDefaultError({
|
|
2712
|
-
output,
|
|
2713
|
-
parsedBody,
|
|
2714
|
-
errorCode
|
|
2715
|
-
});
|
|
2716
|
-
}
|
|
2717
|
-
}, "de_GetPermissionsBoundaryForPermissionSetCommandError");
|
|
2718
|
-
var de_ListAccountAssignmentCreationStatusCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2719
|
-
if (output.statusCode >= 300) {
|
|
2720
|
-
return de_ListAccountAssignmentCreationStatusCommandError(output, context);
|
|
2721
|
-
}
|
|
2722
|
-
const data = await parseBody(output.body, context);
|
|
2723
|
-
let contents = {};
|
|
2724
|
-
contents = de_ListAccountAssignmentCreationStatusResponse(data, context);
|
|
2725
|
-
const response = {
|
|
2726
|
-
$metadata: deserializeMetadata(output),
|
|
2727
|
-
...contents
|
|
1428
|
+
var de_ListAccountAssignmentCreationStatusCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1429
|
+
if (output.statusCode >= 300) {
|
|
1430
|
+
return de_CommandError(output, context);
|
|
1431
|
+
}
|
|
1432
|
+
const data = await parseBody(output.body, context);
|
|
1433
|
+
let contents = {};
|
|
1434
|
+
contents = de_ListAccountAssignmentCreationStatusResponse(data, context);
|
|
1435
|
+
const response = {
|
|
1436
|
+
$metadata: deserializeMetadata(output),
|
|
1437
|
+
...contents
|
|
2728
1438
|
};
|
|
2729
1439
|
return response;
|
|
2730
1440
|
}, "de_ListAccountAssignmentCreationStatusCommand");
|
|
2731
|
-
var de_ListAccountAssignmentCreationStatusCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2732
|
-
const parsedOutput = {
|
|
2733
|
-
...output,
|
|
2734
|
-
body: await parseErrorBody(output.body, context)
|
|
2735
|
-
};
|
|
2736
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2737
|
-
switch (errorCode) {
|
|
2738
|
-
case "AccessDeniedException":
|
|
2739
|
-
case "com.amazonaws.ssoadmin#AccessDeniedException":
|
|
2740
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2741
|
-
case "InternalServerException":
|
|
2742
|
-
case "com.amazonaws.ssoadmin#InternalServerException":
|
|
2743
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
2744
|
-
case "ResourceNotFoundException":
|
|
2745
|
-
case "com.amazonaws.ssoadmin#ResourceNotFoundException":
|
|
2746
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2747
|
-
case "ThrottlingException":
|
|
2748
|
-
case "com.amazonaws.ssoadmin#ThrottlingException":
|
|
2749
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2750
|
-
case "ValidationException":
|
|
2751
|
-
case "com.amazonaws.ssoadmin#ValidationException":
|
|
2752
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2753
|
-
default:
|
|
2754
|
-
const parsedBody = parsedOutput.body;
|
|
2755
|
-
return throwDefaultError({
|
|
2756
|
-
output,
|
|
2757
|
-
parsedBody,
|
|
2758
|
-
errorCode
|
|
2759
|
-
});
|
|
2760
|
-
}
|
|
2761
|
-
}, "de_ListAccountAssignmentCreationStatusCommandError");
|
|
2762
1441
|
var de_ListAccountAssignmentDeletionStatusCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2763
1442
|
if (output.statusCode >= 300) {
|
|
2764
|
-
return
|
|
1443
|
+
return de_CommandError(output, context);
|
|
2765
1444
|
}
|
|
2766
1445
|
const data = await parseBody(output.body, context);
|
|
2767
1446
|
let contents = {};
|
|
@@ -2772,40 +1451,9 @@ var de_ListAccountAssignmentDeletionStatusCommand = /* @__PURE__ */ __name(async
|
|
|
2772
1451
|
};
|
|
2773
1452
|
return response;
|
|
2774
1453
|
}, "de_ListAccountAssignmentDeletionStatusCommand");
|
|
2775
|
-
var de_ListAccountAssignmentDeletionStatusCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2776
|
-
const parsedOutput = {
|
|
2777
|
-
...output,
|
|
2778
|
-
body: await parseErrorBody(output.body, context)
|
|
2779
|
-
};
|
|
2780
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2781
|
-
switch (errorCode) {
|
|
2782
|
-
case "AccessDeniedException":
|
|
2783
|
-
case "com.amazonaws.ssoadmin#AccessDeniedException":
|
|
2784
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2785
|
-
case "InternalServerException":
|
|
2786
|
-
case "com.amazonaws.ssoadmin#InternalServerException":
|
|
2787
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
2788
|
-
case "ResourceNotFoundException":
|
|
2789
|
-
case "com.amazonaws.ssoadmin#ResourceNotFoundException":
|
|
2790
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2791
|
-
case "ThrottlingException":
|
|
2792
|
-
case "com.amazonaws.ssoadmin#ThrottlingException":
|
|
2793
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2794
|
-
case "ValidationException":
|
|
2795
|
-
case "com.amazonaws.ssoadmin#ValidationException":
|
|
2796
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2797
|
-
default:
|
|
2798
|
-
const parsedBody = parsedOutput.body;
|
|
2799
|
-
return throwDefaultError({
|
|
2800
|
-
output,
|
|
2801
|
-
parsedBody,
|
|
2802
|
-
errorCode
|
|
2803
|
-
});
|
|
2804
|
-
}
|
|
2805
|
-
}, "de_ListAccountAssignmentDeletionStatusCommandError");
|
|
2806
1454
|
var de_ListAccountAssignmentsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2807
1455
|
if (output.statusCode >= 300) {
|
|
2808
|
-
return
|
|
1456
|
+
return de_CommandError(output, context);
|
|
2809
1457
|
}
|
|
2810
1458
|
const data = await parseBody(output.body, context);
|
|
2811
1459
|
let contents = {};
|
|
@@ -2816,40 +1464,9 @@ var de_ListAccountAssignmentsCommand = /* @__PURE__ */ __name(async (output, con
|
|
|
2816
1464
|
};
|
|
2817
1465
|
return response;
|
|
2818
1466
|
}, "de_ListAccountAssignmentsCommand");
|
|
2819
|
-
var de_ListAccountAssignmentsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2820
|
-
const parsedOutput = {
|
|
2821
|
-
...output,
|
|
2822
|
-
body: await parseErrorBody(output.body, context)
|
|
2823
|
-
};
|
|
2824
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2825
|
-
switch (errorCode) {
|
|
2826
|
-
case "AccessDeniedException":
|
|
2827
|
-
case "com.amazonaws.ssoadmin#AccessDeniedException":
|
|
2828
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2829
|
-
case "InternalServerException":
|
|
2830
|
-
case "com.amazonaws.ssoadmin#InternalServerException":
|
|
2831
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
2832
|
-
case "ResourceNotFoundException":
|
|
2833
|
-
case "com.amazonaws.ssoadmin#ResourceNotFoundException":
|
|
2834
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2835
|
-
case "ThrottlingException":
|
|
2836
|
-
case "com.amazonaws.ssoadmin#ThrottlingException":
|
|
2837
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2838
|
-
case "ValidationException":
|
|
2839
|
-
case "com.amazonaws.ssoadmin#ValidationException":
|
|
2840
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2841
|
-
default:
|
|
2842
|
-
const parsedBody = parsedOutput.body;
|
|
2843
|
-
return throwDefaultError({
|
|
2844
|
-
output,
|
|
2845
|
-
parsedBody,
|
|
2846
|
-
errorCode
|
|
2847
|
-
});
|
|
2848
|
-
}
|
|
2849
|
-
}, "de_ListAccountAssignmentsCommandError");
|
|
2850
1467
|
var de_ListAccountAssignmentsForPrincipalCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2851
1468
|
if (output.statusCode >= 300) {
|
|
2852
|
-
return
|
|
1469
|
+
return de_CommandError(output, context);
|
|
2853
1470
|
}
|
|
2854
1471
|
const data = await parseBody(output.body, context);
|
|
2855
1472
|
let contents = {};
|
|
@@ -2860,40 +1477,9 @@ var de_ListAccountAssignmentsForPrincipalCommand = /* @__PURE__ */ __name(async
|
|
|
2860
1477
|
};
|
|
2861
1478
|
return response;
|
|
2862
1479
|
}, "de_ListAccountAssignmentsForPrincipalCommand");
|
|
2863
|
-
var de_ListAccountAssignmentsForPrincipalCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2864
|
-
const parsedOutput = {
|
|
2865
|
-
...output,
|
|
2866
|
-
body: await parseErrorBody(output.body, context)
|
|
2867
|
-
};
|
|
2868
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2869
|
-
switch (errorCode) {
|
|
2870
|
-
case "AccessDeniedException":
|
|
2871
|
-
case "com.amazonaws.ssoadmin#AccessDeniedException":
|
|
2872
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2873
|
-
case "InternalServerException":
|
|
2874
|
-
case "com.amazonaws.ssoadmin#InternalServerException":
|
|
2875
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
2876
|
-
case "ResourceNotFoundException":
|
|
2877
|
-
case "com.amazonaws.ssoadmin#ResourceNotFoundException":
|
|
2878
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2879
|
-
case "ThrottlingException":
|
|
2880
|
-
case "com.amazonaws.ssoadmin#ThrottlingException":
|
|
2881
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2882
|
-
case "ValidationException":
|
|
2883
|
-
case "com.amazonaws.ssoadmin#ValidationException":
|
|
2884
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2885
|
-
default:
|
|
2886
|
-
const parsedBody = parsedOutput.body;
|
|
2887
|
-
return throwDefaultError({
|
|
2888
|
-
output,
|
|
2889
|
-
parsedBody,
|
|
2890
|
-
errorCode
|
|
2891
|
-
});
|
|
2892
|
-
}
|
|
2893
|
-
}, "de_ListAccountAssignmentsForPrincipalCommandError");
|
|
2894
1480
|
var de_ListAccountsForProvisionedPermissionSetCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2895
1481
|
if (output.statusCode >= 300) {
|
|
2896
|
-
return
|
|
1482
|
+
return de_CommandError(output, context);
|
|
2897
1483
|
}
|
|
2898
1484
|
const data = await parseBody(output.body, context);
|
|
2899
1485
|
let contents = {};
|
|
@@ -2904,40 +1490,9 @@ var de_ListAccountsForProvisionedPermissionSetCommand = /* @__PURE__ */ __name(a
|
|
|
2904
1490
|
};
|
|
2905
1491
|
return response;
|
|
2906
1492
|
}, "de_ListAccountsForProvisionedPermissionSetCommand");
|
|
2907
|
-
var de_ListAccountsForProvisionedPermissionSetCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2908
|
-
const parsedOutput = {
|
|
2909
|
-
...output,
|
|
2910
|
-
body: await parseErrorBody(output.body, context)
|
|
2911
|
-
};
|
|
2912
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2913
|
-
switch (errorCode) {
|
|
2914
|
-
case "AccessDeniedException":
|
|
2915
|
-
case "com.amazonaws.ssoadmin#AccessDeniedException":
|
|
2916
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2917
|
-
case "InternalServerException":
|
|
2918
|
-
case "com.amazonaws.ssoadmin#InternalServerException":
|
|
2919
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
2920
|
-
case "ResourceNotFoundException":
|
|
2921
|
-
case "com.amazonaws.ssoadmin#ResourceNotFoundException":
|
|
2922
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2923
|
-
case "ThrottlingException":
|
|
2924
|
-
case "com.amazonaws.ssoadmin#ThrottlingException":
|
|
2925
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2926
|
-
case "ValidationException":
|
|
2927
|
-
case "com.amazonaws.ssoadmin#ValidationException":
|
|
2928
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2929
|
-
default:
|
|
2930
|
-
const parsedBody = parsedOutput.body;
|
|
2931
|
-
return throwDefaultError({
|
|
2932
|
-
output,
|
|
2933
|
-
parsedBody,
|
|
2934
|
-
errorCode
|
|
2935
|
-
});
|
|
2936
|
-
}
|
|
2937
|
-
}, "de_ListAccountsForProvisionedPermissionSetCommandError");
|
|
2938
1493
|
var de_ListApplicationAccessScopesCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2939
1494
|
if (output.statusCode >= 300) {
|
|
2940
|
-
return
|
|
1495
|
+
return de_CommandError(output, context);
|
|
2941
1496
|
}
|
|
2942
1497
|
const data = await parseBody(output.body, context);
|
|
2943
1498
|
let contents = {};
|
|
@@ -2948,40 +1503,9 @@ var de_ListApplicationAccessScopesCommand = /* @__PURE__ */ __name(async (output
|
|
|
2948
1503
|
};
|
|
2949
1504
|
return response;
|
|
2950
1505
|
}, "de_ListApplicationAccessScopesCommand");
|
|
2951
|
-
var de_ListApplicationAccessScopesCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2952
|
-
const parsedOutput = {
|
|
2953
|
-
...output,
|
|
2954
|
-
body: await parseErrorBody(output.body, context)
|
|
2955
|
-
};
|
|
2956
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2957
|
-
switch (errorCode) {
|
|
2958
|
-
case "AccessDeniedException":
|
|
2959
|
-
case "com.amazonaws.ssoadmin#AccessDeniedException":
|
|
2960
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2961
|
-
case "InternalServerException":
|
|
2962
|
-
case "com.amazonaws.ssoadmin#InternalServerException":
|
|
2963
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
2964
|
-
case "ResourceNotFoundException":
|
|
2965
|
-
case "com.amazonaws.ssoadmin#ResourceNotFoundException":
|
|
2966
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2967
|
-
case "ThrottlingException":
|
|
2968
|
-
case "com.amazonaws.ssoadmin#ThrottlingException":
|
|
2969
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2970
|
-
case "ValidationException":
|
|
2971
|
-
case "com.amazonaws.ssoadmin#ValidationException":
|
|
2972
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2973
|
-
default:
|
|
2974
|
-
const parsedBody = parsedOutput.body;
|
|
2975
|
-
return throwDefaultError({
|
|
2976
|
-
output,
|
|
2977
|
-
parsedBody,
|
|
2978
|
-
errorCode
|
|
2979
|
-
});
|
|
2980
|
-
}
|
|
2981
|
-
}, "de_ListApplicationAccessScopesCommandError");
|
|
2982
1506
|
var de_ListApplicationAssignmentsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2983
1507
|
if (output.statusCode >= 300) {
|
|
2984
|
-
return
|
|
1508
|
+
return de_CommandError(output, context);
|
|
2985
1509
|
}
|
|
2986
1510
|
const data = await parseBody(output.body, context);
|
|
2987
1511
|
let contents = {};
|
|
@@ -2992,40 +1516,9 @@ var de_ListApplicationAssignmentsCommand = /* @__PURE__ */ __name(async (output,
|
|
|
2992
1516
|
};
|
|
2993
1517
|
return response;
|
|
2994
1518
|
}, "de_ListApplicationAssignmentsCommand");
|
|
2995
|
-
var de_ListApplicationAssignmentsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2996
|
-
const parsedOutput = {
|
|
2997
|
-
...output,
|
|
2998
|
-
body: await parseErrorBody(output.body, context)
|
|
2999
|
-
};
|
|
3000
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3001
|
-
switch (errorCode) {
|
|
3002
|
-
case "AccessDeniedException":
|
|
3003
|
-
case "com.amazonaws.ssoadmin#AccessDeniedException":
|
|
3004
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
3005
|
-
case "InternalServerException":
|
|
3006
|
-
case "com.amazonaws.ssoadmin#InternalServerException":
|
|
3007
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
3008
|
-
case "ResourceNotFoundException":
|
|
3009
|
-
case "com.amazonaws.ssoadmin#ResourceNotFoundException":
|
|
3010
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
3011
|
-
case "ThrottlingException":
|
|
3012
|
-
case "com.amazonaws.ssoadmin#ThrottlingException":
|
|
3013
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
3014
|
-
case "ValidationException":
|
|
3015
|
-
case "com.amazonaws.ssoadmin#ValidationException":
|
|
3016
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
3017
|
-
default:
|
|
3018
|
-
const parsedBody = parsedOutput.body;
|
|
3019
|
-
return throwDefaultError({
|
|
3020
|
-
output,
|
|
3021
|
-
parsedBody,
|
|
3022
|
-
errorCode
|
|
3023
|
-
});
|
|
3024
|
-
}
|
|
3025
|
-
}, "de_ListApplicationAssignmentsCommandError");
|
|
3026
1519
|
var de_ListApplicationAssignmentsForPrincipalCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3027
1520
|
if (output.statusCode >= 300) {
|
|
3028
|
-
return
|
|
1521
|
+
return de_CommandError(output, context);
|
|
3029
1522
|
}
|
|
3030
1523
|
const data = await parseBody(output.body, context);
|
|
3031
1524
|
let contents = {};
|
|
@@ -3036,40 +1529,9 @@ var de_ListApplicationAssignmentsForPrincipalCommand = /* @__PURE__ */ __name(as
|
|
|
3036
1529
|
};
|
|
3037
1530
|
return response;
|
|
3038
1531
|
}, "de_ListApplicationAssignmentsForPrincipalCommand");
|
|
3039
|
-
var de_ListApplicationAssignmentsForPrincipalCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3040
|
-
const parsedOutput = {
|
|
3041
|
-
...output,
|
|
3042
|
-
body: await parseErrorBody(output.body, context)
|
|
3043
|
-
};
|
|
3044
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3045
|
-
switch (errorCode) {
|
|
3046
|
-
case "AccessDeniedException":
|
|
3047
|
-
case "com.amazonaws.ssoadmin#AccessDeniedException":
|
|
3048
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
3049
|
-
case "InternalServerException":
|
|
3050
|
-
case "com.amazonaws.ssoadmin#InternalServerException":
|
|
3051
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
3052
|
-
case "ResourceNotFoundException":
|
|
3053
|
-
case "com.amazonaws.ssoadmin#ResourceNotFoundException":
|
|
3054
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
3055
|
-
case "ThrottlingException":
|
|
3056
|
-
case "com.amazonaws.ssoadmin#ThrottlingException":
|
|
3057
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
3058
|
-
case "ValidationException":
|
|
3059
|
-
case "com.amazonaws.ssoadmin#ValidationException":
|
|
3060
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
3061
|
-
default:
|
|
3062
|
-
const parsedBody = parsedOutput.body;
|
|
3063
|
-
return throwDefaultError({
|
|
3064
|
-
output,
|
|
3065
|
-
parsedBody,
|
|
3066
|
-
errorCode
|
|
3067
|
-
});
|
|
3068
|
-
}
|
|
3069
|
-
}, "de_ListApplicationAssignmentsForPrincipalCommandError");
|
|
3070
1532
|
var de_ListApplicationAuthenticationMethodsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3071
1533
|
if (output.statusCode >= 300) {
|
|
3072
|
-
return
|
|
1534
|
+
return de_CommandError(output, context);
|
|
3073
1535
|
}
|
|
3074
1536
|
const data = await parseBody(output.body, context);
|
|
3075
1537
|
let contents = {};
|
|
@@ -3080,40 +1542,9 @@ var de_ListApplicationAuthenticationMethodsCommand = /* @__PURE__ */ __name(asyn
|
|
|
3080
1542
|
};
|
|
3081
1543
|
return response;
|
|
3082
1544
|
}, "de_ListApplicationAuthenticationMethodsCommand");
|
|
3083
|
-
var de_ListApplicationAuthenticationMethodsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3084
|
-
const parsedOutput = {
|
|
3085
|
-
...output,
|
|
3086
|
-
body: await parseErrorBody(output.body, context)
|
|
3087
|
-
};
|
|
3088
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3089
|
-
switch (errorCode) {
|
|
3090
|
-
case "AccessDeniedException":
|
|
3091
|
-
case "com.amazonaws.ssoadmin#AccessDeniedException":
|
|
3092
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
3093
|
-
case "InternalServerException":
|
|
3094
|
-
case "com.amazonaws.ssoadmin#InternalServerException":
|
|
3095
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
3096
|
-
case "ResourceNotFoundException":
|
|
3097
|
-
case "com.amazonaws.ssoadmin#ResourceNotFoundException":
|
|
3098
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
3099
|
-
case "ThrottlingException":
|
|
3100
|
-
case "com.amazonaws.ssoadmin#ThrottlingException":
|
|
3101
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
3102
|
-
case "ValidationException":
|
|
3103
|
-
case "com.amazonaws.ssoadmin#ValidationException":
|
|
3104
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
3105
|
-
default:
|
|
3106
|
-
const parsedBody = parsedOutput.body;
|
|
3107
|
-
return throwDefaultError({
|
|
3108
|
-
output,
|
|
3109
|
-
parsedBody,
|
|
3110
|
-
errorCode
|
|
3111
|
-
});
|
|
3112
|
-
}
|
|
3113
|
-
}, "de_ListApplicationAuthenticationMethodsCommandError");
|
|
3114
1545
|
var de_ListApplicationGrantsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3115
1546
|
if (output.statusCode >= 300) {
|
|
3116
|
-
return
|
|
1547
|
+
return de_CommandError(output, context);
|
|
3117
1548
|
}
|
|
3118
1549
|
const data = await parseBody(output.body, context);
|
|
3119
1550
|
let contents = {};
|
|
@@ -3124,40 +1555,9 @@ var de_ListApplicationGrantsCommand = /* @__PURE__ */ __name(async (output, cont
|
|
|
3124
1555
|
};
|
|
3125
1556
|
return response;
|
|
3126
1557
|
}, "de_ListApplicationGrantsCommand");
|
|
3127
|
-
var de_ListApplicationGrantsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3128
|
-
const parsedOutput = {
|
|
3129
|
-
...output,
|
|
3130
|
-
body: await parseErrorBody(output.body, context)
|
|
3131
|
-
};
|
|
3132
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3133
|
-
switch (errorCode) {
|
|
3134
|
-
case "AccessDeniedException":
|
|
3135
|
-
case "com.amazonaws.ssoadmin#AccessDeniedException":
|
|
3136
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
3137
|
-
case "InternalServerException":
|
|
3138
|
-
case "com.amazonaws.ssoadmin#InternalServerException":
|
|
3139
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
3140
|
-
case "ResourceNotFoundException":
|
|
3141
|
-
case "com.amazonaws.ssoadmin#ResourceNotFoundException":
|
|
3142
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
3143
|
-
case "ThrottlingException":
|
|
3144
|
-
case "com.amazonaws.ssoadmin#ThrottlingException":
|
|
3145
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
3146
|
-
case "ValidationException":
|
|
3147
|
-
case "com.amazonaws.ssoadmin#ValidationException":
|
|
3148
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
3149
|
-
default:
|
|
3150
|
-
const parsedBody = parsedOutput.body;
|
|
3151
|
-
return throwDefaultError({
|
|
3152
|
-
output,
|
|
3153
|
-
parsedBody,
|
|
3154
|
-
errorCode
|
|
3155
|
-
});
|
|
3156
|
-
}
|
|
3157
|
-
}, "de_ListApplicationGrantsCommandError");
|
|
3158
1558
|
var de_ListApplicationProvidersCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3159
1559
|
if (output.statusCode >= 300) {
|
|
3160
|
-
return
|
|
1560
|
+
return de_CommandError(output, context);
|
|
3161
1561
|
}
|
|
3162
1562
|
const data = await parseBody(output.body, context);
|
|
3163
1563
|
let contents = {};
|
|
@@ -3168,37 +1568,9 @@ var de_ListApplicationProvidersCommand = /* @__PURE__ */ __name(async (output, c
|
|
|
3168
1568
|
};
|
|
3169
1569
|
return response;
|
|
3170
1570
|
}, "de_ListApplicationProvidersCommand");
|
|
3171
|
-
var de_ListApplicationProvidersCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3172
|
-
const parsedOutput = {
|
|
3173
|
-
...output,
|
|
3174
|
-
body: await parseErrorBody(output.body, context)
|
|
3175
|
-
};
|
|
3176
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3177
|
-
switch (errorCode) {
|
|
3178
|
-
case "AccessDeniedException":
|
|
3179
|
-
case "com.amazonaws.ssoadmin#AccessDeniedException":
|
|
3180
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
3181
|
-
case "InternalServerException":
|
|
3182
|
-
case "com.amazonaws.ssoadmin#InternalServerException":
|
|
3183
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
3184
|
-
case "ThrottlingException":
|
|
3185
|
-
case "com.amazonaws.ssoadmin#ThrottlingException":
|
|
3186
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
3187
|
-
case "ValidationException":
|
|
3188
|
-
case "com.amazonaws.ssoadmin#ValidationException":
|
|
3189
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
3190
|
-
default:
|
|
3191
|
-
const parsedBody = parsedOutput.body;
|
|
3192
|
-
return throwDefaultError({
|
|
3193
|
-
output,
|
|
3194
|
-
parsedBody,
|
|
3195
|
-
errorCode
|
|
3196
|
-
});
|
|
3197
|
-
}
|
|
3198
|
-
}, "de_ListApplicationProvidersCommandError");
|
|
3199
1571
|
var de_ListApplicationsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3200
1572
|
if (output.statusCode >= 300) {
|
|
3201
|
-
return
|
|
1573
|
+
return de_CommandError(output, context);
|
|
3202
1574
|
}
|
|
3203
1575
|
const data = await parseBody(output.body, context);
|
|
3204
1576
|
let contents = {};
|
|
@@ -3209,37 +1581,9 @@ var de_ListApplicationsCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
3209
1581
|
};
|
|
3210
1582
|
return response;
|
|
3211
1583
|
}, "de_ListApplicationsCommand");
|
|
3212
|
-
var de_ListApplicationsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3213
|
-
const parsedOutput = {
|
|
3214
|
-
...output,
|
|
3215
|
-
body: await parseErrorBody(output.body, context)
|
|
3216
|
-
};
|
|
3217
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3218
|
-
switch (errorCode) {
|
|
3219
|
-
case "AccessDeniedException":
|
|
3220
|
-
case "com.amazonaws.ssoadmin#AccessDeniedException":
|
|
3221
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
3222
|
-
case "InternalServerException":
|
|
3223
|
-
case "com.amazonaws.ssoadmin#InternalServerException":
|
|
3224
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
3225
|
-
case "ThrottlingException":
|
|
3226
|
-
case "com.amazonaws.ssoadmin#ThrottlingException":
|
|
3227
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
3228
|
-
case "ValidationException":
|
|
3229
|
-
case "com.amazonaws.ssoadmin#ValidationException":
|
|
3230
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
3231
|
-
default:
|
|
3232
|
-
const parsedBody = parsedOutput.body;
|
|
3233
|
-
return throwDefaultError({
|
|
3234
|
-
output,
|
|
3235
|
-
parsedBody,
|
|
3236
|
-
errorCode
|
|
3237
|
-
});
|
|
3238
|
-
}
|
|
3239
|
-
}, "de_ListApplicationsCommandError");
|
|
3240
1584
|
var de_ListCustomerManagedPolicyReferencesInPermissionSetCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3241
1585
|
if (output.statusCode >= 300) {
|
|
3242
|
-
return
|
|
1586
|
+
return de_CommandError(output, context);
|
|
3243
1587
|
}
|
|
3244
1588
|
const data = await parseBody(output.body, context);
|
|
3245
1589
|
let contents = {};
|
|
@@ -3250,40 +1594,9 @@ var de_ListCustomerManagedPolicyReferencesInPermissionSetCommand = /* @__PURE__
|
|
|
3250
1594
|
};
|
|
3251
1595
|
return response;
|
|
3252
1596
|
}, "de_ListCustomerManagedPolicyReferencesInPermissionSetCommand");
|
|
3253
|
-
var de_ListCustomerManagedPolicyReferencesInPermissionSetCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3254
|
-
const parsedOutput = {
|
|
3255
|
-
...output,
|
|
3256
|
-
body: await parseErrorBody(output.body, context)
|
|
3257
|
-
};
|
|
3258
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3259
|
-
switch (errorCode) {
|
|
3260
|
-
case "AccessDeniedException":
|
|
3261
|
-
case "com.amazonaws.ssoadmin#AccessDeniedException":
|
|
3262
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
3263
|
-
case "InternalServerException":
|
|
3264
|
-
case "com.amazonaws.ssoadmin#InternalServerException":
|
|
3265
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
3266
|
-
case "ResourceNotFoundException":
|
|
3267
|
-
case "com.amazonaws.ssoadmin#ResourceNotFoundException":
|
|
3268
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
3269
|
-
case "ThrottlingException":
|
|
3270
|
-
case "com.amazonaws.ssoadmin#ThrottlingException":
|
|
3271
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
3272
|
-
case "ValidationException":
|
|
3273
|
-
case "com.amazonaws.ssoadmin#ValidationException":
|
|
3274
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
3275
|
-
default:
|
|
3276
|
-
const parsedBody = parsedOutput.body;
|
|
3277
|
-
return throwDefaultError({
|
|
3278
|
-
output,
|
|
3279
|
-
parsedBody,
|
|
3280
|
-
errorCode
|
|
3281
|
-
});
|
|
3282
|
-
}
|
|
3283
|
-
}, "de_ListCustomerManagedPolicyReferencesInPermissionSetCommandError");
|
|
3284
1597
|
var de_ListInstancesCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3285
1598
|
if (output.statusCode >= 300) {
|
|
3286
|
-
return
|
|
1599
|
+
return de_CommandError(output, context);
|
|
3287
1600
|
}
|
|
3288
1601
|
const data = await parseBody(output.body, context);
|
|
3289
1602
|
let contents = {};
|
|
@@ -3294,37 +1607,9 @@ var de_ListInstancesCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
3294
1607
|
};
|
|
3295
1608
|
return response;
|
|
3296
1609
|
}, "de_ListInstancesCommand");
|
|
3297
|
-
var de_ListInstancesCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3298
|
-
const parsedOutput = {
|
|
3299
|
-
...output,
|
|
3300
|
-
body: await parseErrorBody(output.body, context)
|
|
3301
|
-
};
|
|
3302
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3303
|
-
switch (errorCode) {
|
|
3304
|
-
case "AccessDeniedException":
|
|
3305
|
-
case "com.amazonaws.ssoadmin#AccessDeniedException":
|
|
3306
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
3307
|
-
case "InternalServerException":
|
|
3308
|
-
case "com.amazonaws.ssoadmin#InternalServerException":
|
|
3309
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
3310
|
-
case "ThrottlingException":
|
|
3311
|
-
case "com.amazonaws.ssoadmin#ThrottlingException":
|
|
3312
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
3313
|
-
case "ValidationException":
|
|
3314
|
-
case "com.amazonaws.ssoadmin#ValidationException":
|
|
3315
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
3316
|
-
default:
|
|
3317
|
-
const parsedBody = parsedOutput.body;
|
|
3318
|
-
return throwDefaultError({
|
|
3319
|
-
output,
|
|
3320
|
-
parsedBody,
|
|
3321
|
-
errorCode
|
|
3322
|
-
});
|
|
3323
|
-
}
|
|
3324
|
-
}, "de_ListInstancesCommandError");
|
|
3325
1610
|
var de_ListManagedPoliciesInPermissionSetCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3326
1611
|
if (output.statusCode >= 300) {
|
|
3327
|
-
return
|
|
1612
|
+
return de_CommandError(output, context);
|
|
3328
1613
|
}
|
|
3329
1614
|
const data = await parseBody(output.body, context);
|
|
3330
1615
|
let contents = {};
|
|
@@ -3335,40 +1620,9 @@ var de_ListManagedPoliciesInPermissionSetCommand = /* @__PURE__ */ __name(async
|
|
|
3335
1620
|
};
|
|
3336
1621
|
return response;
|
|
3337
1622
|
}, "de_ListManagedPoliciesInPermissionSetCommand");
|
|
3338
|
-
var de_ListManagedPoliciesInPermissionSetCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3339
|
-
const parsedOutput = {
|
|
3340
|
-
...output,
|
|
3341
|
-
body: await parseErrorBody(output.body, context)
|
|
3342
|
-
};
|
|
3343
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3344
|
-
switch (errorCode) {
|
|
3345
|
-
case "AccessDeniedException":
|
|
3346
|
-
case "com.amazonaws.ssoadmin#AccessDeniedException":
|
|
3347
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
3348
|
-
case "InternalServerException":
|
|
3349
|
-
case "com.amazonaws.ssoadmin#InternalServerException":
|
|
3350
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
3351
|
-
case "ResourceNotFoundException":
|
|
3352
|
-
case "com.amazonaws.ssoadmin#ResourceNotFoundException":
|
|
3353
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
3354
|
-
case "ThrottlingException":
|
|
3355
|
-
case "com.amazonaws.ssoadmin#ThrottlingException":
|
|
3356
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
3357
|
-
case "ValidationException":
|
|
3358
|
-
case "com.amazonaws.ssoadmin#ValidationException":
|
|
3359
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
3360
|
-
default:
|
|
3361
|
-
const parsedBody = parsedOutput.body;
|
|
3362
|
-
return throwDefaultError({
|
|
3363
|
-
output,
|
|
3364
|
-
parsedBody,
|
|
3365
|
-
errorCode
|
|
3366
|
-
});
|
|
3367
|
-
}
|
|
3368
|
-
}, "de_ListManagedPoliciesInPermissionSetCommandError");
|
|
3369
1623
|
var de_ListPermissionSetProvisioningStatusCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3370
1624
|
if (output.statusCode >= 300) {
|
|
3371
|
-
return
|
|
1625
|
+
return de_CommandError(output, context);
|
|
3372
1626
|
}
|
|
3373
1627
|
const data = await parseBody(output.body, context);
|
|
3374
1628
|
let contents = {};
|
|
@@ -3379,40 +1633,9 @@ var de_ListPermissionSetProvisioningStatusCommand = /* @__PURE__ */ __name(async
|
|
|
3379
1633
|
};
|
|
3380
1634
|
return response;
|
|
3381
1635
|
}, "de_ListPermissionSetProvisioningStatusCommand");
|
|
3382
|
-
var de_ListPermissionSetProvisioningStatusCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3383
|
-
const parsedOutput = {
|
|
3384
|
-
...output,
|
|
3385
|
-
body: await parseErrorBody(output.body, context)
|
|
3386
|
-
};
|
|
3387
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3388
|
-
switch (errorCode) {
|
|
3389
|
-
case "AccessDeniedException":
|
|
3390
|
-
case "com.amazonaws.ssoadmin#AccessDeniedException":
|
|
3391
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
3392
|
-
case "InternalServerException":
|
|
3393
|
-
case "com.amazonaws.ssoadmin#InternalServerException":
|
|
3394
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
3395
|
-
case "ResourceNotFoundException":
|
|
3396
|
-
case "com.amazonaws.ssoadmin#ResourceNotFoundException":
|
|
3397
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
3398
|
-
case "ThrottlingException":
|
|
3399
|
-
case "com.amazonaws.ssoadmin#ThrottlingException":
|
|
3400
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
3401
|
-
case "ValidationException":
|
|
3402
|
-
case "com.amazonaws.ssoadmin#ValidationException":
|
|
3403
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
3404
|
-
default:
|
|
3405
|
-
const parsedBody = parsedOutput.body;
|
|
3406
|
-
return throwDefaultError({
|
|
3407
|
-
output,
|
|
3408
|
-
parsedBody,
|
|
3409
|
-
errorCode
|
|
3410
|
-
});
|
|
3411
|
-
}
|
|
3412
|
-
}, "de_ListPermissionSetProvisioningStatusCommandError");
|
|
3413
1636
|
var de_ListPermissionSetsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3414
1637
|
if (output.statusCode >= 300) {
|
|
3415
|
-
return
|
|
1638
|
+
return de_CommandError(output, context);
|
|
3416
1639
|
}
|
|
3417
1640
|
const data = await parseBody(output.body, context);
|
|
3418
1641
|
let contents = {};
|
|
@@ -3423,40 +1646,9 @@ var de_ListPermissionSetsCommand = /* @__PURE__ */ __name(async (output, context
|
|
|
3423
1646
|
};
|
|
3424
1647
|
return response;
|
|
3425
1648
|
}, "de_ListPermissionSetsCommand");
|
|
3426
|
-
var de_ListPermissionSetsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3427
|
-
const parsedOutput = {
|
|
3428
|
-
...output,
|
|
3429
|
-
body: await parseErrorBody(output.body, context)
|
|
3430
|
-
};
|
|
3431
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3432
|
-
switch (errorCode) {
|
|
3433
|
-
case "AccessDeniedException":
|
|
3434
|
-
case "com.amazonaws.ssoadmin#AccessDeniedException":
|
|
3435
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
3436
|
-
case "InternalServerException":
|
|
3437
|
-
case "com.amazonaws.ssoadmin#InternalServerException":
|
|
3438
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
3439
|
-
case "ResourceNotFoundException":
|
|
3440
|
-
case "com.amazonaws.ssoadmin#ResourceNotFoundException":
|
|
3441
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
3442
|
-
case "ThrottlingException":
|
|
3443
|
-
case "com.amazonaws.ssoadmin#ThrottlingException":
|
|
3444
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
3445
|
-
case "ValidationException":
|
|
3446
|
-
case "com.amazonaws.ssoadmin#ValidationException":
|
|
3447
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
3448
|
-
default:
|
|
3449
|
-
const parsedBody = parsedOutput.body;
|
|
3450
|
-
return throwDefaultError({
|
|
3451
|
-
output,
|
|
3452
|
-
parsedBody,
|
|
3453
|
-
errorCode
|
|
3454
|
-
});
|
|
3455
|
-
}
|
|
3456
|
-
}, "de_ListPermissionSetsCommandError");
|
|
3457
1649
|
var de_ListPermissionSetsProvisionedToAccountCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3458
1650
|
if (output.statusCode >= 300) {
|
|
3459
|
-
return
|
|
1651
|
+
return de_CommandError(output, context);
|
|
3460
1652
|
}
|
|
3461
1653
|
const data = await parseBody(output.body, context);
|
|
3462
1654
|
let contents = {};
|
|
@@ -3467,40 +1659,9 @@ var de_ListPermissionSetsProvisionedToAccountCommand = /* @__PURE__ */ __name(as
|
|
|
3467
1659
|
};
|
|
3468
1660
|
return response;
|
|
3469
1661
|
}, "de_ListPermissionSetsProvisionedToAccountCommand");
|
|
3470
|
-
var de_ListPermissionSetsProvisionedToAccountCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3471
|
-
const parsedOutput = {
|
|
3472
|
-
...output,
|
|
3473
|
-
body: await parseErrorBody(output.body, context)
|
|
3474
|
-
};
|
|
3475
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3476
|
-
switch (errorCode) {
|
|
3477
|
-
case "AccessDeniedException":
|
|
3478
|
-
case "com.amazonaws.ssoadmin#AccessDeniedException":
|
|
3479
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
3480
|
-
case "InternalServerException":
|
|
3481
|
-
case "com.amazonaws.ssoadmin#InternalServerException":
|
|
3482
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
3483
|
-
case "ResourceNotFoundException":
|
|
3484
|
-
case "com.amazonaws.ssoadmin#ResourceNotFoundException":
|
|
3485
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
3486
|
-
case "ThrottlingException":
|
|
3487
|
-
case "com.amazonaws.ssoadmin#ThrottlingException":
|
|
3488
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
3489
|
-
case "ValidationException":
|
|
3490
|
-
case "com.amazonaws.ssoadmin#ValidationException":
|
|
3491
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
3492
|
-
default:
|
|
3493
|
-
const parsedBody = parsedOutput.body;
|
|
3494
|
-
return throwDefaultError({
|
|
3495
|
-
output,
|
|
3496
|
-
parsedBody,
|
|
3497
|
-
errorCode
|
|
3498
|
-
});
|
|
3499
|
-
}
|
|
3500
|
-
}, "de_ListPermissionSetsProvisionedToAccountCommandError");
|
|
3501
1662
|
var de_ListTagsForResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3502
1663
|
if (output.statusCode >= 300) {
|
|
3503
|
-
return
|
|
1664
|
+
return de_CommandError(output, context);
|
|
3504
1665
|
}
|
|
3505
1666
|
const data = await parseBody(output.body, context);
|
|
3506
1667
|
let contents = {};
|
|
@@ -3511,40 +1672,9 @@ var de_ListTagsForResourceCommand = /* @__PURE__ */ __name(async (output, contex
|
|
|
3511
1672
|
};
|
|
3512
1673
|
return response;
|
|
3513
1674
|
}, "de_ListTagsForResourceCommand");
|
|
3514
|
-
var de_ListTagsForResourceCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3515
|
-
const parsedOutput = {
|
|
3516
|
-
...output,
|
|
3517
|
-
body: await parseErrorBody(output.body, context)
|
|
3518
|
-
};
|
|
3519
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3520
|
-
switch (errorCode) {
|
|
3521
|
-
case "AccessDeniedException":
|
|
3522
|
-
case "com.amazonaws.ssoadmin#AccessDeniedException":
|
|
3523
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
3524
|
-
case "InternalServerException":
|
|
3525
|
-
case "com.amazonaws.ssoadmin#InternalServerException":
|
|
3526
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
3527
|
-
case "ResourceNotFoundException":
|
|
3528
|
-
case "com.amazonaws.ssoadmin#ResourceNotFoundException":
|
|
3529
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
3530
|
-
case "ThrottlingException":
|
|
3531
|
-
case "com.amazonaws.ssoadmin#ThrottlingException":
|
|
3532
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
3533
|
-
case "ValidationException":
|
|
3534
|
-
case "com.amazonaws.ssoadmin#ValidationException":
|
|
3535
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
3536
|
-
default:
|
|
3537
|
-
const parsedBody = parsedOutput.body;
|
|
3538
|
-
return throwDefaultError({
|
|
3539
|
-
output,
|
|
3540
|
-
parsedBody,
|
|
3541
|
-
errorCode
|
|
3542
|
-
});
|
|
3543
|
-
}
|
|
3544
|
-
}, "de_ListTagsForResourceCommandError");
|
|
3545
1675
|
var de_ListTrustedTokenIssuersCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3546
1676
|
if (output.statusCode >= 300) {
|
|
3547
|
-
return
|
|
1677
|
+
return de_CommandError(output, context);
|
|
3548
1678
|
}
|
|
3549
1679
|
const data = await parseBody(output.body, context);
|
|
3550
1680
|
let contents = {};
|
|
@@ -3555,37 +1685,9 @@ var de_ListTrustedTokenIssuersCommand = /* @__PURE__ */ __name(async (output, co
|
|
|
3555
1685
|
};
|
|
3556
1686
|
return response;
|
|
3557
1687
|
}, "de_ListTrustedTokenIssuersCommand");
|
|
3558
|
-
var de_ListTrustedTokenIssuersCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3559
|
-
const parsedOutput = {
|
|
3560
|
-
...output,
|
|
3561
|
-
body: await parseErrorBody(output.body, context)
|
|
3562
|
-
};
|
|
3563
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3564
|
-
switch (errorCode) {
|
|
3565
|
-
case "AccessDeniedException":
|
|
3566
|
-
case "com.amazonaws.ssoadmin#AccessDeniedException":
|
|
3567
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
3568
|
-
case "InternalServerException":
|
|
3569
|
-
case "com.amazonaws.ssoadmin#InternalServerException":
|
|
3570
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
3571
|
-
case "ThrottlingException":
|
|
3572
|
-
case "com.amazonaws.ssoadmin#ThrottlingException":
|
|
3573
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
3574
|
-
case "ValidationException":
|
|
3575
|
-
case "com.amazonaws.ssoadmin#ValidationException":
|
|
3576
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
3577
|
-
default:
|
|
3578
|
-
const parsedBody = parsedOutput.body;
|
|
3579
|
-
return throwDefaultError({
|
|
3580
|
-
output,
|
|
3581
|
-
parsedBody,
|
|
3582
|
-
errorCode
|
|
3583
|
-
});
|
|
3584
|
-
}
|
|
3585
|
-
}, "de_ListTrustedTokenIssuersCommandError");
|
|
3586
1688
|
var de_ProvisionPermissionSetCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3587
1689
|
if (output.statusCode >= 300) {
|
|
3588
|
-
return
|
|
1690
|
+
return de_CommandError(output, context);
|
|
3589
1691
|
}
|
|
3590
1692
|
const data = await parseBody(output.body, context);
|
|
3591
1693
|
let contents = {};
|
|
@@ -3596,43 +1698,9 @@ var de_ProvisionPermissionSetCommand = /* @__PURE__ */ __name(async (output, con
|
|
|
3596
1698
|
};
|
|
3597
1699
|
return response;
|
|
3598
1700
|
}, "de_ProvisionPermissionSetCommand");
|
|
3599
|
-
var de_ProvisionPermissionSetCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3600
|
-
const parsedOutput = {
|
|
3601
|
-
...output,
|
|
3602
|
-
body: await parseErrorBody(output.body, context)
|
|
3603
|
-
};
|
|
3604
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3605
|
-
switch (errorCode) {
|
|
3606
|
-
case "AccessDeniedException":
|
|
3607
|
-
case "com.amazonaws.ssoadmin#AccessDeniedException":
|
|
3608
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
3609
|
-
case "ConflictException":
|
|
3610
|
-
case "com.amazonaws.ssoadmin#ConflictException":
|
|
3611
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
3612
|
-
case "InternalServerException":
|
|
3613
|
-
case "com.amazonaws.ssoadmin#InternalServerException":
|
|
3614
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
3615
|
-
case "ResourceNotFoundException":
|
|
3616
|
-
case "com.amazonaws.ssoadmin#ResourceNotFoundException":
|
|
3617
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
3618
|
-
case "ThrottlingException":
|
|
3619
|
-
case "com.amazonaws.ssoadmin#ThrottlingException":
|
|
3620
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
3621
|
-
case "ValidationException":
|
|
3622
|
-
case "com.amazonaws.ssoadmin#ValidationException":
|
|
3623
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
3624
|
-
default:
|
|
3625
|
-
const parsedBody = parsedOutput.body;
|
|
3626
|
-
return throwDefaultError({
|
|
3627
|
-
output,
|
|
3628
|
-
parsedBody,
|
|
3629
|
-
errorCode
|
|
3630
|
-
});
|
|
3631
|
-
}
|
|
3632
|
-
}, "de_ProvisionPermissionSetCommandError");
|
|
3633
1701
|
var de_PutApplicationAccessScopeCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3634
1702
|
if (output.statusCode >= 300) {
|
|
3635
|
-
return
|
|
1703
|
+
return de_CommandError(output, context);
|
|
3636
1704
|
}
|
|
3637
1705
|
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
3638
1706
|
const response = {
|
|
@@ -3640,43 +1708,9 @@ var de_PutApplicationAccessScopeCommand = /* @__PURE__ */ __name(async (output,
|
|
|
3640
1708
|
};
|
|
3641
1709
|
return response;
|
|
3642
1710
|
}, "de_PutApplicationAccessScopeCommand");
|
|
3643
|
-
var de_PutApplicationAccessScopeCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3644
|
-
const parsedOutput = {
|
|
3645
|
-
...output,
|
|
3646
|
-
body: await parseErrorBody(output.body, context)
|
|
3647
|
-
};
|
|
3648
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3649
|
-
switch (errorCode) {
|
|
3650
|
-
case "AccessDeniedException":
|
|
3651
|
-
case "com.amazonaws.ssoadmin#AccessDeniedException":
|
|
3652
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
3653
|
-
case "ConflictException":
|
|
3654
|
-
case "com.amazonaws.ssoadmin#ConflictException":
|
|
3655
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
3656
|
-
case "InternalServerException":
|
|
3657
|
-
case "com.amazonaws.ssoadmin#InternalServerException":
|
|
3658
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
3659
|
-
case "ResourceNotFoundException":
|
|
3660
|
-
case "com.amazonaws.ssoadmin#ResourceNotFoundException":
|
|
3661
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
3662
|
-
case "ThrottlingException":
|
|
3663
|
-
case "com.amazonaws.ssoadmin#ThrottlingException":
|
|
3664
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
3665
|
-
case "ValidationException":
|
|
3666
|
-
case "com.amazonaws.ssoadmin#ValidationException":
|
|
3667
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
3668
|
-
default:
|
|
3669
|
-
const parsedBody = parsedOutput.body;
|
|
3670
|
-
return throwDefaultError({
|
|
3671
|
-
output,
|
|
3672
|
-
parsedBody,
|
|
3673
|
-
errorCode
|
|
3674
|
-
});
|
|
3675
|
-
}
|
|
3676
|
-
}, "de_PutApplicationAccessScopeCommandError");
|
|
3677
1711
|
var de_PutApplicationAssignmentConfigurationCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3678
1712
|
if (output.statusCode >= 300) {
|
|
3679
|
-
return
|
|
1713
|
+
return de_CommandError(output, context);
|
|
3680
1714
|
}
|
|
3681
1715
|
const data = await parseBody(output.body, context);
|
|
3682
1716
|
let contents = {};
|
|
@@ -3687,181 +1721,42 @@ var de_PutApplicationAssignmentConfigurationCommand = /* @__PURE__ */ __name(asy
|
|
|
3687
1721
|
};
|
|
3688
1722
|
return response;
|
|
3689
1723
|
}, "de_PutApplicationAssignmentConfigurationCommand");
|
|
3690
|
-
var
|
|
3691
|
-
|
|
3692
|
-
|
|
3693
|
-
|
|
3694
|
-
|
|
3695
|
-
const
|
|
3696
|
-
|
|
3697
|
-
|
|
3698
|
-
|
|
3699
|
-
|
|
3700
|
-
|
|
3701
|
-
|
|
3702
|
-
|
|
3703
|
-
|
|
3704
|
-
|
|
3705
|
-
|
|
3706
|
-
|
|
3707
|
-
|
|
3708
|
-
|
|
3709
|
-
|
|
3710
|
-
|
|
3711
|
-
|
|
3712
|
-
|
|
3713
|
-
case "com.amazonaws.ssoadmin#ValidationException":
|
|
3714
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
3715
|
-
default:
|
|
3716
|
-
const parsedBody = parsedOutput.body;
|
|
3717
|
-
return throwDefaultError({
|
|
3718
|
-
output,
|
|
3719
|
-
parsedBody,
|
|
3720
|
-
errorCode
|
|
3721
|
-
});
|
|
3722
|
-
}
|
|
3723
|
-
}, "de_PutApplicationAssignmentConfigurationCommandError");
|
|
3724
|
-
var de_PutApplicationAuthenticationMethodCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3725
|
-
if (output.statusCode >= 300) {
|
|
3726
|
-
return de_PutApplicationAuthenticationMethodCommandError(output, context);
|
|
3727
|
-
}
|
|
3728
|
-
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
3729
|
-
const response = {
|
|
3730
|
-
$metadata: deserializeMetadata(output)
|
|
3731
|
-
};
|
|
3732
|
-
return response;
|
|
3733
|
-
}, "de_PutApplicationAuthenticationMethodCommand");
|
|
3734
|
-
var de_PutApplicationAuthenticationMethodCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3735
|
-
const parsedOutput = {
|
|
3736
|
-
...output,
|
|
3737
|
-
body: await parseErrorBody(output.body, context)
|
|
3738
|
-
};
|
|
3739
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3740
|
-
switch (errorCode) {
|
|
3741
|
-
case "AccessDeniedException":
|
|
3742
|
-
case "com.amazonaws.ssoadmin#AccessDeniedException":
|
|
3743
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
3744
|
-
case "ConflictException":
|
|
3745
|
-
case "com.amazonaws.ssoadmin#ConflictException":
|
|
3746
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
3747
|
-
case "InternalServerException":
|
|
3748
|
-
case "com.amazonaws.ssoadmin#InternalServerException":
|
|
3749
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
3750
|
-
case "ResourceNotFoundException":
|
|
3751
|
-
case "com.amazonaws.ssoadmin#ResourceNotFoundException":
|
|
3752
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
3753
|
-
case "ThrottlingException":
|
|
3754
|
-
case "com.amazonaws.ssoadmin#ThrottlingException":
|
|
3755
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
3756
|
-
case "ValidationException":
|
|
3757
|
-
case "com.amazonaws.ssoadmin#ValidationException":
|
|
3758
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
3759
|
-
default:
|
|
3760
|
-
const parsedBody = parsedOutput.body;
|
|
3761
|
-
return throwDefaultError({
|
|
3762
|
-
output,
|
|
3763
|
-
parsedBody,
|
|
3764
|
-
errorCode
|
|
3765
|
-
});
|
|
3766
|
-
}
|
|
3767
|
-
}, "de_PutApplicationAuthenticationMethodCommandError");
|
|
3768
|
-
var de_PutApplicationGrantCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3769
|
-
if (output.statusCode >= 300) {
|
|
3770
|
-
return de_PutApplicationGrantCommandError(output, context);
|
|
3771
|
-
}
|
|
3772
|
-
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
3773
|
-
const response = {
|
|
3774
|
-
$metadata: deserializeMetadata(output)
|
|
3775
|
-
};
|
|
3776
|
-
return response;
|
|
3777
|
-
}, "de_PutApplicationGrantCommand");
|
|
3778
|
-
var de_PutApplicationGrantCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3779
|
-
const parsedOutput = {
|
|
3780
|
-
...output,
|
|
3781
|
-
body: await parseErrorBody(output.body, context)
|
|
3782
|
-
};
|
|
3783
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3784
|
-
switch (errorCode) {
|
|
3785
|
-
case "AccessDeniedException":
|
|
3786
|
-
case "com.amazonaws.ssoadmin#AccessDeniedException":
|
|
3787
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
3788
|
-
case "ConflictException":
|
|
3789
|
-
case "com.amazonaws.ssoadmin#ConflictException":
|
|
3790
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
3791
|
-
case "InternalServerException":
|
|
3792
|
-
case "com.amazonaws.ssoadmin#InternalServerException":
|
|
3793
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
3794
|
-
case "ResourceNotFoundException":
|
|
3795
|
-
case "com.amazonaws.ssoadmin#ResourceNotFoundException":
|
|
3796
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
3797
|
-
case "ThrottlingException":
|
|
3798
|
-
case "com.amazonaws.ssoadmin#ThrottlingException":
|
|
3799
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
3800
|
-
case "ValidationException":
|
|
3801
|
-
case "com.amazonaws.ssoadmin#ValidationException":
|
|
3802
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
3803
|
-
default:
|
|
3804
|
-
const parsedBody = parsedOutput.body;
|
|
3805
|
-
return throwDefaultError({
|
|
3806
|
-
output,
|
|
3807
|
-
parsedBody,
|
|
3808
|
-
errorCode
|
|
3809
|
-
});
|
|
3810
|
-
}
|
|
3811
|
-
}, "de_PutApplicationGrantCommandError");
|
|
3812
|
-
var de_PutInlinePolicyToPermissionSetCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3813
|
-
if (output.statusCode >= 300) {
|
|
3814
|
-
return de_PutInlinePolicyToPermissionSetCommandError(output, context);
|
|
3815
|
-
}
|
|
3816
|
-
const data = await parseBody(output.body, context);
|
|
3817
|
-
let contents = {};
|
|
3818
|
-
contents = (0, import_smithy_client._json)(data);
|
|
3819
|
-
const response = {
|
|
3820
|
-
$metadata: deserializeMetadata(output),
|
|
3821
|
-
...contents
|
|
3822
|
-
};
|
|
3823
|
-
return response;
|
|
3824
|
-
}, "de_PutInlinePolicyToPermissionSetCommand");
|
|
3825
|
-
var de_PutInlinePolicyToPermissionSetCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3826
|
-
const parsedOutput = {
|
|
3827
|
-
...output,
|
|
3828
|
-
body: await parseErrorBody(output.body, context)
|
|
3829
|
-
};
|
|
3830
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3831
|
-
switch (errorCode) {
|
|
3832
|
-
case "AccessDeniedException":
|
|
3833
|
-
case "com.amazonaws.ssoadmin#AccessDeniedException":
|
|
3834
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
3835
|
-
case "ConflictException":
|
|
3836
|
-
case "com.amazonaws.ssoadmin#ConflictException":
|
|
3837
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
3838
|
-
case "InternalServerException":
|
|
3839
|
-
case "com.amazonaws.ssoadmin#InternalServerException":
|
|
3840
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
3841
|
-
case "ResourceNotFoundException":
|
|
3842
|
-
case "com.amazonaws.ssoadmin#ResourceNotFoundException":
|
|
3843
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
3844
|
-
case "ServiceQuotaExceededException":
|
|
3845
|
-
case "com.amazonaws.ssoadmin#ServiceQuotaExceededException":
|
|
3846
|
-
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
3847
|
-
case "ThrottlingException":
|
|
3848
|
-
case "com.amazonaws.ssoadmin#ThrottlingException":
|
|
3849
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
3850
|
-
case "ValidationException":
|
|
3851
|
-
case "com.amazonaws.ssoadmin#ValidationException":
|
|
3852
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
3853
|
-
default:
|
|
3854
|
-
const parsedBody = parsedOutput.body;
|
|
3855
|
-
return throwDefaultError({
|
|
3856
|
-
output,
|
|
3857
|
-
parsedBody,
|
|
3858
|
-
errorCode
|
|
3859
|
-
});
|
|
1724
|
+
var de_PutApplicationAuthenticationMethodCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1725
|
+
if (output.statusCode >= 300) {
|
|
1726
|
+
return de_CommandError(output, context);
|
|
1727
|
+
}
|
|
1728
|
+
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
1729
|
+
const response = {
|
|
1730
|
+
$metadata: deserializeMetadata(output)
|
|
1731
|
+
};
|
|
1732
|
+
return response;
|
|
1733
|
+
}, "de_PutApplicationAuthenticationMethodCommand");
|
|
1734
|
+
var de_PutApplicationGrantCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1735
|
+
if (output.statusCode >= 300) {
|
|
1736
|
+
return de_CommandError(output, context);
|
|
1737
|
+
}
|
|
1738
|
+
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
1739
|
+
const response = {
|
|
1740
|
+
$metadata: deserializeMetadata(output)
|
|
1741
|
+
};
|
|
1742
|
+
return response;
|
|
1743
|
+
}, "de_PutApplicationGrantCommand");
|
|
1744
|
+
var de_PutInlinePolicyToPermissionSetCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1745
|
+
if (output.statusCode >= 300) {
|
|
1746
|
+
return de_CommandError(output, context);
|
|
3860
1747
|
}
|
|
3861
|
-
|
|
1748
|
+
const data = await parseBody(output.body, context);
|
|
1749
|
+
let contents = {};
|
|
1750
|
+
contents = (0, import_smithy_client._json)(data);
|
|
1751
|
+
const response = {
|
|
1752
|
+
$metadata: deserializeMetadata(output),
|
|
1753
|
+
...contents
|
|
1754
|
+
};
|
|
1755
|
+
return response;
|
|
1756
|
+
}, "de_PutInlinePolicyToPermissionSetCommand");
|
|
3862
1757
|
var de_PutPermissionsBoundaryToPermissionSetCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3863
1758
|
if (output.statusCode >= 300) {
|
|
3864
|
-
return
|
|
1759
|
+
return de_CommandError(output, context);
|
|
3865
1760
|
}
|
|
3866
1761
|
const data = await parseBody(output.body, context);
|
|
3867
1762
|
let contents = {};
|
|
@@ -3872,43 +1767,9 @@ var de_PutPermissionsBoundaryToPermissionSetCommand = /* @__PURE__ */ __name(asy
|
|
|
3872
1767
|
};
|
|
3873
1768
|
return response;
|
|
3874
1769
|
}, "de_PutPermissionsBoundaryToPermissionSetCommand");
|
|
3875
|
-
var de_PutPermissionsBoundaryToPermissionSetCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3876
|
-
const parsedOutput = {
|
|
3877
|
-
...output,
|
|
3878
|
-
body: await parseErrorBody(output.body, context)
|
|
3879
|
-
};
|
|
3880
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3881
|
-
switch (errorCode) {
|
|
3882
|
-
case "AccessDeniedException":
|
|
3883
|
-
case "com.amazonaws.ssoadmin#AccessDeniedException":
|
|
3884
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
3885
|
-
case "ConflictException":
|
|
3886
|
-
case "com.amazonaws.ssoadmin#ConflictException":
|
|
3887
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
3888
|
-
case "InternalServerException":
|
|
3889
|
-
case "com.amazonaws.ssoadmin#InternalServerException":
|
|
3890
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
3891
|
-
case "ResourceNotFoundException":
|
|
3892
|
-
case "com.amazonaws.ssoadmin#ResourceNotFoundException":
|
|
3893
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
3894
|
-
case "ThrottlingException":
|
|
3895
|
-
case "com.amazonaws.ssoadmin#ThrottlingException":
|
|
3896
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
3897
|
-
case "ValidationException":
|
|
3898
|
-
case "com.amazonaws.ssoadmin#ValidationException":
|
|
3899
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
3900
|
-
default:
|
|
3901
|
-
const parsedBody = parsedOutput.body;
|
|
3902
|
-
return throwDefaultError({
|
|
3903
|
-
output,
|
|
3904
|
-
parsedBody,
|
|
3905
|
-
errorCode
|
|
3906
|
-
});
|
|
3907
|
-
}
|
|
3908
|
-
}, "de_PutPermissionsBoundaryToPermissionSetCommandError");
|
|
3909
1770
|
var de_TagResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3910
1771
|
if (output.statusCode >= 300) {
|
|
3911
|
-
return
|
|
1772
|
+
return de_CommandError(output, context);
|
|
3912
1773
|
}
|
|
3913
1774
|
const data = await parseBody(output.body, context);
|
|
3914
1775
|
let contents = {};
|
|
@@ -3919,46 +1780,9 @@ var de_TagResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
3919
1780
|
};
|
|
3920
1781
|
return response;
|
|
3921
1782
|
}, "de_TagResourceCommand");
|
|
3922
|
-
var de_TagResourceCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3923
|
-
const parsedOutput = {
|
|
3924
|
-
...output,
|
|
3925
|
-
body: await parseErrorBody(output.body, context)
|
|
3926
|
-
};
|
|
3927
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3928
|
-
switch (errorCode) {
|
|
3929
|
-
case "AccessDeniedException":
|
|
3930
|
-
case "com.amazonaws.ssoadmin#AccessDeniedException":
|
|
3931
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
3932
|
-
case "ConflictException":
|
|
3933
|
-
case "com.amazonaws.ssoadmin#ConflictException":
|
|
3934
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
3935
|
-
case "InternalServerException":
|
|
3936
|
-
case "com.amazonaws.ssoadmin#InternalServerException":
|
|
3937
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
3938
|
-
case "ResourceNotFoundException":
|
|
3939
|
-
case "com.amazonaws.ssoadmin#ResourceNotFoundException":
|
|
3940
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
3941
|
-
case "ServiceQuotaExceededException":
|
|
3942
|
-
case "com.amazonaws.ssoadmin#ServiceQuotaExceededException":
|
|
3943
|
-
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
3944
|
-
case "ThrottlingException":
|
|
3945
|
-
case "com.amazonaws.ssoadmin#ThrottlingException":
|
|
3946
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
3947
|
-
case "ValidationException":
|
|
3948
|
-
case "com.amazonaws.ssoadmin#ValidationException":
|
|
3949
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
3950
|
-
default:
|
|
3951
|
-
const parsedBody = parsedOutput.body;
|
|
3952
|
-
return throwDefaultError({
|
|
3953
|
-
output,
|
|
3954
|
-
parsedBody,
|
|
3955
|
-
errorCode
|
|
3956
|
-
});
|
|
3957
|
-
}
|
|
3958
|
-
}, "de_TagResourceCommandError");
|
|
3959
1783
|
var de_UntagResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3960
1784
|
if (output.statusCode >= 300) {
|
|
3961
|
-
return
|
|
1785
|
+
return de_CommandError(output, context);
|
|
3962
1786
|
}
|
|
3963
1787
|
const data = await parseBody(output.body, context);
|
|
3964
1788
|
let contents = {};
|
|
@@ -3969,43 +1793,9 @@ var de_UntagResourceCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
3969
1793
|
};
|
|
3970
1794
|
return response;
|
|
3971
1795
|
}, "de_UntagResourceCommand");
|
|
3972
|
-
var de_UntagResourceCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3973
|
-
const parsedOutput = {
|
|
3974
|
-
...output,
|
|
3975
|
-
body: await parseErrorBody(output.body, context)
|
|
3976
|
-
};
|
|
3977
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3978
|
-
switch (errorCode) {
|
|
3979
|
-
case "AccessDeniedException":
|
|
3980
|
-
case "com.amazonaws.ssoadmin#AccessDeniedException":
|
|
3981
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
3982
|
-
case "ConflictException":
|
|
3983
|
-
case "com.amazonaws.ssoadmin#ConflictException":
|
|
3984
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
3985
|
-
case "InternalServerException":
|
|
3986
|
-
case "com.amazonaws.ssoadmin#InternalServerException":
|
|
3987
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
3988
|
-
case "ResourceNotFoundException":
|
|
3989
|
-
case "com.amazonaws.ssoadmin#ResourceNotFoundException":
|
|
3990
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
3991
|
-
case "ThrottlingException":
|
|
3992
|
-
case "com.amazonaws.ssoadmin#ThrottlingException":
|
|
3993
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
3994
|
-
case "ValidationException":
|
|
3995
|
-
case "com.amazonaws.ssoadmin#ValidationException":
|
|
3996
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
3997
|
-
default:
|
|
3998
|
-
const parsedBody = parsedOutput.body;
|
|
3999
|
-
return throwDefaultError({
|
|
4000
|
-
output,
|
|
4001
|
-
parsedBody,
|
|
4002
|
-
errorCode
|
|
4003
|
-
});
|
|
4004
|
-
}
|
|
4005
|
-
}, "de_UntagResourceCommandError");
|
|
4006
1796
|
var de_UpdateApplicationCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
4007
1797
|
if (output.statusCode >= 300) {
|
|
4008
|
-
return
|
|
1798
|
+
return de_CommandError(output, context);
|
|
4009
1799
|
}
|
|
4010
1800
|
const data = await parseBody(output.body, context);
|
|
4011
1801
|
let contents = {};
|
|
@@ -4016,43 +1806,9 @@ var de_UpdateApplicationCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
4016
1806
|
};
|
|
4017
1807
|
return response;
|
|
4018
1808
|
}, "de_UpdateApplicationCommand");
|
|
4019
|
-
var de_UpdateApplicationCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
4020
|
-
const parsedOutput = {
|
|
4021
|
-
...output,
|
|
4022
|
-
body: await parseErrorBody(output.body, context)
|
|
4023
|
-
};
|
|
4024
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4025
|
-
switch (errorCode) {
|
|
4026
|
-
case "AccessDeniedException":
|
|
4027
|
-
case "com.amazonaws.ssoadmin#AccessDeniedException":
|
|
4028
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
4029
|
-
case "ConflictException":
|
|
4030
|
-
case "com.amazonaws.ssoadmin#ConflictException":
|
|
4031
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
4032
|
-
case "InternalServerException":
|
|
4033
|
-
case "com.amazonaws.ssoadmin#InternalServerException":
|
|
4034
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
4035
|
-
case "ResourceNotFoundException":
|
|
4036
|
-
case "com.amazonaws.ssoadmin#ResourceNotFoundException":
|
|
4037
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
4038
|
-
case "ThrottlingException":
|
|
4039
|
-
case "com.amazonaws.ssoadmin#ThrottlingException":
|
|
4040
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
4041
|
-
case "ValidationException":
|
|
4042
|
-
case "com.amazonaws.ssoadmin#ValidationException":
|
|
4043
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
4044
|
-
default:
|
|
4045
|
-
const parsedBody = parsedOutput.body;
|
|
4046
|
-
return throwDefaultError({
|
|
4047
|
-
output,
|
|
4048
|
-
parsedBody,
|
|
4049
|
-
errorCode
|
|
4050
|
-
});
|
|
4051
|
-
}
|
|
4052
|
-
}, "de_UpdateApplicationCommandError");
|
|
4053
1809
|
var de_UpdateInstanceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
4054
1810
|
if (output.statusCode >= 300) {
|
|
4055
|
-
return
|
|
1811
|
+
return de_CommandError(output, context);
|
|
4056
1812
|
}
|
|
4057
1813
|
const data = await parseBody(output.body, context);
|
|
4058
1814
|
let contents = {};
|
|
@@ -4063,40 +1819,9 @@ var de_UpdateInstanceCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
4063
1819
|
};
|
|
4064
1820
|
return response;
|
|
4065
1821
|
}, "de_UpdateInstanceCommand");
|
|
4066
|
-
var de_UpdateInstanceCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
4067
|
-
const parsedOutput = {
|
|
4068
|
-
...output,
|
|
4069
|
-
body: await parseErrorBody(output.body, context)
|
|
4070
|
-
};
|
|
4071
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4072
|
-
switch (errorCode) {
|
|
4073
|
-
case "AccessDeniedException":
|
|
4074
|
-
case "com.amazonaws.ssoadmin#AccessDeniedException":
|
|
4075
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
4076
|
-
case "ConflictException":
|
|
4077
|
-
case "com.amazonaws.ssoadmin#ConflictException":
|
|
4078
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
4079
|
-
case "InternalServerException":
|
|
4080
|
-
case "com.amazonaws.ssoadmin#InternalServerException":
|
|
4081
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
4082
|
-
case "ThrottlingException":
|
|
4083
|
-
case "com.amazonaws.ssoadmin#ThrottlingException":
|
|
4084
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
4085
|
-
case "ValidationException":
|
|
4086
|
-
case "com.amazonaws.ssoadmin#ValidationException":
|
|
4087
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
4088
|
-
default:
|
|
4089
|
-
const parsedBody = parsedOutput.body;
|
|
4090
|
-
return throwDefaultError({
|
|
4091
|
-
output,
|
|
4092
|
-
parsedBody,
|
|
4093
|
-
errorCode
|
|
4094
|
-
});
|
|
4095
|
-
}
|
|
4096
|
-
}, "de_UpdateInstanceCommandError");
|
|
4097
1822
|
var de_UpdateInstanceAccessControlAttributeConfigurationCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
4098
1823
|
if (output.statusCode >= 300) {
|
|
4099
|
-
return
|
|
1824
|
+
return de_CommandError(output, context);
|
|
4100
1825
|
}
|
|
4101
1826
|
const data = await parseBody(output.body, context);
|
|
4102
1827
|
let contents = {};
|
|
@@ -4107,43 +1832,9 @@ var de_UpdateInstanceAccessControlAttributeConfigurationCommand = /* @__PURE__ *
|
|
|
4107
1832
|
};
|
|
4108
1833
|
return response;
|
|
4109
1834
|
}, "de_UpdateInstanceAccessControlAttributeConfigurationCommand");
|
|
4110
|
-
var de_UpdateInstanceAccessControlAttributeConfigurationCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
4111
|
-
const parsedOutput = {
|
|
4112
|
-
...output,
|
|
4113
|
-
body: await parseErrorBody(output.body, context)
|
|
4114
|
-
};
|
|
4115
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4116
|
-
switch (errorCode) {
|
|
4117
|
-
case "AccessDeniedException":
|
|
4118
|
-
case "com.amazonaws.ssoadmin#AccessDeniedException":
|
|
4119
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
4120
|
-
case "ConflictException":
|
|
4121
|
-
case "com.amazonaws.ssoadmin#ConflictException":
|
|
4122
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
4123
|
-
case "InternalServerException":
|
|
4124
|
-
case "com.amazonaws.ssoadmin#InternalServerException":
|
|
4125
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
4126
|
-
case "ResourceNotFoundException":
|
|
4127
|
-
case "com.amazonaws.ssoadmin#ResourceNotFoundException":
|
|
4128
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
4129
|
-
case "ThrottlingException":
|
|
4130
|
-
case "com.amazonaws.ssoadmin#ThrottlingException":
|
|
4131
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
4132
|
-
case "ValidationException":
|
|
4133
|
-
case "com.amazonaws.ssoadmin#ValidationException":
|
|
4134
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
4135
|
-
default:
|
|
4136
|
-
const parsedBody = parsedOutput.body;
|
|
4137
|
-
return throwDefaultError({
|
|
4138
|
-
output,
|
|
4139
|
-
parsedBody,
|
|
4140
|
-
errorCode
|
|
4141
|
-
});
|
|
4142
|
-
}
|
|
4143
|
-
}, "de_UpdateInstanceAccessControlAttributeConfigurationCommandError");
|
|
4144
1835
|
var de_UpdatePermissionSetCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
4145
1836
|
if (output.statusCode >= 300) {
|
|
4146
|
-
return
|
|
1837
|
+
return de_CommandError(output, context);
|
|
4147
1838
|
}
|
|
4148
1839
|
const data = await parseBody(output.body, context);
|
|
4149
1840
|
let contents = {};
|
|
@@ -4154,43 +1845,9 @@ var de_UpdatePermissionSetCommand = /* @__PURE__ */ __name(async (output, contex
|
|
|
4154
1845
|
};
|
|
4155
1846
|
return response;
|
|
4156
1847
|
}, "de_UpdatePermissionSetCommand");
|
|
4157
|
-
var de_UpdatePermissionSetCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
4158
|
-
const parsedOutput = {
|
|
4159
|
-
...output,
|
|
4160
|
-
body: await parseErrorBody(output.body, context)
|
|
4161
|
-
};
|
|
4162
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4163
|
-
switch (errorCode) {
|
|
4164
|
-
case "AccessDeniedException":
|
|
4165
|
-
case "com.amazonaws.ssoadmin#AccessDeniedException":
|
|
4166
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
4167
|
-
case "ConflictException":
|
|
4168
|
-
case "com.amazonaws.ssoadmin#ConflictException":
|
|
4169
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
4170
|
-
case "InternalServerException":
|
|
4171
|
-
case "com.amazonaws.ssoadmin#InternalServerException":
|
|
4172
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
4173
|
-
case "ResourceNotFoundException":
|
|
4174
|
-
case "com.amazonaws.ssoadmin#ResourceNotFoundException":
|
|
4175
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
4176
|
-
case "ThrottlingException":
|
|
4177
|
-
case "com.amazonaws.ssoadmin#ThrottlingException":
|
|
4178
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
4179
|
-
case "ValidationException":
|
|
4180
|
-
case "com.amazonaws.ssoadmin#ValidationException":
|
|
4181
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
4182
|
-
default:
|
|
4183
|
-
const parsedBody = parsedOutput.body;
|
|
4184
|
-
return throwDefaultError({
|
|
4185
|
-
output,
|
|
4186
|
-
parsedBody,
|
|
4187
|
-
errorCode
|
|
4188
|
-
});
|
|
4189
|
-
}
|
|
4190
|
-
}, "de_UpdatePermissionSetCommandError");
|
|
4191
1848
|
var de_UpdateTrustedTokenIssuerCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
4192
1849
|
if (output.statusCode >= 300) {
|
|
4193
|
-
return
|
|
1850
|
+
return de_CommandError(output, context);
|
|
4194
1851
|
}
|
|
4195
1852
|
const data = await parseBody(output.body, context);
|
|
4196
1853
|
let contents = {};
|
|
@@ -4201,7 +1858,7 @@ var de_UpdateTrustedTokenIssuerCommand = /* @__PURE__ */ __name(async (output, c
|
|
|
4201
1858
|
};
|
|
4202
1859
|
return response;
|
|
4203
1860
|
}, "de_UpdateTrustedTokenIssuerCommand");
|
|
4204
|
-
var
|
|
1861
|
+
var de_CommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
4205
1862
|
const parsedOutput = {
|
|
4206
1863
|
...output,
|
|
4207
1864
|
body: await parseErrorBody(output.body, context)
|
|
@@ -4220,6 +1877,9 @@ var de_UpdateTrustedTokenIssuerCommandError = /* @__PURE__ */ __name(async (outp
|
|
|
4220
1877
|
case "ResourceNotFoundException":
|
|
4221
1878
|
case "com.amazonaws.ssoadmin#ResourceNotFoundException":
|
|
4222
1879
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1880
|
+
case "ServiceQuotaExceededException":
|
|
1881
|
+
case "com.amazonaws.ssoadmin#ServiceQuotaExceededException":
|
|
1882
|
+
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
4223
1883
|
case "ThrottlingException":
|
|
4224
1884
|
case "com.amazonaws.ssoadmin#ThrottlingException":
|
|
4225
1885
|
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
@@ -4234,7 +1894,7 @@ var de_UpdateTrustedTokenIssuerCommandError = /* @__PURE__ */ __name(async (outp
|
|
|
4234
1894
|
errorCode
|
|
4235
1895
|
});
|
|
4236
1896
|
}
|
|
4237
|
-
}, "
|
|
1897
|
+
}, "de_CommandError");
|
|
4238
1898
|
var de_AccessDeniedExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
4239
1899
|
const body = parsedOutput.body;
|
|
4240
1900
|
const deserialized = (0, import_smithy_client._json)(body);
|