@aws-sdk/client-ses 3.131.0 → 3.142.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 +33 -0
- package/README.md +1 -1
- package/dist-cjs/commands/CloneReceiptRuleSetCommand.js +2 -2
- package/dist-cjs/commands/CreateConfigurationSetCommand.js +2 -2
- package/dist-cjs/commands/CreateConfigurationSetEventDestinationCommand.js +2 -2
- package/dist-cjs/commands/CreateConfigurationSetTrackingOptionsCommand.js +2 -2
- package/dist-cjs/commands/CreateCustomVerificationEmailTemplateCommand.js +1 -1
- package/dist-cjs/commands/CreateReceiptFilterCommand.js +2 -2
- package/dist-cjs/commands/CreateReceiptRuleCommand.js +2 -2
- package/dist-cjs/commands/CreateReceiptRuleSetCommand.js +2 -2
- package/dist-cjs/commands/CreateTemplateCommand.js +2 -2
- package/dist-cjs/commands/DeleteConfigurationSetCommand.js +2 -2
- package/dist-cjs/commands/DeleteConfigurationSetEventDestinationCommand.js +2 -2
- package/dist-cjs/commands/DeleteConfigurationSetTrackingOptionsCommand.js +2 -2
- package/dist-cjs/commands/DeleteCustomVerificationEmailTemplateCommand.js +1 -1
- package/dist-cjs/commands/DeleteIdentityCommand.js +2 -2
- package/dist-cjs/commands/DeleteIdentityPolicyCommand.js +2 -2
- package/dist-cjs/commands/DeleteReceiptFilterCommand.js +2 -2
- package/dist-cjs/commands/DeleteReceiptRuleCommand.js +2 -2
- package/dist-cjs/commands/DeleteReceiptRuleSetCommand.js +2 -2
- package/dist-cjs/commands/DeleteTemplateCommand.js +2 -2
- package/dist-cjs/commands/DeleteVerifiedEmailAddressCommand.js +1 -1
- package/dist-cjs/commands/DescribeActiveReceiptRuleSetCommand.js +2 -2
- package/dist-cjs/commands/DescribeConfigurationSetCommand.js +2 -2
- package/dist-cjs/commands/DescribeReceiptRuleCommand.js +2 -2
- package/dist-cjs/commands/DescribeReceiptRuleSetCommand.js +2 -2
- package/dist-cjs/commands/GetAccountSendingEnabledCommand.js +1 -1
- package/dist-cjs/commands/GetCustomVerificationEmailTemplateCommand.js +2 -2
- package/dist-cjs/commands/GetIdentityDkimAttributesCommand.js +2 -2
- package/dist-cjs/commands/GetIdentityMailFromDomainAttributesCommand.js +2 -2
- package/dist-cjs/commands/GetIdentityNotificationAttributesCommand.js +2 -2
- package/dist-cjs/commands/GetIdentityPoliciesCommand.js +2 -2
- package/dist-cjs/commands/GetIdentityVerificationAttributesCommand.js +2 -2
- package/dist-cjs/commands/GetSendQuotaCommand.js +1 -1
- package/dist-cjs/commands/GetSendStatisticsCommand.js +1 -1
- package/dist-cjs/commands/GetTemplateCommand.js +2 -2
- package/dist-cjs/commands/ListConfigurationSetsCommand.js +2 -2
- package/dist-cjs/commands/ListCustomVerificationEmailTemplatesCommand.js +2 -2
- package/dist-cjs/commands/ListIdentitiesCommand.js +2 -2
- package/dist-cjs/commands/ListIdentityPoliciesCommand.js +2 -2
- package/dist-cjs/commands/ListReceiptFiltersCommand.js +2 -2
- package/dist-cjs/commands/ListReceiptRuleSetsCommand.js +2 -2
- package/dist-cjs/commands/ListTemplatesCommand.js +2 -2
- package/dist-cjs/commands/ListVerifiedEmailAddressesCommand.js +1 -1
- package/dist-cjs/commands/PutConfigurationSetDeliveryOptionsCommand.js +2 -2
- package/dist-cjs/commands/PutIdentityPolicyCommand.js +2 -2
- package/dist-cjs/commands/ReorderReceiptRuleSetCommand.js +2 -2
- package/dist-cjs/commands/SendBounceCommand.js +2 -2
- package/dist-cjs/commands/SendBulkTemplatedEmailCommand.js +2 -2
- package/dist-cjs/commands/SendCustomVerificationEmailCommand.js +2 -2
- package/dist-cjs/commands/SendEmailCommand.js +2 -2
- package/dist-cjs/commands/SendRawEmailCommand.js +2 -2
- package/dist-cjs/commands/SendTemplatedEmailCommand.js +2 -2
- package/dist-cjs/commands/SetActiveReceiptRuleSetCommand.js +2 -2
- package/dist-cjs/commands/SetIdentityDkimEnabledCommand.js +2 -2
- package/dist-cjs/commands/SetIdentityFeedbackForwardingEnabledCommand.js +2 -2
- package/dist-cjs/commands/SetIdentityHeadersInNotificationsEnabledCommand.js +2 -2
- package/dist-cjs/commands/SetIdentityMailFromDomainCommand.js +2 -2
- package/dist-cjs/commands/SetIdentityNotificationTopicCommand.js +2 -2
- package/dist-cjs/commands/SetReceiptRulePositionCommand.js +2 -2
- package/dist-cjs/commands/TestRenderTemplateCommand.js +2 -2
- package/dist-cjs/commands/UpdateAccountSendingEnabledCommand.js +1 -1
- package/dist-cjs/commands/UpdateConfigurationSetEventDestinationCommand.js +2 -2
- package/dist-cjs/commands/UpdateConfigurationSetReputationMetricsEnabledCommand.js +1 -1
- package/dist-cjs/commands/UpdateConfigurationSetSendingEnabledCommand.js +1 -1
- package/dist-cjs/commands/UpdateConfigurationSetTrackingOptionsCommand.js +2 -2
- package/dist-cjs/commands/UpdateCustomVerificationEmailTemplateCommand.js +1 -1
- package/dist-cjs/commands/UpdateReceiptRuleCommand.js +2 -2
- package/dist-cjs/commands/UpdateTemplateCommand.js +2 -2
- package/dist-cjs/commands/VerifyDomainDkimCommand.js +2 -2
- package/dist-cjs/commands/VerifyDomainIdentityCommand.js +2 -2
- package/dist-cjs/commands/VerifyEmailAddressCommand.js +1 -1
- package/dist-cjs/commands/VerifyEmailIdentityCommand.js +2 -2
- package/dist-cjs/models/models_0.js +689 -1031
- package/dist-cjs/protocols/Aws_query.js +662 -1025
- package/dist-es/commands/CloneReceiptRuleSetCommand.js +3 -3
- package/dist-es/commands/CreateConfigurationSetCommand.js +3 -3
- package/dist-es/commands/CreateConfigurationSetEventDestinationCommand.js +3 -3
- package/dist-es/commands/CreateConfigurationSetTrackingOptionsCommand.js +3 -3
- package/dist-es/commands/CreateCustomVerificationEmailTemplateCommand.js +2 -2
- package/dist-es/commands/CreateReceiptFilterCommand.js +3 -3
- package/dist-es/commands/CreateReceiptRuleCommand.js +3 -3
- package/dist-es/commands/CreateReceiptRuleSetCommand.js +3 -3
- package/dist-es/commands/CreateTemplateCommand.js +3 -3
- package/dist-es/commands/DeleteConfigurationSetCommand.js +3 -3
- package/dist-es/commands/DeleteConfigurationSetEventDestinationCommand.js +3 -3
- package/dist-es/commands/DeleteConfigurationSetTrackingOptionsCommand.js +3 -3
- package/dist-es/commands/DeleteCustomVerificationEmailTemplateCommand.js +2 -2
- package/dist-es/commands/DeleteIdentityCommand.js +3 -3
- package/dist-es/commands/DeleteIdentityPolicyCommand.js +3 -3
- package/dist-es/commands/DeleteReceiptFilterCommand.js +3 -3
- package/dist-es/commands/DeleteReceiptRuleCommand.js +3 -3
- package/dist-es/commands/DeleteReceiptRuleSetCommand.js +3 -3
- package/dist-es/commands/DeleteTemplateCommand.js +3 -3
- package/dist-es/commands/DeleteVerifiedEmailAddressCommand.js +2 -2
- package/dist-es/commands/DescribeActiveReceiptRuleSetCommand.js +3 -3
- package/dist-es/commands/DescribeConfigurationSetCommand.js +3 -3
- package/dist-es/commands/DescribeReceiptRuleCommand.js +3 -3
- package/dist-es/commands/DescribeReceiptRuleSetCommand.js +3 -3
- package/dist-es/commands/GetAccountSendingEnabledCommand.js +2 -2
- package/dist-es/commands/GetCustomVerificationEmailTemplateCommand.js +3 -3
- package/dist-es/commands/GetIdentityDkimAttributesCommand.js +3 -3
- package/dist-es/commands/GetIdentityMailFromDomainAttributesCommand.js +3 -3
- package/dist-es/commands/GetIdentityNotificationAttributesCommand.js +3 -3
- package/dist-es/commands/GetIdentityPoliciesCommand.js +3 -3
- package/dist-es/commands/GetIdentityVerificationAttributesCommand.js +3 -3
- package/dist-es/commands/GetSendQuotaCommand.js +2 -2
- package/dist-es/commands/GetSendStatisticsCommand.js +2 -2
- package/dist-es/commands/GetTemplateCommand.js +3 -3
- package/dist-es/commands/ListConfigurationSetsCommand.js +3 -3
- package/dist-es/commands/ListCustomVerificationEmailTemplatesCommand.js +3 -3
- package/dist-es/commands/ListIdentitiesCommand.js +3 -3
- package/dist-es/commands/ListIdentityPoliciesCommand.js +3 -3
- package/dist-es/commands/ListReceiptFiltersCommand.js +3 -3
- package/dist-es/commands/ListReceiptRuleSetsCommand.js +3 -3
- package/dist-es/commands/ListTemplatesCommand.js +3 -3
- package/dist-es/commands/ListVerifiedEmailAddressesCommand.js +2 -2
- package/dist-es/commands/PutConfigurationSetDeliveryOptionsCommand.js +3 -3
- package/dist-es/commands/PutIdentityPolicyCommand.js +3 -3
- package/dist-es/commands/ReorderReceiptRuleSetCommand.js +3 -3
- package/dist-es/commands/SendBounceCommand.js +3 -3
- package/dist-es/commands/SendBulkTemplatedEmailCommand.js +3 -3
- package/dist-es/commands/SendCustomVerificationEmailCommand.js +3 -3
- package/dist-es/commands/SendEmailCommand.js +3 -3
- package/dist-es/commands/SendRawEmailCommand.js +3 -3
- package/dist-es/commands/SendTemplatedEmailCommand.js +3 -3
- package/dist-es/commands/SetActiveReceiptRuleSetCommand.js +3 -3
- package/dist-es/commands/SetIdentityDkimEnabledCommand.js +3 -3
- package/dist-es/commands/SetIdentityFeedbackForwardingEnabledCommand.js +3 -3
- package/dist-es/commands/SetIdentityHeadersInNotificationsEnabledCommand.js +3 -3
- package/dist-es/commands/SetIdentityMailFromDomainCommand.js +3 -3
- package/dist-es/commands/SetIdentityNotificationTopicCommand.js +3 -3
- package/dist-es/commands/SetReceiptRulePositionCommand.js +3 -3
- package/dist-es/commands/TestRenderTemplateCommand.js +3 -3
- package/dist-es/commands/UpdateAccountSendingEnabledCommand.js +2 -2
- package/dist-es/commands/UpdateConfigurationSetEventDestinationCommand.js +3 -3
- package/dist-es/commands/UpdateConfigurationSetReputationMetricsEnabledCommand.js +2 -2
- package/dist-es/commands/UpdateConfigurationSetSendingEnabledCommand.js +2 -2
- package/dist-es/commands/UpdateConfigurationSetTrackingOptionsCommand.js +3 -3
- package/dist-es/commands/UpdateCustomVerificationEmailTemplateCommand.js +2 -2
- package/dist-es/commands/UpdateReceiptRuleCommand.js +3 -3
- package/dist-es/commands/UpdateTemplateCommand.js +3 -3
- package/dist-es/commands/VerifyDomainDkimCommand.js +3 -3
- package/dist-es/commands/VerifyDomainIdentityCommand.js +3 -3
- package/dist-es/commands/VerifyEmailAddressCommand.js +2 -2
- package/dist-es/commands/VerifyEmailIdentityCommand.js +3 -3
- package/dist-es/models/models_0.js +171 -684
- package/dist-es/protocols/Aws_query.js +810 -1026
- package/dist-types/models/models_0.d.ts +684 -1026
- package/dist-types/ts3.4/models/models_0.d.ts +342 -684
- package/package.json +6 -6
|
@@ -943,7 +943,6 @@ const deserializeAws_queryCloneReceiptRuleSetCommandError = async (output, conte
|
|
|
943
943
|
...output,
|
|
944
944
|
body: await parseBody(output.body, context),
|
|
945
945
|
};
|
|
946
|
-
let response;
|
|
947
946
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
948
947
|
switch (errorCode) {
|
|
949
948
|
case "AlreadyExistsException":
|
|
@@ -957,14 +956,12 @@ const deserializeAws_queryCloneReceiptRuleSetCommandError = async (output, conte
|
|
|
957
956
|
throw await deserializeAws_queryRuleSetDoesNotExistExceptionResponse(parsedOutput, context);
|
|
958
957
|
default:
|
|
959
958
|
const parsedBody = parsedOutput.body;
|
|
960
|
-
|
|
961
|
-
|
|
962
|
-
|
|
963
|
-
|
|
964
|
-
|
|
965
|
-
$metadata,
|
|
959
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
960
|
+
output,
|
|
961
|
+
parsedBody: parsedBody.Error,
|
|
962
|
+
exceptionCtor: SESServiceException_1.SESServiceException,
|
|
963
|
+
errorCode,
|
|
966
964
|
});
|
|
967
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
968
965
|
}
|
|
969
966
|
};
|
|
970
967
|
const deserializeAws_queryCreateConfigurationSetCommand = async (output, context) => {
|
|
@@ -986,7 +983,6 @@ const deserializeAws_queryCreateConfigurationSetCommandError = async (output, co
|
|
|
986
983
|
...output,
|
|
987
984
|
body: await parseBody(output.body, context),
|
|
988
985
|
};
|
|
989
|
-
let response;
|
|
990
986
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
991
987
|
switch (errorCode) {
|
|
992
988
|
case "ConfigurationSetAlreadyExistsException":
|
|
@@ -1000,14 +996,12 @@ const deserializeAws_queryCreateConfigurationSetCommandError = async (output, co
|
|
|
1000
996
|
throw await deserializeAws_queryLimitExceededExceptionResponse(parsedOutput, context);
|
|
1001
997
|
default:
|
|
1002
998
|
const parsedBody = parsedOutput.body;
|
|
1003
|
-
|
|
1004
|
-
|
|
1005
|
-
|
|
1006
|
-
|
|
1007
|
-
|
|
1008
|
-
$metadata,
|
|
999
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1000
|
+
output,
|
|
1001
|
+
parsedBody: parsedBody.Error,
|
|
1002
|
+
exceptionCtor: SESServiceException_1.SESServiceException,
|
|
1003
|
+
errorCode,
|
|
1009
1004
|
});
|
|
1010
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
1011
1005
|
}
|
|
1012
1006
|
};
|
|
1013
1007
|
const deserializeAws_queryCreateConfigurationSetEventDestinationCommand = async (output, context) => {
|
|
@@ -1029,7 +1023,6 @@ const deserializeAws_queryCreateConfigurationSetEventDestinationCommandError = a
|
|
|
1029
1023
|
...output,
|
|
1030
1024
|
body: await parseBody(output.body, context),
|
|
1031
1025
|
};
|
|
1032
|
-
let response;
|
|
1033
1026
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
1034
1027
|
switch (errorCode) {
|
|
1035
1028
|
case "ConfigurationSetDoesNotExistException":
|
|
@@ -1052,14 +1045,12 @@ const deserializeAws_queryCreateConfigurationSetEventDestinationCommandError = a
|
|
|
1052
1045
|
throw await deserializeAws_queryLimitExceededExceptionResponse(parsedOutput, context);
|
|
1053
1046
|
default:
|
|
1054
1047
|
const parsedBody = parsedOutput.body;
|
|
1055
|
-
|
|
1056
|
-
|
|
1057
|
-
|
|
1058
|
-
|
|
1059
|
-
|
|
1060
|
-
$metadata,
|
|
1048
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1049
|
+
output,
|
|
1050
|
+
parsedBody: parsedBody.Error,
|
|
1051
|
+
exceptionCtor: SESServiceException_1.SESServiceException,
|
|
1052
|
+
errorCode,
|
|
1061
1053
|
});
|
|
1062
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
1063
1054
|
}
|
|
1064
1055
|
};
|
|
1065
1056
|
const deserializeAws_queryCreateConfigurationSetTrackingOptionsCommand = async (output, context) => {
|
|
@@ -1081,7 +1072,6 @@ const deserializeAws_queryCreateConfigurationSetTrackingOptionsCommandError = as
|
|
|
1081
1072
|
...output,
|
|
1082
1073
|
body: await parseBody(output.body, context),
|
|
1083
1074
|
};
|
|
1084
|
-
let response;
|
|
1085
1075
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
1086
1076
|
switch (errorCode) {
|
|
1087
1077
|
case "ConfigurationSetDoesNotExistException":
|
|
@@ -1095,14 +1085,12 @@ const deserializeAws_queryCreateConfigurationSetTrackingOptionsCommandError = as
|
|
|
1095
1085
|
throw await deserializeAws_queryTrackingOptionsAlreadyExistsExceptionResponse(parsedOutput, context);
|
|
1096
1086
|
default:
|
|
1097
1087
|
const parsedBody = parsedOutput.body;
|
|
1098
|
-
|
|
1099
|
-
|
|
1100
|
-
|
|
1101
|
-
|
|
1102
|
-
|
|
1103
|
-
$metadata,
|
|
1088
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1089
|
+
output,
|
|
1090
|
+
parsedBody: parsedBody.Error,
|
|
1091
|
+
exceptionCtor: SESServiceException_1.SESServiceException,
|
|
1092
|
+
errorCode,
|
|
1104
1093
|
});
|
|
1105
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
1106
1094
|
}
|
|
1107
1095
|
};
|
|
1108
1096
|
const deserializeAws_queryCreateCustomVerificationEmailTemplateCommand = async (output, context) => {
|
|
@@ -1121,7 +1109,6 @@ const deserializeAws_queryCreateCustomVerificationEmailTemplateCommandError = as
|
|
|
1121
1109
|
...output,
|
|
1122
1110
|
body: await parseBody(output.body, context),
|
|
1123
1111
|
};
|
|
1124
|
-
let response;
|
|
1125
1112
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
1126
1113
|
switch (errorCode) {
|
|
1127
1114
|
case "CustomVerificationEmailInvalidContentException":
|
|
@@ -1138,14 +1125,12 @@ const deserializeAws_queryCreateCustomVerificationEmailTemplateCommandError = as
|
|
|
1138
1125
|
throw await deserializeAws_queryLimitExceededExceptionResponse(parsedOutput, context);
|
|
1139
1126
|
default:
|
|
1140
1127
|
const parsedBody = parsedOutput.body;
|
|
1141
|
-
|
|
1142
|
-
|
|
1143
|
-
|
|
1144
|
-
|
|
1145
|
-
|
|
1146
|
-
$metadata,
|
|
1128
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1129
|
+
output,
|
|
1130
|
+
parsedBody: parsedBody.Error,
|
|
1131
|
+
exceptionCtor: SESServiceException_1.SESServiceException,
|
|
1132
|
+
errorCode,
|
|
1147
1133
|
});
|
|
1148
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
1149
1134
|
}
|
|
1150
1135
|
};
|
|
1151
1136
|
const deserializeAws_queryCreateReceiptFilterCommand = async (output, context) => {
|
|
@@ -1167,7 +1152,6 @@ const deserializeAws_queryCreateReceiptFilterCommandError = async (output, conte
|
|
|
1167
1152
|
...output,
|
|
1168
1153
|
body: await parseBody(output.body, context),
|
|
1169
1154
|
};
|
|
1170
|
-
let response;
|
|
1171
1155
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
1172
1156
|
switch (errorCode) {
|
|
1173
1157
|
case "AlreadyExistsException":
|
|
@@ -1178,14 +1162,12 @@ const deserializeAws_queryCreateReceiptFilterCommandError = async (output, conte
|
|
|
1178
1162
|
throw await deserializeAws_queryLimitExceededExceptionResponse(parsedOutput, context);
|
|
1179
1163
|
default:
|
|
1180
1164
|
const parsedBody = parsedOutput.body;
|
|
1181
|
-
|
|
1182
|
-
|
|
1183
|
-
|
|
1184
|
-
|
|
1185
|
-
|
|
1186
|
-
$metadata,
|
|
1165
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1166
|
+
output,
|
|
1167
|
+
parsedBody: parsedBody.Error,
|
|
1168
|
+
exceptionCtor: SESServiceException_1.SESServiceException,
|
|
1169
|
+
errorCode,
|
|
1187
1170
|
});
|
|
1188
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
1189
1171
|
}
|
|
1190
1172
|
};
|
|
1191
1173
|
const deserializeAws_queryCreateReceiptRuleCommand = async (output, context) => {
|
|
@@ -1207,7 +1189,6 @@ const deserializeAws_queryCreateReceiptRuleCommandError = async (output, context
|
|
|
1207
1189
|
...output,
|
|
1208
1190
|
body: await parseBody(output.body, context),
|
|
1209
1191
|
};
|
|
1210
|
-
let response;
|
|
1211
1192
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
1212
1193
|
switch (errorCode) {
|
|
1213
1194
|
case "AlreadyExistsException":
|
|
@@ -1233,14 +1214,12 @@ const deserializeAws_queryCreateReceiptRuleCommandError = async (output, context
|
|
|
1233
1214
|
throw await deserializeAws_queryRuleSetDoesNotExistExceptionResponse(parsedOutput, context);
|
|
1234
1215
|
default:
|
|
1235
1216
|
const parsedBody = parsedOutput.body;
|
|
1236
|
-
|
|
1237
|
-
|
|
1238
|
-
|
|
1239
|
-
|
|
1240
|
-
|
|
1241
|
-
$metadata,
|
|
1217
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1218
|
+
output,
|
|
1219
|
+
parsedBody: parsedBody.Error,
|
|
1220
|
+
exceptionCtor: SESServiceException_1.SESServiceException,
|
|
1221
|
+
errorCode,
|
|
1242
1222
|
});
|
|
1243
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
1244
1223
|
}
|
|
1245
1224
|
};
|
|
1246
1225
|
const deserializeAws_queryCreateReceiptRuleSetCommand = async (output, context) => {
|
|
@@ -1262,7 +1241,6 @@ const deserializeAws_queryCreateReceiptRuleSetCommandError = async (output, cont
|
|
|
1262
1241
|
...output,
|
|
1263
1242
|
body: await parseBody(output.body, context),
|
|
1264
1243
|
};
|
|
1265
|
-
let response;
|
|
1266
1244
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
1267
1245
|
switch (errorCode) {
|
|
1268
1246
|
case "AlreadyExistsException":
|
|
@@ -1273,14 +1251,12 @@ const deserializeAws_queryCreateReceiptRuleSetCommandError = async (output, cont
|
|
|
1273
1251
|
throw await deserializeAws_queryLimitExceededExceptionResponse(parsedOutput, context);
|
|
1274
1252
|
default:
|
|
1275
1253
|
const parsedBody = parsedOutput.body;
|
|
1276
|
-
|
|
1277
|
-
|
|
1278
|
-
|
|
1279
|
-
|
|
1280
|
-
|
|
1281
|
-
$metadata,
|
|
1254
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1255
|
+
output,
|
|
1256
|
+
parsedBody: parsedBody.Error,
|
|
1257
|
+
exceptionCtor: SESServiceException_1.SESServiceException,
|
|
1258
|
+
errorCode,
|
|
1282
1259
|
});
|
|
1283
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
1284
1260
|
}
|
|
1285
1261
|
};
|
|
1286
1262
|
const deserializeAws_queryCreateTemplateCommand = async (output, context) => {
|
|
@@ -1302,7 +1278,6 @@ const deserializeAws_queryCreateTemplateCommandError = async (output, context) =
|
|
|
1302
1278
|
...output,
|
|
1303
1279
|
body: await parseBody(output.body, context),
|
|
1304
1280
|
};
|
|
1305
|
-
let response;
|
|
1306
1281
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
1307
1282
|
switch (errorCode) {
|
|
1308
1283
|
case "AlreadyExistsException":
|
|
@@ -1316,14 +1291,12 @@ const deserializeAws_queryCreateTemplateCommandError = async (output, context) =
|
|
|
1316
1291
|
throw await deserializeAws_queryLimitExceededExceptionResponse(parsedOutput, context);
|
|
1317
1292
|
default:
|
|
1318
1293
|
const parsedBody = parsedOutput.body;
|
|
1319
|
-
|
|
1320
|
-
|
|
1321
|
-
|
|
1322
|
-
|
|
1323
|
-
|
|
1324
|
-
$metadata,
|
|
1294
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1295
|
+
output,
|
|
1296
|
+
parsedBody: parsedBody.Error,
|
|
1297
|
+
exceptionCtor: SESServiceException_1.SESServiceException,
|
|
1298
|
+
errorCode,
|
|
1325
1299
|
});
|
|
1326
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
1327
1300
|
}
|
|
1328
1301
|
};
|
|
1329
1302
|
const deserializeAws_queryDeleteConfigurationSetCommand = async (output, context) => {
|
|
@@ -1345,7 +1318,6 @@ const deserializeAws_queryDeleteConfigurationSetCommandError = async (output, co
|
|
|
1345
1318
|
...output,
|
|
1346
1319
|
body: await parseBody(output.body, context),
|
|
1347
1320
|
};
|
|
1348
|
-
let response;
|
|
1349
1321
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
1350
1322
|
switch (errorCode) {
|
|
1351
1323
|
case "ConfigurationSetDoesNotExistException":
|
|
@@ -1353,14 +1325,12 @@ const deserializeAws_queryDeleteConfigurationSetCommandError = async (output, co
|
|
|
1353
1325
|
throw await deserializeAws_queryConfigurationSetDoesNotExistExceptionResponse(parsedOutput, context);
|
|
1354
1326
|
default:
|
|
1355
1327
|
const parsedBody = parsedOutput.body;
|
|
1356
|
-
|
|
1357
|
-
|
|
1358
|
-
|
|
1359
|
-
|
|
1360
|
-
|
|
1361
|
-
$metadata,
|
|
1328
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1329
|
+
output,
|
|
1330
|
+
parsedBody: parsedBody.Error,
|
|
1331
|
+
exceptionCtor: SESServiceException_1.SESServiceException,
|
|
1332
|
+
errorCode,
|
|
1362
1333
|
});
|
|
1363
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
1364
1334
|
}
|
|
1365
1335
|
};
|
|
1366
1336
|
const deserializeAws_queryDeleteConfigurationSetEventDestinationCommand = async (output, context) => {
|
|
@@ -1382,7 +1352,6 @@ const deserializeAws_queryDeleteConfigurationSetEventDestinationCommandError = a
|
|
|
1382
1352
|
...output,
|
|
1383
1353
|
body: await parseBody(output.body, context),
|
|
1384
1354
|
};
|
|
1385
|
-
let response;
|
|
1386
1355
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
1387
1356
|
switch (errorCode) {
|
|
1388
1357
|
case "ConfigurationSetDoesNotExistException":
|
|
@@ -1393,14 +1362,12 @@ const deserializeAws_queryDeleteConfigurationSetEventDestinationCommandError = a
|
|
|
1393
1362
|
throw await deserializeAws_queryEventDestinationDoesNotExistExceptionResponse(parsedOutput, context);
|
|
1394
1363
|
default:
|
|
1395
1364
|
const parsedBody = parsedOutput.body;
|
|
1396
|
-
|
|
1397
|
-
|
|
1398
|
-
|
|
1399
|
-
|
|
1400
|
-
|
|
1401
|
-
$metadata,
|
|
1365
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1366
|
+
output,
|
|
1367
|
+
parsedBody: parsedBody.Error,
|
|
1368
|
+
exceptionCtor: SESServiceException_1.SESServiceException,
|
|
1369
|
+
errorCode,
|
|
1402
1370
|
});
|
|
1403
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
1404
1371
|
}
|
|
1405
1372
|
};
|
|
1406
1373
|
const deserializeAws_queryDeleteConfigurationSetTrackingOptionsCommand = async (output, context) => {
|
|
@@ -1422,7 +1389,6 @@ const deserializeAws_queryDeleteConfigurationSetTrackingOptionsCommandError = as
|
|
|
1422
1389
|
...output,
|
|
1423
1390
|
body: await parseBody(output.body, context),
|
|
1424
1391
|
};
|
|
1425
|
-
let response;
|
|
1426
1392
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
1427
1393
|
switch (errorCode) {
|
|
1428
1394
|
case "ConfigurationSetDoesNotExistException":
|
|
@@ -1433,14 +1399,12 @@ const deserializeAws_queryDeleteConfigurationSetTrackingOptionsCommandError = as
|
|
|
1433
1399
|
throw await deserializeAws_queryTrackingOptionsDoesNotExistExceptionResponse(parsedOutput, context);
|
|
1434
1400
|
default:
|
|
1435
1401
|
const parsedBody = parsedOutput.body;
|
|
1436
|
-
|
|
1437
|
-
|
|
1438
|
-
|
|
1439
|
-
|
|
1440
|
-
|
|
1441
|
-
$metadata,
|
|
1402
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1403
|
+
output,
|
|
1404
|
+
parsedBody: parsedBody.Error,
|
|
1405
|
+
exceptionCtor: SESServiceException_1.SESServiceException,
|
|
1406
|
+
errorCode,
|
|
1442
1407
|
});
|
|
1443
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
1444
1408
|
}
|
|
1445
1409
|
};
|
|
1446
1410
|
const deserializeAws_queryDeleteCustomVerificationEmailTemplateCommand = async (output, context) => {
|
|
@@ -1459,20 +1423,14 @@ const deserializeAws_queryDeleteCustomVerificationEmailTemplateCommandError = as
|
|
|
1459
1423
|
...output,
|
|
1460
1424
|
body: await parseBody(output.body, context),
|
|
1461
1425
|
};
|
|
1462
|
-
let response;
|
|
1463
1426
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
1464
|
-
|
|
1465
|
-
|
|
1466
|
-
|
|
1467
|
-
|
|
1468
|
-
|
|
1469
|
-
|
|
1470
|
-
|
|
1471
|
-
$fault: "client",
|
|
1472
|
-
$metadata,
|
|
1473
|
-
});
|
|
1474
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
1475
|
-
}
|
|
1427
|
+
const parsedBody = parsedOutput.body;
|
|
1428
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1429
|
+
output,
|
|
1430
|
+
parsedBody: parsedBody.Error,
|
|
1431
|
+
exceptionCtor: SESServiceException_1.SESServiceException,
|
|
1432
|
+
errorCode,
|
|
1433
|
+
});
|
|
1476
1434
|
};
|
|
1477
1435
|
const deserializeAws_queryDeleteIdentityCommand = async (output, context) => {
|
|
1478
1436
|
if (output.statusCode >= 300) {
|
|
@@ -1493,20 +1451,14 @@ const deserializeAws_queryDeleteIdentityCommandError = async (output, context) =
|
|
|
1493
1451
|
...output,
|
|
1494
1452
|
body: await parseBody(output.body, context),
|
|
1495
1453
|
};
|
|
1496
|
-
let response;
|
|
1497
1454
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
1498
|
-
|
|
1499
|
-
|
|
1500
|
-
|
|
1501
|
-
|
|
1502
|
-
|
|
1503
|
-
|
|
1504
|
-
|
|
1505
|
-
$fault: "client",
|
|
1506
|
-
$metadata,
|
|
1507
|
-
});
|
|
1508
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
1509
|
-
}
|
|
1455
|
+
const parsedBody = parsedOutput.body;
|
|
1456
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1457
|
+
output,
|
|
1458
|
+
parsedBody: parsedBody.Error,
|
|
1459
|
+
exceptionCtor: SESServiceException_1.SESServiceException,
|
|
1460
|
+
errorCode,
|
|
1461
|
+
});
|
|
1510
1462
|
};
|
|
1511
1463
|
const deserializeAws_queryDeleteIdentityPolicyCommand = async (output, context) => {
|
|
1512
1464
|
if (output.statusCode >= 300) {
|
|
@@ -1527,20 +1479,14 @@ const deserializeAws_queryDeleteIdentityPolicyCommandError = async (output, cont
|
|
|
1527
1479
|
...output,
|
|
1528
1480
|
body: await parseBody(output.body, context),
|
|
1529
1481
|
};
|
|
1530
|
-
let response;
|
|
1531
1482
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
1532
|
-
|
|
1533
|
-
|
|
1534
|
-
|
|
1535
|
-
|
|
1536
|
-
|
|
1537
|
-
|
|
1538
|
-
|
|
1539
|
-
$fault: "client",
|
|
1540
|
-
$metadata,
|
|
1541
|
-
});
|
|
1542
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
1543
|
-
}
|
|
1483
|
+
const parsedBody = parsedOutput.body;
|
|
1484
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1485
|
+
output,
|
|
1486
|
+
parsedBody: parsedBody.Error,
|
|
1487
|
+
exceptionCtor: SESServiceException_1.SESServiceException,
|
|
1488
|
+
errorCode,
|
|
1489
|
+
});
|
|
1544
1490
|
};
|
|
1545
1491
|
const deserializeAws_queryDeleteReceiptFilterCommand = async (output, context) => {
|
|
1546
1492
|
if (output.statusCode >= 300) {
|
|
@@ -1561,20 +1507,14 @@ const deserializeAws_queryDeleteReceiptFilterCommandError = async (output, conte
|
|
|
1561
1507
|
...output,
|
|
1562
1508
|
body: await parseBody(output.body, context),
|
|
1563
1509
|
};
|
|
1564
|
-
let response;
|
|
1565
1510
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
1566
|
-
|
|
1567
|
-
|
|
1568
|
-
|
|
1569
|
-
|
|
1570
|
-
|
|
1571
|
-
|
|
1572
|
-
|
|
1573
|
-
$fault: "client",
|
|
1574
|
-
$metadata,
|
|
1575
|
-
});
|
|
1576
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
1577
|
-
}
|
|
1511
|
+
const parsedBody = parsedOutput.body;
|
|
1512
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1513
|
+
output,
|
|
1514
|
+
parsedBody: parsedBody.Error,
|
|
1515
|
+
exceptionCtor: SESServiceException_1.SESServiceException,
|
|
1516
|
+
errorCode,
|
|
1517
|
+
});
|
|
1578
1518
|
};
|
|
1579
1519
|
const deserializeAws_queryDeleteReceiptRuleCommand = async (output, context) => {
|
|
1580
1520
|
if (output.statusCode >= 300) {
|
|
@@ -1595,7 +1535,6 @@ const deserializeAws_queryDeleteReceiptRuleCommandError = async (output, context
|
|
|
1595
1535
|
...output,
|
|
1596
1536
|
body: await parseBody(output.body, context),
|
|
1597
1537
|
};
|
|
1598
|
-
let response;
|
|
1599
1538
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
1600
1539
|
switch (errorCode) {
|
|
1601
1540
|
case "RuleSetDoesNotExistException":
|
|
@@ -1603,14 +1542,12 @@ const deserializeAws_queryDeleteReceiptRuleCommandError = async (output, context
|
|
|
1603
1542
|
throw await deserializeAws_queryRuleSetDoesNotExistExceptionResponse(parsedOutput, context);
|
|
1604
1543
|
default:
|
|
1605
1544
|
const parsedBody = parsedOutput.body;
|
|
1606
|
-
|
|
1607
|
-
|
|
1608
|
-
|
|
1609
|
-
|
|
1610
|
-
|
|
1611
|
-
$metadata,
|
|
1545
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1546
|
+
output,
|
|
1547
|
+
parsedBody: parsedBody.Error,
|
|
1548
|
+
exceptionCtor: SESServiceException_1.SESServiceException,
|
|
1549
|
+
errorCode,
|
|
1612
1550
|
});
|
|
1613
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
1614
1551
|
}
|
|
1615
1552
|
};
|
|
1616
1553
|
const deserializeAws_queryDeleteReceiptRuleSetCommand = async (output, context) => {
|
|
@@ -1632,7 +1569,6 @@ const deserializeAws_queryDeleteReceiptRuleSetCommandError = async (output, cont
|
|
|
1632
1569
|
...output,
|
|
1633
1570
|
body: await parseBody(output.body, context),
|
|
1634
1571
|
};
|
|
1635
|
-
let response;
|
|
1636
1572
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
1637
1573
|
switch (errorCode) {
|
|
1638
1574
|
case "CannotDeleteException":
|
|
@@ -1640,14 +1576,12 @@ const deserializeAws_queryDeleteReceiptRuleSetCommandError = async (output, cont
|
|
|
1640
1576
|
throw await deserializeAws_queryCannotDeleteExceptionResponse(parsedOutput, context);
|
|
1641
1577
|
default:
|
|
1642
1578
|
const parsedBody = parsedOutput.body;
|
|
1643
|
-
|
|
1644
|
-
|
|
1645
|
-
|
|
1646
|
-
|
|
1647
|
-
|
|
1648
|
-
$metadata,
|
|
1579
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1580
|
+
output,
|
|
1581
|
+
parsedBody: parsedBody.Error,
|
|
1582
|
+
exceptionCtor: SESServiceException_1.SESServiceException,
|
|
1583
|
+
errorCode,
|
|
1649
1584
|
});
|
|
1650
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
1651
1585
|
}
|
|
1652
1586
|
};
|
|
1653
1587
|
const deserializeAws_queryDeleteTemplateCommand = async (output, context) => {
|
|
@@ -1669,20 +1603,14 @@ const deserializeAws_queryDeleteTemplateCommandError = async (output, context) =
|
|
|
1669
1603
|
...output,
|
|
1670
1604
|
body: await parseBody(output.body, context),
|
|
1671
1605
|
};
|
|
1672
|
-
let response;
|
|
1673
1606
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
1674
|
-
|
|
1675
|
-
|
|
1676
|
-
|
|
1677
|
-
|
|
1678
|
-
|
|
1679
|
-
|
|
1680
|
-
|
|
1681
|
-
$fault: "client",
|
|
1682
|
-
$metadata,
|
|
1683
|
-
});
|
|
1684
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
1685
|
-
}
|
|
1607
|
+
const parsedBody = parsedOutput.body;
|
|
1608
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1609
|
+
output,
|
|
1610
|
+
parsedBody: parsedBody.Error,
|
|
1611
|
+
exceptionCtor: SESServiceException_1.SESServiceException,
|
|
1612
|
+
errorCode,
|
|
1613
|
+
});
|
|
1686
1614
|
};
|
|
1687
1615
|
const deserializeAws_queryDeleteVerifiedEmailAddressCommand = async (output, context) => {
|
|
1688
1616
|
if (output.statusCode >= 300) {
|
|
@@ -1700,20 +1628,14 @@ const deserializeAws_queryDeleteVerifiedEmailAddressCommandError = async (output
|
|
|
1700
1628
|
...output,
|
|
1701
1629
|
body: await parseBody(output.body, context),
|
|
1702
1630
|
};
|
|
1703
|
-
let response;
|
|
1704
1631
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
1705
|
-
|
|
1706
|
-
|
|
1707
|
-
|
|
1708
|
-
|
|
1709
|
-
|
|
1710
|
-
|
|
1711
|
-
|
|
1712
|
-
$fault: "client",
|
|
1713
|
-
$metadata,
|
|
1714
|
-
});
|
|
1715
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
1716
|
-
}
|
|
1632
|
+
const parsedBody = parsedOutput.body;
|
|
1633
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1634
|
+
output,
|
|
1635
|
+
parsedBody: parsedBody.Error,
|
|
1636
|
+
exceptionCtor: SESServiceException_1.SESServiceException,
|
|
1637
|
+
errorCode,
|
|
1638
|
+
});
|
|
1717
1639
|
};
|
|
1718
1640
|
const deserializeAws_queryDescribeActiveReceiptRuleSetCommand = async (output, context) => {
|
|
1719
1641
|
if (output.statusCode >= 300) {
|
|
@@ -1734,20 +1656,14 @@ const deserializeAws_queryDescribeActiveReceiptRuleSetCommandError = async (outp
|
|
|
1734
1656
|
...output,
|
|
1735
1657
|
body: await parseBody(output.body, context),
|
|
1736
1658
|
};
|
|
1737
|
-
let response;
|
|
1738
1659
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
1739
|
-
|
|
1740
|
-
|
|
1741
|
-
|
|
1742
|
-
|
|
1743
|
-
|
|
1744
|
-
|
|
1745
|
-
|
|
1746
|
-
$fault: "client",
|
|
1747
|
-
$metadata,
|
|
1748
|
-
});
|
|
1749
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
1750
|
-
}
|
|
1660
|
+
const parsedBody = parsedOutput.body;
|
|
1661
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1662
|
+
output,
|
|
1663
|
+
parsedBody: parsedBody.Error,
|
|
1664
|
+
exceptionCtor: SESServiceException_1.SESServiceException,
|
|
1665
|
+
errorCode,
|
|
1666
|
+
});
|
|
1751
1667
|
};
|
|
1752
1668
|
const deserializeAws_queryDescribeConfigurationSetCommand = async (output, context) => {
|
|
1753
1669
|
if (output.statusCode >= 300) {
|
|
@@ -1768,7 +1684,6 @@ const deserializeAws_queryDescribeConfigurationSetCommandError = async (output,
|
|
|
1768
1684
|
...output,
|
|
1769
1685
|
body: await parseBody(output.body, context),
|
|
1770
1686
|
};
|
|
1771
|
-
let response;
|
|
1772
1687
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
1773
1688
|
switch (errorCode) {
|
|
1774
1689
|
case "ConfigurationSetDoesNotExistException":
|
|
@@ -1776,14 +1691,12 @@ const deserializeAws_queryDescribeConfigurationSetCommandError = async (output,
|
|
|
1776
1691
|
throw await deserializeAws_queryConfigurationSetDoesNotExistExceptionResponse(parsedOutput, context);
|
|
1777
1692
|
default:
|
|
1778
1693
|
const parsedBody = parsedOutput.body;
|
|
1779
|
-
|
|
1780
|
-
|
|
1781
|
-
|
|
1782
|
-
|
|
1783
|
-
|
|
1784
|
-
$metadata,
|
|
1694
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1695
|
+
output,
|
|
1696
|
+
parsedBody: parsedBody.Error,
|
|
1697
|
+
exceptionCtor: SESServiceException_1.SESServiceException,
|
|
1698
|
+
errorCode,
|
|
1785
1699
|
});
|
|
1786
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
1787
1700
|
}
|
|
1788
1701
|
};
|
|
1789
1702
|
const deserializeAws_queryDescribeReceiptRuleCommand = async (output, context) => {
|
|
@@ -1805,7 +1718,6 @@ const deserializeAws_queryDescribeReceiptRuleCommandError = async (output, conte
|
|
|
1805
1718
|
...output,
|
|
1806
1719
|
body: await parseBody(output.body, context),
|
|
1807
1720
|
};
|
|
1808
|
-
let response;
|
|
1809
1721
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
1810
1722
|
switch (errorCode) {
|
|
1811
1723
|
case "RuleDoesNotExistException":
|
|
@@ -1816,14 +1728,12 @@ const deserializeAws_queryDescribeReceiptRuleCommandError = async (output, conte
|
|
|
1816
1728
|
throw await deserializeAws_queryRuleSetDoesNotExistExceptionResponse(parsedOutput, context);
|
|
1817
1729
|
default:
|
|
1818
1730
|
const parsedBody = parsedOutput.body;
|
|
1819
|
-
|
|
1820
|
-
|
|
1821
|
-
|
|
1822
|
-
|
|
1823
|
-
|
|
1824
|
-
$metadata,
|
|
1731
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1732
|
+
output,
|
|
1733
|
+
parsedBody: parsedBody.Error,
|
|
1734
|
+
exceptionCtor: SESServiceException_1.SESServiceException,
|
|
1735
|
+
errorCode,
|
|
1825
1736
|
});
|
|
1826
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
1827
1737
|
}
|
|
1828
1738
|
};
|
|
1829
1739
|
const deserializeAws_queryDescribeReceiptRuleSetCommand = async (output, context) => {
|
|
@@ -1845,7 +1755,6 @@ const deserializeAws_queryDescribeReceiptRuleSetCommandError = async (output, co
|
|
|
1845
1755
|
...output,
|
|
1846
1756
|
body: await parseBody(output.body, context),
|
|
1847
1757
|
};
|
|
1848
|
-
let response;
|
|
1849
1758
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
1850
1759
|
switch (errorCode) {
|
|
1851
1760
|
case "RuleSetDoesNotExistException":
|
|
@@ -1853,14 +1762,12 @@ const deserializeAws_queryDescribeReceiptRuleSetCommandError = async (output, co
|
|
|
1853
1762
|
throw await deserializeAws_queryRuleSetDoesNotExistExceptionResponse(parsedOutput, context);
|
|
1854
1763
|
default:
|
|
1855
1764
|
const parsedBody = parsedOutput.body;
|
|
1856
|
-
|
|
1857
|
-
|
|
1858
|
-
|
|
1859
|
-
|
|
1860
|
-
|
|
1861
|
-
$metadata,
|
|
1765
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1766
|
+
output,
|
|
1767
|
+
parsedBody: parsedBody.Error,
|
|
1768
|
+
exceptionCtor: SESServiceException_1.SESServiceException,
|
|
1769
|
+
errorCode,
|
|
1862
1770
|
});
|
|
1863
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
1864
1771
|
}
|
|
1865
1772
|
};
|
|
1866
1773
|
const deserializeAws_queryGetAccountSendingEnabledCommand = async (output, context) => {
|
|
@@ -1882,20 +1789,14 @@ const deserializeAws_queryGetAccountSendingEnabledCommandError = async (output,
|
|
|
1882
1789
|
...output,
|
|
1883
1790
|
body: await parseBody(output.body, context),
|
|
1884
1791
|
};
|
|
1885
|
-
let response;
|
|
1886
1792
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
1887
|
-
|
|
1888
|
-
|
|
1889
|
-
|
|
1890
|
-
|
|
1891
|
-
|
|
1892
|
-
|
|
1893
|
-
|
|
1894
|
-
$fault: "client",
|
|
1895
|
-
$metadata,
|
|
1896
|
-
});
|
|
1897
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
1898
|
-
}
|
|
1793
|
+
const parsedBody = parsedOutput.body;
|
|
1794
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1795
|
+
output,
|
|
1796
|
+
parsedBody: parsedBody.Error,
|
|
1797
|
+
exceptionCtor: SESServiceException_1.SESServiceException,
|
|
1798
|
+
errorCode,
|
|
1799
|
+
});
|
|
1899
1800
|
};
|
|
1900
1801
|
const deserializeAws_queryGetCustomVerificationEmailTemplateCommand = async (output, context) => {
|
|
1901
1802
|
if (output.statusCode >= 300) {
|
|
@@ -1916,7 +1817,6 @@ const deserializeAws_queryGetCustomVerificationEmailTemplateCommandError = async
|
|
|
1916
1817
|
...output,
|
|
1917
1818
|
body: await parseBody(output.body, context),
|
|
1918
1819
|
};
|
|
1919
|
-
let response;
|
|
1920
1820
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
1921
1821
|
switch (errorCode) {
|
|
1922
1822
|
case "CustomVerificationEmailTemplateDoesNotExistException":
|
|
@@ -1924,14 +1824,12 @@ const deserializeAws_queryGetCustomVerificationEmailTemplateCommandError = async
|
|
|
1924
1824
|
throw await deserializeAws_queryCustomVerificationEmailTemplateDoesNotExistExceptionResponse(parsedOutput, context);
|
|
1925
1825
|
default:
|
|
1926
1826
|
const parsedBody = parsedOutput.body;
|
|
1927
|
-
|
|
1928
|
-
|
|
1929
|
-
|
|
1930
|
-
|
|
1931
|
-
|
|
1932
|
-
$metadata,
|
|
1827
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1828
|
+
output,
|
|
1829
|
+
parsedBody: parsedBody.Error,
|
|
1830
|
+
exceptionCtor: SESServiceException_1.SESServiceException,
|
|
1831
|
+
errorCode,
|
|
1933
1832
|
});
|
|
1934
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
1935
1833
|
}
|
|
1936
1834
|
};
|
|
1937
1835
|
const deserializeAws_queryGetIdentityDkimAttributesCommand = async (output, context) => {
|
|
@@ -1953,20 +1851,14 @@ const deserializeAws_queryGetIdentityDkimAttributesCommandError = async (output,
|
|
|
1953
1851
|
...output,
|
|
1954
1852
|
body: await parseBody(output.body, context),
|
|
1955
1853
|
};
|
|
1956
|
-
let response;
|
|
1957
1854
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
1958
|
-
|
|
1959
|
-
|
|
1960
|
-
|
|
1961
|
-
|
|
1962
|
-
|
|
1963
|
-
|
|
1964
|
-
|
|
1965
|
-
$fault: "client",
|
|
1966
|
-
$metadata,
|
|
1967
|
-
});
|
|
1968
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
1969
|
-
}
|
|
1855
|
+
const parsedBody = parsedOutput.body;
|
|
1856
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1857
|
+
output,
|
|
1858
|
+
parsedBody: parsedBody.Error,
|
|
1859
|
+
exceptionCtor: SESServiceException_1.SESServiceException,
|
|
1860
|
+
errorCode,
|
|
1861
|
+
});
|
|
1970
1862
|
};
|
|
1971
1863
|
const deserializeAws_queryGetIdentityMailFromDomainAttributesCommand = async (output, context) => {
|
|
1972
1864
|
if (output.statusCode >= 300) {
|
|
@@ -1987,20 +1879,14 @@ const deserializeAws_queryGetIdentityMailFromDomainAttributesCommandError = asyn
|
|
|
1987
1879
|
...output,
|
|
1988
1880
|
body: await parseBody(output.body, context),
|
|
1989
1881
|
};
|
|
1990
|
-
let response;
|
|
1991
1882
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
1992
|
-
|
|
1993
|
-
|
|
1994
|
-
|
|
1995
|
-
|
|
1996
|
-
|
|
1997
|
-
|
|
1998
|
-
|
|
1999
|
-
$fault: "client",
|
|
2000
|
-
$metadata,
|
|
2001
|
-
});
|
|
2002
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
2003
|
-
}
|
|
1883
|
+
const parsedBody = parsedOutput.body;
|
|
1884
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1885
|
+
output,
|
|
1886
|
+
parsedBody: parsedBody.Error,
|
|
1887
|
+
exceptionCtor: SESServiceException_1.SESServiceException,
|
|
1888
|
+
errorCode,
|
|
1889
|
+
});
|
|
2004
1890
|
};
|
|
2005
1891
|
const deserializeAws_queryGetIdentityNotificationAttributesCommand = async (output, context) => {
|
|
2006
1892
|
if (output.statusCode >= 300) {
|
|
@@ -2021,20 +1907,14 @@ const deserializeAws_queryGetIdentityNotificationAttributesCommandError = async
|
|
|
2021
1907
|
...output,
|
|
2022
1908
|
body: await parseBody(output.body, context),
|
|
2023
1909
|
};
|
|
2024
|
-
let response;
|
|
2025
1910
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
2026
|
-
|
|
2027
|
-
|
|
2028
|
-
|
|
2029
|
-
|
|
2030
|
-
|
|
2031
|
-
|
|
2032
|
-
|
|
2033
|
-
$fault: "client",
|
|
2034
|
-
$metadata,
|
|
2035
|
-
});
|
|
2036
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
2037
|
-
}
|
|
1911
|
+
const parsedBody = parsedOutput.body;
|
|
1912
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1913
|
+
output,
|
|
1914
|
+
parsedBody: parsedBody.Error,
|
|
1915
|
+
exceptionCtor: SESServiceException_1.SESServiceException,
|
|
1916
|
+
errorCode,
|
|
1917
|
+
});
|
|
2038
1918
|
};
|
|
2039
1919
|
const deserializeAws_queryGetIdentityPoliciesCommand = async (output, context) => {
|
|
2040
1920
|
if (output.statusCode >= 300) {
|
|
@@ -2055,20 +1935,14 @@ const deserializeAws_queryGetIdentityPoliciesCommandError = async (output, conte
|
|
|
2055
1935
|
...output,
|
|
2056
1936
|
body: await parseBody(output.body, context),
|
|
2057
1937
|
};
|
|
2058
|
-
let response;
|
|
2059
1938
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
2060
|
-
|
|
2061
|
-
|
|
2062
|
-
|
|
2063
|
-
|
|
2064
|
-
|
|
2065
|
-
|
|
2066
|
-
|
|
2067
|
-
$fault: "client",
|
|
2068
|
-
$metadata,
|
|
2069
|
-
});
|
|
2070
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
2071
|
-
}
|
|
1939
|
+
const parsedBody = parsedOutput.body;
|
|
1940
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1941
|
+
output,
|
|
1942
|
+
parsedBody: parsedBody.Error,
|
|
1943
|
+
exceptionCtor: SESServiceException_1.SESServiceException,
|
|
1944
|
+
errorCode,
|
|
1945
|
+
});
|
|
2072
1946
|
};
|
|
2073
1947
|
const deserializeAws_queryGetIdentityVerificationAttributesCommand = async (output, context) => {
|
|
2074
1948
|
if (output.statusCode >= 300) {
|
|
@@ -2089,20 +1963,14 @@ const deserializeAws_queryGetIdentityVerificationAttributesCommandError = async
|
|
|
2089
1963
|
...output,
|
|
2090
1964
|
body: await parseBody(output.body, context),
|
|
2091
1965
|
};
|
|
2092
|
-
let response;
|
|
2093
1966
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
2094
|
-
|
|
2095
|
-
|
|
2096
|
-
|
|
2097
|
-
|
|
2098
|
-
|
|
2099
|
-
|
|
2100
|
-
|
|
2101
|
-
$fault: "client",
|
|
2102
|
-
$metadata,
|
|
2103
|
-
});
|
|
2104
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
2105
|
-
}
|
|
1967
|
+
const parsedBody = parsedOutput.body;
|
|
1968
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1969
|
+
output,
|
|
1970
|
+
parsedBody: parsedBody.Error,
|
|
1971
|
+
exceptionCtor: SESServiceException_1.SESServiceException,
|
|
1972
|
+
errorCode,
|
|
1973
|
+
});
|
|
2106
1974
|
};
|
|
2107
1975
|
const deserializeAws_queryGetSendQuotaCommand = async (output, context) => {
|
|
2108
1976
|
if (output.statusCode >= 300) {
|
|
@@ -2123,20 +1991,14 @@ const deserializeAws_queryGetSendQuotaCommandError = async (output, context) =>
|
|
|
2123
1991
|
...output,
|
|
2124
1992
|
body: await parseBody(output.body, context),
|
|
2125
1993
|
};
|
|
2126
|
-
let response;
|
|
2127
1994
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
2128
|
-
|
|
2129
|
-
|
|
2130
|
-
|
|
2131
|
-
|
|
2132
|
-
|
|
2133
|
-
|
|
2134
|
-
|
|
2135
|
-
$fault: "client",
|
|
2136
|
-
$metadata,
|
|
2137
|
-
});
|
|
2138
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
2139
|
-
}
|
|
1995
|
+
const parsedBody = parsedOutput.body;
|
|
1996
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1997
|
+
output,
|
|
1998
|
+
parsedBody: parsedBody.Error,
|
|
1999
|
+
exceptionCtor: SESServiceException_1.SESServiceException,
|
|
2000
|
+
errorCode,
|
|
2001
|
+
});
|
|
2140
2002
|
};
|
|
2141
2003
|
const deserializeAws_queryGetSendStatisticsCommand = async (output, context) => {
|
|
2142
2004
|
if (output.statusCode >= 300) {
|
|
@@ -2157,20 +2019,14 @@ const deserializeAws_queryGetSendStatisticsCommandError = async (output, context
|
|
|
2157
2019
|
...output,
|
|
2158
2020
|
body: await parseBody(output.body, context),
|
|
2159
2021
|
};
|
|
2160
|
-
let response;
|
|
2161
2022
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
2162
|
-
|
|
2163
|
-
|
|
2164
|
-
|
|
2165
|
-
|
|
2166
|
-
|
|
2167
|
-
|
|
2168
|
-
|
|
2169
|
-
$fault: "client",
|
|
2170
|
-
$metadata,
|
|
2171
|
-
});
|
|
2172
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
2173
|
-
}
|
|
2023
|
+
const parsedBody = parsedOutput.body;
|
|
2024
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2025
|
+
output,
|
|
2026
|
+
parsedBody: parsedBody.Error,
|
|
2027
|
+
exceptionCtor: SESServiceException_1.SESServiceException,
|
|
2028
|
+
errorCode,
|
|
2029
|
+
});
|
|
2174
2030
|
};
|
|
2175
2031
|
const deserializeAws_queryGetTemplateCommand = async (output, context) => {
|
|
2176
2032
|
if (output.statusCode >= 300) {
|
|
@@ -2191,7 +2047,6 @@ const deserializeAws_queryGetTemplateCommandError = async (output, context) => {
|
|
|
2191
2047
|
...output,
|
|
2192
2048
|
body: await parseBody(output.body, context),
|
|
2193
2049
|
};
|
|
2194
|
-
let response;
|
|
2195
2050
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
2196
2051
|
switch (errorCode) {
|
|
2197
2052
|
case "TemplateDoesNotExistException":
|
|
@@ -2199,14 +2054,12 @@ const deserializeAws_queryGetTemplateCommandError = async (output, context) => {
|
|
|
2199
2054
|
throw await deserializeAws_queryTemplateDoesNotExistExceptionResponse(parsedOutput, context);
|
|
2200
2055
|
default:
|
|
2201
2056
|
const parsedBody = parsedOutput.body;
|
|
2202
|
-
|
|
2203
|
-
|
|
2204
|
-
|
|
2205
|
-
|
|
2206
|
-
|
|
2207
|
-
$metadata,
|
|
2057
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2058
|
+
output,
|
|
2059
|
+
parsedBody: parsedBody.Error,
|
|
2060
|
+
exceptionCtor: SESServiceException_1.SESServiceException,
|
|
2061
|
+
errorCode,
|
|
2208
2062
|
});
|
|
2209
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
2210
2063
|
}
|
|
2211
2064
|
};
|
|
2212
2065
|
const deserializeAws_queryListConfigurationSetsCommand = async (output, context) => {
|
|
@@ -2228,20 +2081,14 @@ const deserializeAws_queryListConfigurationSetsCommandError = async (output, con
|
|
|
2228
2081
|
...output,
|
|
2229
2082
|
body: await parseBody(output.body, context),
|
|
2230
2083
|
};
|
|
2231
|
-
let response;
|
|
2232
2084
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
2233
|
-
|
|
2234
|
-
|
|
2235
|
-
|
|
2236
|
-
|
|
2237
|
-
|
|
2238
|
-
|
|
2239
|
-
|
|
2240
|
-
$fault: "client",
|
|
2241
|
-
$metadata,
|
|
2242
|
-
});
|
|
2243
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
2244
|
-
}
|
|
2085
|
+
const parsedBody = parsedOutput.body;
|
|
2086
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2087
|
+
output,
|
|
2088
|
+
parsedBody: parsedBody.Error,
|
|
2089
|
+
exceptionCtor: SESServiceException_1.SESServiceException,
|
|
2090
|
+
errorCode,
|
|
2091
|
+
});
|
|
2245
2092
|
};
|
|
2246
2093
|
const deserializeAws_queryListCustomVerificationEmailTemplatesCommand = async (output, context) => {
|
|
2247
2094
|
if (output.statusCode >= 300) {
|
|
@@ -2262,20 +2109,14 @@ const deserializeAws_queryListCustomVerificationEmailTemplatesCommandError = asy
|
|
|
2262
2109
|
...output,
|
|
2263
2110
|
body: await parseBody(output.body, context),
|
|
2264
2111
|
};
|
|
2265
|
-
let response;
|
|
2266
2112
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
2267
|
-
|
|
2268
|
-
|
|
2269
|
-
|
|
2270
|
-
|
|
2271
|
-
|
|
2272
|
-
|
|
2273
|
-
|
|
2274
|
-
$fault: "client",
|
|
2275
|
-
$metadata,
|
|
2276
|
-
});
|
|
2277
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
2278
|
-
}
|
|
2113
|
+
const parsedBody = parsedOutput.body;
|
|
2114
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2115
|
+
output,
|
|
2116
|
+
parsedBody: parsedBody.Error,
|
|
2117
|
+
exceptionCtor: SESServiceException_1.SESServiceException,
|
|
2118
|
+
errorCode,
|
|
2119
|
+
});
|
|
2279
2120
|
};
|
|
2280
2121
|
const deserializeAws_queryListIdentitiesCommand = async (output, context) => {
|
|
2281
2122
|
if (output.statusCode >= 300) {
|
|
@@ -2296,20 +2137,14 @@ const deserializeAws_queryListIdentitiesCommandError = async (output, context) =
|
|
|
2296
2137
|
...output,
|
|
2297
2138
|
body: await parseBody(output.body, context),
|
|
2298
2139
|
};
|
|
2299
|
-
let response;
|
|
2300
2140
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
2301
|
-
|
|
2302
|
-
|
|
2303
|
-
|
|
2304
|
-
|
|
2305
|
-
|
|
2306
|
-
|
|
2307
|
-
|
|
2308
|
-
$fault: "client",
|
|
2309
|
-
$metadata,
|
|
2310
|
-
});
|
|
2311
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
2312
|
-
}
|
|
2141
|
+
const parsedBody = parsedOutput.body;
|
|
2142
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2143
|
+
output,
|
|
2144
|
+
parsedBody: parsedBody.Error,
|
|
2145
|
+
exceptionCtor: SESServiceException_1.SESServiceException,
|
|
2146
|
+
errorCode,
|
|
2147
|
+
});
|
|
2313
2148
|
};
|
|
2314
2149
|
const deserializeAws_queryListIdentityPoliciesCommand = async (output, context) => {
|
|
2315
2150
|
if (output.statusCode >= 300) {
|
|
@@ -2330,20 +2165,14 @@ const deserializeAws_queryListIdentityPoliciesCommandError = async (output, cont
|
|
|
2330
2165
|
...output,
|
|
2331
2166
|
body: await parseBody(output.body, context),
|
|
2332
2167
|
};
|
|
2333
|
-
let response;
|
|
2334
2168
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
2335
|
-
|
|
2336
|
-
|
|
2337
|
-
|
|
2338
|
-
|
|
2339
|
-
|
|
2340
|
-
|
|
2341
|
-
|
|
2342
|
-
$fault: "client",
|
|
2343
|
-
$metadata,
|
|
2344
|
-
});
|
|
2345
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
2346
|
-
}
|
|
2169
|
+
const parsedBody = parsedOutput.body;
|
|
2170
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2171
|
+
output,
|
|
2172
|
+
parsedBody: parsedBody.Error,
|
|
2173
|
+
exceptionCtor: SESServiceException_1.SESServiceException,
|
|
2174
|
+
errorCode,
|
|
2175
|
+
});
|
|
2347
2176
|
};
|
|
2348
2177
|
const deserializeAws_queryListReceiptFiltersCommand = async (output, context) => {
|
|
2349
2178
|
if (output.statusCode >= 300) {
|
|
@@ -2364,20 +2193,14 @@ const deserializeAws_queryListReceiptFiltersCommandError = async (output, contex
|
|
|
2364
2193
|
...output,
|
|
2365
2194
|
body: await parseBody(output.body, context),
|
|
2366
2195
|
};
|
|
2367
|
-
let response;
|
|
2368
2196
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
2369
|
-
|
|
2370
|
-
|
|
2371
|
-
|
|
2372
|
-
|
|
2373
|
-
|
|
2374
|
-
|
|
2375
|
-
|
|
2376
|
-
$fault: "client",
|
|
2377
|
-
$metadata,
|
|
2378
|
-
});
|
|
2379
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
2380
|
-
}
|
|
2197
|
+
const parsedBody = parsedOutput.body;
|
|
2198
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2199
|
+
output,
|
|
2200
|
+
parsedBody: parsedBody.Error,
|
|
2201
|
+
exceptionCtor: SESServiceException_1.SESServiceException,
|
|
2202
|
+
errorCode,
|
|
2203
|
+
});
|
|
2381
2204
|
};
|
|
2382
2205
|
const deserializeAws_queryListReceiptRuleSetsCommand = async (output, context) => {
|
|
2383
2206
|
if (output.statusCode >= 300) {
|
|
@@ -2398,20 +2221,14 @@ const deserializeAws_queryListReceiptRuleSetsCommandError = async (output, conte
|
|
|
2398
2221
|
...output,
|
|
2399
2222
|
body: await parseBody(output.body, context),
|
|
2400
2223
|
};
|
|
2401
|
-
let response;
|
|
2402
2224
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
2403
|
-
|
|
2404
|
-
|
|
2405
|
-
|
|
2406
|
-
|
|
2407
|
-
|
|
2408
|
-
|
|
2409
|
-
|
|
2410
|
-
$fault: "client",
|
|
2411
|
-
$metadata,
|
|
2412
|
-
});
|
|
2413
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
2414
|
-
}
|
|
2225
|
+
const parsedBody = parsedOutput.body;
|
|
2226
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2227
|
+
output,
|
|
2228
|
+
parsedBody: parsedBody.Error,
|
|
2229
|
+
exceptionCtor: SESServiceException_1.SESServiceException,
|
|
2230
|
+
errorCode,
|
|
2231
|
+
});
|
|
2415
2232
|
};
|
|
2416
2233
|
const deserializeAws_queryListTemplatesCommand = async (output, context) => {
|
|
2417
2234
|
if (output.statusCode >= 300) {
|
|
@@ -2432,20 +2249,14 @@ const deserializeAws_queryListTemplatesCommandError = async (output, context) =>
|
|
|
2432
2249
|
...output,
|
|
2433
2250
|
body: await parseBody(output.body, context),
|
|
2434
2251
|
};
|
|
2435
|
-
let response;
|
|
2436
2252
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
2437
|
-
|
|
2438
|
-
|
|
2439
|
-
|
|
2440
|
-
|
|
2441
|
-
|
|
2442
|
-
|
|
2443
|
-
|
|
2444
|
-
$fault: "client",
|
|
2445
|
-
$metadata,
|
|
2446
|
-
});
|
|
2447
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
2448
|
-
}
|
|
2253
|
+
const parsedBody = parsedOutput.body;
|
|
2254
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2255
|
+
output,
|
|
2256
|
+
parsedBody: parsedBody.Error,
|
|
2257
|
+
exceptionCtor: SESServiceException_1.SESServiceException,
|
|
2258
|
+
errorCode,
|
|
2259
|
+
});
|
|
2449
2260
|
};
|
|
2450
2261
|
const deserializeAws_queryListVerifiedEmailAddressesCommand = async (output, context) => {
|
|
2451
2262
|
if (output.statusCode >= 300) {
|
|
@@ -2466,20 +2277,14 @@ const deserializeAws_queryListVerifiedEmailAddressesCommandError = async (output
|
|
|
2466
2277
|
...output,
|
|
2467
2278
|
body: await parseBody(output.body, context),
|
|
2468
2279
|
};
|
|
2469
|
-
let response;
|
|
2470
2280
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
2471
|
-
|
|
2472
|
-
|
|
2473
|
-
|
|
2474
|
-
|
|
2475
|
-
|
|
2476
|
-
|
|
2477
|
-
|
|
2478
|
-
$fault: "client",
|
|
2479
|
-
$metadata,
|
|
2480
|
-
});
|
|
2481
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
2482
|
-
}
|
|
2281
|
+
const parsedBody = parsedOutput.body;
|
|
2282
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2283
|
+
output,
|
|
2284
|
+
parsedBody: parsedBody.Error,
|
|
2285
|
+
exceptionCtor: SESServiceException_1.SESServiceException,
|
|
2286
|
+
errorCode,
|
|
2287
|
+
});
|
|
2483
2288
|
};
|
|
2484
2289
|
const deserializeAws_queryPutConfigurationSetDeliveryOptionsCommand = async (output, context) => {
|
|
2485
2290
|
if (output.statusCode >= 300) {
|
|
@@ -2500,7 +2305,6 @@ const deserializeAws_queryPutConfigurationSetDeliveryOptionsCommandError = async
|
|
|
2500
2305
|
...output,
|
|
2501
2306
|
body: await parseBody(output.body, context),
|
|
2502
2307
|
};
|
|
2503
|
-
let response;
|
|
2504
2308
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
2505
2309
|
switch (errorCode) {
|
|
2506
2310
|
case "ConfigurationSetDoesNotExistException":
|
|
@@ -2511,14 +2315,12 @@ const deserializeAws_queryPutConfigurationSetDeliveryOptionsCommandError = async
|
|
|
2511
2315
|
throw await deserializeAws_queryInvalidDeliveryOptionsExceptionResponse(parsedOutput, context);
|
|
2512
2316
|
default:
|
|
2513
2317
|
const parsedBody = parsedOutput.body;
|
|
2514
|
-
|
|
2515
|
-
|
|
2516
|
-
|
|
2517
|
-
|
|
2518
|
-
|
|
2519
|
-
$metadata,
|
|
2318
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2319
|
+
output,
|
|
2320
|
+
parsedBody: parsedBody.Error,
|
|
2321
|
+
exceptionCtor: SESServiceException_1.SESServiceException,
|
|
2322
|
+
errorCode,
|
|
2520
2323
|
});
|
|
2521
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
2522
2324
|
}
|
|
2523
2325
|
};
|
|
2524
2326
|
const deserializeAws_queryPutIdentityPolicyCommand = async (output, context) => {
|
|
@@ -2540,7 +2342,6 @@ const deserializeAws_queryPutIdentityPolicyCommandError = async (output, context
|
|
|
2540
2342
|
...output,
|
|
2541
2343
|
body: await parseBody(output.body, context),
|
|
2542
2344
|
};
|
|
2543
|
-
let response;
|
|
2544
2345
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
2545
2346
|
switch (errorCode) {
|
|
2546
2347
|
case "InvalidPolicyException":
|
|
@@ -2548,14 +2349,12 @@ const deserializeAws_queryPutIdentityPolicyCommandError = async (output, context
|
|
|
2548
2349
|
throw await deserializeAws_queryInvalidPolicyExceptionResponse(parsedOutput, context);
|
|
2549
2350
|
default:
|
|
2550
2351
|
const parsedBody = parsedOutput.body;
|
|
2551
|
-
|
|
2552
|
-
|
|
2553
|
-
|
|
2554
|
-
|
|
2555
|
-
|
|
2556
|
-
$metadata,
|
|
2352
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2353
|
+
output,
|
|
2354
|
+
parsedBody: parsedBody.Error,
|
|
2355
|
+
exceptionCtor: SESServiceException_1.SESServiceException,
|
|
2356
|
+
errorCode,
|
|
2557
2357
|
});
|
|
2558
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
2559
2358
|
}
|
|
2560
2359
|
};
|
|
2561
2360
|
const deserializeAws_queryReorderReceiptRuleSetCommand = async (output, context) => {
|
|
@@ -2577,7 +2376,6 @@ const deserializeAws_queryReorderReceiptRuleSetCommandError = async (output, con
|
|
|
2577
2376
|
...output,
|
|
2578
2377
|
body: await parseBody(output.body, context),
|
|
2579
2378
|
};
|
|
2580
|
-
let response;
|
|
2581
2379
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
2582
2380
|
switch (errorCode) {
|
|
2583
2381
|
case "RuleDoesNotExistException":
|
|
@@ -2588,14 +2386,12 @@ const deserializeAws_queryReorderReceiptRuleSetCommandError = async (output, con
|
|
|
2588
2386
|
throw await deserializeAws_queryRuleSetDoesNotExistExceptionResponse(parsedOutput, context);
|
|
2589
2387
|
default:
|
|
2590
2388
|
const parsedBody = parsedOutput.body;
|
|
2591
|
-
|
|
2592
|
-
|
|
2593
|
-
|
|
2594
|
-
|
|
2595
|
-
|
|
2596
|
-
$metadata,
|
|
2389
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2390
|
+
output,
|
|
2391
|
+
parsedBody: parsedBody.Error,
|
|
2392
|
+
exceptionCtor: SESServiceException_1.SESServiceException,
|
|
2393
|
+
errorCode,
|
|
2597
2394
|
});
|
|
2598
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
2599
2395
|
}
|
|
2600
2396
|
};
|
|
2601
2397
|
const deserializeAws_querySendBounceCommand = async (output, context) => {
|
|
@@ -2617,7 +2413,6 @@ const deserializeAws_querySendBounceCommandError = async (output, context) => {
|
|
|
2617
2413
|
...output,
|
|
2618
2414
|
body: await parseBody(output.body, context),
|
|
2619
2415
|
};
|
|
2620
|
-
let response;
|
|
2621
2416
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
2622
2417
|
switch (errorCode) {
|
|
2623
2418
|
case "MessageRejected":
|
|
@@ -2625,14 +2420,12 @@ const deserializeAws_querySendBounceCommandError = async (output, context) => {
|
|
|
2625
2420
|
throw await deserializeAws_queryMessageRejectedResponse(parsedOutput, context);
|
|
2626
2421
|
default:
|
|
2627
2422
|
const parsedBody = parsedOutput.body;
|
|
2628
|
-
|
|
2629
|
-
|
|
2630
|
-
|
|
2631
|
-
|
|
2632
|
-
|
|
2633
|
-
$metadata,
|
|
2423
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2424
|
+
output,
|
|
2425
|
+
parsedBody: parsedBody.Error,
|
|
2426
|
+
exceptionCtor: SESServiceException_1.SESServiceException,
|
|
2427
|
+
errorCode,
|
|
2634
2428
|
});
|
|
2635
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
2636
2429
|
}
|
|
2637
2430
|
};
|
|
2638
2431
|
const deserializeAws_querySendBulkTemplatedEmailCommand = async (output, context) => {
|
|
@@ -2654,7 +2447,6 @@ const deserializeAws_querySendBulkTemplatedEmailCommandError = async (output, co
|
|
|
2654
2447
|
...output,
|
|
2655
2448
|
body: await parseBody(output.body, context),
|
|
2656
2449
|
};
|
|
2657
|
-
let response;
|
|
2658
2450
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
2659
2451
|
switch (errorCode) {
|
|
2660
2452
|
case "AccountSendingPausedException":
|
|
@@ -2677,14 +2469,12 @@ const deserializeAws_querySendBulkTemplatedEmailCommandError = async (output, co
|
|
|
2677
2469
|
throw await deserializeAws_queryTemplateDoesNotExistExceptionResponse(parsedOutput, context);
|
|
2678
2470
|
default:
|
|
2679
2471
|
const parsedBody = parsedOutput.body;
|
|
2680
|
-
|
|
2681
|
-
|
|
2682
|
-
|
|
2683
|
-
|
|
2684
|
-
|
|
2685
|
-
$metadata,
|
|
2472
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2473
|
+
output,
|
|
2474
|
+
parsedBody: parsedBody.Error,
|
|
2475
|
+
exceptionCtor: SESServiceException_1.SESServiceException,
|
|
2476
|
+
errorCode,
|
|
2686
2477
|
});
|
|
2687
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
2688
2478
|
}
|
|
2689
2479
|
};
|
|
2690
2480
|
const deserializeAws_querySendCustomVerificationEmailCommand = async (output, context) => {
|
|
@@ -2706,7 +2496,6 @@ const deserializeAws_querySendCustomVerificationEmailCommandError = async (outpu
|
|
|
2706
2496
|
...output,
|
|
2707
2497
|
body: await parseBody(output.body, context),
|
|
2708
2498
|
};
|
|
2709
|
-
let response;
|
|
2710
2499
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
2711
2500
|
switch (errorCode) {
|
|
2712
2501
|
case "ConfigurationSetDoesNotExistException":
|
|
@@ -2726,14 +2515,12 @@ const deserializeAws_querySendCustomVerificationEmailCommandError = async (outpu
|
|
|
2726
2515
|
throw await deserializeAws_queryProductionAccessNotGrantedExceptionResponse(parsedOutput, context);
|
|
2727
2516
|
default:
|
|
2728
2517
|
const parsedBody = parsedOutput.body;
|
|
2729
|
-
|
|
2730
|
-
|
|
2731
|
-
|
|
2732
|
-
|
|
2733
|
-
|
|
2734
|
-
$metadata,
|
|
2518
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2519
|
+
output,
|
|
2520
|
+
parsedBody: parsedBody.Error,
|
|
2521
|
+
exceptionCtor: SESServiceException_1.SESServiceException,
|
|
2522
|
+
errorCode,
|
|
2735
2523
|
});
|
|
2736
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
2737
2524
|
}
|
|
2738
2525
|
};
|
|
2739
2526
|
const deserializeAws_querySendEmailCommand = async (output, context) => {
|
|
@@ -2755,7 +2542,6 @@ const deserializeAws_querySendEmailCommandError = async (output, context) => {
|
|
|
2755
2542
|
...output,
|
|
2756
2543
|
body: await parseBody(output.body, context),
|
|
2757
2544
|
};
|
|
2758
|
-
let response;
|
|
2759
2545
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
2760
2546
|
switch (errorCode) {
|
|
2761
2547
|
case "AccountSendingPausedException":
|
|
@@ -2775,14 +2561,12 @@ const deserializeAws_querySendEmailCommandError = async (output, context) => {
|
|
|
2775
2561
|
throw await deserializeAws_queryMessageRejectedResponse(parsedOutput, context);
|
|
2776
2562
|
default:
|
|
2777
2563
|
const parsedBody = parsedOutput.body;
|
|
2778
|
-
|
|
2779
|
-
|
|
2780
|
-
|
|
2781
|
-
|
|
2782
|
-
|
|
2783
|
-
$metadata,
|
|
2564
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2565
|
+
output,
|
|
2566
|
+
parsedBody: parsedBody.Error,
|
|
2567
|
+
exceptionCtor: SESServiceException_1.SESServiceException,
|
|
2568
|
+
errorCode,
|
|
2784
2569
|
});
|
|
2785
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
2786
2570
|
}
|
|
2787
2571
|
};
|
|
2788
2572
|
const deserializeAws_querySendRawEmailCommand = async (output, context) => {
|
|
@@ -2804,7 +2588,6 @@ const deserializeAws_querySendRawEmailCommandError = async (output, context) =>
|
|
|
2804
2588
|
...output,
|
|
2805
2589
|
body: await parseBody(output.body, context),
|
|
2806
2590
|
};
|
|
2807
|
-
let response;
|
|
2808
2591
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
2809
2592
|
switch (errorCode) {
|
|
2810
2593
|
case "AccountSendingPausedException":
|
|
@@ -2824,14 +2607,12 @@ const deserializeAws_querySendRawEmailCommandError = async (output, context) =>
|
|
|
2824
2607
|
throw await deserializeAws_queryMessageRejectedResponse(parsedOutput, context);
|
|
2825
2608
|
default:
|
|
2826
2609
|
const parsedBody = parsedOutput.body;
|
|
2827
|
-
|
|
2828
|
-
|
|
2829
|
-
|
|
2830
|
-
|
|
2831
|
-
|
|
2832
|
-
$metadata,
|
|
2610
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2611
|
+
output,
|
|
2612
|
+
parsedBody: parsedBody.Error,
|
|
2613
|
+
exceptionCtor: SESServiceException_1.SESServiceException,
|
|
2614
|
+
errorCode,
|
|
2833
2615
|
});
|
|
2834
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
2835
2616
|
}
|
|
2836
2617
|
};
|
|
2837
2618
|
const deserializeAws_querySendTemplatedEmailCommand = async (output, context) => {
|
|
@@ -2853,7 +2634,6 @@ const deserializeAws_querySendTemplatedEmailCommandError = async (output, contex
|
|
|
2853
2634
|
...output,
|
|
2854
2635
|
body: await parseBody(output.body, context),
|
|
2855
2636
|
};
|
|
2856
|
-
let response;
|
|
2857
2637
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
2858
2638
|
switch (errorCode) {
|
|
2859
2639
|
case "AccountSendingPausedException":
|
|
@@ -2876,14 +2656,12 @@ const deserializeAws_querySendTemplatedEmailCommandError = async (output, contex
|
|
|
2876
2656
|
throw await deserializeAws_queryTemplateDoesNotExistExceptionResponse(parsedOutput, context);
|
|
2877
2657
|
default:
|
|
2878
2658
|
const parsedBody = parsedOutput.body;
|
|
2879
|
-
|
|
2880
|
-
|
|
2881
|
-
|
|
2882
|
-
|
|
2883
|
-
|
|
2884
|
-
$metadata,
|
|
2659
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2660
|
+
output,
|
|
2661
|
+
parsedBody: parsedBody.Error,
|
|
2662
|
+
exceptionCtor: SESServiceException_1.SESServiceException,
|
|
2663
|
+
errorCode,
|
|
2885
2664
|
});
|
|
2886
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
2887
2665
|
}
|
|
2888
2666
|
};
|
|
2889
2667
|
const deserializeAws_querySetActiveReceiptRuleSetCommand = async (output, context) => {
|
|
@@ -2905,7 +2683,6 @@ const deserializeAws_querySetActiveReceiptRuleSetCommandError = async (output, c
|
|
|
2905
2683
|
...output,
|
|
2906
2684
|
body: await parseBody(output.body, context),
|
|
2907
2685
|
};
|
|
2908
|
-
let response;
|
|
2909
2686
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
2910
2687
|
switch (errorCode) {
|
|
2911
2688
|
case "RuleSetDoesNotExistException":
|
|
@@ -2913,14 +2690,12 @@ const deserializeAws_querySetActiveReceiptRuleSetCommandError = async (output, c
|
|
|
2913
2690
|
throw await deserializeAws_queryRuleSetDoesNotExistExceptionResponse(parsedOutput, context);
|
|
2914
2691
|
default:
|
|
2915
2692
|
const parsedBody = parsedOutput.body;
|
|
2916
|
-
|
|
2917
|
-
|
|
2918
|
-
|
|
2919
|
-
|
|
2920
|
-
|
|
2921
|
-
$metadata,
|
|
2693
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2694
|
+
output,
|
|
2695
|
+
parsedBody: parsedBody.Error,
|
|
2696
|
+
exceptionCtor: SESServiceException_1.SESServiceException,
|
|
2697
|
+
errorCode,
|
|
2922
2698
|
});
|
|
2923
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
2924
2699
|
}
|
|
2925
2700
|
};
|
|
2926
2701
|
const deserializeAws_querySetIdentityDkimEnabledCommand = async (output, context) => {
|
|
@@ -2942,20 +2717,14 @@ const deserializeAws_querySetIdentityDkimEnabledCommandError = async (output, co
|
|
|
2942
2717
|
...output,
|
|
2943
2718
|
body: await parseBody(output.body, context),
|
|
2944
2719
|
};
|
|
2945
|
-
let response;
|
|
2946
2720
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
2947
|
-
|
|
2948
|
-
|
|
2949
|
-
|
|
2950
|
-
|
|
2951
|
-
|
|
2952
|
-
|
|
2953
|
-
|
|
2954
|
-
$fault: "client",
|
|
2955
|
-
$metadata,
|
|
2956
|
-
});
|
|
2957
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
2958
|
-
}
|
|
2721
|
+
const parsedBody = parsedOutput.body;
|
|
2722
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2723
|
+
output,
|
|
2724
|
+
parsedBody: parsedBody.Error,
|
|
2725
|
+
exceptionCtor: SESServiceException_1.SESServiceException,
|
|
2726
|
+
errorCode,
|
|
2727
|
+
});
|
|
2959
2728
|
};
|
|
2960
2729
|
const deserializeAws_querySetIdentityFeedbackForwardingEnabledCommand = async (output, context) => {
|
|
2961
2730
|
if (output.statusCode >= 300) {
|
|
@@ -2976,20 +2745,14 @@ const deserializeAws_querySetIdentityFeedbackForwardingEnabledCommandError = asy
|
|
|
2976
2745
|
...output,
|
|
2977
2746
|
body: await parseBody(output.body, context),
|
|
2978
2747
|
};
|
|
2979
|
-
let response;
|
|
2980
2748
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
2981
|
-
|
|
2982
|
-
|
|
2983
|
-
|
|
2984
|
-
|
|
2985
|
-
|
|
2986
|
-
|
|
2987
|
-
|
|
2988
|
-
$fault: "client",
|
|
2989
|
-
$metadata,
|
|
2990
|
-
});
|
|
2991
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
2992
|
-
}
|
|
2749
|
+
const parsedBody = parsedOutput.body;
|
|
2750
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2751
|
+
output,
|
|
2752
|
+
parsedBody: parsedBody.Error,
|
|
2753
|
+
exceptionCtor: SESServiceException_1.SESServiceException,
|
|
2754
|
+
errorCode,
|
|
2755
|
+
});
|
|
2993
2756
|
};
|
|
2994
2757
|
const deserializeAws_querySetIdentityHeadersInNotificationsEnabledCommand = async (output, context) => {
|
|
2995
2758
|
if (output.statusCode >= 300) {
|
|
@@ -3010,20 +2773,14 @@ const deserializeAws_querySetIdentityHeadersInNotificationsEnabledCommandError =
|
|
|
3010
2773
|
...output,
|
|
3011
2774
|
body: await parseBody(output.body, context),
|
|
3012
2775
|
};
|
|
3013
|
-
let response;
|
|
3014
2776
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
3015
|
-
|
|
3016
|
-
|
|
3017
|
-
|
|
3018
|
-
|
|
3019
|
-
|
|
3020
|
-
|
|
3021
|
-
|
|
3022
|
-
$fault: "client",
|
|
3023
|
-
$metadata,
|
|
3024
|
-
});
|
|
3025
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
3026
|
-
}
|
|
2777
|
+
const parsedBody = parsedOutput.body;
|
|
2778
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2779
|
+
output,
|
|
2780
|
+
parsedBody: parsedBody.Error,
|
|
2781
|
+
exceptionCtor: SESServiceException_1.SESServiceException,
|
|
2782
|
+
errorCode,
|
|
2783
|
+
});
|
|
3027
2784
|
};
|
|
3028
2785
|
const deserializeAws_querySetIdentityMailFromDomainCommand = async (output, context) => {
|
|
3029
2786
|
if (output.statusCode >= 300) {
|
|
@@ -3044,20 +2801,14 @@ const deserializeAws_querySetIdentityMailFromDomainCommandError = async (output,
|
|
|
3044
2801
|
...output,
|
|
3045
2802
|
body: await parseBody(output.body, context),
|
|
3046
2803
|
};
|
|
3047
|
-
let response;
|
|
3048
2804
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
3049
|
-
|
|
3050
|
-
|
|
3051
|
-
|
|
3052
|
-
|
|
3053
|
-
|
|
3054
|
-
|
|
3055
|
-
|
|
3056
|
-
$fault: "client",
|
|
3057
|
-
$metadata,
|
|
3058
|
-
});
|
|
3059
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
3060
|
-
}
|
|
2805
|
+
const parsedBody = parsedOutput.body;
|
|
2806
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2807
|
+
output,
|
|
2808
|
+
parsedBody: parsedBody.Error,
|
|
2809
|
+
exceptionCtor: SESServiceException_1.SESServiceException,
|
|
2810
|
+
errorCode,
|
|
2811
|
+
});
|
|
3061
2812
|
};
|
|
3062
2813
|
const deserializeAws_querySetIdentityNotificationTopicCommand = async (output, context) => {
|
|
3063
2814
|
if (output.statusCode >= 300) {
|
|
@@ -3078,20 +2829,14 @@ const deserializeAws_querySetIdentityNotificationTopicCommandError = async (outp
|
|
|
3078
2829
|
...output,
|
|
3079
2830
|
body: await parseBody(output.body, context),
|
|
3080
2831
|
};
|
|
3081
|
-
let response;
|
|
3082
2832
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
3083
|
-
|
|
3084
|
-
|
|
3085
|
-
|
|
3086
|
-
|
|
3087
|
-
|
|
3088
|
-
|
|
3089
|
-
|
|
3090
|
-
$fault: "client",
|
|
3091
|
-
$metadata,
|
|
3092
|
-
});
|
|
3093
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
3094
|
-
}
|
|
2833
|
+
const parsedBody = parsedOutput.body;
|
|
2834
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2835
|
+
output,
|
|
2836
|
+
parsedBody: parsedBody.Error,
|
|
2837
|
+
exceptionCtor: SESServiceException_1.SESServiceException,
|
|
2838
|
+
errorCode,
|
|
2839
|
+
});
|
|
3095
2840
|
};
|
|
3096
2841
|
const deserializeAws_querySetReceiptRulePositionCommand = async (output, context) => {
|
|
3097
2842
|
if (output.statusCode >= 300) {
|
|
@@ -3112,7 +2857,6 @@ const deserializeAws_querySetReceiptRulePositionCommandError = async (output, co
|
|
|
3112
2857
|
...output,
|
|
3113
2858
|
body: await parseBody(output.body, context),
|
|
3114
2859
|
};
|
|
3115
|
-
let response;
|
|
3116
2860
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
3117
2861
|
switch (errorCode) {
|
|
3118
2862
|
case "RuleDoesNotExistException":
|
|
@@ -3123,14 +2867,12 @@ const deserializeAws_querySetReceiptRulePositionCommandError = async (output, co
|
|
|
3123
2867
|
throw await deserializeAws_queryRuleSetDoesNotExistExceptionResponse(parsedOutput, context);
|
|
3124
2868
|
default:
|
|
3125
2869
|
const parsedBody = parsedOutput.body;
|
|
3126
|
-
|
|
3127
|
-
|
|
3128
|
-
|
|
3129
|
-
|
|
3130
|
-
|
|
3131
|
-
$metadata,
|
|
2870
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2871
|
+
output,
|
|
2872
|
+
parsedBody: parsedBody.Error,
|
|
2873
|
+
exceptionCtor: SESServiceException_1.SESServiceException,
|
|
2874
|
+
errorCode,
|
|
3132
2875
|
});
|
|
3133
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
3134
2876
|
}
|
|
3135
2877
|
};
|
|
3136
2878
|
const deserializeAws_queryTestRenderTemplateCommand = async (output, context) => {
|
|
@@ -3152,7 +2894,6 @@ const deserializeAws_queryTestRenderTemplateCommandError = async (output, contex
|
|
|
3152
2894
|
...output,
|
|
3153
2895
|
body: await parseBody(output.body, context),
|
|
3154
2896
|
};
|
|
3155
|
-
let response;
|
|
3156
2897
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
3157
2898
|
switch (errorCode) {
|
|
3158
2899
|
case "InvalidRenderingParameterException":
|
|
@@ -3166,14 +2907,12 @@ const deserializeAws_queryTestRenderTemplateCommandError = async (output, contex
|
|
|
3166
2907
|
throw await deserializeAws_queryTemplateDoesNotExistExceptionResponse(parsedOutput, context);
|
|
3167
2908
|
default:
|
|
3168
2909
|
const parsedBody = parsedOutput.body;
|
|
3169
|
-
|
|
3170
|
-
|
|
3171
|
-
|
|
3172
|
-
|
|
3173
|
-
|
|
3174
|
-
$metadata,
|
|
2910
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2911
|
+
output,
|
|
2912
|
+
parsedBody: parsedBody.Error,
|
|
2913
|
+
exceptionCtor: SESServiceException_1.SESServiceException,
|
|
2914
|
+
errorCode,
|
|
3175
2915
|
});
|
|
3176
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
3177
2916
|
}
|
|
3178
2917
|
};
|
|
3179
2918
|
const deserializeAws_queryUpdateAccountSendingEnabledCommand = async (output, context) => {
|
|
@@ -3192,20 +2931,14 @@ const deserializeAws_queryUpdateAccountSendingEnabledCommandError = async (outpu
|
|
|
3192
2931
|
...output,
|
|
3193
2932
|
body: await parseBody(output.body, context),
|
|
3194
2933
|
};
|
|
3195
|
-
let response;
|
|
3196
2934
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
3197
|
-
|
|
3198
|
-
|
|
3199
|
-
|
|
3200
|
-
|
|
3201
|
-
|
|
3202
|
-
|
|
3203
|
-
|
|
3204
|
-
$fault: "client",
|
|
3205
|
-
$metadata,
|
|
3206
|
-
});
|
|
3207
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
3208
|
-
}
|
|
2935
|
+
const parsedBody = parsedOutput.body;
|
|
2936
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2937
|
+
output,
|
|
2938
|
+
parsedBody: parsedBody.Error,
|
|
2939
|
+
exceptionCtor: SESServiceException_1.SESServiceException,
|
|
2940
|
+
errorCode,
|
|
2941
|
+
});
|
|
3209
2942
|
};
|
|
3210
2943
|
const deserializeAws_queryUpdateConfigurationSetEventDestinationCommand = async (output, context) => {
|
|
3211
2944
|
if (output.statusCode >= 300) {
|
|
@@ -3226,7 +2959,6 @@ const deserializeAws_queryUpdateConfigurationSetEventDestinationCommandError = a
|
|
|
3226
2959
|
...output,
|
|
3227
2960
|
body: await parseBody(output.body, context),
|
|
3228
2961
|
};
|
|
3229
|
-
let response;
|
|
3230
2962
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
3231
2963
|
switch (errorCode) {
|
|
3232
2964
|
case "ConfigurationSetDoesNotExistException":
|
|
@@ -3246,14 +2978,12 @@ const deserializeAws_queryUpdateConfigurationSetEventDestinationCommandError = a
|
|
|
3246
2978
|
throw await deserializeAws_queryInvalidSNSDestinationExceptionResponse(parsedOutput, context);
|
|
3247
2979
|
default:
|
|
3248
2980
|
const parsedBody = parsedOutput.body;
|
|
3249
|
-
|
|
3250
|
-
|
|
3251
|
-
|
|
3252
|
-
|
|
3253
|
-
|
|
3254
|
-
$metadata,
|
|
2981
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2982
|
+
output,
|
|
2983
|
+
parsedBody: parsedBody.Error,
|
|
2984
|
+
exceptionCtor: SESServiceException_1.SESServiceException,
|
|
2985
|
+
errorCode,
|
|
3255
2986
|
});
|
|
3256
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
3257
2987
|
}
|
|
3258
2988
|
};
|
|
3259
2989
|
const deserializeAws_queryUpdateConfigurationSetReputationMetricsEnabledCommand = async (output, context) => {
|
|
@@ -3272,7 +3002,6 @@ const deserializeAws_queryUpdateConfigurationSetReputationMetricsEnabledCommandE
|
|
|
3272
3002
|
...output,
|
|
3273
3003
|
body: await parseBody(output.body, context),
|
|
3274
3004
|
};
|
|
3275
|
-
let response;
|
|
3276
3005
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
3277
3006
|
switch (errorCode) {
|
|
3278
3007
|
case "ConfigurationSetDoesNotExistException":
|
|
@@ -3280,14 +3009,12 @@ const deserializeAws_queryUpdateConfigurationSetReputationMetricsEnabledCommandE
|
|
|
3280
3009
|
throw await deserializeAws_queryConfigurationSetDoesNotExistExceptionResponse(parsedOutput, context);
|
|
3281
3010
|
default:
|
|
3282
3011
|
const parsedBody = parsedOutput.body;
|
|
3283
|
-
|
|
3284
|
-
|
|
3285
|
-
|
|
3286
|
-
|
|
3287
|
-
|
|
3288
|
-
$metadata,
|
|
3012
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
3013
|
+
output,
|
|
3014
|
+
parsedBody: parsedBody.Error,
|
|
3015
|
+
exceptionCtor: SESServiceException_1.SESServiceException,
|
|
3016
|
+
errorCode,
|
|
3289
3017
|
});
|
|
3290
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
3291
3018
|
}
|
|
3292
3019
|
};
|
|
3293
3020
|
const deserializeAws_queryUpdateConfigurationSetSendingEnabledCommand = async (output, context) => {
|
|
@@ -3306,7 +3033,6 @@ const deserializeAws_queryUpdateConfigurationSetSendingEnabledCommandError = asy
|
|
|
3306
3033
|
...output,
|
|
3307
3034
|
body: await parseBody(output.body, context),
|
|
3308
3035
|
};
|
|
3309
|
-
let response;
|
|
3310
3036
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
3311
3037
|
switch (errorCode) {
|
|
3312
3038
|
case "ConfigurationSetDoesNotExistException":
|
|
@@ -3314,14 +3040,12 @@ const deserializeAws_queryUpdateConfigurationSetSendingEnabledCommandError = asy
|
|
|
3314
3040
|
throw await deserializeAws_queryConfigurationSetDoesNotExistExceptionResponse(parsedOutput, context);
|
|
3315
3041
|
default:
|
|
3316
3042
|
const parsedBody = parsedOutput.body;
|
|
3317
|
-
|
|
3318
|
-
|
|
3319
|
-
|
|
3320
|
-
|
|
3321
|
-
|
|
3322
|
-
$metadata,
|
|
3043
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
3044
|
+
output,
|
|
3045
|
+
parsedBody: parsedBody.Error,
|
|
3046
|
+
exceptionCtor: SESServiceException_1.SESServiceException,
|
|
3047
|
+
errorCode,
|
|
3323
3048
|
});
|
|
3324
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
3325
3049
|
}
|
|
3326
3050
|
};
|
|
3327
3051
|
const deserializeAws_queryUpdateConfigurationSetTrackingOptionsCommand = async (output, context) => {
|
|
@@ -3343,7 +3067,6 @@ const deserializeAws_queryUpdateConfigurationSetTrackingOptionsCommandError = as
|
|
|
3343
3067
|
...output,
|
|
3344
3068
|
body: await parseBody(output.body, context),
|
|
3345
3069
|
};
|
|
3346
|
-
let response;
|
|
3347
3070
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
3348
3071
|
switch (errorCode) {
|
|
3349
3072
|
case "ConfigurationSetDoesNotExistException":
|
|
@@ -3357,14 +3080,12 @@ const deserializeAws_queryUpdateConfigurationSetTrackingOptionsCommandError = as
|
|
|
3357
3080
|
throw await deserializeAws_queryTrackingOptionsDoesNotExistExceptionResponse(parsedOutput, context);
|
|
3358
3081
|
default:
|
|
3359
3082
|
const parsedBody = parsedOutput.body;
|
|
3360
|
-
|
|
3361
|
-
|
|
3362
|
-
|
|
3363
|
-
|
|
3364
|
-
|
|
3365
|
-
$metadata,
|
|
3083
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
3084
|
+
output,
|
|
3085
|
+
parsedBody: parsedBody.Error,
|
|
3086
|
+
exceptionCtor: SESServiceException_1.SESServiceException,
|
|
3087
|
+
errorCode,
|
|
3366
3088
|
});
|
|
3367
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
3368
3089
|
}
|
|
3369
3090
|
};
|
|
3370
3091
|
const deserializeAws_queryUpdateCustomVerificationEmailTemplateCommand = async (output, context) => {
|
|
@@ -3383,7 +3104,6 @@ const deserializeAws_queryUpdateCustomVerificationEmailTemplateCommandError = as
|
|
|
3383
3104
|
...output,
|
|
3384
3105
|
body: await parseBody(output.body, context),
|
|
3385
3106
|
};
|
|
3386
|
-
let response;
|
|
3387
3107
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
3388
3108
|
switch (errorCode) {
|
|
3389
3109
|
case "CustomVerificationEmailInvalidContentException":
|
|
@@ -3397,14 +3117,12 @@ const deserializeAws_queryUpdateCustomVerificationEmailTemplateCommandError = as
|
|
|
3397
3117
|
throw await deserializeAws_queryFromEmailAddressNotVerifiedExceptionResponse(parsedOutput, context);
|
|
3398
3118
|
default:
|
|
3399
3119
|
const parsedBody = parsedOutput.body;
|
|
3400
|
-
|
|
3401
|
-
|
|
3402
|
-
|
|
3403
|
-
|
|
3404
|
-
|
|
3405
|
-
$metadata,
|
|
3120
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
3121
|
+
output,
|
|
3122
|
+
parsedBody: parsedBody.Error,
|
|
3123
|
+
exceptionCtor: SESServiceException_1.SESServiceException,
|
|
3124
|
+
errorCode,
|
|
3406
3125
|
});
|
|
3407
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
3408
3126
|
}
|
|
3409
3127
|
};
|
|
3410
3128
|
const deserializeAws_queryUpdateReceiptRuleCommand = async (output, context) => {
|
|
@@ -3426,7 +3144,6 @@ const deserializeAws_queryUpdateReceiptRuleCommandError = async (output, context
|
|
|
3426
3144
|
...output,
|
|
3427
3145
|
body: await parseBody(output.body, context),
|
|
3428
3146
|
};
|
|
3429
|
-
let response;
|
|
3430
3147
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
3431
3148
|
switch (errorCode) {
|
|
3432
3149
|
case "InvalidLambdaFunctionException":
|
|
@@ -3449,14 +3166,12 @@ const deserializeAws_queryUpdateReceiptRuleCommandError = async (output, context
|
|
|
3449
3166
|
throw await deserializeAws_queryRuleSetDoesNotExistExceptionResponse(parsedOutput, context);
|
|
3450
3167
|
default:
|
|
3451
3168
|
const parsedBody = parsedOutput.body;
|
|
3452
|
-
|
|
3453
|
-
|
|
3454
|
-
|
|
3455
|
-
|
|
3456
|
-
|
|
3457
|
-
$metadata,
|
|
3169
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
3170
|
+
output,
|
|
3171
|
+
parsedBody: parsedBody.Error,
|
|
3172
|
+
exceptionCtor: SESServiceException_1.SESServiceException,
|
|
3173
|
+
errorCode,
|
|
3458
3174
|
});
|
|
3459
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
3460
3175
|
}
|
|
3461
3176
|
};
|
|
3462
3177
|
const deserializeAws_queryUpdateTemplateCommand = async (output, context) => {
|
|
@@ -3478,7 +3193,6 @@ const deserializeAws_queryUpdateTemplateCommandError = async (output, context) =
|
|
|
3478
3193
|
...output,
|
|
3479
3194
|
body: await parseBody(output.body, context),
|
|
3480
3195
|
};
|
|
3481
|
-
let response;
|
|
3482
3196
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
3483
3197
|
switch (errorCode) {
|
|
3484
3198
|
case "InvalidTemplateException":
|
|
@@ -3489,14 +3203,12 @@ const deserializeAws_queryUpdateTemplateCommandError = async (output, context) =
|
|
|
3489
3203
|
throw await deserializeAws_queryTemplateDoesNotExistExceptionResponse(parsedOutput, context);
|
|
3490
3204
|
default:
|
|
3491
3205
|
const parsedBody = parsedOutput.body;
|
|
3492
|
-
|
|
3493
|
-
|
|
3494
|
-
|
|
3495
|
-
|
|
3496
|
-
|
|
3497
|
-
$metadata,
|
|
3206
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
3207
|
+
output,
|
|
3208
|
+
parsedBody: parsedBody.Error,
|
|
3209
|
+
exceptionCtor: SESServiceException_1.SESServiceException,
|
|
3210
|
+
errorCode,
|
|
3498
3211
|
});
|
|
3499
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
3500
3212
|
}
|
|
3501
3213
|
};
|
|
3502
3214
|
const deserializeAws_queryVerifyDomainDkimCommand = async (output, context) => {
|
|
@@ -3518,20 +3230,14 @@ const deserializeAws_queryVerifyDomainDkimCommandError = async (output, context)
|
|
|
3518
3230
|
...output,
|
|
3519
3231
|
body: await parseBody(output.body, context),
|
|
3520
3232
|
};
|
|
3521
|
-
let response;
|
|
3522
3233
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
3523
|
-
|
|
3524
|
-
|
|
3525
|
-
|
|
3526
|
-
|
|
3527
|
-
|
|
3528
|
-
|
|
3529
|
-
|
|
3530
|
-
$fault: "client",
|
|
3531
|
-
$metadata,
|
|
3532
|
-
});
|
|
3533
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
3534
|
-
}
|
|
3234
|
+
const parsedBody = parsedOutput.body;
|
|
3235
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
3236
|
+
output,
|
|
3237
|
+
parsedBody: parsedBody.Error,
|
|
3238
|
+
exceptionCtor: SESServiceException_1.SESServiceException,
|
|
3239
|
+
errorCode,
|
|
3240
|
+
});
|
|
3535
3241
|
};
|
|
3536
3242
|
const deserializeAws_queryVerifyDomainIdentityCommand = async (output, context) => {
|
|
3537
3243
|
if (output.statusCode >= 300) {
|
|
@@ -3552,20 +3258,14 @@ const deserializeAws_queryVerifyDomainIdentityCommandError = async (output, cont
|
|
|
3552
3258
|
...output,
|
|
3553
3259
|
body: await parseBody(output.body, context),
|
|
3554
3260
|
};
|
|
3555
|
-
let response;
|
|
3556
3261
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
3557
|
-
|
|
3558
|
-
|
|
3559
|
-
|
|
3560
|
-
|
|
3561
|
-
|
|
3562
|
-
|
|
3563
|
-
|
|
3564
|
-
$fault: "client",
|
|
3565
|
-
$metadata,
|
|
3566
|
-
});
|
|
3567
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
3568
|
-
}
|
|
3262
|
+
const parsedBody = parsedOutput.body;
|
|
3263
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
3264
|
+
output,
|
|
3265
|
+
parsedBody: parsedBody.Error,
|
|
3266
|
+
exceptionCtor: SESServiceException_1.SESServiceException,
|
|
3267
|
+
errorCode,
|
|
3268
|
+
});
|
|
3569
3269
|
};
|
|
3570
3270
|
const deserializeAws_queryVerifyEmailAddressCommand = async (output, context) => {
|
|
3571
3271
|
if (output.statusCode >= 300) {
|
|
@@ -3583,20 +3283,14 @@ const deserializeAws_queryVerifyEmailAddressCommandError = async (output, contex
|
|
|
3583
3283
|
...output,
|
|
3584
3284
|
body: await parseBody(output.body, context),
|
|
3585
3285
|
};
|
|
3586
|
-
let response;
|
|
3587
3286
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
3588
|
-
|
|
3589
|
-
|
|
3590
|
-
|
|
3591
|
-
|
|
3592
|
-
|
|
3593
|
-
|
|
3594
|
-
|
|
3595
|
-
$fault: "client",
|
|
3596
|
-
$metadata,
|
|
3597
|
-
});
|
|
3598
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
3599
|
-
}
|
|
3287
|
+
const parsedBody = parsedOutput.body;
|
|
3288
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
3289
|
+
output,
|
|
3290
|
+
parsedBody: parsedBody.Error,
|
|
3291
|
+
exceptionCtor: SESServiceException_1.SESServiceException,
|
|
3292
|
+
errorCode,
|
|
3293
|
+
});
|
|
3600
3294
|
};
|
|
3601
3295
|
const deserializeAws_queryVerifyEmailIdentityCommand = async (output, context) => {
|
|
3602
3296
|
if (output.statusCode >= 300) {
|
|
@@ -3617,20 +3311,14 @@ const deserializeAws_queryVerifyEmailIdentityCommandError = async (output, conte
|
|
|
3617
3311
|
...output,
|
|
3618
3312
|
body: await parseBody(output.body, context),
|
|
3619
3313
|
};
|
|
3620
|
-
let response;
|
|
3621
3314
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
3622
|
-
|
|
3623
|
-
|
|
3624
|
-
|
|
3625
|
-
|
|
3626
|
-
|
|
3627
|
-
|
|
3628
|
-
|
|
3629
|
-
$fault: "client",
|
|
3630
|
-
$metadata,
|
|
3631
|
-
});
|
|
3632
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
3633
|
-
}
|
|
3315
|
+
const parsedBody = parsedOutput.body;
|
|
3316
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
3317
|
+
output,
|
|
3318
|
+
parsedBody: parsedBody.Error,
|
|
3319
|
+
exceptionCtor: SESServiceException_1.SESServiceException,
|
|
3320
|
+
errorCode,
|
|
3321
|
+
});
|
|
3634
3322
|
};
|
|
3635
3323
|
const deserializeAws_queryAccountSendingPausedExceptionResponse = async (parsedOutput, context) => {
|
|
3636
3324
|
const body = parsedOutput.body;
|
|
@@ -3940,10 +3628,10 @@ const deserializeAws_queryTrackingOptionsDoesNotExistExceptionResponse = async (
|
|
|
3940
3628
|
};
|
|
3941
3629
|
const serializeAws_queryAddHeaderAction = (input, context) => {
|
|
3942
3630
|
const entries = {};
|
|
3943
|
-
if (input.HeaderName
|
|
3631
|
+
if (input.HeaderName != null) {
|
|
3944
3632
|
entries["HeaderName"] = input.HeaderName;
|
|
3945
3633
|
}
|
|
3946
|
-
if (input.HeaderValue
|
|
3634
|
+
if (input.HeaderValue != null) {
|
|
3947
3635
|
entries["HeaderValue"] = input.HeaderValue;
|
|
3948
3636
|
}
|
|
3949
3637
|
return entries;
|
|
@@ -3962,14 +3650,14 @@ const serializeAws_queryAddressList = (input, context) => {
|
|
|
3962
3650
|
};
|
|
3963
3651
|
const serializeAws_queryBody = (input, context) => {
|
|
3964
3652
|
const entries = {};
|
|
3965
|
-
if (input.Text
|
|
3653
|
+
if (input.Text != null) {
|
|
3966
3654
|
const memberEntries = serializeAws_queryContent(input.Text, context);
|
|
3967
3655
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
3968
3656
|
const loc = `Text.${key}`;
|
|
3969
3657
|
entries[loc] = value;
|
|
3970
3658
|
});
|
|
3971
3659
|
}
|
|
3972
|
-
if (input.Html
|
|
3660
|
+
if (input.Html != null) {
|
|
3973
3661
|
const memberEntries = serializeAws_queryContent(input.Html, context);
|
|
3974
3662
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
3975
3663
|
const loc = `Html.${key}`;
|
|
@@ -3980,35 +3668,35 @@ const serializeAws_queryBody = (input, context) => {
|
|
|
3980
3668
|
};
|
|
3981
3669
|
const serializeAws_queryBounceAction = (input, context) => {
|
|
3982
3670
|
const entries = {};
|
|
3983
|
-
if (input.TopicArn
|
|
3671
|
+
if (input.TopicArn != null) {
|
|
3984
3672
|
entries["TopicArn"] = input.TopicArn;
|
|
3985
3673
|
}
|
|
3986
|
-
if (input.SmtpReplyCode
|
|
3674
|
+
if (input.SmtpReplyCode != null) {
|
|
3987
3675
|
entries["SmtpReplyCode"] = input.SmtpReplyCode;
|
|
3988
3676
|
}
|
|
3989
|
-
if (input.StatusCode
|
|
3677
|
+
if (input.StatusCode != null) {
|
|
3990
3678
|
entries["StatusCode"] = input.StatusCode;
|
|
3991
3679
|
}
|
|
3992
|
-
if (input.Message
|
|
3680
|
+
if (input.Message != null) {
|
|
3993
3681
|
entries["Message"] = input.Message;
|
|
3994
3682
|
}
|
|
3995
|
-
if (input.Sender
|
|
3683
|
+
if (input.Sender != null) {
|
|
3996
3684
|
entries["Sender"] = input.Sender;
|
|
3997
3685
|
}
|
|
3998
3686
|
return entries;
|
|
3999
3687
|
};
|
|
4000
3688
|
const serializeAws_queryBouncedRecipientInfo = (input, context) => {
|
|
4001
3689
|
const entries = {};
|
|
4002
|
-
if (input.Recipient
|
|
3690
|
+
if (input.Recipient != null) {
|
|
4003
3691
|
entries["Recipient"] = input.Recipient;
|
|
4004
3692
|
}
|
|
4005
|
-
if (input.RecipientArn
|
|
3693
|
+
if (input.RecipientArn != null) {
|
|
4006
3694
|
entries["RecipientArn"] = input.RecipientArn;
|
|
4007
3695
|
}
|
|
4008
|
-
if (input.BounceType
|
|
3696
|
+
if (input.BounceType != null) {
|
|
4009
3697
|
entries["BounceType"] = input.BounceType;
|
|
4010
3698
|
}
|
|
4011
|
-
if (input.RecipientDsnFields
|
|
3699
|
+
if (input.RecipientDsnFields != null) {
|
|
4012
3700
|
const memberEntries = serializeAws_queryRecipientDsnFields(input.RecipientDsnFields, context);
|
|
4013
3701
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4014
3702
|
const loc = `RecipientDsnFields.${key}`;
|
|
@@ -4034,21 +3722,21 @@ const serializeAws_queryBouncedRecipientInfoList = (input, context) => {
|
|
|
4034
3722
|
};
|
|
4035
3723
|
const serializeAws_queryBulkEmailDestination = (input, context) => {
|
|
4036
3724
|
const entries = {};
|
|
4037
|
-
if (input.Destination
|
|
3725
|
+
if (input.Destination != null) {
|
|
4038
3726
|
const memberEntries = serializeAws_queryDestination(input.Destination, context);
|
|
4039
3727
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4040
3728
|
const loc = `Destination.${key}`;
|
|
4041
3729
|
entries[loc] = value;
|
|
4042
3730
|
});
|
|
4043
3731
|
}
|
|
4044
|
-
if (input.ReplacementTags
|
|
3732
|
+
if (input.ReplacementTags != null) {
|
|
4045
3733
|
const memberEntries = serializeAws_queryMessageTagList(input.ReplacementTags, context);
|
|
4046
3734
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4047
3735
|
const loc = `ReplacementTags.${key}`;
|
|
4048
3736
|
entries[loc] = value;
|
|
4049
3737
|
});
|
|
4050
3738
|
}
|
|
4051
|
-
if (input.ReplacementTemplateData
|
|
3739
|
+
if (input.ReplacementTemplateData != null) {
|
|
4052
3740
|
entries["ReplacementTemplateData"] = input.ReplacementTemplateData;
|
|
4053
3741
|
}
|
|
4054
3742
|
return entries;
|
|
@@ -4070,17 +3758,17 @@ const serializeAws_queryBulkEmailDestinationList = (input, context) => {
|
|
|
4070
3758
|
};
|
|
4071
3759
|
const serializeAws_queryCloneReceiptRuleSetRequest = (input, context) => {
|
|
4072
3760
|
const entries = {};
|
|
4073
|
-
if (input.RuleSetName
|
|
3761
|
+
if (input.RuleSetName != null) {
|
|
4074
3762
|
entries["RuleSetName"] = input.RuleSetName;
|
|
4075
3763
|
}
|
|
4076
|
-
if (input.OriginalRuleSetName
|
|
3764
|
+
if (input.OriginalRuleSetName != null) {
|
|
4077
3765
|
entries["OriginalRuleSetName"] = input.OriginalRuleSetName;
|
|
4078
3766
|
}
|
|
4079
3767
|
return entries;
|
|
4080
3768
|
};
|
|
4081
3769
|
const serializeAws_queryCloudWatchDestination = (input, context) => {
|
|
4082
3770
|
const entries = {};
|
|
4083
|
-
if (input.DimensionConfigurations
|
|
3771
|
+
if (input.DimensionConfigurations != null) {
|
|
4084
3772
|
const memberEntries = serializeAws_queryCloudWatchDimensionConfigurations(input.DimensionConfigurations, context);
|
|
4085
3773
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4086
3774
|
const loc = `DimensionConfigurations.${key}`;
|
|
@@ -4091,13 +3779,13 @@ const serializeAws_queryCloudWatchDestination = (input, context) => {
|
|
|
4091
3779
|
};
|
|
4092
3780
|
const serializeAws_queryCloudWatchDimensionConfiguration = (input, context) => {
|
|
4093
3781
|
const entries = {};
|
|
4094
|
-
if (input.DimensionName
|
|
3782
|
+
if (input.DimensionName != null) {
|
|
4095
3783
|
entries["DimensionName"] = input.DimensionName;
|
|
4096
3784
|
}
|
|
4097
|
-
if (input.DimensionValueSource
|
|
3785
|
+
if (input.DimensionValueSource != null) {
|
|
4098
3786
|
entries["DimensionValueSource"] = input.DimensionValueSource;
|
|
4099
3787
|
}
|
|
4100
|
-
if (input.DefaultDimensionValue
|
|
3788
|
+
if (input.DefaultDimensionValue != null) {
|
|
4101
3789
|
entries["DefaultDimensionValue"] = input.DefaultDimensionValue;
|
|
4102
3790
|
}
|
|
4103
3791
|
return entries;
|
|
@@ -4119,7 +3807,7 @@ const serializeAws_queryCloudWatchDimensionConfigurations = (input, context) =>
|
|
|
4119
3807
|
};
|
|
4120
3808
|
const serializeAws_queryConfigurationSet = (input, context) => {
|
|
4121
3809
|
const entries = {};
|
|
4122
|
-
if (input.Name
|
|
3810
|
+
if (input.Name != null) {
|
|
4123
3811
|
entries["Name"] = input.Name;
|
|
4124
3812
|
}
|
|
4125
3813
|
return entries;
|
|
@@ -4138,20 +3826,20 @@ const serializeAws_queryConfigurationSetAttributeList = (input, context) => {
|
|
|
4138
3826
|
};
|
|
4139
3827
|
const serializeAws_queryContent = (input, context) => {
|
|
4140
3828
|
const entries = {};
|
|
4141
|
-
if (input.Data
|
|
3829
|
+
if (input.Data != null) {
|
|
4142
3830
|
entries["Data"] = input.Data;
|
|
4143
3831
|
}
|
|
4144
|
-
if (input.Charset
|
|
3832
|
+
if (input.Charset != null) {
|
|
4145
3833
|
entries["Charset"] = input.Charset;
|
|
4146
3834
|
}
|
|
4147
3835
|
return entries;
|
|
4148
3836
|
};
|
|
4149
3837
|
const serializeAws_queryCreateConfigurationSetEventDestinationRequest = (input, context) => {
|
|
4150
3838
|
const entries = {};
|
|
4151
|
-
if (input.ConfigurationSetName
|
|
3839
|
+
if (input.ConfigurationSetName != null) {
|
|
4152
3840
|
entries["ConfigurationSetName"] = input.ConfigurationSetName;
|
|
4153
3841
|
}
|
|
4154
|
-
if (input.EventDestination
|
|
3842
|
+
if (input.EventDestination != null) {
|
|
4155
3843
|
const memberEntries = serializeAws_queryEventDestination(input.EventDestination, context);
|
|
4156
3844
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4157
3845
|
const loc = `EventDestination.${key}`;
|
|
@@ -4162,7 +3850,7 @@ const serializeAws_queryCreateConfigurationSetEventDestinationRequest = (input,
|
|
|
4162
3850
|
};
|
|
4163
3851
|
const serializeAws_queryCreateConfigurationSetRequest = (input, context) => {
|
|
4164
3852
|
const entries = {};
|
|
4165
|
-
if (input.ConfigurationSet
|
|
3853
|
+
if (input.ConfigurationSet != null) {
|
|
4166
3854
|
const memberEntries = serializeAws_queryConfigurationSet(input.ConfigurationSet, context);
|
|
4167
3855
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4168
3856
|
const loc = `ConfigurationSet.${key}`;
|
|
@@ -4173,10 +3861,10 @@ const serializeAws_queryCreateConfigurationSetRequest = (input, context) => {
|
|
|
4173
3861
|
};
|
|
4174
3862
|
const serializeAws_queryCreateConfigurationSetTrackingOptionsRequest = (input, context) => {
|
|
4175
3863
|
const entries = {};
|
|
4176
|
-
if (input.ConfigurationSetName
|
|
3864
|
+
if (input.ConfigurationSetName != null) {
|
|
4177
3865
|
entries["ConfigurationSetName"] = input.ConfigurationSetName;
|
|
4178
3866
|
}
|
|
4179
|
-
if (input.TrackingOptions
|
|
3867
|
+
if (input.TrackingOptions != null) {
|
|
4180
3868
|
const memberEntries = serializeAws_queryTrackingOptions(input.TrackingOptions, context);
|
|
4181
3869
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4182
3870
|
const loc = `TrackingOptions.${key}`;
|
|
@@ -4187,29 +3875,29 @@ const serializeAws_queryCreateConfigurationSetTrackingOptionsRequest = (input, c
|
|
|
4187
3875
|
};
|
|
4188
3876
|
const serializeAws_queryCreateCustomVerificationEmailTemplateRequest = (input, context) => {
|
|
4189
3877
|
const entries = {};
|
|
4190
|
-
if (input.TemplateName
|
|
3878
|
+
if (input.TemplateName != null) {
|
|
4191
3879
|
entries["TemplateName"] = input.TemplateName;
|
|
4192
3880
|
}
|
|
4193
|
-
if (input.FromEmailAddress
|
|
3881
|
+
if (input.FromEmailAddress != null) {
|
|
4194
3882
|
entries["FromEmailAddress"] = input.FromEmailAddress;
|
|
4195
3883
|
}
|
|
4196
|
-
if (input.TemplateSubject
|
|
3884
|
+
if (input.TemplateSubject != null) {
|
|
4197
3885
|
entries["TemplateSubject"] = input.TemplateSubject;
|
|
4198
3886
|
}
|
|
4199
|
-
if (input.TemplateContent
|
|
3887
|
+
if (input.TemplateContent != null) {
|
|
4200
3888
|
entries["TemplateContent"] = input.TemplateContent;
|
|
4201
3889
|
}
|
|
4202
|
-
if (input.SuccessRedirectionURL
|
|
3890
|
+
if (input.SuccessRedirectionURL != null) {
|
|
4203
3891
|
entries["SuccessRedirectionURL"] = input.SuccessRedirectionURL;
|
|
4204
3892
|
}
|
|
4205
|
-
if (input.FailureRedirectionURL
|
|
3893
|
+
if (input.FailureRedirectionURL != null) {
|
|
4206
3894
|
entries["FailureRedirectionURL"] = input.FailureRedirectionURL;
|
|
4207
3895
|
}
|
|
4208
3896
|
return entries;
|
|
4209
3897
|
};
|
|
4210
3898
|
const serializeAws_queryCreateReceiptFilterRequest = (input, context) => {
|
|
4211
3899
|
const entries = {};
|
|
4212
|
-
if (input.Filter
|
|
3900
|
+
if (input.Filter != null) {
|
|
4213
3901
|
const memberEntries = serializeAws_queryReceiptFilter(input.Filter, context);
|
|
4214
3902
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4215
3903
|
const loc = `Filter.${key}`;
|
|
@@ -4220,13 +3908,13 @@ const serializeAws_queryCreateReceiptFilterRequest = (input, context) => {
|
|
|
4220
3908
|
};
|
|
4221
3909
|
const serializeAws_queryCreateReceiptRuleRequest = (input, context) => {
|
|
4222
3910
|
const entries = {};
|
|
4223
|
-
if (input.RuleSetName
|
|
3911
|
+
if (input.RuleSetName != null) {
|
|
4224
3912
|
entries["RuleSetName"] = input.RuleSetName;
|
|
4225
3913
|
}
|
|
4226
|
-
if (input.After
|
|
3914
|
+
if (input.After != null) {
|
|
4227
3915
|
entries["After"] = input.After;
|
|
4228
3916
|
}
|
|
4229
|
-
if (input.Rule
|
|
3917
|
+
if (input.Rule != null) {
|
|
4230
3918
|
const memberEntries = serializeAws_queryReceiptRule(input.Rule, context);
|
|
4231
3919
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4232
3920
|
const loc = `Rule.${key}`;
|
|
@@ -4237,14 +3925,14 @@ const serializeAws_queryCreateReceiptRuleRequest = (input, context) => {
|
|
|
4237
3925
|
};
|
|
4238
3926
|
const serializeAws_queryCreateReceiptRuleSetRequest = (input, context) => {
|
|
4239
3927
|
const entries = {};
|
|
4240
|
-
if (input.RuleSetName
|
|
3928
|
+
if (input.RuleSetName != null) {
|
|
4241
3929
|
entries["RuleSetName"] = input.RuleSetName;
|
|
4242
3930
|
}
|
|
4243
3931
|
return entries;
|
|
4244
3932
|
};
|
|
4245
3933
|
const serializeAws_queryCreateTemplateRequest = (input, context) => {
|
|
4246
3934
|
const entries = {};
|
|
4247
|
-
if (input.Template
|
|
3935
|
+
if (input.Template != null) {
|
|
4248
3936
|
const memberEntries = serializeAws_queryTemplate(input.Template, context);
|
|
4249
3937
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4250
3938
|
const loc = `Template.${key}`;
|
|
@@ -4255,93 +3943,93 @@ const serializeAws_queryCreateTemplateRequest = (input, context) => {
|
|
|
4255
3943
|
};
|
|
4256
3944
|
const serializeAws_queryDeleteConfigurationSetEventDestinationRequest = (input, context) => {
|
|
4257
3945
|
const entries = {};
|
|
4258
|
-
if (input.ConfigurationSetName
|
|
3946
|
+
if (input.ConfigurationSetName != null) {
|
|
4259
3947
|
entries["ConfigurationSetName"] = input.ConfigurationSetName;
|
|
4260
3948
|
}
|
|
4261
|
-
if (input.EventDestinationName
|
|
3949
|
+
if (input.EventDestinationName != null) {
|
|
4262
3950
|
entries["EventDestinationName"] = input.EventDestinationName;
|
|
4263
3951
|
}
|
|
4264
3952
|
return entries;
|
|
4265
3953
|
};
|
|
4266
3954
|
const serializeAws_queryDeleteConfigurationSetRequest = (input, context) => {
|
|
4267
3955
|
const entries = {};
|
|
4268
|
-
if (input.ConfigurationSetName
|
|
3956
|
+
if (input.ConfigurationSetName != null) {
|
|
4269
3957
|
entries["ConfigurationSetName"] = input.ConfigurationSetName;
|
|
4270
3958
|
}
|
|
4271
3959
|
return entries;
|
|
4272
3960
|
};
|
|
4273
3961
|
const serializeAws_queryDeleteConfigurationSetTrackingOptionsRequest = (input, context) => {
|
|
4274
3962
|
const entries = {};
|
|
4275
|
-
if (input.ConfigurationSetName
|
|
3963
|
+
if (input.ConfigurationSetName != null) {
|
|
4276
3964
|
entries["ConfigurationSetName"] = input.ConfigurationSetName;
|
|
4277
3965
|
}
|
|
4278
3966
|
return entries;
|
|
4279
3967
|
};
|
|
4280
3968
|
const serializeAws_queryDeleteCustomVerificationEmailTemplateRequest = (input, context) => {
|
|
4281
3969
|
const entries = {};
|
|
4282
|
-
if (input.TemplateName
|
|
3970
|
+
if (input.TemplateName != null) {
|
|
4283
3971
|
entries["TemplateName"] = input.TemplateName;
|
|
4284
3972
|
}
|
|
4285
3973
|
return entries;
|
|
4286
3974
|
};
|
|
4287
3975
|
const serializeAws_queryDeleteIdentityPolicyRequest = (input, context) => {
|
|
4288
3976
|
const entries = {};
|
|
4289
|
-
if (input.Identity
|
|
3977
|
+
if (input.Identity != null) {
|
|
4290
3978
|
entries["Identity"] = input.Identity;
|
|
4291
3979
|
}
|
|
4292
|
-
if (input.PolicyName
|
|
3980
|
+
if (input.PolicyName != null) {
|
|
4293
3981
|
entries["PolicyName"] = input.PolicyName;
|
|
4294
3982
|
}
|
|
4295
3983
|
return entries;
|
|
4296
3984
|
};
|
|
4297
3985
|
const serializeAws_queryDeleteIdentityRequest = (input, context) => {
|
|
4298
3986
|
const entries = {};
|
|
4299
|
-
if (input.Identity
|
|
3987
|
+
if (input.Identity != null) {
|
|
4300
3988
|
entries["Identity"] = input.Identity;
|
|
4301
3989
|
}
|
|
4302
3990
|
return entries;
|
|
4303
3991
|
};
|
|
4304
3992
|
const serializeAws_queryDeleteReceiptFilterRequest = (input, context) => {
|
|
4305
3993
|
const entries = {};
|
|
4306
|
-
if (input.FilterName
|
|
3994
|
+
if (input.FilterName != null) {
|
|
4307
3995
|
entries["FilterName"] = input.FilterName;
|
|
4308
3996
|
}
|
|
4309
3997
|
return entries;
|
|
4310
3998
|
};
|
|
4311
3999
|
const serializeAws_queryDeleteReceiptRuleRequest = (input, context) => {
|
|
4312
4000
|
const entries = {};
|
|
4313
|
-
if (input.RuleSetName
|
|
4001
|
+
if (input.RuleSetName != null) {
|
|
4314
4002
|
entries["RuleSetName"] = input.RuleSetName;
|
|
4315
4003
|
}
|
|
4316
|
-
if (input.RuleName
|
|
4004
|
+
if (input.RuleName != null) {
|
|
4317
4005
|
entries["RuleName"] = input.RuleName;
|
|
4318
4006
|
}
|
|
4319
4007
|
return entries;
|
|
4320
4008
|
};
|
|
4321
4009
|
const serializeAws_queryDeleteReceiptRuleSetRequest = (input, context) => {
|
|
4322
4010
|
const entries = {};
|
|
4323
|
-
if (input.RuleSetName
|
|
4011
|
+
if (input.RuleSetName != null) {
|
|
4324
4012
|
entries["RuleSetName"] = input.RuleSetName;
|
|
4325
4013
|
}
|
|
4326
4014
|
return entries;
|
|
4327
4015
|
};
|
|
4328
4016
|
const serializeAws_queryDeleteTemplateRequest = (input, context) => {
|
|
4329
4017
|
const entries = {};
|
|
4330
|
-
if (input.TemplateName
|
|
4018
|
+
if (input.TemplateName != null) {
|
|
4331
4019
|
entries["TemplateName"] = input.TemplateName;
|
|
4332
4020
|
}
|
|
4333
4021
|
return entries;
|
|
4334
4022
|
};
|
|
4335
4023
|
const serializeAws_queryDeleteVerifiedEmailAddressRequest = (input, context) => {
|
|
4336
4024
|
const entries = {};
|
|
4337
|
-
if (input.EmailAddress
|
|
4025
|
+
if (input.EmailAddress != null) {
|
|
4338
4026
|
entries["EmailAddress"] = input.EmailAddress;
|
|
4339
4027
|
}
|
|
4340
4028
|
return entries;
|
|
4341
4029
|
};
|
|
4342
4030
|
const serializeAws_queryDeliveryOptions = (input, context) => {
|
|
4343
4031
|
const entries = {};
|
|
4344
|
-
if (input.TlsPolicy
|
|
4032
|
+
if (input.TlsPolicy != null) {
|
|
4345
4033
|
entries["TlsPolicy"] = input.TlsPolicy;
|
|
4346
4034
|
}
|
|
4347
4035
|
return entries;
|
|
@@ -4352,10 +4040,10 @@ const serializeAws_queryDescribeActiveReceiptRuleSetRequest = (input, context) =
|
|
|
4352
4040
|
};
|
|
4353
4041
|
const serializeAws_queryDescribeConfigurationSetRequest = (input, context) => {
|
|
4354
4042
|
const entries = {};
|
|
4355
|
-
if (input.ConfigurationSetName
|
|
4043
|
+
if (input.ConfigurationSetName != null) {
|
|
4356
4044
|
entries["ConfigurationSetName"] = input.ConfigurationSetName;
|
|
4357
4045
|
}
|
|
4358
|
-
if (input.ConfigurationSetAttributeNames
|
|
4046
|
+
if (input.ConfigurationSetAttributeNames != null) {
|
|
4359
4047
|
const memberEntries = serializeAws_queryConfigurationSetAttributeList(input.ConfigurationSetAttributeNames, context);
|
|
4360
4048
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4361
4049
|
const loc = `ConfigurationSetAttributeNames.${key}`;
|
|
@@ -4366,38 +4054,38 @@ const serializeAws_queryDescribeConfigurationSetRequest = (input, context) => {
|
|
|
4366
4054
|
};
|
|
4367
4055
|
const serializeAws_queryDescribeReceiptRuleRequest = (input, context) => {
|
|
4368
4056
|
const entries = {};
|
|
4369
|
-
if (input.RuleSetName
|
|
4057
|
+
if (input.RuleSetName != null) {
|
|
4370
4058
|
entries["RuleSetName"] = input.RuleSetName;
|
|
4371
4059
|
}
|
|
4372
|
-
if (input.RuleName
|
|
4060
|
+
if (input.RuleName != null) {
|
|
4373
4061
|
entries["RuleName"] = input.RuleName;
|
|
4374
4062
|
}
|
|
4375
4063
|
return entries;
|
|
4376
4064
|
};
|
|
4377
4065
|
const serializeAws_queryDescribeReceiptRuleSetRequest = (input, context) => {
|
|
4378
4066
|
const entries = {};
|
|
4379
|
-
if (input.RuleSetName
|
|
4067
|
+
if (input.RuleSetName != null) {
|
|
4380
4068
|
entries["RuleSetName"] = input.RuleSetName;
|
|
4381
4069
|
}
|
|
4382
4070
|
return entries;
|
|
4383
4071
|
};
|
|
4384
4072
|
const serializeAws_queryDestination = (input, context) => {
|
|
4385
4073
|
const entries = {};
|
|
4386
|
-
if (input.ToAddresses
|
|
4074
|
+
if (input.ToAddresses != null) {
|
|
4387
4075
|
const memberEntries = serializeAws_queryAddressList(input.ToAddresses, context);
|
|
4388
4076
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4389
4077
|
const loc = `ToAddresses.${key}`;
|
|
4390
4078
|
entries[loc] = value;
|
|
4391
4079
|
});
|
|
4392
4080
|
}
|
|
4393
|
-
if (input.CcAddresses
|
|
4081
|
+
if (input.CcAddresses != null) {
|
|
4394
4082
|
const memberEntries = serializeAws_queryAddressList(input.CcAddresses, context);
|
|
4395
4083
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4396
4084
|
const loc = `CcAddresses.${key}`;
|
|
4397
4085
|
entries[loc] = value;
|
|
4398
4086
|
});
|
|
4399
4087
|
}
|
|
4400
|
-
if (input.BccAddresses
|
|
4088
|
+
if (input.BccAddresses != null) {
|
|
4401
4089
|
const memberEntries = serializeAws_queryAddressList(input.BccAddresses, context);
|
|
4402
4090
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4403
4091
|
const loc = `BccAddresses.${key}`;
|
|
@@ -4408,34 +4096,34 @@ const serializeAws_queryDestination = (input, context) => {
|
|
|
4408
4096
|
};
|
|
4409
4097
|
const serializeAws_queryEventDestination = (input, context) => {
|
|
4410
4098
|
const entries = {};
|
|
4411
|
-
if (input.Name
|
|
4099
|
+
if (input.Name != null) {
|
|
4412
4100
|
entries["Name"] = input.Name;
|
|
4413
4101
|
}
|
|
4414
|
-
if (input.Enabled
|
|
4102
|
+
if (input.Enabled != null) {
|
|
4415
4103
|
entries["Enabled"] = input.Enabled;
|
|
4416
4104
|
}
|
|
4417
|
-
if (input.MatchingEventTypes
|
|
4105
|
+
if (input.MatchingEventTypes != null) {
|
|
4418
4106
|
const memberEntries = serializeAws_queryEventTypes(input.MatchingEventTypes, context);
|
|
4419
4107
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4420
4108
|
const loc = `MatchingEventTypes.${key}`;
|
|
4421
4109
|
entries[loc] = value;
|
|
4422
4110
|
});
|
|
4423
4111
|
}
|
|
4424
|
-
if (input.KinesisFirehoseDestination
|
|
4112
|
+
if (input.KinesisFirehoseDestination != null) {
|
|
4425
4113
|
const memberEntries = serializeAws_queryKinesisFirehoseDestination(input.KinesisFirehoseDestination, context);
|
|
4426
4114
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4427
4115
|
const loc = `KinesisFirehoseDestination.${key}`;
|
|
4428
4116
|
entries[loc] = value;
|
|
4429
4117
|
});
|
|
4430
4118
|
}
|
|
4431
|
-
if (input.CloudWatchDestination
|
|
4119
|
+
if (input.CloudWatchDestination != null) {
|
|
4432
4120
|
const memberEntries = serializeAws_queryCloudWatchDestination(input.CloudWatchDestination, context);
|
|
4433
4121
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4434
4122
|
const loc = `CloudWatchDestination.${key}`;
|
|
4435
4123
|
entries[loc] = value;
|
|
4436
4124
|
});
|
|
4437
4125
|
}
|
|
4438
|
-
if (input.SNSDestination
|
|
4126
|
+
if (input.SNSDestination != null) {
|
|
4439
4127
|
const memberEntries = serializeAws_querySNSDestination(input.SNSDestination, context);
|
|
4440
4128
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4441
4129
|
const loc = `SNSDestination.${key}`;
|
|
@@ -4458,10 +4146,10 @@ const serializeAws_queryEventTypes = (input, context) => {
|
|
|
4458
4146
|
};
|
|
4459
4147
|
const serializeAws_queryExtensionField = (input, context) => {
|
|
4460
4148
|
const entries = {};
|
|
4461
|
-
if (input.Name
|
|
4149
|
+
if (input.Name != null) {
|
|
4462
4150
|
entries["Name"] = input.Name;
|
|
4463
4151
|
}
|
|
4464
|
-
if (input.Value
|
|
4152
|
+
if (input.Value != null) {
|
|
4465
4153
|
entries["Value"] = input.Value;
|
|
4466
4154
|
}
|
|
4467
4155
|
return entries;
|
|
@@ -4483,14 +4171,14 @@ const serializeAws_queryExtensionFieldList = (input, context) => {
|
|
|
4483
4171
|
};
|
|
4484
4172
|
const serializeAws_queryGetCustomVerificationEmailTemplateRequest = (input, context) => {
|
|
4485
4173
|
const entries = {};
|
|
4486
|
-
if (input.TemplateName
|
|
4174
|
+
if (input.TemplateName != null) {
|
|
4487
4175
|
entries["TemplateName"] = input.TemplateName;
|
|
4488
4176
|
}
|
|
4489
4177
|
return entries;
|
|
4490
4178
|
};
|
|
4491
4179
|
const serializeAws_queryGetIdentityDkimAttributesRequest = (input, context) => {
|
|
4492
4180
|
const entries = {};
|
|
4493
|
-
if (input.Identities
|
|
4181
|
+
if (input.Identities != null) {
|
|
4494
4182
|
const memberEntries = serializeAws_queryIdentityList(input.Identities, context);
|
|
4495
4183
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4496
4184
|
const loc = `Identities.${key}`;
|
|
@@ -4501,7 +4189,7 @@ const serializeAws_queryGetIdentityDkimAttributesRequest = (input, context) => {
|
|
|
4501
4189
|
};
|
|
4502
4190
|
const serializeAws_queryGetIdentityMailFromDomainAttributesRequest = (input, context) => {
|
|
4503
4191
|
const entries = {};
|
|
4504
|
-
if (input.Identities
|
|
4192
|
+
if (input.Identities != null) {
|
|
4505
4193
|
const memberEntries = serializeAws_queryIdentityList(input.Identities, context);
|
|
4506
4194
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4507
4195
|
const loc = `Identities.${key}`;
|
|
@@ -4512,7 +4200,7 @@ const serializeAws_queryGetIdentityMailFromDomainAttributesRequest = (input, con
|
|
|
4512
4200
|
};
|
|
4513
4201
|
const serializeAws_queryGetIdentityNotificationAttributesRequest = (input, context) => {
|
|
4514
4202
|
const entries = {};
|
|
4515
|
-
if (input.Identities
|
|
4203
|
+
if (input.Identities != null) {
|
|
4516
4204
|
const memberEntries = serializeAws_queryIdentityList(input.Identities, context);
|
|
4517
4205
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4518
4206
|
const loc = `Identities.${key}`;
|
|
@@ -4523,10 +4211,10 @@ const serializeAws_queryGetIdentityNotificationAttributesRequest = (input, conte
|
|
|
4523
4211
|
};
|
|
4524
4212
|
const serializeAws_queryGetIdentityPoliciesRequest = (input, context) => {
|
|
4525
4213
|
const entries = {};
|
|
4526
|
-
if (input.Identity
|
|
4214
|
+
if (input.Identity != null) {
|
|
4527
4215
|
entries["Identity"] = input.Identity;
|
|
4528
4216
|
}
|
|
4529
|
-
if (input.PolicyNames
|
|
4217
|
+
if (input.PolicyNames != null) {
|
|
4530
4218
|
const memberEntries = serializeAws_queryPolicyNameList(input.PolicyNames, context);
|
|
4531
4219
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4532
4220
|
const loc = `PolicyNames.${key}`;
|
|
@@ -4537,7 +4225,7 @@ const serializeAws_queryGetIdentityPoliciesRequest = (input, context) => {
|
|
|
4537
4225
|
};
|
|
4538
4226
|
const serializeAws_queryGetIdentityVerificationAttributesRequest = (input, context) => {
|
|
4539
4227
|
const entries = {};
|
|
4540
|
-
if (input.Identities
|
|
4228
|
+
if (input.Identities != null) {
|
|
4541
4229
|
const memberEntries = serializeAws_queryIdentityList(input.Identities, context);
|
|
4542
4230
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4543
4231
|
const loc = `Identities.${key}`;
|
|
@@ -4548,7 +4236,7 @@ const serializeAws_queryGetIdentityVerificationAttributesRequest = (input, conte
|
|
|
4548
4236
|
};
|
|
4549
4237
|
const serializeAws_queryGetTemplateRequest = (input, context) => {
|
|
4550
4238
|
const entries = {};
|
|
4551
|
-
if (input.TemplateName
|
|
4239
|
+
if (input.TemplateName != null) {
|
|
4552
4240
|
entries["TemplateName"] = input.TemplateName;
|
|
4553
4241
|
}
|
|
4554
4242
|
return entries;
|
|
@@ -4567,63 +4255,63 @@ const serializeAws_queryIdentityList = (input, context) => {
|
|
|
4567
4255
|
};
|
|
4568
4256
|
const serializeAws_queryKinesisFirehoseDestination = (input, context) => {
|
|
4569
4257
|
const entries = {};
|
|
4570
|
-
if (input.IAMRoleARN
|
|
4258
|
+
if (input.IAMRoleARN != null) {
|
|
4571
4259
|
entries["IAMRoleARN"] = input.IAMRoleARN;
|
|
4572
4260
|
}
|
|
4573
|
-
if (input.DeliveryStreamARN
|
|
4261
|
+
if (input.DeliveryStreamARN != null) {
|
|
4574
4262
|
entries["DeliveryStreamARN"] = input.DeliveryStreamARN;
|
|
4575
4263
|
}
|
|
4576
4264
|
return entries;
|
|
4577
4265
|
};
|
|
4578
4266
|
const serializeAws_queryLambdaAction = (input, context) => {
|
|
4579
4267
|
const entries = {};
|
|
4580
|
-
if (input.TopicArn
|
|
4268
|
+
if (input.TopicArn != null) {
|
|
4581
4269
|
entries["TopicArn"] = input.TopicArn;
|
|
4582
4270
|
}
|
|
4583
|
-
if (input.FunctionArn
|
|
4271
|
+
if (input.FunctionArn != null) {
|
|
4584
4272
|
entries["FunctionArn"] = input.FunctionArn;
|
|
4585
4273
|
}
|
|
4586
|
-
if (input.InvocationType
|
|
4274
|
+
if (input.InvocationType != null) {
|
|
4587
4275
|
entries["InvocationType"] = input.InvocationType;
|
|
4588
4276
|
}
|
|
4589
4277
|
return entries;
|
|
4590
4278
|
};
|
|
4591
4279
|
const serializeAws_queryListConfigurationSetsRequest = (input, context) => {
|
|
4592
4280
|
const entries = {};
|
|
4593
|
-
if (input.NextToken
|
|
4281
|
+
if (input.NextToken != null) {
|
|
4594
4282
|
entries["NextToken"] = input.NextToken;
|
|
4595
4283
|
}
|
|
4596
|
-
if (input.MaxItems
|
|
4284
|
+
if (input.MaxItems != null) {
|
|
4597
4285
|
entries["MaxItems"] = input.MaxItems;
|
|
4598
4286
|
}
|
|
4599
4287
|
return entries;
|
|
4600
4288
|
};
|
|
4601
4289
|
const serializeAws_queryListCustomVerificationEmailTemplatesRequest = (input, context) => {
|
|
4602
4290
|
const entries = {};
|
|
4603
|
-
if (input.NextToken
|
|
4291
|
+
if (input.NextToken != null) {
|
|
4604
4292
|
entries["NextToken"] = input.NextToken;
|
|
4605
4293
|
}
|
|
4606
|
-
if (input.MaxResults
|
|
4294
|
+
if (input.MaxResults != null) {
|
|
4607
4295
|
entries["MaxResults"] = input.MaxResults;
|
|
4608
4296
|
}
|
|
4609
4297
|
return entries;
|
|
4610
4298
|
};
|
|
4611
4299
|
const serializeAws_queryListIdentitiesRequest = (input, context) => {
|
|
4612
4300
|
const entries = {};
|
|
4613
|
-
if (input.IdentityType
|
|
4301
|
+
if (input.IdentityType != null) {
|
|
4614
4302
|
entries["IdentityType"] = input.IdentityType;
|
|
4615
4303
|
}
|
|
4616
|
-
if (input.NextToken
|
|
4304
|
+
if (input.NextToken != null) {
|
|
4617
4305
|
entries["NextToken"] = input.NextToken;
|
|
4618
4306
|
}
|
|
4619
|
-
if (input.MaxItems
|
|
4307
|
+
if (input.MaxItems != null) {
|
|
4620
4308
|
entries["MaxItems"] = input.MaxItems;
|
|
4621
4309
|
}
|
|
4622
4310
|
return entries;
|
|
4623
4311
|
};
|
|
4624
4312
|
const serializeAws_queryListIdentityPoliciesRequest = (input, context) => {
|
|
4625
4313
|
const entries = {};
|
|
4626
|
-
if (input.Identity
|
|
4314
|
+
if (input.Identity != null) {
|
|
4627
4315
|
entries["Identity"] = input.Identity;
|
|
4628
4316
|
}
|
|
4629
4317
|
return entries;
|
|
@@ -4634,31 +4322,31 @@ const serializeAws_queryListReceiptFiltersRequest = (input, context) => {
|
|
|
4634
4322
|
};
|
|
4635
4323
|
const serializeAws_queryListReceiptRuleSetsRequest = (input, context) => {
|
|
4636
4324
|
const entries = {};
|
|
4637
|
-
if (input.NextToken
|
|
4325
|
+
if (input.NextToken != null) {
|
|
4638
4326
|
entries["NextToken"] = input.NextToken;
|
|
4639
4327
|
}
|
|
4640
4328
|
return entries;
|
|
4641
4329
|
};
|
|
4642
4330
|
const serializeAws_queryListTemplatesRequest = (input, context) => {
|
|
4643
4331
|
const entries = {};
|
|
4644
|
-
if (input.NextToken
|
|
4332
|
+
if (input.NextToken != null) {
|
|
4645
4333
|
entries["NextToken"] = input.NextToken;
|
|
4646
4334
|
}
|
|
4647
|
-
if (input.MaxItems
|
|
4335
|
+
if (input.MaxItems != null) {
|
|
4648
4336
|
entries["MaxItems"] = input.MaxItems;
|
|
4649
4337
|
}
|
|
4650
4338
|
return entries;
|
|
4651
4339
|
};
|
|
4652
4340
|
const serializeAws_queryMessage = (input, context) => {
|
|
4653
4341
|
const entries = {};
|
|
4654
|
-
if (input.Subject
|
|
4342
|
+
if (input.Subject != null) {
|
|
4655
4343
|
const memberEntries = serializeAws_queryContent(input.Subject, context);
|
|
4656
4344
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4657
4345
|
const loc = `Subject.${key}`;
|
|
4658
4346
|
entries[loc] = value;
|
|
4659
4347
|
});
|
|
4660
4348
|
}
|
|
4661
|
-
if (input.Body
|
|
4349
|
+
if (input.Body != null) {
|
|
4662
4350
|
const memberEntries = serializeAws_queryBody(input.Body, context);
|
|
4663
4351
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4664
4352
|
const loc = `Body.${key}`;
|
|
@@ -4669,13 +4357,13 @@ const serializeAws_queryMessage = (input, context) => {
|
|
|
4669
4357
|
};
|
|
4670
4358
|
const serializeAws_queryMessageDsn = (input, context) => {
|
|
4671
4359
|
const entries = {};
|
|
4672
|
-
if (input.ReportingMta
|
|
4360
|
+
if (input.ReportingMta != null) {
|
|
4673
4361
|
entries["ReportingMta"] = input.ReportingMta;
|
|
4674
4362
|
}
|
|
4675
|
-
if (input.ArrivalDate
|
|
4363
|
+
if (input.ArrivalDate != null) {
|
|
4676
4364
|
entries["ArrivalDate"] = input.ArrivalDate.toISOString().split(".")[0] + "Z";
|
|
4677
4365
|
}
|
|
4678
|
-
if (input.ExtensionFields
|
|
4366
|
+
if (input.ExtensionFields != null) {
|
|
4679
4367
|
const memberEntries = serializeAws_queryExtensionFieldList(input.ExtensionFields, context);
|
|
4680
4368
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4681
4369
|
const loc = `ExtensionFields.${key}`;
|
|
@@ -4686,10 +4374,10 @@ const serializeAws_queryMessageDsn = (input, context) => {
|
|
|
4686
4374
|
};
|
|
4687
4375
|
const serializeAws_queryMessageTag = (input, context) => {
|
|
4688
4376
|
const entries = {};
|
|
4689
|
-
if (input.Name
|
|
4377
|
+
if (input.Name != null) {
|
|
4690
4378
|
entries["Name"] = input.Name;
|
|
4691
4379
|
}
|
|
4692
|
-
if (input.Value
|
|
4380
|
+
if (input.Value != null) {
|
|
4693
4381
|
entries["Value"] = input.Value;
|
|
4694
4382
|
}
|
|
4695
4383
|
return entries;
|
|
@@ -4723,10 +4411,10 @@ const serializeAws_queryPolicyNameList = (input, context) => {
|
|
|
4723
4411
|
};
|
|
4724
4412
|
const serializeAws_queryPutConfigurationSetDeliveryOptionsRequest = (input, context) => {
|
|
4725
4413
|
const entries = {};
|
|
4726
|
-
if (input.ConfigurationSetName
|
|
4414
|
+
if (input.ConfigurationSetName != null) {
|
|
4727
4415
|
entries["ConfigurationSetName"] = input.ConfigurationSetName;
|
|
4728
4416
|
}
|
|
4729
|
-
if (input.DeliveryOptions
|
|
4417
|
+
if (input.DeliveryOptions != null) {
|
|
4730
4418
|
const memberEntries = serializeAws_queryDeliveryOptions(input.DeliveryOptions, context);
|
|
4731
4419
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4732
4420
|
const loc = `DeliveryOptions.${key}`;
|
|
@@ -4737,69 +4425,69 @@ const serializeAws_queryPutConfigurationSetDeliveryOptionsRequest = (input, cont
|
|
|
4737
4425
|
};
|
|
4738
4426
|
const serializeAws_queryPutIdentityPolicyRequest = (input, context) => {
|
|
4739
4427
|
const entries = {};
|
|
4740
|
-
if (input.Identity
|
|
4428
|
+
if (input.Identity != null) {
|
|
4741
4429
|
entries["Identity"] = input.Identity;
|
|
4742
4430
|
}
|
|
4743
|
-
if (input.PolicyName
|
|
4431
|
+
if (input.PolicyName != null) {
|
|
4744
4432
|
entries["PolicyName"] = input.PolicyName;
|
|
4745
4433
|
}
|
|
4746
|
-
if (input.Policy
|
|
4434
|
+
if (input.Policy != null) {
|
|
4747
4435
|
entries["Policy"] = input.Policy;
|
|
4748
4436
|
}
|
|
4749
4437
|
return entries;
|
|
4750
4438
|
};
|
|
4751
4439
|
const serializeAws_queryRawMessage = (input, context) => {
|
|
4752
4440
|
const entries = {};
|
|
4753
|
-
if (input.Data
|
|
4441
|
+
if (input.Data != null) {
|
|
4754
4442
|
entries["Data"] = context.base64Encoder(input.Data);
|
|
4755
4443
|
}
|
|
4756
4444
|
return entries;
|
|
4757
4445
|
};
|
|
4758
4446
|
const serializeAws_queryReceiptAction = (input, context) => {
|
|
4759
4447
|
const entries = {};
|
|
4760
|
-
if (input.S3Action
|
|
4448
|
+
if (input.S3Action != null) {
|
|
4761
4449
|
const memberEntries = serializeAws_queryS3Action(input.S3Action, context);
|
|
4762
4450
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4763
4451
|
const loc = `S3Action.${key}`;
|
|
4764
4452
|
entries[loc] = value;
|
|
4765
4453
|
});
|
|
4766
4454
|
}
|
|
4767
|
-
if (input.BounceAction
|
|
4455
|
+
if (input.BounceAction != null) {
|
|
4768
4456
|
const memberEntries = serializeAws_queryBounceAction(input.BounceAction, context);
|
|
4769
4457
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4770
4458
|
const loc = `BounceAction.${key}`;
|
|
4771
4459
|
entries[loc] = value;
|
|
4772
4460
|
});
|
|
4773
4461
|
}
|
|
4774
|
-
if (input.WorkmailAction
|
|
4462
|
+
if (input.WorkmailAction != null) {
|
|
4775
4463
|
const memberEntries = serializeAws_queryWorkmailAction(input.WorkmailAction, context);
|
|
4776
4464
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4777
4465
|
const loc = `WorkmailAction.${key}`;
|
|
4778
4466
|
entries[loc] = value;
|
|
4779
4467
|
});
|
|
4780
4468
|
}
|
|
4781
|
-
if (input.LambdaAction
|
|
4469
|
+
if (input.LambdaAction != null) {
|
|
4782
4470
|
const memberEntries = serializeAws_queryLambdaAction(input.LambdaAction, context);
|
|
4783
4471
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4784
4472
|
const loc = `LambdaAction.${key}`;
|
|
4785
4473
|
entries[loc] = value;
|
|
4786
4474
|
});
|
|
4787
4475
|
}
|
|
4788
|
-
if (input.StopAction
|
|
4476
|
+
if (input.StopAction != null) {
|
|
4789
4477
|
const memberEntries = serializeAws_queryStopAction(input.StopAction, context);
|
|
4790
4478
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4791
4479
|
const loc = `StopAction.${key}`;
|
|
4792
4480
|
entries[loc] = value;
|
|
4793
4481
|
});
|
|
4794
4482
|
}
|
|
4795
|
-
if (input.AddHeaderAction
|
|
4483
|
+
if (input.AddHeaderAction != null) {
|
|
4796
4484
|
const memberEntries = serializeAws_queryAddHeaderAction(input.AddHeaderAction, context);
|
|
4797
4485
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4798
4486
|
const loc = `AddHeaderAction.${key}`;
|
|
4799
4487
|
entries[loc] = value;
|
|
4800
4488
|
});
|
|
4801
4489
|
}
|
|
4802
|
-
if (input.SNSAction
|
|
4490
|
+
if (input.SNSAction != null) {
|
|
4803
4491
|
const memberEntries = serializeAws_querySNSAction(input.SNSAction, context);
|
|
4804
4492
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4805
4493
|
const loc = `SNSAction.${key}`;
|
|
@@ -4825,10 +4513,10 @@ const serializeAws_queryReceiptActionsList = (input, context) => {
|
|
|
4825
4513
|
};
|
|
4826
4514
|
const serializeAws_queryReceiptFilter = (input, context) => {
|
|
4827
4515
|
const entries = {};
|
|
4828
|
-
if (input.Name
|
|
4516
|
+
if (input.Name != null) {
|
|
4829
4517
|
entries["Name"] = input.Name;
|
|
4830
4518
|
}
|
|
4831
|
-
if (input.IpFilter
|
|
4519
|
+
if (input.IpFilter != null) {
|
|
4832
4520
|
const memberEntries = serializeAws_queryReceiptIpFilter(input.IpFilter, context);
|
|
4833
4521
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4834
4522
|
const loc = `IpFilter.${key}`;
|
|
@@ -4839,40 +4527,40 @@ const serializeAws_queryReceiptFilter = (input, context) => {
|
|
|
4839
4527
|
};
|
|
4840
4528
|
const serializeAws_queryReceiptIpFilter = (input, context) => {
|
|
4841
4529
|
const entries = {};
|
|
4842
|
-
if (input.Policy
|
|
4530
|
+
if (input.Policy != null) {
|
|
4843
4531
|
entries["Policy"] = input.Policy;
|
|
4844
4532
|
}
|
|
4845
|
-
if (input.Cidr
|
|
4533
|
+
if (input.Cidr != null) {
|
|
4846
4534
|
entries["Cidr"] = input.Cidr;
|
|
4847
4535
|
}
|
|
4848
4536
|
return entries;
|
|
4849
4537
|
};
|
|
4850
4538
|
const serializeAws_queryReceiptRule = (input, context) => {
|
|
4851
4539
|
const entries = {};
|
|
4852
|
-
if (input.Name
|
|
4540
|
+
if (input.Name != null) {
|
|
4853
4541
|
entries["Name"] = input.Name;
|
|
4854
4542
|
}
|
|
4855
|
-
if (input.Enabled
|
|
4543
|
+
if (input.Enabled != null) {
|
|
4856
4544
|
entries["Enabled"] = input.Enabled;
|
|
4857
4545
|
}
|
|
4858
|
-
if (input.TlsPolicy
|
|
4546
|
+
if (input.TlsPolicy != null) {
|
|
4859
4547
|
entries["TlsPolicy"] = input.TlsPolicy;
|
|
4860
4548
|
}
|
|
4861
|
-
if (input.Recipients
|
|
4549
|
+
if (input.Recipients != null) {
|
|
4862
4550
|
const memberEntries = serializeAws_queryRecipientsList(input.Recipients, context);
|
|
4863
4551
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4864
4552
|
const loc = `Recipients.${key}`;
|
|
4865
4553
|
entries[loc] = value;
|
|
4866
4554
|
});
|
|
4867
4555
|
}
|
|
4868
|
-
if (input.Actions
|
|
4556
|
+
if (input.Actions != null) {
|
|
4869
4557
|
const memberEntries = serializeAws_queryReceiptActionsList(input.Actions, context);
|
|
4870
4558
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4871
4559
|
const loc = `Actions.${key}`;
|
|
4872
4560
|
entries[loc] = value;
|
|
4873
4561
|
});
|
|
4874
4562
|
}
|
|
4875
|
-
if (input.ScanEnabled
|
|
4563
|
+
if (input.ScanEnabled != null) {
|
|
4876
4564
|
entries["ScanEnabled"] = input.ScanEnabled;
|
|
4877
4565
|
}
|
|
4878
4566
|
return entries;
|
|
@@ -4891,25 +4579,25 @@ const serializeAws_queryReceiptRuleNamesList = (input, context) => {
|
|
|
4891
4579
|
};
|
|
4892
4580
|
const serializeAws_queryRecipientDsnFields = (input, context) => {
|
|
4893
4581
|
const entries = {};
|
|
4894
|
-
if (input.FinalRecipient
|
|
4582
|
+
if (input.FinalRecipient != null) {
|
|
4895
4583
|
entries["FinalRecipient"] = input.FinalRecipient;
|
|
4896
4584
|
}
|
|
4897
|
-
if (input.Action
|
|
4585
|
+
if (input.Action != null) {
|
|
4898
4586
|
entries["Action"] = input.Action;
|
|
4899
4587
|
}
|
|
4900
|
-
if (input.RemoteMta
|
|
4588
|
+
if (input.RemoteMta != null) {
|
|
4901
4589
|
entries["RemoteMta"] = input.RemoteMta;
|
|
4902
4590
|
}
|
|
4903
|
-
if (input.Status
|
|
4591
|
+
if (input.Status != null) {
|
|
4904
4592
|
entries["Status"] = input.Status;
|
|
4905
4593
|
}
|
|
4906
|
-
if (input.DiagnosticCode
|
|
4594
|
+
if (input.DiagnosticCode != null) {
|
|
4907
4595
|
entries["DiagnosticCode"] = input.DiagnosticCode;
|
|
4908
4596
|
}
|
|
4909
|
-
if (input.LastAttemptDate
|
|
4597
|
+
if (input.LastAttemptDate != null) {
|
|
4910
4598
|
entries["LastAttemptDate"] = input.LastAttemptDate.toISOString().split(".")[0] + "Z";
|
|
4911
4599
|
}
|
|
4912
|
-
if (input.ExtensionFields
|
|
4600
|
+
if (input.ExtensionFields != null) {
|
|
4913
4601
|
const memberEntries = serializeAws_queryExtensionFieldList(input.ExtensionFields, context);
|
|
4914
4602
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4915
4603
|
const loc = `ExtensionFields.${key}`;
|
|
@@ -4932,10 +4620,10 @@ const serializeAws_queryRecipientsList = (input, context) => {
|
|
|
4932
4620
|
};
|
|
4933
4621
|
const serializeAws_queryReorderReceiptRuleSetRequest = (input, context) => {
|
|
4934
4622
|
const entries = {};
|
|
4935
|
-
if (input.RuleSetName
|
|
4623
|
+
if (input.RuleSetName != null) {
|
|
4936
4624
|
entries["RuleSetName"] = input.RuleSetName;
|
|
4937
4625
|
}
|
|
4938
|
-
if (input.RuleNames
|
|
4626
|
+
if (input.RuleNames != null) {
|
|
4939
4627
|
const memberEntries = serializeAws_queryReceiptRuleNamesList(input.RuleNames, context);
|
|
4940
4628
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4941
4629
|
const loc = `RuleNames.${key}`;
|
|
@@ -4946,91 +4634,91 @@ const serializeAws_queryReorderReceiptRuleSetRequest = (input, context) => {
|
|
|
4946
4634
|
};
|
|
4947
4635
|
const serializeAws_queryS3Action = (input, context) => {
|
|
4948
4636
|
const entries = {};
|
|
4949
|
-
if (input.TopicArn
|
|
4637
|
+
if (input.TopicArn != null) {
|
|
4950
4638
|
entries["TopicArn"] = input.TopicArn;
|
|
4951
4639
|
}
|
|
4952
|
-
if (input.BucketName
|
|
4640
|
+
if (input.BucketName != null) {
|
|
4953
4641
|
entries["BucketName"] = input.BucketName;
|
|
4954
4642
|
}
|
|
4955
|
-
if (input.ObjectKeyPrefix
|
|
4643
|
+
if (input.ObjectKeyPrefix != null) {
|
|
4956
4644
|
entries["ObjectKeyPrefix"] = input.ObjectKeyPrefix;
|
|
4957
4645
|
}
|
|
4958
|
-
if (input.KmsKeyArn
|
|
4646
|
+
if (input.KmsKeyArn != null) {
|
|
4959
4647
|
entries["KmsKeyArn"] = input.KmsKeyArn;
|
|
4960
4648
|
}
|
|
4961
4649
|
return entries;
|
|
4962
4650
|
};
|
|
4963
4651
|
const serializeAws_querySendBounceRequest = (input, context) => {
|
|
4964
4652
|
const entries = {};
|
|
4965
|
-
if (input.OriginalMessageId
|
|
4653
|
+
if (input.OriginalMessageId != null) {
|
|
4966
4654
|
entries["OriginalMessageId"] = input.OriginalMessageId;
|
|
4967
4655
|
}
|
|
4968
|
-
if (input.BounceSender
|
|
4656
|
+
if (input.BounceSender != null) {
|
|
4969
4657
|
entries["BounceSender"] = input.BounceSender;
|
|
4970
4658
|
}
|
|
4971
|
-
if (input.Explanation
|
|
4659
|
+
if (input.Explanation != null) {
|
|
4972
4660
|
entries["Explanation"] = input.Explanation;
|
|
4973
4661
|
}
|
|
4974
|
-
if (input.MessageDsn
|
|
4662
|
+
if (input.MessageDsn != null) {
|
|
4975
4663
|
const memberEntries = serializeAws_queryMessageDsn(input.MessageDsn, context);
|
|
4976
4664
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4977
4665
|
const loc = `MessageDsn.${key}`;
|
|
4978
4666
|
entries[loc] = value;
|
|
4979
4667
|
});
|
|
4980
4668
|
}
|
|
4981
|
-
if (input.BouncedRecipientInfoList
|
|
4669
|
+
if (input.BouncedRecipientInfoList != null) {
|
|
4982
4670
|
const memberEntries = serializeAws_queryBouncedRecipientInfoList(input.BouncedRecipientInfoList, context);
|
|
4983
4671
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4984
4672
|
const loc = `BouncedRecipientInfoList.${key}`;
|
|
4985
4673
|
entries[loc] = value;
|
|
4986
4674
|
});
|
|
4987
4675
|
}
|
|
4988
|
-
if (input.BounceSenderArn
|
|
4676
|
+
if (input.BounceSenderArn != null) {
|
|
4989
4677
|
entries["BounceSenderArn"] = input.BounceSenderArn;
|
|
4990
4678
|
}
|
|
4991
4679
|
return entries;
|
|
4992
4680
|
};
|
|
4993
4681
|
const serializeAws_querySendBulkTemplatedEmailRequest = (input, context) => {
|
|
4994
4682
|
const entries = {};
|
|
4995
|
-
if (input.Source
|
|
4683
|
+
if (input.Source != null) {
|
|
4996
4684
|
entries["Source"] = input.Source;
|
|
4997
4685
|
}
|
|
4998
|
-
if (input.SourceArn
|
|
4686
|
+
if (input.SourceArn != null) {
|
|
4999
4687
|
entries["SourceArn"] = input.SourceArn;
|
|
5000
4688
|
}
|
|
5001
|
-
if (input.ReplyToAddresses
|
|
4689
|
+
if (input.ReplyToAddresses != null) {
|
|
5002
4690
|
const memberEntries = serializeAws_queryAddressList(input.ReplyToAddresses, context);
|
|
5003
4691
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
5004
4692
|
const loc = `ReplyToAddresses.${key}`;
|
|
5005
4693
|
entries[loc] = value;
|
|
5006
4694
|
});
|
|
5007
4695
|
}
|
|
5008
|
-
if (input.ReturnPath
|
|
4696
|
+
if (input.ReturnPath != null) {
|
|
5009
4697
|
entries["ReturnPath"] = input.ReturnPath;
|
|
5010
4698
|
}
|
|
5011
|
-
if (input.ReturnPathArn
|
|
4699
|
+
if (input.ReturnPathArn != null) {
|
|
5012
4700
|
entries["ReturnPathArn"] = input.ReturnPathArn;
|
|
5013
4701
|
}
|
|
5014
|
-
if (input.ConfigurationSetName
|
|
4702
|
+
if (input.ConfigurationSetName != null) {
|
|
5015
4703
|
entries["ConfigurationSetName"] = input.ConfigurationSetName;
|
|
5016
4704
|
}
|
|
5017
|
-
if (input.DefaultTags
|
|
4705
|
+
if (input.DefaultTags != null) {
|
|
5018
4706
|
const memberEntries = serializeAws_queryMessageTagList(input.DefaultTags, context);
|
|
5019
4707
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
5020
4708
|
const loc = `DefaultTags.${key}`;
|
|
5021
4709
|
entries[loc] = value;
|
|
5022
4710
|
});
|
|
5023
4711
|
}
|
|
5024
|
-
if (input.Template
|
|
4712
|
+
if (input.Template != null) {
|
|
5025
4713
|
entries["Template"] = input.Template;
|
|
5026
4714
|
}
|
|
5027
|
-
if (input.TemplateArn
|
|
4715
|
+
if (input.TemplateArn != null) {
|
|
5028
4716
|
entries["TemplateArn"] = input.TemplateArn;
|
|
5029
4717
|
}
|
|
5030
|
-
if (input.DefaultTemplateData
|
|
4718
|
+
if (input.DefaultTemplateData != null) {
|
|
5031
4719
|
entries["DefaultTemplateData"] = input.DefaultTemplateData;
|
|
5032
4720
|
}
|
|
5033
|
-
if (input.Destinations
|
|
4721
|
+
if (input.Destinations != null) {
|
|
5034
4722
|
const memberEntries = serializeAws_queryBulkEmailDestinationList(input.Destinations, context);
|
|
5035
4723
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
5036
4724
|
const loc = `Destinations.${key}`;
|
|
@@ -5041,305 +4729,305 @@ const serializeAws_querySendBulkTemplatedEmailRequest = (input, context) => {
|
|
|
5041
4729
|
};
|
|
5042
4730
|
const serializeAws_querySendCustomVerificationEmailRequest = (input, context) => {
|
|
5043
4731
|
const entries = {};
|
|
5044
|
-
if (input.EmailAddress
|
|
4732
|
+
if (input.EmailAddress != null) {
|
|
5045
4733
|
entries["EmailAddress"] = input.EmailAddress;
|
|
5046
4734
|
}
|
|
5047
|
-
if (input.TemplateName
|
|
4735
|
+
if (input.TemplateName != null) {
|
|
5048
4736
|
entries["TemplateName"] = input.TemplateName;
|
|
5049
4737
|
}
|
|
5050
|
-
if (input.ConfigurationSetName
|
|
4738
|
+
if (input.ConfigurationSetName != null) {
|
|
5051
4739
|
entries["ConfigurationSetName"] = input.ConfigurationSetName;
|
|
5052
4740
|
}
|
|
5053
4741
|
return entries;
|
|
5054
4742
|
};
|
|
5055
4743
|
const serializeAws_querySendEmailRequest = (input, context) => {
|
|
5056
4744
|
const entries = {};
|
|
5057
|
-
if (input.Source
|
|
4745
|
+
if (input.Source != null) {
|
|
5058
4746
|
entries["Source"] = input.Source;
|
|
5059
4747
|
}
|
|
5060
|
-
if (input.Destination
|
|
4748
|
+
if (input.Destination != null) {
|
|
5061
4749
|
const memberEntries = serializeAws_queryDestination(input.Destination, context);
|
|
5062
4750
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
5063
4751
|
const loc = `Destination.${key}`;
|
|
5064
4752
|
entries[loc] = value;
|
|
5065
4753
|
});
|
|
5066
4754
|
}
|
|
5067
|
-
if (input.Message
|
|
4755
|
+
if (input.Message != null) {
|
|
5068
4756
|
const memberEntries = serializeAws_queryMessage(input.Message, context);
|
|
5069
4757
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
5070
4758
|
const loc = `Message.${key}`;
|
|
5071
4759
|
entries[loc] = value;
|
|
5072
4760
|
});
|
|
5073
4761
|
}
|
|
5074
|
-
if (input.ReplyToAddresses
|
|
4762
|
+
if (input.ReplyToAddresses != null) {
|
|
5075
4763
|
const memberEntries = serializeAws_queryAddressList(input.ReplyToAddresses, context);
|
|
5076
4764
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
5077
4765
|
const loc = `ReplyToAddresses.${key}`;
|
|
5078
4766
|
entries[loc] = value;
|
|
5079
4767
|
});
|
|
5080
4768
|
}
|
|
5081
|
-
if (input.ReturnPath
|
|
4769
|
+
if (input.ReturnPath != null) {
|
|
5082
4770
|
entries["ReturnPath"] = input.ReturnPath;
|
|
5083
4771
|
}
|
|
5084
|
-
if (input.SourceArn
|
|
4772
|
+
if (input.SourceArn != null) {
|
|
5085
4773
|
entries["SourceArn"] = input.SourceArn;
|
|
5086
4774
|
}
|
|
5087
|
-
if (input.ReturnPathArn
|
|
4775
|
+
if (input.ReturnPathArn != null) {
|
|
5088
4776
|
entries["ReturnPathArn"] = input.ReturnPathArn;
|
|
5089
4777
|
}
|
|
5090
|
-
if (input.Tags
|
|
4778
|
+
if (input.Tags != null) {
|
|
5091
4779
|
const memberEntries = serializeAws_queryMessageTagList(input.Tags, context);
|
|
5092
4780
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
5093
4781
|
const loc = `Tags.${key}`;
|
|
5094
4782
|
entries[loc] = value;
|
|
5095
4783
|
});
|
|
5096
4784
|
}
|
|
5097
|
-
if (input.ConfigurationSetName
|
|
4785
|
+
if (input.ConfigurationSetName != null) {
|
|
5098
4786
|
entries["ConfigurationSetName"] = input.ConfigurationSetName;
|
|
5099
4787
|
}
|
|
5100
4788
|
return entries;
|
|
5101
4789
|
};
|
|
5102
4790
|
const serializeAws_querySendRawEmailRequest = (input, context) => {
|
|
5103
4791
|
const entries = {};
|
|
5104
|
-
if (input.Source
|
|
4792
|
+
if (input.Source != null) {
|
|
5105
4793
|
entries["Source"] = input.Source;
|
|
5106
4794
|
}
|
|
5107
|
-
if (input.Destinations
|
|
4795
|
+
if (input.Destinations != null) {
|
|
5108
4796
|
const memberEntries = serializeAws_queryAddressList(input.Destinations, context);
|
|
5109
4797
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
5110
4798
|
const loc = `Destinations.${key}`;
|
|
5111
4799
|
entries[loc] = value;
|
|
5112
4800
|
});
|
|
5113
4801
|
}
|
|
5114
|
-
if (input.RawMessage
|
|
4802
|
+
if (input.RawMessage != null) {
|
|
5115
4803
|
const memberEntries = serializeAws_queryRawMessage(input.RawMessage, context);
|
|
5116
4804
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
5117
4805
|
const loc = `RawMessage.${key}`;
|
|
5118
4806
|
entries[loc] = value;
|
|
5119
4807
|
});
|
|
5120
4808
|
}
|
|
5121
|
-
if (input.FromArn
|
|
4809
|
+
if (input.FromArn != null) {
|
|
5122
4810
|
entries["FromArn"] = input.FromArn;
|
|
5123
4811
|
}
|
|
5124
|
-
if (input.SourceArn
|
|
4812
|
+
if (input.SourceArn != null) {
|
|
5125
4813
|
entries["SourceArn"] = input.SourceArn;
|
|
5126
4814
|
}
|
|
5127
|
-
if (input.ReturnPathArn
|
|
4815
|
+
if (input.ReturnPathArn != null) {
|
|
5128
4816
|
entries["ReturnPathArn"] = input.ReturnPathArn;
|
|
5129
4817
|
}
|
|
5130
|
-
if (input.Tags
|
|
4818
|
+
if (input.Tags != null) {
|
|
5131
4819
|
const memberEntries = serializeAws_queryMessageTagList(input.Tags, context);
|
|
5132
4820
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
5133
4821
|
const loc = `Tags.${key}`;
|
|
5134
4822
|
entries[loc] = value;
|
|
5135
4823
|
});
|
|
5136
4824
|
}
|
|
5137
|
-
if (input.ConfigurationSetName
|
|
4825
|
+
if (input.ConfigurationSetName != null) {
|
|
5138
4826
|
entries["ConfigurationSetName"] = input.ConfigurationSetName;
|
|
5139
4827
|
}
|
|
5140
4828
|
return entries;
|
|
5141
4829
|
};
|
|
5142
4830
|
const serializeAws_querySendTemplatedEmailRequest = (input, context) => {
|
|
5143
4831
|
const entries = {};
|
|
5144
|
-
if (input.Source
|
|
4832
|
+
if (input.Source != null) {
|
|
5145
4833
|
entries["Source"] = input.Source;
|
|
5146
4834
|
}
|
|
5147
|
-
if (input.Destination
|
|
4835
|
+
if (input.Destination != null) {
|
|
5148
4836
|
const memberEntries = serializeAws_queryDestination(input.Destination, context);
|
|
5149
4837
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
5150
4838
|
const loc = `Destination.${key}`;
|
|
5151
4839
|
entries[loc] = value;
|
|
5152
4840
|
});
|
|
5153
4841
|
}
|
|
5154
|
-
if (input.ReplyToAddresses
|
|
4842
|
+
if (input.ReplyToAddresses != null) {
|
|
5155
4843
|
const memberEntries = serializeAws_queryAddressList(input.ReplyToAddresses, context);
|
|
5156
4844
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
5157
4845
|
const loc = `ReplyToAddresses.${key}`;
|
|
5158
4846
|
entries[loc] = value;
|
|
5159
4847
|
});
|
|
5160
4848
|
}
|
|
5161
|
-
if (input.ReturnPath
|
|
4849
|
+
if (input.ReturnPath != null) {
|
|
5162
4850
|
entries["ReturnPath"] = input.ReturnPath;
|
|
5163
4851
|
}
|
|
5164
|
-
if (input.SourceArn
|
|
4852
|
+
if (input.SourceArn != null) {
|
|
5165
4853
|
entries["SourceArn"] = input.SourceArn;
|
|
5166
4854
|
}
|
|
5167
|
-
if (input.ReturnPathArn
|
|
4855
|
+
if (input.ReturnPathArn != null) {
|
|
5168
4856
|
entries["ReturnPathArn"] = input.ReturnPathArn;
|
|
5169
4857
|
}
|
|
5170
|
-
if (input.Tags
|
|
4858
|
+
if (input.Tags != null) {
|
|
5171
4859
|
const memberEntries = serializeAws_queryMessageTagList(input.Tags, context);
|
|
5172
4860
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
5173
4861
|
const loc = `Tags.${key}`;
|
|
5174
4862
|
entries[loc] = value;
|
|
5175
4863
|
});
|
|
5176
4864
|
}
|
|
5177
|
-
if (input.ConfigurationSetName
|
|
4865
|
+
if (input.ConfigurationSetName != null) {
|
|
5178
4866
|
entries["ConfigurationSetName"] = input.ConfigurationSetName;
|
|
5179
4867
|
}
|
|
5180
|
-
if (input.Template
|
|
4868
|
+
if (input.Template != null) {
|
|
5181
4869
|
entries["Template"] = input.Template;
|
|
5182
4870
|
}
|
|
5183
|
-
if (input.TemplateArn
|
|
4871
|
+
if (input.TemplateArn != null) {
|
|
5184
4872
|
entries["TemplateArn"] = input.TemplateArn;
|
|
5185
4873
|
}
|
|
5186
|
-
if (input.TemplateData
|
|
4874
|
+
if (input.TemplateData != null) {
|
|
5187
4875
|
entries["TemplateData"] = input.TemplateData;
|
|
5188
4876
|
}
|
|
5189
4877
|
return entries;
|
|
5190
4878
|
};
|
|
5191
4879
|
const serializeAws_querySetActiveReceiptRuleSetRequest = (input, context) => {
|
|
5192
4880
|
const entries = {};
|
|
5193
|
-
if (input.RuleSetName
|
|
4881
|
+
if (input.RuleSetName != null) {
|
|
5194
4882
|
entries["RuleSetName"] = input.RuleSetName;
|
|
5195
4883
|
}
|
|
5196
4884
|
return entries;
|
|
5197
4885
|
};
|
|
5198
4886
|
const serializeAws_querySetIdentityDkimEnabledRequest = (input, context) => {
|
|
5199
4887
|
const entries = {};
|
|
5200
|
-
if (input.Identity
|
|
4888
|
+
if (input.Identity != null) {
|
|
5201
4889
|
entries["Identity"] = input.Identity;
|
|
5202
4890
|
}
|
|
5203
|
-
if (input.DkimEnabled
|
|
4891
|
+
if (input.DkimEnabled != null) {
|
|
5204
4892
|
entries["DkimEnabled"] = input.DkimEnabled;
|
|
5205
4893
|
}
|
|
5206
4894
|
return entries;
|
|
5207
4895
|
};
|
|
5208
4896
|
const serializeAws_querySetIdentityFeedbackForwardingEnabledRequest = (input, context) => {
|
|
5209
4897
|
const entries = {};
|
|
5210
|
-
if (input.Identity
|
|
4898
|
+
if (input.Identity != null) {
|
|
5211
4899
|
entries["Identity"] = input.Identity;
|
|
5212
4900
|
}
|
|
5213
|
-
if (input.ForwardingEnabled
|
|
4901
|
+
if (input.ForwardingEnabled != null) {
|
|
5214
4902
|
entries["ForwardingEnabled"] = input.ForwardingEnabled;
|
|
5215
4903
|
}
|
|
5216
4904
|
return entries;
|
|
5217
4905
|
};
|
|
5218
4906
|
const serializeAws_querySetIdentityHeadersInNotificationsEnabledRequest = (input, context) => {
|
|
5219
4907
|
const entries = {};
|
|
5220
|
-
if (input.Identity
|
|
4908
|
+
if (input.Identity != null) {
|
|
5221
4909
|
entries["Identity"] = input.Identity;
|
|
5222
4910
|
}
|
|
5223
|
-
if (input.NotificationType
|
|
4911
|
+
if (input.NotificationType != null) {
|
|
5224
4912
|
entries["NotificationType"] = input.NotificationType;
|
|
5225
4913
|
}
|
|
5226
|
-
if (input.Enabled
|
|
4914
|
+
if (input.Enabled != null) {
|
|
5227
4915
|
entries["Enabled"] = input.Enabled;
|
|
5228
4916
|
}
|
|
5229
4917
|
return entries;
|
|
5230
4918
|
};
|
|
5231
4919
|
const serializeAws_querySetIdentityMailFromDomainRequest = (input, context) => {
|
|
5232
4920
|
const entries = {};
|
|
5233
|
-
if (input.Identity
|
|
4921
|
+
if (input.Identity != null) {
|
|
5234
4922
|
entries["Identity"] = input.Identity;
|
|
5235
4923
|
}
|
|
5236
|
-
if (input.MailFromDomain
|
|
4924
|
+
if (input.MailFromDomain != null) {
|
|
5237
4925
|
entries["MailFromDomain"] = input.MailFromDomain;
|
|
5238
4926
|
}
|
|
5239
|
-
if (input.BehaviorOnMXFailure
|
|
4927
|
+
if (input.BehaviorOnMXFailure != null) {
|
|
5240
4928
|
entries["BehaviorOnMXFailure"] = input.BehaviorOnMXFailure;
|
|
5241
4929
|
}
|
|
5242
4930
|
return entries;
|
|
5243
4931
|
};
|
|
5244
4932
|
const serializeAws_querySetIdentityNotificationTopicRequest = (input, context) => {
|
|
5245
4933
|
const entries = {};
|
|
5246
|
-
if (input.Identity
|
|
4934
|
+
if (input.Identity != null) {
|
|
5247
4935
|
entries["Identity"] = input.Identity;
|
|
5248
4936
|
}
|
|
5249
|
-
if (input.NotificationType
|
|
4937
|
+
if (input.NotificationType != null) {
|
|
5250
4938
|
entries["NotificationType"] = input.NotificationType;
|
|
5251
4939
|
}
|
|
5252
|
-
if (input.SnsTopic
|
|
4940
|
+
if (input.SnsTopic != null) {
|
|
5253
4941
|
entries["SnsTopic"] = input.SnsTopic;
|
|
5254
4942
|
}
|
|
5255
4943
|
return entries;
|
|
5256
4944
|
};
|
|
5257
4945
|
const serializeAws_querySetReceiptRulePositionRequest = (input, context) => {
|
|
5258
4946
|
const entries = {};
|
|
5259
|
-
if (input.RuleSetName
|
|
4947
|
+
if (input.RuleSetName != null) {
|
|
5260
4948
|
entries["RuleSetName"] = input.RuleSetName;
|
|
5261
4949
|
}
|
|
5262
|
-
if (input.RuleName
|
|
4950
|
+
if (input.RuleName != null) {
|
|
5263
4951
|
entries["RuleName"] = input.RuleName;
|
|
5264
4952
|
}
|
|
5265
|
-
if (input.After
|
|
4953
|
+
if (input.After != null) {
|
|
5266
4954
|
entries["After"] = input.After;
|
|
5267
4955
|
}
|
|
5268
4956
|
return entries;
|
|
5269
4957
|
};
|
|
5270
4958
|
const serializeAws_querySNSAction = (input, context) => {
|
|
5271
4959
|
const entries = {};
|
|
5272
|
-
if (input.TopicArn
|
|
4960
|
+
if (input.TopicArn != null) {
|
|
5273
4961
|
entries["TopicArn"] = input.TopicArn;
|
|
5274
4962
|
}
|
|
5275
|
-
if (input.Encoding
|
|
4963
|
+
if (input.Encoding != null) {
|
|
5276
4964
|
entries["Encoding"] = input.Encoding;
|
|
5277
4965
|
}
|
|
5278
4966
|
return entries;
|
|
5279
4967
|
};
|
|
5280
4968
|
const serializeAws_querySNSDestination = (input, context) => {
|
|
5281
4969
|
const entries = {};
|
|
5282
|
-
if (input.TopicARN
|
|
4970
|
+
if (input.TopicARN != null) {
|
|
5283
4971
|
entries["TopicARN"] = input.TopicARN;
|
|
5284
4972
|
}
|
|
5285
4973
|
return entries;
|
|
5286
4974
|
};
|
|
5287
4975
|
const serializeAws_queryStopAction = (input, context) => {
|
|
5288
4976
|
const entries = {};
|
|
5289
|
-
if (input.Scope
|
|
4977
|
+
if (input.Scope != null) {
|
|
5290
4978
|
entries["Scope"] = input.Scope;
|
|
5291
4979
|
}
|
|
5292
|
-
if (input.TopicArn
|
|
4980
|
+
if (input.TopicArn != null) {
|
|
5293
4981
|
entries["TopicArn"] = input.TopicArn;
|
|
5294
4982
|
}
|
|
5295
4983
|
return entries;
|
|
5296
4984
|
};
|
|
5297
4985
|
const serializeAws_queryTemplate = (input, context) => {
|
|
5298
4986
|
const entries = {};
|
|
5299
|
-
if (input.TemplateName
|
|
4987
|
+
if (input.TemplateName != null) {
|
|
5300
4988
|
entries["TemplateName"] = input.TemplateName;
|
|
5301
4989
|
}
|
|
5302
|
-
if (input.SubjectPart
|
|
4990
|
+
if (input.SubjectPart != null) {
|
|
5303
4991
|
entries["SubjectPart"] = input.SubjectPart;
|
|
5304
4992
|
}
|
|
5305
|
-
if (input.TextPart
|
|
4993
|
+
if (input.TextPart != null) {
|
|
5306
4994
|
entries["TextPart"] = input.TextPart;
|
|
5307
4995
|
}
|
|
5308
|
-
if (input.HtmlPart
|
|
4996
|
+
if (input.HtmlPart != null) {
|
|
5309
4997
|
entries["HtmlPart"] = input.HtmlPart;
|
|
5310
4998
|
}
|
|
5311
4999
|
return entries;
|
|
5312
5000
|
};
|
|
5313
5001
|
const serializeAws_queryTestRenderTemplateRequest = (input, context) => {
|
|
5314
5002
|
const entries = {};
|
|
5315
|
-
if (input.TemplateName
|
|
5003
|
+
if (input.TemplateName != null) {
|
|
5316
5004
|
entries["TemplateName"] = input.TemplateName;
|
|
5317
5005
|
}
|
|
5318
|
-
if (input.TemplateData
|
|
5006
|
+
if (input.TemplateData != null) {
|
|
5319
5007
|
entries["TemplateData"] = input.TemplateData;
|
|
5320
5008
|
}
|
|
5321
5009
|
return entries;
|
|
5322
5010
|
};
|
|
5323
5011
|
const serializeAws_queryTrackingOptions = (input, context) => {
|
|
5324
5012
|
const entries = {};
|
|
5325
|
-
if (input.CustomRedirectDomain
|
|
5013
|
+
if (input.CustomRedirectDomain != null) {
|
|
5326
5014
|
entries["CustomRedirectDomain"] = input.CustomRedirectDomain;
|
|
5327
5015
|
}
|
|
5328
5016
|
return entries;
|
|
5329
5017
|
};
|
|
5330
5018
|
const serializeAws_queryUpdateAccountSendingEnabledRequest = (input, context) => {
|
|
5331
5019
|
const entries = {};
|
|
5332
|
-
if (input.Enabled
|
|
5020
|
+
if (input.Enabled != null) {
|
|
5333
5021
|
entries["Enabled"] = input.Enabled;
|
|
5334
5022
|
}
|
|
5335
5023
|
return entries;
|
|
5336
5024
|
};
|
|
5337
5025
|
const serializeAws_queryUpdateConfigurationSetEventDestinationRequest = (input, context) => {
|
|
5338
5026
|
const entries = {};
|
|
5339
|
-
if (input.ConfigurationSetName
|
|
5027
|
+
if (input.ConfigurationSetName != null) {
|
|
5340
5028
|
entries["ConfigurationSetName"] = input.ConfigurationSetName;
|
|
5341
5029
|
}
|
|
5342
|
-
if (input.EventDestination
|
|
5030
|
+
if (input.EventDestination != null) {
|
|
5343
5031
|
const memberEntries = serializeAws_queryEventDestination(input.EventDestination, context);
|
|
5344
5032
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
5345
5033
|
const loc = `EventDestination.${key}`;
|
|
@@ -5350,30 +5038,30 @@ const serializeAws_queryUpdateConfigurationSetEventDestinationRequest = (input,
|
|
|
5350
5038
|
};
|
|
5351
5039
|
const serializeAws_queryUpdateConfigurationSetReputationMetricsEnabledRequest = (input, context) => {
|
|
5352
5040
|
const entries = {};
|
|
5353
|
-
if (input.ConfigurationSetName
|
|
5041
|
+
if (input.ConfigurationSetName != null) {
|
|
5354
5042
|
entries["ConfigurationSetName"] = input.ConfigurationSetName;
|
|
5355
5043
|
}
|
|
5356
|
-
if (input.Enabled
|
|
5044
|
+
if (input.Enabled != null) {
|
|
5357
5045
|
entries["Enabled"] = input.Enabled;
|
|
5358
5046
|
}
|
|
5359
5047
|
return entries;
|
|
5360
5048
|
};
|
|
5361
5049
|
const serializeAws_queryUpdateConfigurationSetSendingEnabledRequest = (input, context) => {
|
|
5362
5050
|
const entries = {};
|
|
5363
|
-
if (input.ConfigurationSetName
|
|
5051
|
+
if (input.ConfigurationSetName != null) {
|
|
5364
5052
|
entries["ConfigurationSetName"] = input.ConfigurationSetName;
|
|
5365
5053
|
}
|
|
5366
|
-
if (input.Enabled
|
|
5054
|
+
if (input.Enabled != null) {
|
|
5367
5055
|
entries["Enabled"] = input.Enabled;
|
|
5368
5056
|
}
|
|
5369
5057
|
return entries;
|
|
5370
5058
|
};
|
|
5371
5059
|
const serializeAws_queryUpdateConfigurationSetTrackingOptionsRequest = (input, context) => {
|
|
5372
5060
|
const entries = {};
|
|
5373
|
-
if (input.ConfigurationSetName
|
|
5061
|
+
if (input.ConfigurationSetName != null) {
|
|
5374
5062
|
entries["ConfigurationSetName"] = input.ConfigurationSetName;
|
|
5375
5063
|
}
|
|
5376
|
-
if (input.TrackingOptions
|
|
5064
|
+
if (input.TrackingOptions != null) {
|
|
5377
5065
|
const memberEntries = serializeAws_queryTrackingOptions(input.TrackingOptions, context);
|
|
5378
5066
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
5379
5067
|
const loc = `TrackingOptions.${key}`;
|
|
@@ -5384,32 +5072,32 @@ const serializeAws_queryUpdateConfigurationSetTrackingOptionsRequest = (input, c
|
|
|
5384
5072
|
};
|
|
5385
5073
|
const serializeAws_queryUpdateCustomVerificationEmailTemplateRequest = (input, context) => {
|
|
5386
5074
|
const entries = {};
|
|
5387
|
-
if (input.TemplateName
|
|
5075
|
+
if (input.TemplateName != null) {
|
|
5388
5076
|
entries["TemplateName"] = input.TemplateName;
|
|
5389
5077
|
}
|
|
5390
|
-
if (input.FromEmailAddress
|
|
5078
|
+
if (input.FromEmailAddress != null) {
|
|
5391
5079
|
entries["FromEmailAddress"] = input.FromEmailAddress;
|
|
5392
5080
|
}
|
|
5393
|
-
if (input.TemplateSubject
|
|
5081
|
+
if (input.TemplateSubject != null) {
|
|
5394
5082
|
entries["TemplateSubject"] = input.TemplateSubject;
|
|
5395
5083
|
}
|
|
5396
|
-
if (input.TemplateContent
|
|
5084
|
+
if (input.TemplateContent != null) {
|
|
5397
5085
|
entries["TemplateContent"] = input.TemplateContent;
|
|
5398
5086
|
}
|
|
5399
|
-
if (input.SuccessRedirectionURL
|
|
5087
|
+
if (input.SuccessRedirectionURL != null) {
|
|
5400
5088
|
entries["SuccessRedirectionURL"] = input.SuccessRedirectionURL;
|
|
5401
5089
|
}
|
|
5402
|
-
if (input.FailureRedirectionURL
|
|
5090
|
+
if (input.FailureRedirectionURL != null) {
|
|
5403
5091
|
entries["FailureRedirectionURL"] = input.FailureRedirectionURL;
|
|
5404
5092
|
}
|
|
5405
5093
|
return entries;
|
|
5406
5094
|
};
|
|
5407
5095
|
const serializeAws_queryUpdateReceiptRuleRequest = (input, context) => {
|
|
5408
5096
|
const entries = {};
|
|
5409
|
-
if (input.RuleSetName
|
|
5097
|
+
if (input.RuleSetName != null) {
|
|
5410
5098
|
entries["RuleSetName"] = input.RuleSetName;
|
|
5411
5099
|
}
|
|
5412
|
-
if (input.Rule
|
|
5100
|
+
if (input.Rule != null) {
|
|
5413
5101
|
const memberEntries = serializeAws_queryReceiptRule(input.Rule, context);
|
|
5414
5102
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
5415
5103
|
const loc = `Rule.${key}`;
|
|
@@ -5420,7 +5108,7 @@ const serializeAws_queryUpdateReceiptRuleRequest = (input, context) => {
|
|
|
5420
5108
|
};
|
|
5421
5109
|
const serializeAws_queryUpdateTemplateRequest = (input, context) => {
|
|
5422
5110
|
const entries = {};
|
|
5423
|
-
if (input.Template
|
|
5111
|
+
if (input.Template != null) {
|
|
5424
5112
|
const memberEntries = serializeAws_queryTemplate(input.Template, context);
|
|
5425
5113
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
5426
5114
|
const loc = `Template.${key}`;
|
|
@@ -5431,38 +5119,38 @@ const serializeAws_queryUpdateTemplateRequest = (input, context) => {
|
|
|
5431
5119
|
};
|
|
5432
5120
|
const serializeAws_queryVerifyDomainDkimRequest = (input, context) => {
|
|
5433
5121
|
const entries = {};
|
|
5434
|
-
if (input.Domain
|
|
5122
|
+
if (input.Domain != null) {
|
|
5435
5123
|
entries["Domain"] = input.Domain;
|
|
5436
5124
|
}
|
|
5437
5125
|
return entries;
|
|
5438
5126
|
};
|
|
5439
5127
|
const serializeAws_queryVerifyDomainIdentityRequest = (input, context) => {
|
|
5440
5128
|
const entries = {};
|
|
5441
|
-
if (input.Domain
|
|
5129
|
+
if (input.Domain != null) {
|
|
5442
5130
|
entries["Domain"] = input.Domain;
|
|
5443
5131
|
}
|
|
5444
5132
|
return entries;
|
|
5445
5133
|
};
|
|
5446
5134
|
const serializeAws_queryVerifyEmailAddressRequest = (input, context) => {
|
|
5447
5135
|
const entries = {};
|
|
5448
|
-
if (input.EmailAddress
|
|
5136
|
+
if (input.EmailAddress != null) {
|
|
5449
5137
|
entries["EmailAddress"] = input.EmailAddress;
|
|
5450
5138
|
}
|
|
5451
5139
|
return entries;
|
|
5452
5140
|
};
|
|
5453
5141
|
const serializeAws_queryVerifyEmailIdentityRequest = (input, context) => {
|
|
5454
5142
|
const entries = {};
|
|
5455
|
-
if (input.EmailAddress
|
|
5143
|
+
if (input.EmailAddress != null) {
|
|
5456
5144
|
entries["EmailAddress"] = input.EmailAddress;
|
|
5457
5145
|
}
|
|
5458
5146
|
return entries;
|
|
5459
5147
|
};
|
|
5460
5148
|
const serializeAws_queryWorkmailAction = (input, context) => {
|
|
5461
5149
|
const entries = {};
|
|
5462
|
-
if (input.TopicArn
|
|
5150
|
+
if (input.TopicArn != null) {
|
|
5463
5151
|
entries["TopicArn"] = input.TopicArn;
|
|
5464
5152
|
}
|
|
5465
|
-
if (input.OrganizationArn
|
|
5153
|
+
if (input.OrganizationArn != null) {
|
|
5466
5154
|
entries["OrganizationArn"] = input.OrganizationArn;
|
|
5467
5155
|
}
|
|
5468
5156
|
return entries;
|
|
@@ -5493,9 +5181,6 @@ const deserializeAws_queryAddressList = (output, context) => {
|
|
|
5493
5181
|
return (output || [])
|
|
5494
5182
|
.filter((e) => e != null)
|
|
5495
5183
|
.map((entry) => {
|
|
5496
|
-
if (entry === null) {
|
|
5497
|
-
return null;
|
|
5498
|
-
}
|
|
5499
5184
|
return (0, smithy_client_1.expectString)(entry);
|
|
5500
5185
|
});
|
|
5501
5186
|
};
|
|
@@ -5558,9 +5243,6 @@ const deserializeAws_queryBulkEmailDestinationStatusList = (output, context) =>
|
|
|
5558
5243
|
return (output || [])
|
|
5559
5244
|
.filter((e) => e != null)
|
|
5560
5245
|
.map((entry) => {
|
|
5561
|
-
if (entry === null) {
|
|
5562
|
-
return null;
|
|
5563
|
-
}
|
|
5564
5246
|
return deserializeAws_queryBulkEmailDestinationStatus(entry, context);
|
|
5565
5247
|
});
|
|
5566
5248
|
};
|
|
@@ -5615,9 +5297,6 @@ const deserializeAws_queryCloudWatchDimensionConfigurations = (output, context)
|
|
|
5615
5297
|
return (output || [])
|
|
5616
5298
|
.filter((e) => e != null)
|
|
5617
5299
|
.map((entry) => {
|
|
5618
|
-
if (entry === null) {
|
|
5619
|
-
return null;
|
|
5620
|
-
}
|
|
5621
5300
|
return deserializeAws_queryCloudWatchDimensionConfiguration(entry, context);
|
|
5622
5301
|
});
|
|
5623
5302
|
};
|
|
@@ -5660,9 +5339,6 @@ const deserializeAws_queryConfigurationSets = (output, context) => {
|
|
|
5660
5339
|
return (output || [])
|
|
5661
5340
|
.filter((e) => e != null)
|
|
5662
5341
|
.map((entry) => {
|
|
5663
|
-
if (entry === null) {
|
|
5664
|
-
return null;
|
|
5665
|
-
}
|
|
5666
5342
|
return deserializeAws_queryConfigurationSet(entry, context);
|
|
5667
5343
|
});
|
|
5668
5344
|
};
|
|
@@ -5771,9 +5447,6 @@ const deserializeAws_queryCustomVerificationEmailTemplates = (output, context) =
|
|
|
5771
5447
|
return (output || [])
|
|
5772
5448
|
.filter((e) => e != null)
|
|
5773
5449
|
.map((entry) => {
|
|
5774
|
-
if (entry === null) {
|
|
5775
|
-
return null;
|
|
5776
|
-
}
|
|
5777
5450
|
return deserializeAws_queryCustomVerificationEmailTemplate(entry, context);
|
|
5778
5451
|
});
|
|
5779
5452
|
};
|
|
@@ -5972,9 +5645,6 @@ const deserializeAws_queryEventDestinations = (output, context) => {
|
|
|
5972
5645
|
return (output || [])
|
|
5973
5646
|
.filter((e) => e != null)
|
|
5974
5647
|
.map((entry) => {
|
|
5975
|
-
if (entry === null) {
|
|
5976
|
-
return null;
|
|
5977
|
-
}
|
|
5978
5648
|
return deserializeAws_queryEventDestination(entry, context);
|
|
5979
5649
|
});
|
|
5980
5650
|
};
|
|
@@ -5982,9 +5652,6 @@ const deserializeAws_queryEventTypes = (output, context) => {
|
|
|
5982
5652
|
return (output || [])
|
|
5983
5653
|
.filter((e) => e != null)
|
|
5984
5654
|
.map((entry) => {
|
|
5985
|
-
if (entry === null) {
|
|
5986
|
-
return null;
|
|
5987
|
-
}
|
|
5988
5655
|
return (0, smithy_client_1.expectString)(entry);
|
|
5989
5656
|
});
|
|
5990
5657
|
};
|
|
@@ -6164,9 +5831,6 @@ const deserializeAws_queryIdentityList = (output, context) => {
|
|
|
6164
5831
|
return (output || [])
|
|
6165
5832
|
.filter((e) => e != null)
|
|
6166
5833
|
.map((entry) => {
|
|
6167
|
-
if (entry === null) {
|
|
6168
|
-
return null;
|
|
6169
|
-
}
|
|
6170
5834
|
return (0, smithy_client_1.expectString)(entry);
|
|
6171
5835
|
});
|
|
6172
5836
|
};
|
|
@@ -6610,9 +6274,6 @@ const deserializeAws_queryPolicyNameList = (output, context) => {
|
|
|
6610
6274
|
return (output || [])
|
|
6611
6275
|
.filter((e) => e != null)
|
|
6612
6276
|
.map((entry) => {
|
|
6613
|
-
if (entry === null) {
|
|
6614
|
-
return null;
|
|
6615
|
-
}
|
|
6616
6277
|
return (0, smithy_client_1.expectString)(entry);
|
|
6617
6278
|
});
|
|
6618
6279
|
};
|
|
@@ -6670,9 +6331,6 @@ const deserializeAws_queryReceiptActionsList = (output, context) => {
|
|
|
6670
6331
|
return (output || [])
|
|
6671
6332
|
.filter((e) => e != null)
|
|
6672
6333
|
.map((entry) => {
|
|
6673
|
-
if (entry === null) {
|
|
6674
|
-
return null;
|
|
6675
|
-
}
|
|
6676
6334
|
return deserializeAws_queryReceiptAction(entry, context);
|
|
6677
6335
|
});
|
|
6678
6336
|
};
|
|
@@ -6693,9 +6351,6 @@ const deserializeAws_queryReceiptFilterList = (output, context) => {
|
|
|
6693
6351
|
return (output || [])
|
|
6694
6352
|
.filter((e) => e != null)
|
|
6695
6353
|
.map((entry) => {
|
|
6696
|
-
if (entry === null) {
|
|
6697
|
-
return null;
|
|
6698
|
-
}
|
|
6699
6354
|
return deserializeAws_queryReceiptFilter(entry, context);
|
|
6700
6355
|
});
|
|
6701
6356
|
};
|
|
@@ -6764,9 +6419,6 @@ const deserializeAws_queryReceiptRuleSetsLists = (output, context) => {
|
|
|
6764
6419
|
return (output || [])
|
|
6765
6420
|
.filter((e) => e != null)
|
|
6766
6421
|
.map((entry) => {
|
|
6767
|
-
if (entry === null) {
|
|
6768
|
-
return null;
|
|
6769
|
-
}
|
|
6770
6422
|
return deserializeAws_queryReceiptRuleSetMetadata(entry, context);
|
|
6771
6423
|
});
|
|
6772
6424
|
};
|
|
@@ -6774,9 +6426,6 @@ const deserializeAws_queryReceiptRulesList = (output, context) => {
|
|
|
6774
6426
|
return (output || [])
|
|
6775
6427
|
.filter((e) => e != null)
|
|
6776
6428
|
.map((entry) => {
|
|
6777
|
-
if (entry === null) {
|
|
6778
|
-
return null;
|
|
6779
|
-
}
|
|
6780
6429
|
return deserializeAws_queryReceiptRule(entry, context);
|
|
6781
6430
|
});
|
|
6782
6431
|
};
|
|
@@ -6784,9 +6433,6 @@ const deserializeAws_queryRecipientsList = (output, context) => {
|
|
|
6784
6433
|
return (output || [])
|
|
6785
6434
|
.filter((e) => e != null)
|
|
6786
6435
|
.map((entry) => {
|
|
6787
|
-
if (entry === null) {
|
|
6788
|
-
return null;
|
|
6789
|
-
}
|
|
6790
6436
|
return (0, smithy_client_1.expectString)(entry);
|
|
6791
6437
|
});
|
|
6792
6438
|
};
|
|
@@ -6917,9 +6563,6 @@ const deserializeAws_querySendDataPointList = (output, context) => {
|
|
|
6917
6563
|
return (output || [])
|
|
6918
6564
|
.filter((e) => e != null)
|
|
6919
6565
|
.map((entry) => {
|
|
6920
|
-
if (entry === null) {
|
|
6921
|
-
return null;
|
|
6922
|
-
}
|
|
6923
6566
|
return deserializeAws_querySendDataPoint(entry, context);
|
|
6924
6567
|
});
|
|
6925
6568
|
};
|
|
@@ -7064,9 +6707,6 @@ const deserializeAws_queryTemplateMetadataList = (output, context) => {
|
|
|
7064
6707
|
return (output || [])
|
|
7065
6708
|
.filter((e) => e != null)
|
|
7066
6709
|
.map((entry) => {
|
|
7067
|
-
if (entry === null) {
|
|
7068
|
-
return null;
|
|
7069
|
-
}
|
|
7070
6710
|
return deserializeAws_queryTemplateMetadata(entry, context);
|
|
7071
6711
|
});
|
|
7072
6712
|
};
|
|
@@ -7145,9 +6785,6 @@ const deserializeAws_queryVerificationTokenList = (output, context) => {
|
|
|
7145
6785
|
return (output || [])
|
|
7146
6786
|
.filter((e) => e != null)
|
|
7147
6787
|
.map((entry) => {
|
|
7148
|
-
if (entry === null) {
|
|
7149
|
-
return null;
|
|
7150
|
-
}
|
|
7151
6788
|
return (0, smithy_client_1.expectString)(entry);
|
|
7152
6789
|
});
|
|
7153
6790
|
};
|