@aws-sdk/client-ses 3.179.0 → 3.181.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +26 -0
- package/dist-cjs/protocols/Aws_query.js +164 -156
- package/dist-es/protocols/Aws_query.js +171 -156
- package/package.json +7 -7
|
@@ -941,17 +941,17 @@ exports.deserializeAws_queryCloneReceiptRuleSetCommand = deserializeAws_queryClo
|
|
|
941
941
|
const deserializeAws_queryCloneReceiptRuleSetCommandError = async (output, context) => {
|
|
942
942
|
const parsedOutput = {
|
|
943
943
|
...output,
|
|
944
|
-
body: await
|
|
944
|
+
body: await parseErrorBody(output.body, context),
|
|
945
945
|
};
|
|
946
946
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
947
947
|
switch (errorCode) {
|
|
948
|
-
case "
|
|
948
|
+
case "AlreadyExists":
|
|
949
949
|
case "com.amazonaws.ses#AlreadyExistsException":
|
|
950
950
|
throw await deserializeAws_queryAlreadyExistsExceptionResponse(parsedOutput, context);
|
|
951
|
-
case "
|
|
951
|
+
case "LimitExceeded":
|
|
952
952
|
case "com.amazonaws.ses#LimitExceededException":
|
|
953
953
|
throw await deserializeAws_queryLimitExceededExceptionResponse(parsedOutput, context);
|
|
954
|
-
case "
|
|
954
|
+
case "RuleSetDoesNotExist":
|
|
955
955
|
case "com.amazonaws.ses#RuleSetDoesNotExistException":
|
|
956
956
|
throw await deserializeAws_queryRuleSetDoesNotExistExceptionResponse(parsedOutput, context);
|
|
957
957
|
default:
|
|
@@ -981,17 +981,17 @@ exports.deserializeAws_queryCreateConfigurationSetCommand = deserializeAws_query
|
|
|
981
981
|
const deserializeAws_queryCreateConfigurationSetCommandError = async (output, context) => {
|
|
982
982
|
const parsedOutput = {
|
|
983
983
|
...output,
|
|
984
|
-
body: await
|
|
984
|
+
body: await parseErrorBody(output.body, context),
|
|
985
985
|
};
|
|
986
986
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
987
987
|
switch (errorCode) {
|
|
988
|
-
case "
|
|
988
|
+
case "ConfigurationSetAlreadyExists":
|
|
989
989
|
case "com.amazonaws.ses#ConfigurationSetAlreadyExistsException":
|
|
990
990
|
throw await deserializeAws_queryConfigurationSetAlreadyExistsExceptionResponse(parsedOutput, context);
|
|
991
|
-
case "
|
|
991
|
+
case "InvalidConfigurationSet":
|
|
992
992
|
case "com.amazonaws.ses#InvalidConfigurationSetException":
|
|
993
993
|
throw await deserializeAws_queryInvalidConfigurationSetExceptionResponse(parsedOutput, context);
|
|
994
|
-
case "
|
|
994
|
+
case "LimitExceeded":
|
|
995
995
|
case "com.amazonaws.ses#LimitExceededException":
|
|
996
996
|
throw await deserializeAws_queryLimitExceededExceptionResponse(parsedOutput, context);
|
|
997
997
|
default:
|
|
@@ -1021,26 +1021,26 @@ exports.deserializeAws_queryCreateConfigurationSetEventDestinationCommand = dese
|
|
|
1021
1021
|
const deserializeAws_queryCreateConfigurationSetEventDestinationCommandError = async (output, context) => {
|
|
1022
1022
|
const parsedOutput = {
|
|
1023
1023
|
...output,
|
|
1024
|
-
body: await
|
|
1024
|
+
body: await parseErrorBody(output.body, context),
|
|
1025
1025
|
};
|
|
1026
1026
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
1027
1027
|
switch (errorCode) {
|
|
1028
|
-
case "
|
|
1028
|
+
case "ConfigurationSetDoesNotExist":
|
|
1029
1029
|
case "com.amazonaws.ses#ConfigurationSetDoesNotExistException":
|
|
1030
1030
|
throw await deserializeAws_queryConfigurationSetDoesNotExistExceptionResponse(parsedOutput, context);
|
|
1031
|
-
case "
|
|
1031
|
+
case "EventDestinationAlreadyExists":
|
|
1032
1032
|
case "com.amazonaws.ses#EventDestinationAlreadyExistsException":
|
|
1033
1033
|
throw await deserializeAws_queryEventDestinationAlreadyExistsExceptionResponse(parsedOutput, context);
|
|
1034
|
-
case "
|
|
1034
|
+
case "InvalidCloudWatchDestination":
|
|
1035
1035
|
case "com.amazonaws.ses#InvalidCloudWatchDestinationException":
|
|
1036
1036
|
throw await deserializeAws_queryInvalidCloudWatchDestinationExceptionResponse(parsedOutput, context);
|
|
1037
|
-
case "
|
|
1037
|
+
case "InvalidFirehoseDestination":
|
|
1038
1038
|
case "com.amazonaws.ses#InvalidFirehoseDestinationException":
|
|
1039
1039
|
throw await deserializeAws_queryInvalidFirehoseDestinationExceptionResponse(parsedOutput, context);
|
|
1040
|
-
case "
|
|
1040
|
+
case "InvalidSNSDestination":
|
|
1041
1041
|
case "com.amazonaws.ses#InvalidSNSDestinationException":
|
|
1042
1042
|
throw await deserializeAws_queryInvalidSNSDestinationExceptionResponse(parsedOutput, context);
|
|
1043
|
-
case "
|
|
1043
|
+
case "LimitExceeded":
|
|
1044
1044
|
case "com.amazonaws.ses#LimitExceededException":
|
|
1045
1045
|
throw await deserializeAws_queryLimitExceededExceptionResponse(parsedOutput, context);
|
|
1046
1046
|
default:
|
|
@@ -1070,14 +1070,14 @@ exports.deserializeAws_queryCreateConfigurationSetTrackingOptionsCommand = deser
|
|
|
1070
1070
|
const deserializeAws_queryCreateConfigurationSetTrackingOptionsCommandError = async (output, context) => {
|
|
1071
1071
|
const parsedOutput = {
|
|
1072
1072
|
...output,
|
|
1073
|
-
body: await
|
|
1073
|
+
body: await parseErrorBody(output.body, context),
|
|
1074
1074
|
};
|
|
1075
1075
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
1076
1076
|
switch (errorCode) {
|
|
1077
|
-
case "
|
|
1077
|
+
case "ConfigurationSetDoesNotExist":
|
|
1078
1078
|
case "com.amazonaws.ses#ConfigurationSetDoesNotExistException":
|
|
1079
1079
|
throw await deserializeAws_queryConfigurationSetDoesNotExistExceptionResponse(parsedOutput, context);
|
|
1080
|
-
case "
|
|
1080
|
+
case "InvalidTrackingOptions":
|
|
1081
1081
|
case "com.amazonaws.ses#InvalidTrackingOptionsException":
|
|
1082
1082
|
throw await deserializeAws_queryInvalidTrackingOptionsExceptionResponse(parsedOutput, context);
|
|
1083
1083
|
case "TrackingOptionsAlreadyExistsException":
|
|
@@ -1107,20 +1107,20 @@ exports.deserializeAws_queryCreateCustomVerificationEmailTemplateCommand = deser
|
|
|
1107
1107
|
const deserializeAws_queryCreateCustomVerificationEmailTemplateCommandError = async (output, context) => {
|
|
1108
1108
|
const parsedOutput = {
|
|
1109
1109
|
...output,
|
|
1110
|
-
body: await
|
|
1110
|
+
body: await parseErrorBody(output.body, context),
|
|
1111
1111
|
};
|
|
1112
1112
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
1113
1113
|
switch (errorCode) {
|
|
1114
|
-
case "
|
|
1114
|
+
case "CustomVerificationEmailInvalidContent":
|
|
1115
1115
|
case "com.amazonaws.ses#CustomVerificationEmailInvalidContentException":
|
|
1116
1116
|
throw await deserializeAws_queryCustomVerificationEmailInvalidContentExceptionResponse(parsedOutput, context);
|
|
1117
|
-
case "
|
|
1117
|
+
case "CustomVerificationEmailTemplateAlreadyExists":
|
|
1118
1118
|
case "com.amazonaws.ses#CustomVerificationEmailTemplateAlreadyExistsException":
|
|
1119
1119
|
throw await deserializeAws_queryCustomVerificationEmailTemplateAlreadyExistsExceptionResponse(parsedOutput, context);
|
|
1120
|
-
case "
|
|
1120
|
+
case "FromEmailAddressNotVerified":
|
|
1121
1121
|
case "com.amazonaws.ses#FromEmailAddressNotVerifiedException":
|
|
1122
1122
|
throw await deserializeAws_queryFromEmailAddressNotVerifiedExceptionResponse(parsedOutput, context);
|
|
1123
|
-
case "
|
|
1123
|
+
case "LimitExceeded":
|
|
1124
1124
|
case "com.amazonaws.ses#LimitExceededException":
|
|
1125
1125
|
throw await deserializeAws_queryLimitExceededExceptionResponse(parsedOutput, context);
|
|
1126
1126
|
default:
|
|
@@ -1150,14 +1150,14 @@ exports.deserializeAws_queryCreateReceiptFilterCommand = deserializeAws_queryCre
|
|
|
1150
1150
|
const deserializeAws_queryCreateReceiptFilterCommandError = async (output, context) => {
|
|
1151
1151
|
const parsedOutput = {
|
|
1152
1152
|
...output,
|
|
1153
|
-
body: await
|
|
1153
|
+
body: await parseErrorBody(output.body, context),
|
|
1154
1154
|
};
|
|
1155
1155
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
1156
1156
|
switch (errorCode) {
|
|
1157
|
-
case "
|
|
1157
|
+
case "AlreadyExists":
|
|
1158
1158
|
case "com.amazonaws.ses#AlreadyExistsException":
|
|
1159
1159
|
throw await deserializeAws_queryAlreadyExistsExceptionResponse(parsedOutput, context);
|
|
1160
|
-
case "
|
|
1160
|
+
case "LimitExceeded":
|
|
1161
1161
|
case "com.amazonaws.ses#LimitExceededException":
|
|
1162
1162
|
throw await deserializeAws_queryLimitExceededExceptionResponse(parsedOutput, context);
|
|
1163
1163
|
default:
|
|
@@ -1187,29 +1187,29 @@ exports.deserializeAws_queryCreateReceiptRuleCommand = deserializeAws_queryCreat
|
|
|
1187
1187
|
const deserializeAws_queryCreateReceiptRuleCommandError = async (output, context) => {
|
|
1188
1188
|
const parsedOutput = {
|
|
1189
1189
|
...output,
|
|
1190
|
-
body: await
|
|
1190
|
+
body: await parseErrorBody(output.body, context),
|
|
1191
1191
|
};
|
|
1192
1192
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
1193
1193
|
switch (errorCode) {
|
|
1194
|
-
case "
|
|
1194
|
+
case "AlreadyExists":
|
|
1195
1195
|
case "com.amazonaws.ses#AlreadyExistsException":
|
|
1196
1196
|
throw await deserializeAws_queryAlreadyExistsExceptionResponse(parsedOutput, context);
|
|
1197
|
-
case "
|
|
1197
|
+
case "InvalidLambdaFunction":
|
|
1198
1198
|
case "com.amazonaws.ses#InvalidLambdaFunctionException":
|
|
1199
1199
|
throw await deserializeAws_queryInvalidLambdaFunctionExceptionResponse(parsedOutput, context);
|
|
1200
|
-
case "
|
|
1200
|
+
case "InvalidS3Configuration":
|
|
1201
1201
|
case "com.amazonaws.ses#InvalidS3ConfigurationException":
|
|
1202
1202
|
throw await deserializeAws_queryInvalidS3ConfigurationExceptionResponse(parsedOutput, context);
|
|
1203
|
-
case "
|
|
1203
|
+
case "InvalidSnsTopic":
|
|
1204
1204
|
case "com.amazonaws.ses#InvalidSnsTopicException":
|
|
1205
1205
|
throw await deserializeAws_queryInvalidSnsTopicExceptionResponse(parsedOutput, context);
|
|
1206
|
-
case "
|
|
1206
|
+
case "LimitExceeded":
|
|
1207
1207
|
case "com.amazonaws.ses#LimitExceededException":
|
|
1208
1208
|
throw await deserializeAws_queryLimitExceededExceptionResponse(parsedOutput, context);
|
|
1209
|
-
case "
|
|
1209
|
+
case "RuleDoesNotExist":
|
|
1210
1210
|
case "com.amazonaws.ses#RuleDoesNotExistException":
|
|
1211
1211
|
throw await deserializeAws_queryRuleDoesNotExistExceptionResponse(parsedOutput, context);
|
|
1212
|
-
case "
|
|
1212
|
+
case "RuleSetDoesNotExist":
|
|
1213
1213
|
case "com.amazonaws.ses#RuleSetDoesNotExistException":
|
|
1214
1214
|
throw await deserializeAws_queryRuleSetDoesNotExistExceptionResponse(parsedOutput, context);
|
|
1215
1215
|
default:
|
|
@@ -1239,14 +1239,14 @@ exports.deserializeAws_queryCreateReceiptRuleSetCommand = deserializeAws_queryCr
|
|
|
1239
1239
|
const deserializeAws_queryCreateReceiptRuleSetCommandError = async (output, context) => {
|
|
1240
1240
|
const parsedOutput = {
|
|
1241
1241
|
...output,
|
|
1242
|
-
body: await
|
|
1242
|
+
body: await parseErrorBody(output.body, context),
|
|
1243
1243
|
};
|
|
1244
1244
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
1245
1245
|
switch (errorCode) {
|
|
1246
|
-
case "
|
|
1246
|
+
case "AlreadyExists":
|
|
1247
1247
|
case "com.amazonaws.ses#AlreadyExistsException":
|
|
1248
1248
|
throw await deserializeAws_queryAlreadyExistsExceptionResponse(parsedOutput, context);
|
|
1249
|
-
case "
|
|
1249
|
+
case "LimitExceeded":
|
|
1250
1250
|
case "com.amazonaws.ses#LimitExceededException":
|
|
1251
1251
|
throw await deserializeAws_queryLimitExceededExceptionResponse(parsedOutput, context);
|
|
1252
1252
|
default:
|
|
@@ -1276,17 +1276,17 @@ exports.deserializeAws_queryCreateTemplateCommand = deserializeAws_queryCreateTe
|
|
|
1276
1276
|
const deserializeAws_queryCreateTemplateCommandError = async (output, context) => {
|
|
1277
1277
|
const parsedOutput = {
|
|
1278
1278
|
...output,
|
|
1279
|
-
body: await
|
|
1279
|
+
body: await parseErrorBody(output.body, context),
|
|
1280
1280
|
};
|
|
1281
1281
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
1282
1282
|
switch (errorCode) {
|
|
1283
|
-
case "
|
|
1283
|
+
case "AlreadyExists":
|
|
1284
1284
|
case "com.amazonaws.ses#AlreadyExistsException":
|
|
1285
1285
|
throw await deserializeAws_queryAlreadyExistsExceptionResponse(parsedOutput, context);
|
|
1286
|
-
case "
|
|
1286
|
+
case "InvalidTemplate":
|
|
1287
1287
|
case "com.amazonaws.ses#InvalidTemplateException":
|
|
1288
1288
|
throw await deserializeAws_queryInvalidTemplateExceptionResponse(parsedOutput, context);
|
|
1289
|
-
case "
|
|
1289
|
+
case "LimitExceeded":
|
|
1290
1290
|
case "com.amazonaws.ses#LimitExceededException":
|
|
1291
1291
|
throw await deserializeAws_queryLimitExceededExceptionResponse(parsedOutput, context);
|
|
1292
1292
|
default:
|
|
@@ -1316,11 +1316,11 @@ exports.deserializeAws_queryDeleteConfigurationSetCommand = deserializeAws_query
|
|
|
1316
1316
|
const deserializeAws_queryDeleteConfigurationSetCommandError = async (output, context) => {
|
|
1317
1317
|
const parsedOutput = {
|
|
1318
1318
|
...output,
|
|
1319
|
-
body: await
|
|
1319
|
+
body: await parseErrorBody(output.body, context),
|
|
1320
1320
|
};
|
|
1321
1321
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
1322
1322
|
switch (errorCode) {
|
|
1323
|
-
case "
|
|
1323
|
+
case "ConfigurationSetDoesNotExist":
|
|
1324
1324
|
case "com.amazonaws.ses#ConfigurationSetDoesNotExistException":
|
|
1325
1325
|
throw await deserializeAws_queryConfigurationSetDoesNotExistExceptionResponse(parsedOutput, context);
|
|
1326
1326
|
default:
|
|
@@ -1350,14 +1350,14 @@ exports.deserializeAws_queryDeleteConfigurationSetEventDestinationCommand = dese
|
|
|
1350
1350
|
const deserializeAws_queryDeleteConfigurationSetEventDestinationCommandError = async (output, context) => {
|
|
1351
1351
|
const parsedOutput = {
|
|
1352
1352
|
...output,
|
|
1353
|
-
body: await
|
|
1353
|
+
body: await parseErrorBody(output.body, context),
|
|
1354
1354
|
};
|
|
1355
1355
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
1356
1356
|
switch (errorCode) {
|
|
1357
|
-
case "
|
|
1357
|
+
case "ConfigurationSetDoesNotExist":
|
|
1358
1358
|
case "com.amazonaws.ses#ConfigurationSetDoesNotExistException":
|
|
1359
1359
|
throw await deserializeAws_queryConfigurationSetDoesNotExistExceptionResponse(parsedOutput, context);
|
|
1360
|
-
case "
|
|
1360
|
+
case "EventDestinationDoesNotExist":
|
|
1361
1361
|
case "com.amazonaws.ses#EventDestinationDoesNotExistException":
|
|
1362
1362
|
throw await deserializeAws_queryEventDestinationDoesNotExistExceptionResponse(parsedOutput, context);
|
|
1363
1363
|
default:
|
|
@@ -1387,11 +1387,11 @@ exports.deserializeAws_queryDeleteConfigurationSetTrackingOptionsCommand = deser
|
|
|
1387
1387
|
const deserializeAws_queryDeleteConfigurationSetTrackingOptionsCommandError = async (output, context) => {
|
|
1388
1388
|
const parsedOutput = {
|
|
1389
1389
|
...output,
|
|
1390
|
-
body: await
|
|
1390
|
+
body: await parseErrorBody(output.body, context),
|
|
1391
1391
|
};
|
|
1392
1392
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
1393
1393
|
switch (errorCode) {
|
|
1394
|
-
case "
|
|
1394
|
+
case "ConfigurationSetDoesNotExist":
|
|
1395
1395
|
case "com.amazonaws.ses#ConfigurationSetDoesNotExistException":
|
|
1396
1396
|
throw await deserializeAws_queryConfigurationSetDoesNotExistExceptionResponse(parsedOutput, context);
|
|
1397
1397
|
case "TrackingOptionsDoesNotExistException":
|
|
@@ -1421,7 +1421,7 @@ exports.deserializeAws_queryDeleteCustomVerificationEmailTemplateCommand = deser
|
|
|
1421
1421
|
const deserializeAws_queryDeleteCustomVerificationEmailTemplateCommandError = async (output, context) => {
|
|
1422
1422
|
const parsedOutput = {
|
|
1423
1423
|
...output,
|
|
1424
|
-
body: await
|
|
1424
|
+
body: await parseErrorBody(output.body, context),
|
|
1425
1425
|
};
|
|
1426
1426
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
1427
1427
|
const parsedBody = parsedOutput.body;
|
|
@@ -1449,7 +1449,7 @@ exports.deserializeAws_queryDeleteIdentityCommand = deserializeAws_queryDeleteId
|
|
|
1449
1449
|
const deserializeAws_queryDeleteIdentityCommandError = async (output, context) => {
|
|
1450
1450
|
const parsedOutput = {
|
|
1451
1451
|
...output,
|
|
1452
|
-
body: await
|
|
1452
|
+
body: await parseErrorBody(output.body, context),
|
|
1453
1453
|
};
|
|
1454
1454
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
1455
1455
|
const parsedBody = parsedOutput.body;
|
|
@@ -1477,7 +1477,7 @@ exports.deserializeAws_queryDeleteIdentityPolicyCommand = deserializeAws_queryDe
|
|
|
1477
1477
|
const deserializeAws_queryDeleteIdentityPolicyCommandError = async (output, context) => {
|
|
1478
1478
|
const parsedOutput = {
|
|
1479
1479
|
...output,
|
|
1480
|
-
body: await
|
|
1480
|
+
body: await parseErrorBody(output.body, context),
|
|
1481
1481
|
};
|
|
1482
1482
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
1483
1483
|
const parsedBody = parsedOutput.body;
|
|
@@ -1505,7 +1505,7 @@ exports.deserializeAws_queryDeleteReceiptFilterCommand = deserializeAws_queryDel
|
|
|
1505
1505
|
const deserializeAws_queryDeleteReceiptFilterCommandError = async (output, context) => {
|
|
1506
1506
|
const parsedOutput = {
|
|
1507
1507
|
...output,
|
|
1508
|
-
body: await
|
|
1508
|
+
body: await parseErrorBody(output.body, context),
|
|
1509
1509
|
};
|
|
1510
1510
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
1511
1511
|
const parsedBody = parsedOutput.body;
|
|
@@ -1533,11 +1533,11 @@ exports.deserializeAws_queryDeleteReceiptRuleCommand = deserializeAws_queryDelet
|
|
|
1533
1533
|
const deserializeAws_queryDeleteReceiptRuleCommandError = async (output, context) => {
|
|
1534
1534
|
const parsedOutput = {
|
|
1535
1535
|
...output,
|
|
1536
|
-
body: await
|
|
1536
|
+
body: await parseErrorBody(output.body, context),
|
|
1537
1537
|
};
|
|
1538
1538
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
1539
1539
|
switch (errorCode) {
|
|
1540
|
-
case "
|
|
1540
|
+
case "RuleSetDoesNotExist":
|
|
1541
1541
|
case "com.amazonaws.ses#RuleSetDoesNotExistException":
|
|
1542
1542
|
throw await deserializeAws_queryRuleSetDoesNotExistExceptionResponse(parsedOutput, context);
|
|
1543
1543
|
default:
|
|
@@ -1567,11 +1567,11 @@ exports.deserializeAws_queryDeleteReceiptRuleSetCommand = deserializeAws_queryDe
|
|
|
1567
1567
|
const deserializeAws_queryDeleteReceiptRuleSetCommandError = async (output, context) => {
|
|
1568
1568
|
const parsedOutput = {
|
|
1569
1569
|
...output,
|
|
1570
|
-
body: await
|
|
1570
|
+
body: await parseErrorBody(output.body, context),
|
|
1571
1571
|
};
|
|
1572
1572
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
1573
1573
|
switch (errorCode) {
|
|
1574
|
-
case "
|
|
1574
|
+
case "CannotDelete":
|
|
1575
1575
|
case "com.amazonaws.ses#CannotDeleteException":
|
|
1576
1576
|
throw await deserializeAws_queryCannotDeleteExceptionResponse(parsedOutput, context);
|
|
1577
1577
|
default:
|
|
@@ -1601,7 +1601,7 @@ exports.deserializeAws_queryDeleteTemplateCommand = deserializeAws_queryDeleteTe
|
|
|
1601
1601
|
const deserializeAws_queryDeleteTemplateCommandError = async (output, context) => {
|
|
1602
1602
|
const parsedOutput = {
|
|
1603
1603
|
...output,
|
|
1604
|
-
body: await
|
|
1604
|
+
body: await parseErrorBody(output.body, context),
|
|
1605
1605
|
};
|
|
1606
1606
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
1607
1607
|
const parsedBody = parsedOutput.body;
|
|
@@ -1626,7 +1626,7 @@ exports.deserializeAws_queryDeleteVerifiedEmailAddressCommand = deserializeAws_q
|
|
|
1626
1626
|
const deserializeAws_queryDeleteVerifiedEmailAddressCommandError = async (output, context) => {
|
|
1627
1627
|
const parsedOutput = {
|
|
1628
1628
|
...output,
|
|
1629
|
-
body: await
|
|
1629
|
+
body: await parseErrorBody(output.body, context),
|
|
1630
1630
|
};
|
|
1631
1631
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
1632
1632
|
const parsedBody = parsedOutput.body;
|
|
@@ -1654,7 +1654,7 @@ exports.deserializeAws_queryDescribeActiveReceiptRuleSetCommand = deserializeAws
|
|
|
1654
1654
|
const deserializeAws_queryDescribeActiveReceiptRuleSetCommandError = async (output, context) => {
|
|
1655
1655
|
const parsedOutput = {
|
|
1656
1656
|
...output,
|
|
1657
|
-
body: await
|
|
1657
|
+
body: await parseErrorBody(output.body, context),
|
|
1658
1658
|
};
|
|
1659
1659
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
1660
1660
|
const parsedBody = parsedOutput.body;
|
|
@@ -1682,11 +1682,11 @@ exports.deserializeAws_queryDescribeConfigurationSetCommand = deserializeAws_que
|
|
|
1682
1682
|
const deserializeAws_queryDescribeConfigurationSetCommandError = async (output, context) => {
|
|
1683
1683
|
const parsedOutput = {
|
|
1684
1684
|
...output,
|
|
1685
|
-
body: await
|
|
1685
|
+
body: await parseErrorBody(output.body, context),
|
|
1686
1686
|
};
|
|
1687
1687
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
1688
1688
|
switch (errorCode) {
|
|
1689
|
-
case "
|
|
1689
|
+
case "ConfigurationSetDoesNotExist":
|
|
1690
1690
|
case "com.amazonaws.ses#ConfigurationSetDoesNotExistException":
|
|
1691
1691
|
throw await deserializeAws_queryConfigurationSetDoesNotExistExceptionResponse(parsedOutput, context);
|
|
1692
1692
|
default:
|
|
@@ -1716,14 +1716,14 @@ exports.deserializeAws_queryDescribeReceiptRuleCommand = deserializeAws_queryDes
|
|
|
1716
1716
|
const deserializeAws_queryDescribeReceiptRuleCommandError = async (output, context) => {
|
|
1717
1717
|
const parsedOutput = {
|
|
1718
1718
|
...output,
|
|
1719
|
-
body: await
|
|
1719
|
+
body: await parseErrorBody(output.body, context),
|
|
1720
1720
|
};
|
|
1721
1721
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
1722
1722
|
switch (errorCode) {
|
|
1723
|
-
case "
|
|
1723
|
+
case "RuleDoesNotExist":
|
|
1724
1724
|
case "com.amazonaws.ses#RuleDoesNotExistException":
|
|
1725
1725
|
throw await deserializeAws_queryRuleDoesNotExistExceptionResponse(parsedOutput, context);
|
|
1726
|
-
case "
|
|
1726
|
+
case "RuleSetDoesNotExist":
|
|
1727
1727
|
case "com.amazonaws.ses#RuleSetDoesNotExistException":
|
|
1728
1728
|
throw await deserializeAws_queryRuleSetDoesNotExistExceptionResponse(parsedOutput, context);
|
|
1729
1729
|
default:
|
|
@@ -1753,11 +1753,11 @@ exports.deserializeAws_queryDescribeReceiptRuleSetCommand = deserializeAws_query
|
|
|
1753
1753
|
const deserializeAws_queryDescribeReceiptRuleSetCommandError = async (output, context) => {
|
|
1754
1754
|
const parsedOutput = {
|
|
1755
1755
|
...output,
|
|
1756
|
-
body: await
|
|
1756
|
+
body: await parseErrorBody(output.body, context),
|
|
1757
1757
|
};
|
|
1758
1758
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
1759
1759
|
switch (errorCode) {
|
|
1760
|
-
case "
|
|
1760
|
+
case "RuleSetDoesNotExist":
|
|
1761
1761
|
case "com.amazonaws.ses#RuleSetDoesNotExistException":
|
|
1762
1762
|
throw await deserializeAws_queryRuleSetDoesNotExistExceptionResponse(parsedOutput, context);
|
|
1763
1763
|
default:
|
|
@@ -1787,7 +1787,7 @@ exports.deserializeAws_queryGetAccountSendingEnabledCommand = deserializeAws_que
|
|
|
1787
1787
|
const deserializeAws_queryGetAccountSendingEnabledCommandError = async (output, context) => {
|
|
1788
1788
|
const parsedOutput = {
|
|
1789
1789
|
...output,
|
|
1790
|
-
body: await
|
|
1790
|
+
body: await parseErrorBody(output.body, context),
|
|
1791
1791
|
};
|
|
1792
1792
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
1793
1793
|
const parsedBody = parsedOutput.body;
|
|
@@ -1815,11 +1815,11 @@ exports.deserializeAws_queryGetCustomVerificationEmailTemplateCommand = deserial
|
|
|
1815
1815
|
const deserializeAws_queryGetCustomVerificationEmailTemplateCommandError = async (output, context) => {
|
|
1816
1816
|
const parsedOutput = {
|
|
1817
1817
|
...output,
|
|
1818
|
-
body: await
|
|
1818
|
+
body: await parseErrorBody(output.body, context),
|
|
1819
1819
|
};
|
|
1820
1820
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
1821
1821
|
switch (errorCode) {
|
|
1822
|
-
case "
|
|
1822
|
+
case "CustomVerificationEmailTemplateDoesNotExist":
|
|
1823
1823
|
case "com.amazonaws.ses#CustomVerificationEmailTemplateDoesNotExistException":
|
|
1824
1824
|
throw await deserializeAws_queryCustomVerificationEmailTemplateDoesNotExistExceptionResponse(parsedOutput, context);
|
|
1825
1825
|
default:
|
|
@@ -1849,7 +1849,7 @@ exports.deserializeAws_queryGetIdentityDkimAttributesCommand = deserializeAws_qu
|
|
|
1849
1849
|
const deserializeAws_queryGetIdentityDkimAttributesCommandError = async (output, context) => {
|
|
1850
1850
|
const parsedOutput = {
|
|
1851
1851
|
...output,
|
|
1852
|
-
body: await
|
|
1852
|
+
body: await parseErrorBody(output.body, context),
|
|
1853
1853
|
};
|
|
1854
1854
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
1855
1855
|
const parsedBody = parsedOutput.body;
|
|
@@ -1877,7 +1877,7 @@ exports.deserializeAws_queryGetIdentityMailFromDomainAttributesCommand = deseria
|
|
|
1877
1877
|
const deserializeAws_queryGetIdentityMailFromDomainAttributesCommandError = async (output, context) => {
|
|
1878
1878
|
const parsedOutput = {
|
|
1879
1879
|
...output,
|
|
1880
|
-
body: await
|
|
1880
|
+
body: await parseErrorBody(output.body, context),
|
|
1881
1881
|
};
|
|
1882
1882
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
1883
1883
|
const parsedBody = parsedOutput.body;
|
|
@@ -1905,7 +1905,7 @@ exports.deserializeAws_queryGetIdentityNotificationAttributesCommand = deseriali
|
|
|
1905
1905
|
const deserializeAws_queryGetIdentityNotificationAttributesCommandError = async (output, context) => {
|
|
1906
1906
|
const parsedOutput = {
|
|
1907
1907
|
...output,
|
|
1908
|
-
body: await
|
|
1908
|
+
body: await parseErrorBody(output.body, context),
|
|
1909
1909
|
};
|
|
1910
1910
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
1911
1911
|
const parsedBody = parsedOutput.body;
|
|
@@ -1933,7 +1933,7 @@ exports.deserializeAws_queryGetIdentityPoliciesCommand = deserializeAws_queryGet
|
|
|
1933
1933
|
const deserializeAws_queryGetIdentityPoliciesCommandError = async (output, context) => {
|
|
1934
1934
|
const parsedOutput = {
|
|
1935
1935
|
...output,
|
|
1936
|
-
body: await
|
|
1936
|
+
body: await parseErrorBody(output.body, context),
|
|
1937
1937
|
};
|
|
1938
1938
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
1939
1939
|
const parsedBody = parsedOutput.body;
|
|
@@ -1961,7 +1961,7 @@ exports.deserializeAws_queryGetIdentityVerificationAttributesCommand = deseriali
|
|
|
1961
1961
|
const deserializeAws_queryGetIdentityVerificationAttributesCommandError = async (output, context) => {
|
|
1962
1962
|
const parsedOutput = {
|
|
1963
1963
|
...output,
|
|
1964
|
-
body: await
|
|
1964
|
+
body: await parseErrorBody(output.body, context),
|
|
1965
1965
|
};
|
|
1966
1966
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
1967
1967
|
const parsedBody = parsedOutput.body;
|
|
@@ -1989,7 +1989,7 @@ exports.deserializeAws_queryGetSendQuotaCommand = deserializeAws_queryGetSendQuo
|
|
|
1989
1989
|
const deserializeAws_queryGetSendQuotaCommandError = async (output, context) => {
|
|
1990
1990
|
const parsedOutput = {
|
|
1991
1991
|
...output,
|
|
1992
|
-
body: await
|
|
1992
|
+
body: await parseErrorBody(output.body, context),
|
|
1993
1993
|
};
|
|
1994
1994
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
1995
1995
|
const parsedBody = parsedOutput.body;
|
|
@@ -2017,7 +2017,7 @@ exports.deserializeAws_queryGetSendStatisticsCommand = deserializeAws_queryGetSe
|
|
|
2017
2017
|
const deserializeAws_queryGetSendStatisticsCommandError = async (output, context) => {
|
|
2018
2018
|
const parsedOutput = {
|
|
2019
2019
|
...output,
|
|
2020
|
-
body: await
|
|
2020
|
+
body: await parseErrorBody(output.body, context),
|
|
2021
2021
|
};
|
|
2022
2022
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
2023
2023
|
const parsedBody = parsedOutput.body;
|
|
@@ -2045,11 +2045,11 @@ exports.deserializeAws_queryGetTemplateCommand = deserializeAws_queryGetTemplate
|
|
|
2045
2045
|
const deserializeAws_queryGetTemplateCommandError = async (output, context) => {
|
|
2046
2046
|
const parsedOutput = {
|
|
2047
2047
|
...output,
|
|
2048
|
-
body: await
|
|
2048
|
+
body: await parseErrorBody(output.body, context),
|
|
2049
2049
|
};
|
|
2050
2050
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
2051
2051
|
switch (errorCode) {
|
|
2052
|
-
case "
|
|
2052
|
+
case "TemplateDoesNotExist":
|
|
2053
2053
|
case "com.amazonaws.ses#TemplateDoesNotExistException":
|
|
2054
2054
|
throw await deserializeAws_queryTemplateDoesNotExistExceptionResponse(parsedOutput, context);
|
|
2055
2055
|
default:
|
|
@@ -2079,7 +2079,7 @@ exports.deserializeAws_queryListConfigurationSetsCommand = deserializeAws_queryL
|
|
|
2079
2079
|
const deserializeAws_queryListConfigurationSetsCommandError = async (output, context) => {
|
|
2080
2080
|
const parsedOutput = {
|
|
2081
2081
|
...output,
|
|
2082
|
-
body: await
|
|
2082
|
+
body: await parseErrorBody(output.body, context),
|
|
2083
2083
|
};
|
|
2084
2084
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
2085
2085
|
const parsedBody = parsedOutput.body;
|
|
@@ -2107,7 +2107,7 @@ exports.deserializeAws_queryListCustomVerificationEmailTemplatesCommand = deseri
|
|
|
2107
2107
|
const deserializeAws_queryListCustomVerificationEmailTemplatesCommandError = async (output, context) => {
|
|
2108
2108
|
const parsedOutput = {
|
|
2109
2109
|
...output,
|
|
2110
|
-
body: await
|
|
2110
|
+
body: await parseErrorBody(output.body, context),
|
|
2111
2111
|
};
|
|
2112
2112
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
2113
2113
|
const parsedBody = parsedOutput.body;
|
|
@@ -2135,7 +2135,7 @@ exports.deserializeAws_queryListIdentitiesCommand = deserializeAws_queryListIden
|
|
|
2135
2135
|
const deserializeAws_queryListIdentitiesCommandError = async (output, context) => {
|
|
2136
2136
|
const parsedOutput = {
|
|
2137
2137
|
...output,
|
|
2138
|
-
body: await
|
|
2138
|
+
body: await parseErrorBody(output.body, context),
|
|
2139
2139
|
};
|
|
2140
2140
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
2141
2141
|
const parsedBody = parsedOutput.body;
|
|
@@ -2163,7 +2163,7 @@ exports.deserializeAws_queryListIdentityPoliciesCommand = deserializeAws_queryLi
|
|
|
2163
2163
|
const deserializeAws_queryListIdentityPoliciesCommandError = async (output, context) => {
|
|
2164
2164
|
const parsedOutput = {
|
|
2165
2165
|
...output,
|
|
2166
|
-
body: await
|
|
2166
|
+
body: await parseErrorBody(output.body, context),
|
|
2167
2167
|
};
|
|
2168
2168
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
2169
2169
|
const parsedBody = parsedOutput.body;
|
|
@@ -2191,7 +2191,7 @@ exports.deserializeAws_queryListReceiptFiltersCommand = deserializeAws_queryList
|
|
|
2191
2191
|
const deserializeAws_queryListReceiptFiltersCommandError = async (output, context) => {
|
|
2192
2192
|
const parsedOutput = {
|
|
2193
2193
|
...output,
|
|
2194
|
-
body: await
|
|
2194
|
+
body: await parseErrorBody(output.body, context),
|
|
2195
2195
|
};
|
|
2196
2196
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
2197
2197
|
const parsedBody = parsedOutput.body;
|
|
@@ -2219,7 +2219,7 @@ exports.deserializeAws_queryListReceiptRuleSetsCommand = deserializeAws_queryLis
|
|
|
2219
2219
|
const deserializeAws_queryListReceiptRuleSetsCommandError = async (output, context) => {
|
|
2220
2220
|
const parsedOutput = {
|
|
2221
2221
|
...output,
|
|
2222
|
-
body: await
|
|
2222
|
+
body: await parseErrorBody(output.body, context),
|
|
2223
2223
|
};
|
|
2224
2224
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
2225
2225
|
const parsedBody = parsedOutput.body;
|
|
@@ -2247,7 +2247,7 @@ exports.deserializeAws_queryListTemplatesCommand = deserializeAws_queryListTempl
|
|
|
2247
2247
|
const deserializeAws_queryListTemplatesCommandError = async (output, context) => {
|
|
2248
2248
|
const parsedOutput = {
|
|
2249
2249
|
...output,
|
|
2250
|
-
body: await
|
|
2250
|
+
body: await parseErrorBody(output.body, context),
|
|
2251
2251
|
};
|
|
2252
2252
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
2253
2253
|
const parsedBody = parsedOutput.body;
|
|
@@ -2275,7 +2275,7 @@ exports.deserializeAws_queryListVerifiedEmailAddressesCommand = deserializeAws_q
|
|
|
2275
2275
|
const deserializeAws_queryListVerifiedEmailAddressesCommandError = async (output, context) => {
|
|
2276
2276
|
const parsedOutput = {
|
|
2277
2277
|
...output,
|
|
2278
|
-
body: await
|
|
2278
|
+
body: await parseErrorBody(output.body, context),
|
|
2279
2279
|
};
|
|
2280
2280
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
2281
2281
|
const parsedBody = parsedOutput.body;
|
|
@@ -2303,14 +2303,14 @@ exports.deserializeAws_queryPutConfigurationSetDeliveryOptionsCommand = deserial
|
|
|
2303
2303
|
const deserializeAws_queryPutConfigurationSetDeliveryOptionsCommandError = async (output, context) => {
|
|
2304
2304
|
const parsedOutput = {
|
|
2305
2305
|
...output,
|
|
2306
|
-
body: await
|
|
2306
|
+
body: await parseErrorBody(output.body, context),
|
|
2307
2307
|
};
|
|
2308
2308
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
2309
2309
|
switch (errorCode) {
|
|
2310
|
-
case "
|
|
2310
|
+
case "ConfigurationSetDoesNotExist":
|
|
2311
2311
|
case "com.amazonaws.ses#ConfigurationSetDoesNotExistException":
|
|
2312
2312
|
throw await deserializeAws_queryConfigurationSetDoesNotExistExceptionResponse(parsedOutput, context);
|
|
2313
|
-
case "
|
|
2313
|
+
case "InvalidDeliveryOptions":
|
|
2314
2314
|
case "com.amazonaws.ses#InvalidDeliveryOptionsException":
|
|
2315
2315
|
throw await deserializeAws_queryInvalidDeliveryOptionsExceptionResponse(parsedOutput, context);
|
|
2316
2316
|
default:
|
|
@@ -2340,11 +2340,11 @@ exports.deserializeAws_queryPutIdentityPolicyCommand = deserializeAws_queryPutId
|
|
|
2340
2340
|
const deserializeAws_queryPutIdentityPolicyCommandError = async (output, context) => {
|
|
2341
2341
|
const parsedOutput = {
|
|
2342
2342
|
...output,
|
|
2343
|
-
body: await
|
|
2343
|
+
body: await parseErrorBody(output.body, context),
|
|
2344
2344
|
};
|
|
2345
2345
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
2346
2346
|
switch (errorCode) {
|
|
2347
|
-
case "
|
|
2347
|
+
case "InvalidPolicy":
|
|
2348
2348
|
case "com.amazonaws.ses#InvalidPolicyException":
|
|
2349
2349
|
throw await deserializeAws_queryInvalidPolicyExceptionResponse(parsedOutput, context);
|
|
2350
2350
|
default:
|
|
@@ -2374,14 +2374,14 @@ exports.deserializeAws_queryReorderReceiptRuleSetCommand = deserializeAws_queryR
|
|
|
2374
2374
|
const deserializeAws_queryReorderReceiptRuleSetCommandError = async (output, context) => {
|
|
2375
2375
|
const parsedOutput = {
|
|
2376
2376
|
...output,
|
|
2377
|
-
body: await
|
|
2377
|
+
body: await parseErrorBody(output.body, context),
|
|
2378
2378
|
};
|
|
2379
2379
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
2380
2380
|
switch (errorCode) {
|
|
2381
|
-
case "
|
|
2381
|
+
case "RuleDoesNotExist":
|
|
2382
2382
|
case "com.amazonaws.ses#RuleDoesNotExistException":
|
|
2383
2383
|
throw await deserializeAws_queryRuleDoesNotExistExceptionResponse(parsedOutput, context);
|
|
2384
|
-
case "
|
|
2384
|
+
case "RuleSetDoesNotExist":
|
|
2385
2385
|
case "com.amazonaws.ses#RuleSetDoesNotExistException":
|
|
2386
2386
|
throw await deserializeAws_queryRuleSetDoesNotExistExceptionResponse(parsedOutput, context);
|
|
2387
2387
|
default:
|
|
@@ -2411,7 +2411,7 @@ exports.deserializeAws_querySendBounceCommand = deserializeAws_querySendBounceCo
|
|
|
2411
2411
|
const deserializeAws_querySendBounceCommandError = async (output, context) => {
|
|
2412
2412
|
const parsedOutput = {
|
|
2413
2413
|
...output,
|
|
2414
|
-
body: await
|
|
2414
|
+
body: await parseErrorBody(output.body, context),
|
|
2415
2415
|
};
|
|
2416
2416
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
2417
2417
|
switch (errorCode) {
|
|
@@ -2445,14 +2445,14 @@ exports.deserializeAws_querySendBulkTemplatedEmailCommand = deserializeAws_query
|
|
|
2445
2445
|
const deserializeAws_querySendBulkTemplatedEmailCommandError = async (output, context) => {
|
|
2446
2446
|
const parsedOutput = {
|
|
2447
2447
|
...output,
|
|
2448
|
-
body: await
|
|
2448
|
+
body: await parseErrorBody(output.body, context),
|
|
2449
2449
|
};
|
|
2450
2450
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
2451
2451
|
switch (errorCode) {
|
|
2452
2452
|
case "AccountSendingPausedException":
|
|
2453
2453
|
case "com.amazonaws.ses#AccountSendingPausedException":
|
|
2454
2454
|
throw await deserializeAws_queryAccountSendingPausedExceptionResponse(parsedOutput, context);
|
|
2455
|
-
case "
|
|
2455
|
+
case "ConfigurationSetDoesNotExist":
|
|
2456
2456
|
case "com.amazonaws.ses#ConfigurationSetDoesNotExistException":
|
|
2457
2457
|
throw await deserializeAws_queryConfigurationSetDoesNotExistExceptionResponse(parsedOutput, context);
|
|
2458
2458
|
case "ConfigurationSetSendingPausedException":
|
|
@@ -2464,7 +2464,7 @@ const deserializeAws_querySendBulkTemplatedEmailCommandError = async (output, co
|
|
|
2464
2464
|
case "MessageRejected":
|
|
2465
2465
|
case "com.amazonaws.ses#MessageRejected":
|
|
2466
2466
|
throw await deserializeAws_queryMessageRejectedResponse(parsedOutput, context);
|
|
2467
|
-
case "
|
|
2467
|
+
case "TemplateDoesNotExist":
|
|
2468
2468
|
case "com.amazonaws.ses#TemplateDoesNotExistException":
|
|
2469
2469
|
throw await deserializeAws_queryTemplateDoesNotExistExceptionResponse(parsedOutput, context);
|
|
2470
2470
|
default:
|
|
@@ -2494,23 +2494,23 @@ exports.deserializeAws_querySendCustomVerificationEmailCommand = deserializeAws_
|
|
|
2494
2494
|
const deserializeAws_querySendCustomVerificationEmailCommandError = async (output, context) => {
|
|
2495
2495
|
const parsedOutput = {
|
|
2496
2496
|
...output,
|
|
2497
|
-
body: await
|
|
2497
|
+
body: await parseErrorBody(output.body, context),
|
|
2498
2498
|
};
|
|
2499
2499
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
2500
2500
|
switch (errorCode) {
|
|
2501
|
-
case "
|
|
2501
|
+
case "ConfigurationSetDoesNotExist":
|
|
2502
2502
|
case "com.amazonaws.ses#ConfigurationSetDoesNotExistException":
|
|
2503
2503
|
throw await deserializeAws_queryConfigurationSetDoesNotExistExceptionResponse(parsedOutput, context);
|
|
2504
|
-
case "
|
|
2504
|
+
case "CustomVerificationEmailTemplateDoesNotExist":
|
|
2505
2505
|
case "com.amazonaws.ses#CustomVerificationEmailTemplateDoesNotExistException":
|
|
2506
2506
|
throw await deserializeAws_queryCustomVerificationEmailTemplateDoesNotExistExceptionResponse(parsedOutput, context);
|
|
2507
|
-
case "
|
|
2507
|
+
case "FromEmailAddressNotVerified":
|
|
2508
2508
|
case "com.amazonaws.ses#FromEmailAddressNotVerifiedException":
|
|
2509
2509
|
throw await deserializeAws_queryFromEmailAddressNotVerifiedExceptionResponse(parsedOutput, context);
|
|
2510
2510
|
case "MessageRejected":
|
|
2511
2511
|
case "com.amazonaws.ses#MessageRejected":
|
|
2512
2512
|
throw await deserializeAws_queryMessageRejectedResponse(parsedOutput, context);
|
|
2513
|
-
case "
|
|
2513
|
+
case "ProductionAccessNotGranted":
|
|
2514
2514
|
case "com.amazonaws.ses#ProductionAccessNotGrantedException":
|
|
2515
2515
|
throw await deserializeAws_queryProductionAccessNotGrantedExceptionResponse(parsedOutput, context);
|
|
2516
2516
|
default:
|
|
@@ -2540,14 +2540,14 @@ exports.deserializeAws_querySendEmailCommand = deserializeAws_querySendEmailComm
|
|
|
2540
2540
|
const deserializeAws_querySendEmailCommandError = async (output, context) => {
|
|
2541
2541
|
const parsedOutput = {
|
|
2542
2542
|
...output,
|
|
2543
|
-
body: await
|
|
2543
|
+
body: await parseErrorBody(output.body, context),
|
|
2544
2544
|
};
|
|
2545
2545
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
2546
2546
|
switch (errorCode) {
|
|
2547
2547
|
case "AccountSendingPausedException":
|
|
2548
2548
|
case "com.amazonaws.ses#AccountSendingPausedException":
|
|
2549
2549
|
throw await deserializeAws_queryAccountSendingPausedExceptionResponse(parsedOutput, context);
|
|
2550
|
-
case "
|
|
2550
|
+
case "ConfigurationSetDoesNotExist":
|
|
2551
2551
|
case "com.amazonaws.ses#ConfigurationSetDoesNotExistException":
|
|
2552
2552
|
throw await deserializeAws_queryConfigurationSetDoesNotExistExceptionResponse(parsedOutput, context);
|
|
2553
2553
|
case "ConfigurationSetSendingPausedException":
|
|
@@ -2586,14 +2586,14 @@ exports.deserializeAws_querySendRawEmailCommand = deserializeAws_querySendRawEma
|
|
|
2586
2586
|
const deserializeAws_querySendRawEmailCommandError = async (output, context) => {
|
|
2587
2587
|
const parsedOutput = {
|
|
2588
2588
|
...output,
|
|
2589
|
-
body: await
|
|
2589
|
+
body: await parseErrorBody(output.body, context),
|
|
2590
2590
|
};
|
|
2591
2591
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
2592
2592
|
switch (errorCode) {
|
|
2593
2593
|
case "AccountSendingPausedException":
|
|
2594
2594
|
case "com.amazonaws.ses#AccountSendingPausedException":
|
|
2595
2595
|
throw await deserializeAws_queryAccountSendingPausedExceptionResponse(parsedOutput, context);
|
|
2596
|
-
case "
|
|
2596
|
+
case "ConfigurationSetDoesNotExist":
|
|
2597
2597
|
case "com.amazonaws.ses#ConfigurationSetDoesNotExistException":
|
|
2598
2598
|
throw await deserializeAws_queryConfigurationSetDoesNotExistExceptionResponse(parsedOutput, context);
|
|
2599
2599
|
case "ConfigurationSetSendingPausedException":
|
|
@@ -2632,14 +2632,14 @@ exports.deserializeAws_querySendTemplatedEmailCommand = deserializeAws_querySend
|
|
|
2632
2632
|
const deserializeAws_querySendTemplatedEmailCommandError = async (output, context) => {
|
|
2633
2633
|
const parsedOutput = {
|
|
2634
2634
|
...output,
|
|
2635
|
-
body: await
|
|
2635
|
+
body: await parseErrorBody(output.body, context),
|
|
2636
2636
|
};
|
|
2637
2637
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
2638
2638
|
switch (errorCode) {
|
|
2639
2639
|
case "AccountSendingPausedException":
|
|
2640
2640
|
case "com.amazonaws.ses#AccountSendingPausedException":
|
|
2641
2641
|
throw await deserializeAws_queryAccountSendingPausedExceptionResponse(parsedOutput, context);
|
|
2642
|
-
case "
|
|
2642
|
+
case "ConfigurationSetDoesNotExist":
|
|
2643
2643
|
case "com.amazonaws.ses#ConfigurationSetDoesNotExistException":
|
|
2644
2644
|
throw await deserializeAws_queryConfigurationSetDoesNotExistExceptionResponse(parsedOutput, context);
|
|
2645
2645
|
case "ConfigurationSetSendingPausedException":
|
|
@@ -2651,7 +2651,7 @@ const deserializeAws_querySendTemplatedEmailCommandError = async (output, contex
|
|
|
2651
2651
|
case "MessageRejected":
|
|
2652
2652
|
case "com.amazonaws.ses#MessageRejected":
|
|
2653
2653
|
throw await deserializeAws_queryMessageRejectedResponse(parsedOutput, context);
|
|
2654
|
-
case "
|
|
2654
|
+
case "TemplateDoesNotExist":
|
|
2655
2655
|
case "com.amazonaws.ses#TemplateDoesNotExistException":
|
|
2656
2656
|
throw await deserializeAws_queryTemplateDoesNotExistExceptionResponse(parsedOutput, context);
|
|
2657
2657
|
default:
|
|
@@ -2681,11 +2681,11 @@ exports.deserializeAws_querySetActiveReceiptRuleSetCommand = deserializeAws_quer
|
|
|
2681
2681
|
const deserializeAws_querySetActiveReceiptRuleSetCommandError = async (output, context) => {
|
|
2682
2682
|
const parsedOutput = {
|
|
2683
2683
|
...output,
|
|
2684
|
-
body: await
|
|
2684
|
+
body: await parseErrorBody(output.body, context),
|
|
2685
2685
|
};
|
|
2686
2686
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
2687
2687
|
switch (errorCode) {
|
|
2688
|
-
case "
|
|
2688
|
+
case "RuleSetDoesNotExist":
|
|
2689
2689
|
case "com.amazonaws.ses#RuleSetDoesNotExistException":
|
|
2690
2690
|
throw await deserializeAws_queryRuleSetDoesNotExistExceptionResponse(parsedOutput, context);
|
|
2691
2691
|
default:
|
|
@@ -2715,7 +2715,7 @@ exports.deserializeAws_querySetIdentityDkimEnabledCommand = deserializeAws_query
|
|
|
2715
2715
|
const deserializeAws_querySetIdentityDkimEnabledCommandError = async (output, context) => {
|
|
2716
2716
|
const parsedOutput = {
|
|
2717
2717
|
...output,
|
|
2718
|
-
body: await
|
|
2718
|
+
body: await parseErrorBody(output.body, context),
|
|
2719
2719
|
};
|
|
2720
2720
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
2721
2721
|
const parsedBody = parsedOutput.body;
|
|
@@ -2743,7 +2743,7 @@ exports.deserializeAws_querySetIdentityFeedbackForwardingEnabledCommand = deseri
|
|
|
2743
2743
|
const deserializeAws_querySetIdentityFeedbackForwardingEnabledCommandError = async (output, context) => {
|
|
2744
2744
|
const parsedOutput = {
|
|
2745
2745
|
...output,
|
|
2746
|
-
body: await
|
|
2746
|
+
body: await parseErrorBody(output.body, context),
|
|
2747
2747
|
};
|
|
2748
2748
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
2749
2749
|
const parsedBody = parsedOutput.body;
|
|
@@ -2771,7 +2771,7 @@ exports.deserializeAws_querySetIdentityHeadersInNotificationsEnabledCommand = de
|
|
|
2771
2771
|
const deserializeAws_querySetIdentityHeadersInNotificationsEnabledCommandError = async (output, context) => {
|
|
2772
2772
|
const parsedOutput = {
|
|
2773
2773
|
...output,
|
|
2774
|
-
body: await
|
|
2774
|
+
body: await parseErrorBody(output.body, context),
|
|
2775
2775
|
};
|
|
2776
2776
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
2777
2777
|
const parsedBody = parsedOutput.body;
|
|
@@ -2799,7 +2799,7 @@ exports.deserializeAws_querySetIdentityMailFromDomainCommand = deserializeAws_qu
|
|
|
2799
2799
|
const deserializeAws_querySetIdentityMailFromDomainCommandError = async (output, context) => {
|
|
2800
2800
|
const parsedOutput = {
|
|
2801
2801
|
...output,
|
|
2802
|
-
body: await
|
|
2802
|
+
body: await parseErrorBody(output.body, context),
|
|
2803
2803
|
};
|
|
2804
2804
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
2805
2805
|
const parsedBody = parsedOutput.body;
|
|
@@ -2827,7 +2827,7 @@ exports.deserializeAws_querySetIdentityNotificationTopicCommand = deserializeAws
|
|
|
2827
2827
|
const deserializeAws_querySetIdentityNotificationTopicCommandError = async (output, context) => {
|
|
2828
2828
|
const parsedOutput = {
|
|
2829
2829
|
...output,
|
|
2830
|
-
body: await
|
|
2830
|
+
body: await parseErrorBody(output.body, context),
|
|
2831
2831
|
};
|
|
2832
2832
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
2833
2833
|
const parsedBody = parsedOutput.body;
|
|
@@ -2855,14 +2855,14 @@ exports.deserializeAws_querySetReceiptRulePositionCommand = deserializeAws_query
|
|
|
2855
2855
|
const deserializeAws_querySetReceiptRulePositionCommandError = async (output, context) => {
|
|
2856
2856
|
const parsedOutput = {
|
|
2857
2857
|
...output,
|
|
2858
|
-
body: await
|
|
2858
|
+
body: await parseErrorBody(output.body, context),
|
|
2859
2859
|
};
|
|
2860
2860
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
2861
2861
|
switch (errorCode) {
|
|
2862
|
-
case "
|
|
2862
|
+
case "RuleDoesNotExist":
|
|
2863
2863
|
case "com.amazonaws.ses#RuleDoesNotExistException":
|
|
2864
2864
|
throw await deserializeAws_queryRuleDoesNotExistExceptionResponse(parsedOutput, context);
|
|
2865
|
-
case "
|
|
2865
|
+
case "RuleSetDoesNotExist":
|
|
2866
2866
|
case "com.amazonaws.ses#RuleSetDoesNotExistException":
|
|
2867
2867
|
throw await deserializeAws_queryRuleSetDoesNotExistExceptionResponse(parsedOutput, context);
|
|
2868
2868
|
default:
|
|
@@ -2892,17 +2892,17 @@ exports.deserializeAws_queryTestRenderTemplateCommand = deserializeAws_queryTest
|
|
|
2892
2892
|
const deserializeAws_queryTestRenderTemplateCommandError = async (output, context) => {
|
|
2893
2893
|
const parsedOutput = {
|
|
2894
2894
|
...output,
|
|
2895
|
-
body: await
|
|
2895
|
+
body: await parseErrorBody(output.body, context),
|
|
2896
2896
|
};
|
|
2897
2897
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
2898
2898
|
switch (errorCode) {
|
|
2899
|
-
case "
|
|
2899
|
+
case "InvalidRenderingParameter":
|
|
2900
2900
|
case "com.amazonaws.ses#InvalidRenderingParameterException":
|
|
2901
2901
|
throw await deserializeAws_queryInvalidRenderingParameterExceptionResponse(parsedOutput, context);
|
|
2902
|
-
case "
|
|
2902
|
+
case "MissingRenderingAttribute":
|
|
2903
2903
|
case "com.amazonaws.ses#MissingRenderingAttributeException":
|
|
2904
2904
|
throw await deserializeAws_queryMissingRenderingAttributeExceptionResponse(parsedOutput, context);
|
|
2905
|
-
case "
|
|
2905
|
+
case "TemplateDoesNotExist":
|
|
2906
2906
|
case "com.amazonaws.ses#TemplateDoesNotExistException":
|
|
2907
2907
|
throw await deserializeAws_queryTemplateDoesNotExistExceptionResponse(parsedOutput, context);
|
|
2908
2908
|
default:
|
|
@@ -2929,7 +2929,7 @@ exports.deserializeAws_queryUpdateAccountSendingEnabledCommand = deserializeAws_
|
|
|
2929
2929
|
const deserializeAws_queryUpdateAccountSendingEnabledCommandError = async (output, context) => {
|
|
2930
2930
|
const parsedOutput = {
|
|
2931
2931
|
...output,
|
|
2932
|
-
body: await
|
|
2932
|
+
body: await parseErrorBody(output.body, context),
|
|
2933
2933
|
};
|
|
2934
2934
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
2935
2935
|
const parsedBody = parsedOutput.body;
|
|
@@ -2957,23 +2957,23 @@ exports.deserializeAws_queryUpdateConfigurationSetEventDestinationCommand = dese
|
|
|
2957
2957
|
const deserializeAws_queryUpdateConfigurationSetEventDestinationCommandError = async (output, context) => {
|
|
2958
2958
|
const parsedOutput = {
|
|
2959
2959
|
...output,
|
|
2960
|
-
body: await
|
|
2960
|
+
body: await parseErrorBody(output.body, context),
|
|
2961
2961
|
};
|
|
2962
2962
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
2963
2963
|
switch (errorCode) {
|
|
2964
|
-
case "
|
|
2964
|
+
case "ConfigurationSetDoesNotExist":
|
|
2965
2965
|
case "com.amazonaws.ses#ConfigurationSetDoesNotExistException":
|
|
2966
2966
|
throw await deserializeAws_queryConfigurationSetDoesNotExistExceptionResponse(parsedOutput, context);
|
|
2967
|
-
case "
|
|
2967
|
+
case "EventDestinationDoesNotExist":
|
|
2968
2968
|
case "com.amazonaws.ses#EventDestinationDoesNotExistException":
|
|
2969
2969
|
throw await deserializeAws_queryEventDestinationDoesNotExistExceptionResponse(parsedOutput, context);
|
|
2970
|
-
case "
|
|
2970
|
+
case "InvalidCloudWatchDestination":
|
|
2971
2971
|
case "com.amazonaws.ses#InvalidCloudWatchDestinationException":
|
|
2972
2972
|
throw await deserializeAws_queryInvalidCloudWatchDestinationExceptionResponse(parsedOutput, context);
|
|
2973
|
-
case "
|
|
2973
|
+
case "InvalidFirehoseDestination":
|
|
2974
2974
|
case "com.amazonaws.ses#InvalidFirehoseDestinationException":
|
|
2975
2975
|
throw await deserializeAws_queryInvalidFirehoseDestinationExceptionResponse(parsedOutput, context);
|
|
2976
|
-
case "
|
|
2976
|
+
case "InvalidSNSDestination":
|
|
2977
2977
|
case "com.amazonaws.ses#InvalidSNSDestinationException":
|
|
2978
2978
|
throw await deserializeAws_queryInvalidSNSDestinationExceptionResponse(parsedOutput, context);
|
|
2979
2979
|
default:
|
|
@@ -3000,11 +3000,11 @@ exports.deserializeAws_queryUpdateConfigurationSetReputationMetricsEnabledComman
|
|
|
3000
3000
|
const deserializeAws_queryUpdateConfigurationSetReputationMetricsEnabledCommandError = async (output, context) => {
|
|
3001
3001
|
const parsedOutput = {
|
|
3002
3002
|
...output,
|
|
3003
|
-
body: await
|
|
3003
|
+
body: await parseErrorBody(output.body, context),
|
|
3004
3004
|
};
|
|
3005
3005
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
3006
3006
|
switch (errorCode) {
|
|
3007
|
-
case "
|
|
3007
|
+
case "ConfigurationSetDoesNotExist":
|
|
3008
3008
|
case "com.amazonaws.ses#ConfigurationSetDoesNotExistException":
|
|
3009
3009
|
throw await deserializeAws_queryConfigurationSetDoesNotExistExceptionResponse(parsedOutput, context);
|
|
3010
3010
|
default:
|
|
@@ -3031,11 +3031,11 @@ exports.deserializeAws_queryUpdateConfigurationSetSendingEnabledCommand = deseri
|
|
|
3031
3031
|
const deserializeAws_queryUpdateConfigurationSetSendingEnabledCommandError = async (output, context) => {
|
|
3032
3032
|
const parsedOutput = {
|
|
3033
3033
|
...output,
|
|
3034
|
-
body: await
|
|
3034
|
+
body: await parseErrorBody(output.body, context),
|
|
3035
3035
|
};
|
|
3036
3036
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
3037
3037
|
switch (errorCode) {
|
|
3038
|
-
case "
|
|
3038
|
+
case "ConfigurationSetDoesNotExist":
|
|
3039
3039
|
case "com.amazonaws.ses#ConfigurationSetDoesNotExistException":
|
|
3040
3040
|
throw await deserializeAws_queryConfigurationSetDoesNotExistExceptionResponse(parsedOutput, context);
|
|
3041
3041
|
default:
|
|
@@ -3065,14 +3065,14 @@ exports.deserializeAws_queryUpdateConfigurationSetTrackingOptionsCommand = deser
|
|
|
3065
3065
|
const deserializeAws_queryUpdateConfigurationSetTrackingOptionsCommandError = async (output, context) => {
|
|
3066
3066
|
const parsedOutput = {
|
|
3067
3067
|
...output,
|
|
3068
|
-
body: await
|
|
3068
|
+
body: await parseErrorBody(output.body, context),
|
|
3069
3069
|
};
|
|
3070
3070
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
3071
3071
|
switch (errorCode) {
|
|
3072
|
-
case "
|
|
3072
|
+
case "ConfigurationSetDoesNotExist":
|
|
3073
3073
|
case "com.amazonaws.ses#ConfigurationSetDoesNotExistException":
|
|
3074
3074
|
throw await deserializeAws_queryConfigurationSetDoesNotExistExceptionResponse(parsedOutput, context);
|
|
3075
|
-
case "
|
|
3075
|
+
case "InvalidTrackingOptions":
|
|
3076
3076
|
case "com.amazonaws.ses#InvalidTrackingOptionsException":
|
|
3077
3077
|
throw await deserializeAws_queryInvalidTrackingOptionsExceptionResponse(parsedOutput, context);
|
|
3078
3078
|
case "TrackingOptionsDoesNotExistException":
|
|
@@ -3102,17 +3102,17 @@ exports.deserializeAws_queryUpdateCustomVerificationEmailTemplateCommand = deser
|
|
|
3102
3102
|
const deserializeAws_queryUpdateCustomVerificationEmailTemplateCommandError = async (output, context) => {
|
|
3103
3103
|
const parsedOutput = {
|
|
3104
3104
|
...output,
|
|
3105
|
-
body: await
|
|
3105
|
+
body: await parseErrorBody(output.body, context),
|
|
3106
3106
|
};
|
|
3107
3107
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
3108
3108
|
switch (errorCode) {
|
|
3109
|
-
case "
|
|
3109
|
+
case "CustomVerificationEmailInvalidContent":
|
|
3110
3110
|
case "com.amazonaws.ses#CustomVerificationEmailInvalidContentException":
|
|
3111
3111
|
throw await deserializeAws_queryCustomVerificationEmailInvalidContentExceptionResponse(parsedOutput, context);
|
|
3112
|
-
case "
|
|
3112
|
+
case "CustomVerificationEmailTemplateDoesNotExist":
|
|
3113
3113
|
case "com.amazonaws.ses#CustomVerificationEmailTemplateDoesNotExistException":
|
|
3114
3114
|
throw await deserializeAws_queryCustomVerificationEmailTemplateDoesNotExistExceptionResponse(parsedOutput, context);
|
|
3115
|
-
case "
|
|
3115
|
+
case "FromEmailAddressNotVerified":
|
|
3116
3116
|
case "com.amazonaws.ses#FromEmailAddressNotVerifiedException":
|
|
3117
3117
|
throw await deserializeAws_queryFromEmailAddressNotVerifiedExceptionResponse(parsedOutput, context);
|
|
3118
3118
|
default:
|
|
@@ -3142,26 +3142,26 @@ exports.deserializeAws_queryUpdateReceiptRuleCommand = deserializeAws_queryUpdat
|
|
|
3142
3142
|
const deserializeAws_queryUpdateReceiptRuleCommandError = async (output, context) => {
|
|
3143
3143
|
const parsedOutput = {
|
|
3144
3144
|
...output,
|
|
3145
|
-
body: await
|
|
3145
|
+
body: await parseErrorBody(output.body, context),
|
|
3146
3146
|
};
|
|
3147
3147
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
3148
3148
|
switch (errorCode) {
|
|
3149
|
-
case "
|
|
3149
|
+
case "InvalidLambdaFunction":
|
|
3150
3150
|
case "com.amazonaws.ses#InvalidLambdaFunctionException":
|
|
3151
3151
|
throw await deserializeAws_queryInvalidLambdaFunctionExceptionResponse(parsedOutput, context);
|
|
3152
|
-
case "
|
|
3152
|
+
case "InvalidS3Configuration":
|
|
3153
3153
|
case "com.amazonaws.ses#InvalidS3ConfigurationException":
|
|
3154
3154
|
throw await deserializeAws_queryInvalidS3ConfigurationExceptionResponse(parsedOutput, context);
|
|
3155
|
-
case "
|
|
3155
|
+
case "InvalidSnsTopic":
|
|
3156
3156
|
case "com.amazonaws.ses#InvalidSnsTopicException":
|
|
3157
3157
|
throw await deserializeAws_queryInvalidSnsTopicExceptionResponse(parsedOutput, context);
|
|
3158
|
-
case "
|
|
3158
|
+
case "LimitExceeded":
|
|
3159
3159
|
case "com.amazonaws.ses#LimitExceededException":
|
|
3160
3160
|
throw await deserializeAws_queryLimitExceededExceptionResponse(parsedOutput, context);
|
|
3161
|
-
case "
|
|
3161
|
+
case "RuleDoesNotExist":
|
|
3162
3162
|
case "com.amazonaws.ses#RuleDoesNotExistException":
|
|
3163
3163
|
throw await deserializeAws_queryRuleDoesNotExistExceptionResponse(parsedOutput, context);
|
|
3164
|
-
case "
|
|
3164
|
+
case "RuleSetDoesNotExist":
|
|
3165
3165
|
case "com.amazonaws.ses#RuleSetDoesNotExistException":
|
|
3166
3166
|
throw await deserializeAws_queryRuleSetDoesNotExistExceptionResponse(parsedOutput, context);
|
|
3167
3167
|
default:
|
|
@@ -3191,14 +3191,14 @@ exports.deserializeAws_queryUpdateTemplateCommand = deserializeAws_queryUpdateTe
|
|
|
3191
3191
|
const deserializeAws_queryUpdateTemplateCommandError = async (output, context) => {
|
|
3192
3192
|
const parsedOutput = {
|
|
3193
3193
|
...output,
|
|
3194
|
-
body: await
|
|
3194
|
+
body: await parseErrorBody(output.body, context),
|
|
3195
3195
|
};
|
|
3196
3196
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
3197
3197
|
switch (errorCode) {
|
|
3198
|
-
case "
|
|
3198
|
+
case "InvalidTemplate":
|
|
3199
3199
|
case "com.amazonaws.ses#InvalidTemplateException":
|
|
3200
3200
|
throw await deserializeAws_queryInvalidTemplateExceptionResponse(parsedOutput, context);
|
|
3201
|
-
case "
|
|
3201
|
+
case "TemplateDoesNotExist":
|
|
3202
3202
|
case "com.amazonaws.ses#TemplateDoesNotExistException":
|
|
3203
3203
|
throw await deserializeAws_queryTemplateDoesNotExistExceptionResponse(parsedOutput, context);
|
|
3204
3204
|
default:
|
|
@@ -3228,7 +3228,7 @@ exports.deserializeAws_queryVerifyDomainDkimCommand = deserializeAws_queryVerify
|
|
|
3228
3228
|
const deserializeAws_queryVerifyDomainDkimCommandError = async (output, context) => {
|
|
3229
3229
|
const parsedOutput = {
|
|
3230
3230
|
...output,
|
|
3231
|
-
body: await
|
|
3231
|
+
body: await parseErrorBody(output.body, context),
|
|
3232
3232
|
};
|
|
3233
3233
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
3234
3234
|
const parsedBody = parsedOutput.body;
|
|
@@ -3256,7 +3256,7 @@ exports.deserializeAws_queryVerifyDomainIdentityCommand = deserializeAws_queryVe
|
|
|
3256
3256
|
const deserializeAws_queryVerifyDomainIdentityCommandError = async (output, context) => {
|
|
3257
3257
|
const parsedOutput = {
|
|
3258
3258
|
...output,
|
|
3259
|
-
body: await
|
|
3259
|
+
body: await parseErrorBody(output.body, context),
|
|
3260
3260
|
};
|
|
3261
3261
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
3262
3262
|
const parsedBody = parsedOutput.body;
|
|
@@ -3281,7 +3281,7 @@ exports.deserializeAws_queryVerifyEmailAddressCommand = deserializeAws_queryVeri
|
|
|
3281
3281
|
const deserializeAws_queryVerifyEmailAddressCommandError = async (output, context) => {
|
|
3282
3282
|
const parsedOutput = {
|
|
3283
3283
|
...output,
|
|
3284
|
-
body: await
|
|
3284
|
+
body: await parseErrorBody(output.body, context),
|
|
3285
3285
|
};
|
|
3286
3286
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
3287
3287
|
const parsedBody = parsedOutput.body;
|
|
@@ -3309,7 +3309,7 @@ exports.deserializeAws_queryVerifyEmailIdentityCommand = deserializeAws_queryVer
|
|
|
3309
3309
|
const deserializeAws_queryVerifyEmailIdentityCommandError = async (output, context) => {
|
|
3310
3310
|
const parsedOutput = {
|
|
3311
3311
|
...output,
|
|
3312
|
-
body: await
|
|
3312
|
+
body: await parseErrorBody(output.body, context),
|
|
3313
3313
|
};
|
|
3314
3314
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
3315
3315
|
const parsedBody = parsedOutput.body;
|
|
@@ -6880,6 +6880,14 @@ const parseBody = (streamBody, context) => collectBodyString(streamBody, context
|
|
|
6880
6880
|
}
|
|
6881
6881
|
return {};
|
|
6882
6882
|
});
|
|
6883
|
+
const parseErrorBody = async (errorBody, context) => {
|
|
6884
|
+
var _a;
|
|
6885
|
+
const value = await parseBody(errorBody, context);
|
|
6886
|
+
if (value.Error) {
|
|
6887
|
+
value.Error.message = (_a = value.Error.message) !== null && _a !== void 0 ? _a : value.Error.Message;
|
|
6888
|
+
}
|
|
6889
|
+
return value;
|
|
6890
|
+
};
|
|
6883
6891
|
const buildFormUrlencodedString = (formEntries) => Object.entries(formEntries)
|
|
6884
6892
|
.map(([key, value]) => (0, smithy_client_1.extendedEncodeURIComponent)(key) + "=" + (0, smithy_client_1.extendedEncodeURIComponent)(value))
|
|
6885
6893
|
.join("&");
|