@aws-sdk/client-pinpoint-email 3.54.1 → 3.55.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 +8 -0
- package/dist-cjs/PinpointEmailClient.js +13 -13
- package/dist-cjs/commands/CreateConfigurationSetCommand.js +3 -3
- package/dist-cjs/commands/CreateConfigurationSetEventDestinationCommand.js +3 -3
- package/dist-cjs/commands/CreateDedicatedIpPoolCommand.js +3 -3
- package/dist-cjs/commands/CreateDeliverabilityTestReportCommand.js +3 -3
- package/dist-cjs/commands/CreateEmailIdentityCommand.js +3 -3
- package/dist-cjs/commands/DeleteConfigurationSetCommand.js +3 -3
- package/dist-cjs/commands/DeleteConfigurationSetEventDestinationCommand.js +3 -3
- package/dist-cjs/commands/DeleteDedicatedIpPoolCommand.js +3 -3
- package/dist-cjs/commands/DeleteEmailIdentityCommand.js +3 -3
- package/dist-cjs/commands/GetAccountCommand.js +3 -3
- package/dist-cjs/commands/GetBlacklistReportsCommand.js +3 -3
- package/dist-cjs/commands/GetConfigurationSetCommand.js +3 -3
- package/dist-cjs/commands/GetConfigurationSetEventDestinationsCommand.js +3 -3
- package/dist-cjs/commands/GetDedicatedIpCommand.js +3 -3
- package/dist-cjs/commands/GetDedicatedIpsCommand.js +3 -3
- package/dist-cjs/commands/GetDeliverabilityDashboardOptionsCommand.js +3 -3
- package/dist-cjs/commands/GetDeliverabilityTestReportCommand.js +3 -3
- package/dist-cjs/commands/GetDomainDeliverabilityCampaignCommand.js +3 -3
- package/dist-cjs/commands/GetDomainStatisticsReportCommand.js +3 -3
- package/dist-cjs/commands/GetEmailIdentityCommand.js +3 -3
- package/dist-cjs/commands/ListConfigurationSetsCommand.js +3 -3
- package/dist-cjs/commands/ListDedicatedIpPoolsCommand.js +3 -3
- package/dist-cjs/commands/ListDeliverabilityTestReportsCommand.js +3 -3
- package/dist-cjs/commands/ListDomainDeliverabilityCampaignsCommand.js +3 -3
- package/dist-cjs/commands/ListEmailIdentitiesCommand.js +3 -3
- package/dist-cjs/commands/ListTagsForResourceCommand.js +3 -3
- package/dist-cjs/commands/PutAccountDedicatedIpWarmupAttributesCommand.js +3 -3
- package/dist-cjs/commands/PutAccountSendingAttributesCommand.js +3 -3
- package/dist-cjs/commands/PutConfigurationSetDeliveryOptionsCommand.js +3 -3
- package/dist-cjs/commands/PutConfigurationSetReputationOptionsCommand.js +3 -3
- package/dist-cjs/commands/PutConfigurationSetSendingOptionsCommand.js +3 -3
- package/dist-cjs/commands/PutConfigurationSetTrackingOptionsCommand.js +3 -3
- package/dist-cjs/commands/PutDedicatedIpInPoolCommand.js +3 -3
- package/dist-cjs/commands/PutDedicatedIpWarmupAttributesCommand.js +3 -3
- package/dist-cjs/commands/PutDeliverabilityDashboardOptionCommand.js +3 -3
- package/dist-cjs/commands/PutEmailIdentityDkimAttributesCommand.js +3 -3
- package/dist-cjs/commands/PutEmailIdentityFeedbackAttributesCommand.js +3 -3
- package/dist-cjs/commands/PutEmailIdentityMailFromAttributesCommand.js +3 -3
- package/dist-cjs/commands/SendEmailCommand.js +3 -3
- package/dist-cjs/commands/TagResourceCommand.js +3 -3
- package/dist-cjs/commands/UntagResourceCommand.js +3 -3
- package/dist-cjs/commands/UpdateConfigurationSetEventDestinationCommand.js +3 -3
- package/dist-cjs/endpoints.js +1 -1
- package/dist-cjs/protocols/Aws_restJson1.js +210 -210
- package/dist-cjs/runtimeConfig.browser.js +4 -4
- package/dist-cjs/runtimeConfig.js +9 -9
- package/dist-cjs/runtimeConfig.native.js +1 -1
- package/dist-es/PinpointEmail.js +42 -42
- package/dist-es/pagination/GetDedicatedIpsPaginator.js +4 -4
- package/dist-es/pagination/ListConfigurationSetsPaginator.js +4 -4
- package/dist-es/pagination/ListDedicatedIpPoolsPaginator.js +4 -4
- package/dist-es/pagination/ListDeliverabilityTestReportsPaginator.js +4 -4
- package/dist-es/pagination/ListDomainDeliverabilityCampaignsPaginator.js +4 -4
- package/dist-es/pagination/ListEmailIdentitiesPaginator.js +4 -4
- package/dist-es/protocols/Aws_restJson1.js +42 -42
- package/dist-types/runtimeConfig.native.d.ts +2 -2
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +2 -2
- package/package.json +34 -34
|
@@ -58,7 +58,7 @@ const serializeAws_restJson1CreateConfigurationSetEventDestinationCommand = asyn
|
|
|
58
58
|
if (labelValue.length <= 0) {
|
|
59
59
|
throw new Error("Empty value provided for input HTTP label: ConfigurationSetName.");
|
|
60
60
|
}
|
|
61
|
-
resolvedPath = resolvedPath.replace("{ConfigurationSetName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
61
|
+
resolvedPath = resolvedPath.replace("{ConfigurationSetName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
62
62
|
}
|
|
63
63
|
else {
|
|
64
64
|
throw new Error("No value provided for input HTTP label: ConfigurationSetName.");
|
|
@@ -166,7 +166,7 @@ const serializeAws_restJson1DeleteConfigurationSetCommand = async (input, contex
|
|
|
166
166
|
if (labelValue.length <= 0) {
|
|
167
167
|
throw new Error("Empty value provided for input HTTP label: ConfigurationSetName.");
|
|
168
168
|
}
|
|
169
|
-
resolvedPath = resolvedPath.replace("{ConfigurationSetName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
169
|
+
resolvedPath = resolvedPath.replace("{ConfigurationSetName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
170
170
|
}
|
|
171
171
|
else {
|
|
172
172
|
throw new Error("No value provided for input HTTP label: ConfigurationSetName.");
|
|
@@ -193,7 +193,7 @@ const serializeAws_restJson1DeleteConfigurationSetEventDestinationCommand = asyn
|
|
|
193
193
|
if (labelValue.length <= 0) {
|
|
194
194
|
throw new Error("Empty value provided for input HTTP label: ConfigurationSetName.");
|
|
195
195
|
}
|
|
196
|
-
resolvedPath = resolvedPath.replace("{ConfigurationSetName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
196
|
+
resolvedPath = resolvedPath.replace("{ConfigurationSetName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
197
197
|
}
|
|
198
198
|
else {
|
|
199
199
|
throw new Error("No value provided for input HTTP label: ConfigurationSetName.");
|
|
@@ -203,7 +203,7 @@ const serializeAws_restJson1DeleteConfigurationSetEventDestinationCommand = asyn
|
|
|
203
203
|
if (labelValue.length <= 0) {
|
|
204
204
|
throw new Error("Empty value provided for input HTTP label: EventDestinationName.");
|
|
205
205
|
}
|
|
206
|
-
resolvedPath = resolvedPath.replace("{EventDestinationName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
206
|
+
resolvedPath = resolvedPath.replace("{EventDestinationName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
207
207
|
}
|
|
208
208
|
else {
|
|
209
209
|
throw new Error("No value provided for input HTTP label: EventDestinationName.");
|
|
@@ -229,7 +229,7 @@ const serializeAws_restJson1DeleteDedicatedIpPoolCommand = async (input, context
|
|
|
229
229
|
if (labelValue.length <= 0) {
|
|
230
230
|
throw new Error("Empty value provided for input HTTP label: PoolName.");
|
|
231
231
|
}
|
|
232
|
-
resolvedPath = resolvedPath.replace("{PoolName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
232
|
+
resolvedPath = resolvedPath.replace("{PoolName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
233
233
|
}
|
|
234
234
|
else {
|
|
235
235
|
throw new Error("No value provided for input HTTP label: PoolName.");
|
|
@@ -255,7 +255,7 @@ const serializeAws_restJson1DeleteEmailIdentityCommand = async (input, context)
|
|
|
255
255
|
if (labelValue.length <= 0) {
|
|
256
256
|
throw new Error("Empty value provided for input HTTP label: EmailIdentity.");
|
|
257
257
|
}
|
|
258
|
-
resolvedPath = resolvedPath.replace("{EmailIdentity}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
258
|
+
resolvedPath = resolvedPath.replace("{EmailIdentity}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
259
259
|
}
|
|
260
260
|
else {
|
|
261
261
|
throw new Error("No value provided for input HTTP label: EmailIdentity.");
|
|
@@ -324,7 +324,7 @@ const serializeAws_restJson1GetConfigurationSetCommand = async (input, context)
|
|
|
324
324
|
if (labelValue.length <= 0) {
|
|
325
325
|
throw new Error("Empty value provided for input HTTP label: ConfigurationSetName.");
|
|
326
326
|
}
|
|
327
|
-
resolvedPath = resolvedPath.replace("{ConfigurationSetName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
327
|
+
resolvedPath = resolvedPath.replace("{ConfigurationSetName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
328
328
|
}
|
|
329
329
|
else {
|
|
330
330
|
throw new Error("No value provided for input HTTP label: ConfigurationSetName.");
|
|
@@ -351,7 +351,7 @@ const serializeAws_restJson1GetConfigurationSetEventDestinationsCommand = async
|
|
|
351
351
|
if (labelValue.length <= 0) {
|
|
352
352
|
throw new Error("Empty value provided for input HTTP label: ConfigurationSetName.");
|
|
353
353
|
}
|
|
354
|
-
resolvedPath = resolvedPath.replace("{ConfigurationSetName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
354
|
+
resolvedPath = resolvedPath.replace("{ConfigurationSetName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
355
355
|
}
|
|
356
356
|
else {
|
|
357
357
|
throw new Error("No value provided for input HTTP label: ConfigurationSetName.");
|
|
@@ -377,7 +377,7 @@ const serializeAws_restJson1GetDedicatedIpCommand = async (input, context) => {
|
|
|
377
377
|
if (labelValue.length <= 0) {
|
|
378
378
|
throw new Error("Empty value provided for input HTTP label: Ip.");
|
|
379
379
|
}
|
|
380
|
-
resolvedPath = resolvedPath.replace("{Ip}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
380
|
+
resolvedPath = resolvedPath.replace("{Ip}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
381
381
|
}
|
|
382
382
|
else {
|
|
383
383
|
throw new Error("No value provided for input HTTP label: Ip.");
|
|
@@ -445,7 +445,7 @@ const serializeAws_restJson1GetDeliverabilityTestReportCommand = async (input, c
|
|
|
445
445
|
if (labelValue.length <= 0) {
|
|
446
446
|
throw new Error("Empty value provided for input HTTP label: ReportId.");
|
|
447
447
|
}
|
|
448
|
-
resolvedPath = resolvedPath.replace("{ReportId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
448
|
+
resolvedPath = resolvedPath.replace("{ReportId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
449
449
|
}
|
|
450
450
|
else {
|
|
451
451
|
throw new Error("No value provided for input HTTP label: ReportId.");
|
|
@@ -472,7 +472,7 @@ const serializeAws_restJson1GetDomainDeliverabilityCampaignCommand = async (inpu
|
|
|
472
472
|
if (labelValue.length <= 0) {
|
|
473
473
|
throw new Error("Empty value provided for input HTTP label: CampaignId.");
|
|
474
474
|
}
|
|
475
|
-
resolvedPath = resolvedPath.replace("{CampaignId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
475
|
+
resolvedPath = resolvedPath.replace("{CampaignId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
476
476
|
}
|
|
477
477
|
else {
|
|
478
478
|
throw new Error("No value provided for input HTTP label: CampaignId.");
|
|
@@ -499,7 +499,7 @@ const serializeAws_restJson1GetDomainStatisticsReportCommand = async (input, con
|
|
|
499
499
|
if (labelValue.length <= 0) {
|
|
500
500
|
throw new Error("Empty value provided for input HTTP label: Domain.");
|
|
501
501
|
}
|
|
502
|
-
resolvedPath = resolvedPath.replace("{Domain}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
502
|
+
resolvedPath = resolvedPath.replace("{Domain}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
503
503
|
}
|
|
504
504
|
else {
|
|
505
505
|
throw new Error("No value provided for input HTTP label: Domain.");
|
|
@@ -530,7 +530,7 @@ const serializeAws_restJson1GetEmailIdentityCommand = async (input, context) =>
|
|
|
530
530
|
if (labelValue.length <= 0) {
|
|
531
531
|
throw new Error("Empty value provided for input HTTP label: EmailIdentity.");
|
|
532
532
|
}
|
|
533
|
-
resolvedPath = resolvedPath.replace("{EmailIdentity}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
533
|
+
resolvedPath = resolvedPath.replace("{EmailIdentity}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
534
534
|
}
|
|
535
535
|
else {
|
|
536
536
|
throw new Error("No value provided for input HTTP label: EmailIdentity.");
|
|
@@ -621,7 +621,7 @@ const serializeAws_restJson1ListDomainDeliverabilityCampaignsCommand = async (in
|
|
|
621
621
|
if (labelValue.length <= 0) {
|
|
622
622
|
throw new Error("Empty value provided for input HTTP label: SubscribedDomain.");
|
|
623
623
|
}
|
|
624
|
-
resolvedPath = resolvedPath.replace("{SubscribedDomain}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
624
|
+
resolvedPath = resolvedPath.replace("{SubscribedDomain}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
625
625
|
}
|
|
626
626
|
else {
|
|
627
627
|
throw new Error("No value provided for input HTTP label: SubscribedDomain.");
|
|
@@ -742,7 +742,7 @@ const serializeAws_restJson1PutConfigurationSetDeliveryOptionsCommand = async (i
|
|
|
742
742
|
if (labelValue.length <= 0) {
|
|
743
743
|
throw new Error("Empty value provided for input HTTP label: ConfigurationSetName.");
|
|
744
744
|
}
|
|
745
|
-
resolvedPath = resolvedPath.replace("{ConfigurationSetName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
745
|
+
resolvedPath = resolvedPath.replace("{ConfigurationSetName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
746
746
|
}
|
|
747
747
|
else {
|
|
748
748
|
throw new Error("No value provided for input HTTP label: ConfigurationSetName.");
|
|
@@ -776,7 +776,7 @@ const serializeAws_restJson1PutConfigurationSetReputationOptionsCommand = async
|
|
|
776
776
|
if (labelValue.length <= 0) {
|
|
777
777
|
throw new Error("Empty value provided for input HTTP label: ConfigurationSetName.");
|
|
778
778
|
}
|
|
779
|
-
resolvedPath = resolvedPath.replace("{ConfigurationSetName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
779
|
+
resolvedPath = resolvedPath.replace("{ConfigurationSetName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
780
780
|
}
|
|
781
781
|
else {
|
|
782
782
|
throw new Error("No value provided for input HTTP label: ConfigurationSetName.");
|
|
@@ -809,7 +809,7 @@ const serializeAws_restJson1PutConfigurationSetSendingOptionsCommand = async (in
|
|
|
809
809
|
if (labelValue.length <= 0) {
|
|
810
810
|
throw new Error("Empty value provided for input HTTP label: ConfigurationSetName.");
|
|
811
811
|
}
|
|
812
|
-
resolvedPath = resolvedPath.replace("{ConfigurationSetName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
812
|
+
resolvedPath = resolvedPath.replace("{ConfigurationSetName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
813
813
|
}
|
|
814
814
|
else {
|
|
815
815
|
throw new Error("No value provided for input HTTP label: ConfigurationSetName.");
|
|
@@ -842,7 +842,7 @@ const serializeAws_restJson1PutConfigurationSetTrackingOptionsCommand = async (i
|
|
|
842
842
|
if (labelValue.length <= 0) {
|
|
843
843
|
throw new Error("Empty value provided for input HTTP label: ConfigurationSetName.");
|
|
844
844
|
}
|
|
845
|
-
resolvedPath = resolvedPath.replace("{ConfigurationSetName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
845
|
+
resolvedPath = resolvedPath.replace("{ConfigurationSetName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
846
846
|
}
|
|
847
847
|
else {
|
|
848
848
|
throw new Error("No value provided for input HTTP label: ConfigurationSetName.");
|
|
@@ -874,7 +874,7 @@ const serializeAws_restJson1PutDedicatedIpInPoolCommand = async (input, context)
|
|
|
874
874
|
if (labelValue.length <= 0) {
|
|
875
875
|
throw new Error("Empty value provided for input HTTP label: Ip.");
|
|
876
876
|
}
|
|
877
|
-
resolvedPath = resolvedPath.replace("{Ip}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
877
|
+
resolvedPath = resolvedPath.replace("{Ip}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
878
878
|
}
|
|
879
879
|
else {
|
|
880
880
|
throw new Error("No value provided for input HTTP label: Ip.");
|
|
@@ -906,7 +906,7 @@ const serializeAws_restJson1PutDedicatedIpWarmupAttributesCommand = async (input
|
|
|
906
906
|
if (labelValue.length <= 0) {
|
|
907
907
|
throw new Error("Empty value provided for input HTTP label: Ip.");
|
|
908
908
|
}
|
|
909
|
-
resolvedPath = resolvedPath.replace("{Ip}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
909
|
+
resolvedPath = resolvedPath.replace("{Ip}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
910
910
|
}
|
|
911
911
|
else {
|
|
912
912
|
throw new Error("No value provided for input HTTP label: Ip.");
|
|
@@ -964,7 +964,7 @@ const serializeAws_restJson1PutEmailIdentityDkimAttributesCommand = async (input
|
|
|
964
964
|
if (labelValue.length <= 0) {
|
|
965
965
|
throw new Error("Empty value provided for input HTTP label: EmailIdentity.");
|
|
966
966
|
}
|
|
967
|
-
resolvedPath = resolvedPath.replace("{EmailIdentity}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
967
|
+
resolvedPath = resolvedPath.replace("{EmailIdentity}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
968
968
|
}
|
|
969
969
|
else {
|
|
970
970
|
throw new Error("No value provided for input HTTP label: EmailIdentity.");
|
|
@@ -997,7 +997,7 @@ const serializeAws_restJson1PutEmailIdentityFeedbackAttributesCommand = async (i
|
|
|
997
997
|
if (labelValue.length <= 0) {
|
|
998
998
|
throw new Error("Empty value provided for input HTTP label: EmailIdentity.");
|
|
999
999
|
}
|
|
1000
|
-
resolvedPath = resolvedPath.replace("{EmailIdentity}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1000
|
+
resolvedPath = resolvedPath.replace("{EmailIdentity}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
1001
1001
|
}
|
|
1002
1002
|
else {
|
|
1003
1003
|
throw new Error("No value provided for input HTTP label: EmailIdentity.");
|
|
@@ -1030,7 +1030,7 @@ const serializeAws_restJson1PutEmailIdentityMailFromAttributesCommand = async (i
|
|
|
1030
1030
|
if (labelValue.length <= 0) {
|
|
1031
1031
|
throw new Error("Empty value provided for input HTTP label: EmailIdentity.");
|
|
1032
1032
|
}
|
|
1033
|
-
resolvedPath = resolvedPath.replace("{EmailIdentity}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1033
|
+
resolvedPath = resolvedPath.replace("{EmailIdentity}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
1034
1034
|
}
|
|
1035
1035
|
else {
|
|
1036
1036
|
throw new Error("No value provided for input HTTP label: EmailIdentity.");
|
|
@@ -1147,7 +1147,7 @@ const serializeAws_restJson1UpdateConfigurationSetEventDestinationCommand = asyn
|
|
|
1147
1147
|
if (labelValue.length <= 0) {
|
|
1148
1148
|
throw new Error("Empty value provided for input HTTP label: ConfigurationSetName.");
|
|
1149
1149
|
}
|
|
1150
|
-
resolvedPath = resolvedPath.replace("{ConfigurationSetName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1150
|
+
resolvedPath = resolvedPath.replace("{ConfigurationSetName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
1151
1151
|
}
|
|
1152
1152
|
else {
|
|
1153
1153
|
throw new Error("No value provided for input HTTP label: ConfigurationSetName.");
|
|
@@ -1157,7 +1157,7 @@ const serializeAws_restJson1UpdateConfigurationSetEventDestinationCommand = asyn
|
|
|
1157
1157
|
if (labelValue.length <= 0) {
|
|
1158
1158
|
throw new Error("Empty value provided for input HTTP label: EventDestinationName.");
|
|
1159
1159
|
}
|
|
1160
|
-
resolvedPath = resolvedPath.replace("{EventDestinationName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1160
|
+
resolvedPath = resolvedPath.replace("{EventDestinationName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
1161
1161
|
}
|
|
1162
1162
|
else {
|
|
1163
1163
|
throw new Error("No value provided for input HTTP label: EventDestinationName.");
|
|
@@ -1225,7 +1225,7 @@ const deserializeAws_restJson1CreateConfigurationSetCommandError = async (output
|
|
|
1225
1225
|
$fault: "client",
|
|
1226
1226
|
$metadata: deserializeMetadata(output),
|
|
1227
1227
|
});
|
|
1228
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1228
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1229
1229
|
}
|
|
1230
1230
|
};
|
|
1231
1231
|
const deserializeAws_restJson1CreateConfigurationSetEventDestinationCommand = async (output, context) => {
|
|
@@ -1270,7 +1270,7 @@ const deserializeAws_restJson1CreateConfigurationSetEventDestinationCommandError
|
|
|
1270
1270
|
$fault: "client",
|
|
1271
1271
|
$metadata: deserializeMetadata(output),
|
|
1272
1272
|
});
|
|
1273
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1273
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1274
1274
|
}
|
|
1275
1275
|
};
|
|
1276
1276
|
const deserializeAws_restJson1CreateDedicatedIpPoolCommand = async (output, context) => {
|
|
@@ -1315,7 +1315,7 @@ const deserializeAws_restJson1CreateDedicatedIpPoolCommandError = async (output,
|
|
|
1315
1315
|
$fault: "client",
|
|
1316
1316
|
$metadata: deserializeMetadata(output),
|
|
1317
1317
|
});
|
|
1318
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1318
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1319
1319
|
}
|
|
1320
1320
|
};
|
|
1321
1321
|
const deserializeAws_restJson1CreateDeliverabilityTestReportCommand = async (output, context) => {
|
|
@@ -1327,12 +1327,12 @@ const deserializeAws_restJson1CreateDeliverabilityTestReportCommand = async (out
|
|
|
1327
1327
|
DeliverabilityTestStatus: undefined,
|
|
1328
1328
|
ReportId: undefined,
|
|
1329
1329
|
};
|
|
1330
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1330
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1331
1331
|
if (data.DeliverabilityTestStatus !== undefined && data.DeliverabilityTestStatus !== null) {
|
|
1332
|
-
contents.DeliverabilityTestStatus = smithy_client_1.expectString(data.DeliverabilityTestStatus);
|
|
1332
|
+
contents.DeliverabilityTestStatus = (0, smithy_client_1.expectString)(data.DeliverabilityTestStatus);
|
|
1333
1333
|
}
|
|
1334
1334
|
if (data.ReportId !== undefined && data.ReportId !== null) {
|
|
1335
|
-
contents.ReportId = smithy_client_1.expectString(data.ReportId);
|
|
1335
|
+
contents.ReportId = (0, smithy_client_1.expectString)(data.ReportId);
|
|
1336
1336
|
}
|
|
1337
1337
|
return Promise.resolve(contents);
|
|
1338
1338
|
};
|
|
@@ -1380,7 +1380,7 @@ const deserializeAws_restJson1CreateDeliverabilityTestReportCommandError = async
|
|
|
1380
1380
|
$fault: "client",
|
|
1381
1381
|
$metadata: deserializeMetadata(output),
|
|
1382
1382
|
});
|
|
1383
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1383
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1384
1384
|
}
|
|
1385
1385
|
};
|
|
1386
1386
|
const deserializeAws_restJson1CreateEmailIdentityCommand = async (output, context) => {
|
|
@@ -1393,15 +1393,15 @@ const deserializeAws_restJson1CreateEmailIdentityCommand = async (output, contex
|
|
|
1393
1393
|
IdentityType: undefined,
|
|
1394
1394
|
VerifiedForSendingStatus: undefined,
|
|
1395
1395
|
};
|
|
1396
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1396
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1397
1397
|
if (data.DkimAttributes !== undefined && data.DkimAttributes !== null) {
|
|
1398
1398
|
contents.DkimAttributes = deserializeAws_restJson1DkimAttributes(data.DkimAttributes, context);
|
|
1399
1399
|
}
|
|
1400
1400
|
if (data.IdentityType !== undefined && data.IdentityType !== null) {
|
|
1401
|
-
contents.IdentityType = smithy_client_1.expectString(data.IdentityType);
|
|
1401
|
+
contents.IdentityType = (0, smithy_client_1.expectString)(data.IdentityType);
|
|
1402
1402
|
}
|
|
1403
1403
|
if (data.VerifiedForSendingStatus !== undefined && data.VerifiedForSendingStatus !== null) {
|
|
1404
|
-
contents.VerifiedForSendingStatus = smithy_client_1.expectBoolean(data.VerifiedForSendingStatus);
|
|
1404
|
+
contents.VerifiedForSendingStatus = (0, smithy_client_1.expectBoolean)(data.VerifiedForSendingStatus);
|
|
1405
1405
|
}
|
|
1406
1406
|
return Promise.resolve(contents);
|
|
1407
1407
|
};
|
|
@@ -1434,7 +1434,7 @@ const deserializeAws_restJson1CreateEmailIdentityCommandError = async (output, c
|
|
|
1434
1434
|
$fault: "client",
|
|
1435
1435
|
$metadata: deserializeMetadata(output),
|
|
1436
1436
|
});
|
|
1437
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1437
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1438
1438
|
}
|
|
1439
1439
|
};
|
|
1440
1440
|
const deserializeAws_restJson1DeleteConfigurationSetCommand = async (output, context) => {
|
|
@@ -1476,7 +1476,7 @@ const deserializeAws_restJson1DeleteConfigurationSetCommandError = async (output
|
|
|
1476
1476
|
$fault: "client",
|
|
1477
1477
|
$metadata: deserializeMetadata(output),
|
|
1478
1478
|
});
|
|
1479
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1479
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1480
1480
|
}
|
|
1481
1481
|
};
|
|
1482
1482
|
const deserializeAws_restJson1DeleteConfigurationSetEventDestinationCommand = async (output, context) => {
|
|
@@ -1515,7 +1515,7 @@ const deserializeAws_restJson1DeleteConfigurationSetEventDestinationCommandError
|
|
|
1515
1515
|
$fault: "client",
|
|
1516
1516
|
$metadata: deserializeMetadata(output),
|
|
1517
1517
|
});
|
|
1518
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1518
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1519
1519
|
}
|
|
1520
1520
|
};
|
|
1521
1521
|
const deserializeAws_restJson1DeleteDedicatedIpPoolCommand = async (output, context) => {
|
|
@@ -1557,7 +1557,7 @@ const deserializeAws_restJson1DeleteDedicatedIpPoolCommandError = async (output,
|
|
|
1557
1557
|
$fault: "client",
|
|
1558
1558
|
$metadata: deserializeMetadata(output),
|
|
1559
1559
|
});
|
|
1560
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1560
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1561
1561
|
}
|
|
1562
1562
|
};
|
|
1563
1563
|
const deserializeAws_restJson1DeleteEmailIdentityCommand = async (output, context) => {
|
|
@@ -1599,7 +1599,7 @@ const deserializeAws_restJson1DeleteEmailIdentityCommandError = async (output, c
|
|
|
1599
1599
|
$fault: "client",
|
|
1600
1600
|
$metadata: deserializeMetadata(output),
|
|
1601
1601
|
});
|
|
1602
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1602
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1603
1603
|
}
|
|
1604
1604
|
};
|
|
1605
1605
|
const deserializeAws_restJson1GetAccountCommand = async (output, context) => {
|
|
@@ -1614,21 +1614,21 @@ const deserializeAws_restJson1GetAccountCommand = async (output, context) => {
|
|
|
1614
1614
|
SendQuota: undefined,
|
|
1615
1615
|
SendingEnabled: undefined,
|
|
1616
1616
|
};
|
|
1617
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1617
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1618
1618
|
if (data.DedicatedIpAutoWarmupEnabled !== undefined && data.DedicatedIpAutoWarmupEnabled !== null) {
|
|
1619
|
-
contents.DedicatedIpAutoWarmupEnabled = smithy_client_1.expectBoolean(data.DedicatedIpAutoWarmupEnabled);
|
|
1619
|
+
contents.DedicatedIpAutoWarmupEnabled = (0, smithy_client_1.expectBoolean)(data.DedicatedIpAutoWarmupEnabled);
|
|
1620
1620
|
}
|
|
1621
1621
|
if (data.EnforcementStatus !== undefined && data.EnforcementStatus !== null) {
|
|
1622
|
-
contents.EnforcementStatus = smithy_client_1.expectString(data.EnforcementStatus);
|
|
1622
|
+
contents.EnforcementStatus = (0, smithy_client_1.expectString)(data.EnforcementStatus);
|
|
1623
1623
|
}
|
|
1624
1624
|
if (data.ProductionAccessEnabled !== undefined && data.ProductionAccessEnabled !== null) {
|
|
1625
|
-
contents.ProductionAccessEnabled = smithy_client_1.expectBoolean(data.ProductionAccessEnabled);
|
|
1625
|
+
contents.ProductionAccessEnabled = (0, smithy_client_1.expectBoolean)(data.ProductionAccessEnabled);
|
|
1626
1626
|
}
|
|
1627
1627
|
if (data.SendQuota !== undefined && data.SendQuota !== null) {
|
|
1628
1628
|
contents.SendQuota = deserializeAws_restJson1SendQuota(data.SendQuota, context);
|
|
1629
1629
|
}
|
|
1630
1630
|
if (data.SendingEnabled !== undefined && data.SendingEnabled !== null) {
|
|
1631
|
-
contents.SendingEnabled = smithy_client_1.expectBoolean(data.SendingEnabled);
|
|
1631
|
+
contents.SendingEnabled = (0, smithy_client_1.expectBoolean)(data.SendingEnabled);
|
|
1632
1632
|
}
|
|
1633
1633
|
return Promise.resolve(contents);
|
|
1634
1634
|
};
|
|
@@ -1655,7 +1655,7 @@ const deserializeAws_restJson1GetAccountCommandError = async (output, context) =
|
|
|
1655
1655
|
$fault: "client",
|
|
1656
1656
|
$metadata: deserializeMetadata(output),
|
|
1657
1657
|
});
|
|
1658
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1658
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1659
1659
|
}
|
|
1660
1660
|
};
|
|
1661
1661
|
const deserializeAws_restJson1GetBlacklistReportsCommand = async (output, context) => {
|
|
@@ -1666,7 +1666,7 @@ const deserializeAws_restJson1GetBlacklistReportsCommand = async (output, contex
|
|
|
1666
1666
|
$metadata: deserializeMetadata(output),
|
|
1667
1667
|
BlacklistReport: undefined,
|
|
1668
1668
|
};
|
|
1669
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1669
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1670
1670
|
if (data.BlacklistReport !== undefined && data.BlacklistReport !== null) {
|
|
1671
1671
|
contents.BlacklistReport = deserializeAws_restJson1BlacklistReport(data.BlacklistReport, context);
|
|
1672
1672
|
}
|
|
@@ -1698,7 +1698,7 @@ const deserializeAws_restJson1GetBlacklistReportsCommandError = async (output, c
|
|
|
1698
1698
|
$fault: "client",
|
|
1699
1699
|
$metadata: deserializeMetadata(output),
|
|
1700
1700
|
});
|
|
1701
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1701
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1702
1702
|
}
|
|
1703
1703
|
};
|
|
1704
1704
|
const deserializeAws_restJson1GetConfigurationSetCommand = async (output, context) => {
|
|
@@ -1714,9 +1714,9 @@ const deserializeAws_restJson1GetConfigurationSetCommand = async (output, contex
|
|
|
1714
1714
|
Tags: undefined,
|
|
1715
1715
|
TrackingOptions: undefined,
|
|
1716
1716
|
};
|
|
1717
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1717
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1718
1718
|
if (data.ConfigurationSetName !== undefined && data.ConfigurationSetName !== null) {
|
|
1719
|
-
contents.ConfigurationSetName = smithy_client_1.expectString(data.ConfigurationSetName);
|
|
1719
|
+
contents.ConfigurationSetName = (0, smithy_client_1.expectString)(data.ConfigurationSetName);
|
|
1720
1720
|
}
|
|
1721
1721
|
if (data.DeliveryOptions !== undefined && data.DeliveryOptions !== null) {
|
|
1722
1722
|
contents.DeliveryOptions = deserializeAws_restJson1DeliveryOptions(data.DeliveryOptions, context);
|
|
@@ -1761,7 +1761,7 @@ const deserializeAws_restJson1GetConfigurationSetCommandError = async (output, c
|
|
|
1761
1761
|
$fault: "client",
|
|
1762
1762
|
$metadata: deserializeMetadata(output),
|
|
1763
1763
|
});
|
|
1764
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1764
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1765
1765
|
}
|
|
1766
1766
|
};
|
|
1767
1767
|
const deserializeAws_restJson1GetConfigurationSetEventDestinationsCommand = async (output, context) => {
|
|
@@ -1772,7 +1772,7 @@ const deserializeAws_restJson1GetConfigurationSetEventDestinationsCommand = asyn
|
|
|
1772
1772
|
$metadata: deserializeMetadata(output),
|
|
1773
1773
|
EventDestinations: undefined,
|
|
1774
1774
|
};
|
|
1775
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1775
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1776
1776
|
if (data.EventDestinations !== undefined && data.EventDestinations !== null) {
|
|
1777
1777
|
contents.EventDestinations = deserializeAws_restJson1EventDestinations(data.EventDestinations, context);
|
|
1778
1778
|
}
|
|
@@ -1804,7 +1804,7 @@ const deserializeAws_restJson1GetConfigurationSetEventDestinationsCommandError =
|
|
|
1804
1804
|
$fault: "client",
|
|
1805
1805
|
$metadata: deserializeMetadata(output),
|
|
1806
1806
|
});
|
|
1807
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1807
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1808
1808
|
}
|
|
1809
1809
|
};
|
|
1810
1810
|
const deserializeAws_restJson1GetDedicatedIpCommand = async (output, context) => {
|
|
@@ -1815,7 +1815,7 @@ const deserializeAws_restJson1GetDedicatedIpCommand = async (output, context) =>
|
|
|
1815
1815
|
$metadata: deserializeMetadata(output),
|
|
1816
1816
|
DedicatedIp: undefined,
|
|
1817
1817
|
};
|
|
1818
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1818
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1819
1819
|
if (data.DedicatedIp !== undefined && data.DedicatedIp !== null) {
|
|
1820
1820
|
contents.DedicatedIp = deserializeAws_restJson1DedicatedIp(data.DedicatedIp, context);
|
|
1821
1821
|
}
|
|
@@ -1847,7 +1847,7 @@ const deserializeAws_restJson1GetDedicatedIpCommandError = async (output, contex
|
|
|
1847
1847
|
$fault: "client",
|
|
1848
1848
|
$metadata: deserializeMetadata(output),
|
|
1849
1849
|
});
|
|
1850
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1850
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1851
1851
|
}
|
|
1852
1852
|
};
|
|
1853
1853
|
const deserializeAws_restJson1GetDedicatedIpsCommand = async (output, context) => {
|
|
@@ -1859,12 +1859,12 @@ const deserializeAws_restJson1GetDedicatedIpsCommand = async (output, context) =
|
|
|
1859
1859
|
DedicatedIps: undefined,
|
|
1860
1860
|
NextToken: undefined,
|
|
1861
1861
|
};
|
|
1862
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1862
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1863
1863
|
if (data.DedicatedIps !== undefined && data.DedicatedIps !== null) {
|
|
1864
1864
|
contents.DedicatedIps = deserializeAws_restJson1DedicatedIpList(data.DedicatedIps, context);
|
|
1865
1865
|
}
|
|
1866
1866
|
if (data.NextToken !== undefined && data.NextToken !== null) {
|
|
1867
|
-
contents.NextToken = smithy_client_1.expectString(data.NextToken);
|
|
1867
|
+
contents.NextToken = (0, smithy_client_1.expectString)(data.NextToken);
|
|
1868
1868
|
}
|
|
1869
1869
|
return Promise.resolve(contents);
|
|
1870
1870
|
};
|
|
@@ -1894,7 +1894,7 @@ const deserializeAws_restJson1GetDedicatedIpsCommandError = async (output, conte
|
|
|
1894
1894
|
$fault: "client",
|
|
1895
1895
|
$metadata: deserializeMetadata(output),
|
|
1896
1896
|
});
|
|
1897
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1897
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1898
1898
|
}
|
|
1899
1899
|
};
|
|
1900
1900
|
const deserializeAws_restJson1GetDeliverabilityDashboardOptionsCommand = async (output, context) => {
|
|
@@ -1909,21 +1909,21 @@ const deserializeAws_restJson1GetDeliverabilityDashboardOptionsCommand = async (
|
|
|
1909
1909
|
PendingExpirationSubscribedDomains: undefined,
|
|
1910
1910
|
SubscriptionExpiryDate: undefined,
|
|
1911
1911
|
};
|
|
1912
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1912
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1913
1913
|
if (data.AccountStatus !== undefined && data.AccountStatus !== null) {
|
|
1914
|
-
contents.AccountStatus = smithy_client_1.expectString(data.AccountStatus);
|
|
1914
|
+
contents.AccountStatus = (0, smithy_client_1.expectString)(data.AccountStatus);
|
|
1915
1915
|
}
|
|
1916
1916
|
if (data.ActiveSubscribedDomains !== undefined && data.ActiveSubscribedDomains !== null) {
|
|
1917
1917
|
contents.ActiveSubscribedDomains = deserializeAws_restJson1DomainDeliverabilityTrackingOptions(data.ActiveSubscribedDomains, context);
|
|
1918
1918
|
}
|
|
1919
1919
|
if (data.DashboardEnabled !== undefined && data.DashboardEnabled !== null) {
|
|
1920
|
-
contents.DashboardEnabled = smithy_client_1.expectBoolean(data.DashboardEnabled);
|
|
1920
|
+
contents.DashboardEnabled = (0, smithy_client_1.expectBoolean)(data.DashboardEnabled);
|
|
1921
1921
|
}
|
|
1922
1922
|
if (data.PendingExpirationSubscribedDomains !== undefined && data.PendingExpirationSubscribedDomains !== null) {
|
|
1923
1923
|
contents.PendingExpirationSubscribedDomains = deserializeAws_restJson1DomainDeliverabilityTrackingOptions(data.PendingExpirationSubscribedDomains, context);
|
|
1924
1924
|
}
|
|
1925
1925
|
if (data.SubscriptionExpiryDate !== undefined && data.SubscriptionExpiryDate !== null) {
|
|
1926
|
-
contents.SubscriptionExpiryDate = smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(data.SubscriptionExpiryDate)));
|
|
1926
|
+
contents.SubscriptionExpiryDate = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(data.SubscriptionExpiryDate)));
|
|
1927
1927
|
}
|
|
1928
1928
|
return Promise.resolve(contents);
|
|
1929
1929
|
};
|
|
@@ -1953,7 +1953,7 @@ const deserializeAws_restJson1GetDeliverabilityDashboardOptionsCommandError = as
|
|
|
1953
1953
|
$fault: "client",
|
|
1954
1954
|
$metadata: deserializeMetadata(output),
|
|
1955
1955
|
});
|
|
1956
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1956
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1957
1957
|
}
|
|
1958
1958
|
};
|
|
1959
1959
|
const deserializeAws_restJson1GetDeliverabilityTestReportCommand = async (output, context) => {
|
|
@@ -1968,7 +1968,7 @@ const deserializeAws_restJson1GetDeliverabilityTestReportCommand = async (output
|
|
|
1968
1968
|
OverallPlacement: undefined,
|
|
1969
1969
|
Tags: undefined,
|
|
1970
1970
|
};
|
|
1971
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1971
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1972
1972
|
if (data.DeliverabilityTestReport !== undefined && data.DeliverabilityTestReport !== null) {
|
|
1973
1973
|
contents.DeliverabilityTestReport = deserializeAws_restJson1DeliverabilityTestReport(data.DeliverabilityTestReport, context);
|
|
1974
1974
|
}
|
|
@@ -1976,7 +1976,7 @@ const deserializeAws_restJson1GetDeliverabilityTestReportCommand = async (output
|
|
|
1976
1976
|
contents.IspPlacements = deserializeAws_restJson1IspPlacements(data.IspPlacements, context);
|
|
1977
1977
|
}
|
|
1978
1978
|
if (data.Message !== undefined && data.Message !== null) {
|
|
1979
|
-
contents.Message = smithy_client_1.expectString(data.Message);
|
|
1979
|
+
contents.Message = (0, smithy_client_1.expectString)(data.Message);
|
|
1980
1980
|
}
|
|
1981
1981
|
if (data.OverallPlacement !== undefined && data.OverallPlacement !== null) {
|
|
1982
1982
|
contents.OverallPlacement = deserializeAws_restJson1PlacementStatistics(data.OverallPlacement, context);
|
|
@@ -2012,7 +2012,7 @@ const deserializeAws_restJson1GetDeliverabilityTestReportCommandError = async (o
|
|
|
2012
2012
|
$fault: "client",
|
|
2013
2013
|
$metadata: deserializeMetadata(output),
|
|
2014
2014
|
});
|
|
2015
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2015
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2016
2016
|
}
|
|
2017
2017
|
};
|
|
2018
2018
|
const deserializeAws_restJson1GetDomainDeliverabilityCampaignCommand = async (output, context) => {
|
|
@@ -2023,7 +2023,7 @@ const deserializeAws_restJson1GetDomainDeliverabilityCampaignCommand = async (ou
|
|
|
2023
2023
|
$metadata: deserializeMetadata(output),
|
|
2024
2024
|
DomainDeliverabilityCampaign: undefined,
|
|
2025
2025
|
};
|
|
2026
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
2026
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
2027
2027
|
if (data.DomainDeliverabilityCampaign !== undefined && data.DomainDeliverabilityCampaign !== null) {
|
|
2028
2028
|
contents.DomainDeliverabilityCampaign = deserializeAws_restJson1DomainDeliverabilityCampaign(data.DomainDeliverabilityCampaign, context);
|
|
2029
2029
|
}
|
|
@@ -2055,7 +2055,7 @@ const deserializeAws_restJson1GetDomainDeliverabilityCampaignCommandError = asyn
|
|
|
2055
2055
|
$fault: "client",
|
|
2056
2056
|
$metadata: deserializeMetadata(output),
|
|
2057
2057
|
});
|
|
2058
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2058
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2059
2059
|
}
|
|
2060
2060
|
};
|
|
2061
2061
|
const deserializeAws_restJson1GetDomainStatisticsReportCommand = async (output, context) => {
|
|
@@ -2067,7 +2067,7 @@ const deserializeAws_restJson1GetDomainStatisticsReportCommand = async (output,
|
|
|
2067
2067
|
DailyVolumes: undefined,
|
|
2068
2068
|
OverallVolume: undefined,
|
|
2069
2069
|
};
|
|
2070
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
2070
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
2071
2071
|
if (data.DailyVolumes !== undefined && data.DailyVolumes !== null) {
|
|
2072
2072
|
contents.DailyVolumes = deserializeAws_restJson1DailyVolumes(data.DailyVolumes, context);
|
|
2073
2073
|
}
|
|
@@ -2102,7 +2102,7 @@ const deserializeAws_restJson1GetDomainStatisticsReportCommandError = async (out
|
|
|
2102
2102
|
$fault: "client",
|
|
2103
2103
|
$metadata: deserializeMetadata(output),
|
|
2104
2104
|
});
|
|
2105
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2105
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2106
2106
|
}
|
|
2107
2107
|
};
|
|
2108
2108
|
const deserializeAws_restJson1GetEmailIdentityCommand = async (output, context) => {
|
|
@@ -2118,15 +2118,15 @@ const deserializeAws_restJson1GetEmailIdentityCommand = async (output, context)
|
|
|
2118
2118
|
Tags: undefined,
|
|
2119
2119
|
VerifiedForSendingStatus: undefined,
|
|
2120
2120
|
};
|
|
2121
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
2121
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
2122
2122
|
if (data.DkimAttributes !== undefined && data.DkimAttributes !== null) {
|
|
2123
2123
|
contents.DkimAttributes = deserializeAws_restJson1DkimAttributes(data.DkimAttributes, context);
|
|
2124
2124
|
}
|
|
2125
2125
|
if (data.FeedbackForwardingStatus !== undefined && data.FeedbackForwardingStatus !== null) {
|
|
2126
|
-
contents.FeedbackForwardingStatus = smithy_client_1.expectBoolean(data.FeedbackForwardingStatus);
|
|
2126
|
+
contents.FeedbackForwardingStatus = (0, smithy_client_1.expectBoolean)(data.FeedbackForwardingStatus);
|
|
2127
2127
|
}
|
|
2128
2128
|
if (data.IdentityType !== undefined && data.IdentityType !== null) {
|
|
2129
|
-
contents.IdentityType = smithy_client_1.expectString(data.IdentityType);
|
|
2129
|
+
contents.IdentityType = (0, smithy_client_1.expectString)(data.IdentityType);
|
|
2130
2130
|
}
|
|
2131
2131
|
if (data.MailFromAttributes !== undefined && data.MailFromAttributes !== null) {
|
|
2132
2132
|
contents.MailFromAttributes = deserializeAws_restJson1MailFromAttributes(data.MailFromAttributes, context);
|
|
@@ -2135,7 +2135,7 @@ const deserializeAws_restJson1GetEmailIdentityCommand = async (output, context)
|
|
|
2135
2135
|
contents.Tags = deserializeAws_restJson1TagList(data.Tags, context);
|
|
2136
2136
|
}
|
|
2137
2137
|
if (data.VerifiedForSendingStatus !== undefined && data.VerifiedForSendingStatus !== null) {
|
|
2138
|
-
contents.VerifiedForSendingStatus = smithy_client_1.expectBoolean(data.VerifiedForSendingStatus);
|
|
2138
|
+
contents.VerifiedForSendingStatus = (0, smithy_client_1.expectBoolean)(data.VerifiedForSendingStatus);
|
|
2139
2139
|
}
|
|
2140
2140
|
return Promise.resolve(contents);
|
|
2141
2141
|
};
|
|
@@ -2165,7 +2165,7 @@ const deserializeAws_restJson1GetEmailIdentityCommandError = async (output, cont
|
|
|
2165
2165
|
$fault: "client",
|
|
2166
2166
|
$metadata: deserializeMetadata(output),
|
|
2167
2167
|
});
|
|
2168
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2168
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2169
2169
|
}
|
|
2170
2170
|
};
|
|
2171
2171
|
const deserializeAws_restJson1ListConfigurationSetsCommand = async (output, context) => {
|
|
@@ -2177,12 +2177,12 @@ const deserializeAws_restJson1ListConfigurationSetsCommand = async (output, cont
|
|
|
2177
2177
|
ConfigurationSets: undefined,
|
|
2178
2178
|
NextToken: undefined,
|
|
2179
2179
|
};
|
|
2180
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
2180
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
2181
2181
|
if (data.ConfigurationSets !== undefined && data.ConfigurationSets !== null) {
|
|
2182
2182
|
contents.ConfigurationSets = deserializeAws_restJson1ConfigurationSetNameList(data.ConfigurationSets, context);
|
|
2183
2183
|
}
|
|
2184
2184
|
if (data.NextToken !== undefined && data.NextToken !== null) {
|
|
2185
|
-
contents.NextToken = smithy_client_1.expectString(data.NextToken);
|
|
2185
|
+
contents.NextToken = (0, smithy_client_1.expectString)(data.NextToken);
|
|
2186
2186
|
}
|
|
2187
2187
|
return Promise.resolve(contents);
|
|
2188
2188
|
};
|
|
@@ -2209,7 +2209,7 @@ const deserializeAws_restJson1ListConfigurationSetsCommandError = async (output,
|
|
|
2209
2209
|
$fault: "client",
|
|
2210
2210
|
$metadata: deserializeMetadata(output),
|
|
2211
2211
|
});
|
|
2212
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2212
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2213
2213
|
}
|
|
2214
2214
|
};
|
|
2215
2215
|
const deserializeAws_restJson1ListDedicatedIpPoolsCommand = async (output, context) => {
|
|
@@ -2221,12 +2221,12 @@ const deserializeAws_restJson1ListDedicatedIpPoolsCommand = async (output, conte
|
|
|
2221
2221
|
DedicatedIpPools: undefined,
|
|
2222
2222
|
NextToken: undefined,
|
|
2223
2223
|
};
|
|
2224
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
2224
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
2225
2225
|
if (data.DedicatedIpPools !== undefined && data.DedicatedIpPools !== null) {
|
|
2226
2226
|
contents.DedicatedIpPools = deserializeAws_restJson1ListOfDedicatedIpPools(data.DedicatedIpPools, context);
|
|
2227
2227
|
}
|
|
2228
2228
|
if (data.NextToken !== undefined && data.NextToken !== null) {
|
|
2229
|
-
contents.NextToken = smithy_client_1.expectString(data.NextToken);
|
|
2229
|
+
contents.NextToken = (0, smithy_client_1.expectString)(data.NextToken);
|
|
2230
2230
|
}
|
|
2231
2231
|
return Promise.resolve(contents);
|
|
2232
2232
|
};
|
|
@@ -2253,7 +2253,7 @@ const deserializeAws_restJson1ListDedicatedIpPoolsCommandError = async (output,
|
|
|
2253
2253
|
$fault: "client",
|
|
2254
2254
|
$metadata: deserializeMetadata(output),
|
|
2255
2255
|
});
|
|
2256
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2256
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2257
2257
|
}
|
|
2258
2258
|
};
|
|
2259
2259
|
const deserializeAws_restJson1ListDeliverabilityTestReportsCommand = async (output, context) => {
|
|
@@ -2265,12 +2265,12 @@ const deserializeAws_restJson1ListDeliverabilityTestReportsCommand = async (outp
|
|
|
2265
2265
|
DeliverabilityTestReports: undefined,
|
|
2266
2266
|
NextToken: undefined,
|
|
2267
2267
|
};
|
|
2268
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
2268
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
2269
2269
|
if (data.DeliverabilityTestReports !== undefined && data.DeliverabilityTestReports !== null) {
|
|
2270
2270
|
contents.DeliverabilityTestReports = deserializeAws_restJson1DeliverabilityTestReports(data.DeliverabilityTestReports, context);
|
|
2271
2271
|
}
|
|
2272
2272
|
if (data.NextToken !== undefined && data.NextToken !== null) {
|
|
2273
|
-
contents.NextToken = smithy_client_1.expectString(data.NextToken);
|
|
2273
|
+
contents.NextToken = (0, smithy_client_1.expectString)(data.NextToken);
|
|
2274
2274
|
}
|
|
2275
2275
|
return Promise.resolve(contents);
|
|
2276
2276
|
};
|
|
@@ -2300,7 +2300,7 @@ const deserializeAws_restJson1ListDeliverabilityTestReportsCommandError = async
|
|
|
2300
2300
|
$fault: "client",
|
|
2301
2301
|
$metadata: deserializeMetadata(output),
|
|
2302
2302
|
});
|
|
2303
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2303
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2304
2304
|
}
|
|
2305
2305
|
};
|
|
2306
2306
|
const deserializeAws_restJson1ListDomainDeliverabilityCampaignsCommand = async (output, context) => {
|
|
@@ -2312,12 +2312,12 @@ const deserializeAws_restJson1ListDomainDeliverabilityCampaignsCommand = async (
|
|
|
2312
2312
|
DomainDeliverabilityCampaigns: undefined,
|
|
2313
2313
|
NextToken: undefined,
|
|
2314
2314
|
};
|
|
2315
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
2315
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
2316
2316
|
if (data.DomainDeliverabilityCampaigns !== undefined && data.DomainDeliverabilityCampaigns !== null) {
|
|
2317
2317
|
contents.DomainDeliverabilityCampaigns = deserializeAws_restJson1DomainDeliverabilityCampaignList(data.DomainDeliverabilityCampaigns, context);
|
|
2318
2318
|
}
|
|
2319
2319
|
if (data.NextToken !== undefined && data.NextToken !== null) {
|
|
2320
|
-
contents.NextToken = smithy_client_1.expectString(data.NextToken);
|
|
2320
|
+
contents.NextToken = (0, smithy_client_1.expectString)(data.NextToken);
|
|
2321
2321
|
}
|
|
2322
2322
|
return Promise.resolve(contents);
|
|
2323
2323
|
};
|
|
@@ -2347,7 +2347,7 @@ const deserializeAws_restJson1ListDomainDeliverabilityCampaignsCommandError = as
|
|
|
2347
2347
|
$fault: "client",
|
|
2348
2348
|
$metadata: deserializeMetadata(output),
|
|
2349
2349
|
});
|
|
2350
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2350
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2351
2351
|
}
|
|
2352
2352
|
};
|
|
2353
2353
|
const deserializeAws_restJson1ListEmailIdentitiesCommand = async (output, context) => {
|
|
@@ -2359,12 +2359,12 @@ const deserializeAws_restJson1ListEmailIdentitiesCommand = async (output, contex
|
|
|
2359
2359
|
EmailIdentities: undefined,
|
|
2360
2360
|
NextToken: undefined,
|
|
2361
2361
|
};
|
|
2362
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
2362
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
2363
2363
|
if (data.EmailIdentities !== undefined && data.EmailIdentities !== null) {
|
|
2364
2364
|
contents.EmailIdentities = deserializeAws_restJson1IdentityInfoList(data.EmailIdentities, context);
|
|
2365
2365
|
}
|
|
2366
2366
|
if (data.NextToken !== undefined && data.NextToken !== null) {
|
|
2367
|
-
contents.NextToken = smithy_client_1.expectString(data.NextToken);
|
|
2367
|
+
contents.NextToken = (0, smithy_client_1.expectString)(data.NextToken);
|
|
2368
2368
|
}
|
|
2369
2369
|
return Promise.resolve(contents);
|
|
2370
2370
|
};
|
|
@@ -2391,7 +2391,7 @@ const deserializeAws_restJson1ListEmailIdentitiesCommandError = async (output, c
|
|
|
2391
2391
|
$fault: "client",
|
|
2392
2392
|
$metadata: deserializeMetadata(output),
|
|
2393
2393
|
});
|
|
2394
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2394
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2395
2395
|
}
|
|
2396
2396
|
};
|
|
2397
2397
|
const deserializeAws_restJson1ListTagsForResourceCommand = async (output, context) => {
|
|
@@ -2402,7 +2402,7 @@ const deserializeAws_restJson1ListTagsForResourceCommand = async (output, contex
|
|
|
2402
2402
|
$metadata: deserializeMetadata(output),
|
|
2403
2403
|
Tags: undefined,
|
|
2404
2404
|
};
|
|
2405
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
2405
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
2406
2406
|
if (data.Tags !== undefined && data.Tags !== null) {
|
|
2407
2407
|
contents.Tags = deserializeAws_restJson1TagList(data.Tags, context);
|
|
2408
2408
|
}
|
|
@@ -2434,7 +2434,7 @@ const deserializeAws_restJson1ListTagsForResourceCommandError = async (output, c
|
|
|
2434
2434
|
$fault: "client",
|
|
2435
2435
|
$metadata: deserializeMetadata(output),
|
|
2436
2436
|
});
|
|
2437
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2437
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2438
2438
|
}
|
|
2439
2439
|
};
|
|
2440
2440
|
const deserializeAws_restJson1PutAccountDedicatedIpWarmupAttributesCommand = async (output, context) => {
|
|
@@ -2470,7 +2470,7 @@ const deserializeAws_restJson1PutAccountDedicatedIpWarmupAttributesCommandError
|
|
|
2470
2470
|
$fault: "client",
|
|
2471
2471
|
$metadata: deserializeMetadata(output),
|
|
2472
2472
|
});
|
|
2473
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2473
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2474
2474
|
}
|
|
2475
2475
|
};
|
|
2476
2476
|
const deserializeAws_restJson1PutAccountSendingAttributesCommand = async (output, context) => {
|
|
@@ -2506,7 +2506,7 @@ const deserializeAws_restJson1PutAccountSendingAttributesCommandError = async (o
|
|
|
2506
2506
|
$fault: "client",
|
|
2507
2507
|
$metadata: deserializeMetadata(output),
|
|
2508
2508
|
});
|
|
2509
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2509
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2510
2510
|
}
|
|
2511
2511
|
};
|
|
2512
2512
|
const deserializeAws_restJson1PutConfigurationSetDeliveryOptionsCommand = async (output, context) => {
|
|
@@ -2545,7 +2545,7 @@ const deserializeAws_restJson1PutConfigurationSetDeliveryOptionsCommandError = a
|
|
|
2545
2545
|
$fault: "client",
|
|
2546
2546
|
$metadata: deserializeMetadata(output),
|
|
2547
2547
|
});
|
|
2548
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2548
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2549
2549
|
}
|
|
2550
2550
|
};
|
|
2551
2551
|
const deserializeAws_restJson1PutConfigurationSetReputationOptionsCommand = async (output, context) => {
|
|
@@ -2584,7 +2584,7 @@ const deserializeAws_restJson1PutConfigurationSetReputationOptionsCommandError =
|
|
|
2584
2584
|
$fault: "client",
|
|
2585
2585
|
$metadata: deserializeMetadata(output),
|
|
2586
2586
|
});
|
|
2587
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2587
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2588
2588
|
}
|
|
2589
2589
|
};
|
|
2590
2590
|
const deserializeAws_restJson1PutConfigurationSetSendingOptionsCommand = async (output, context) => {
|
|
@@ -2623,7 +2623,7 @@ const deserializeAws_restJson1PutConfigurationSetSendingOptionsCommandError = as
|
|
|
2623
2623
|
$fault: "client",
|
|
2624
2624
|
$metadata: deserializeMetadata(output),
|
|
2625
2625
|
});
|
|
2626
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2626
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2627
2627
|
}
|
|
2628
2628
|
};
|
|
2629
2629
|
const deserializeAws_restJson1PutConfigurationSetTrackingOptionsCommand = async (output, context) => {
|
|
@@ -2662,7 +2662,7 @@ const deserializeAws_restJson1PutConfigurationSetTrackingOptionsCommandError = a
|
|
|
2662
2662
|
$fault: "client",
|
|
2663
2663
|
$metadata: deserializeMetadata(output),
|
|
2664
2664
|
});
|
|
2665
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2665
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2666
2666
|
}
|
|
2667
2667
|
};
|
|
2668
2668
|
const deserializeAws_restJson1PutDedicatedIpInPoolCommand = async (output, context) => {
|
|
@@ -2701,7 +2701,7 @@ const deserializeAws_restJson1PutDedicatedIpInPoolCommandError = async (output,
|
|
|
2701
2701
|
$fault: "client",
|
|
2702
2702
|
$metadata: deserializeMetadata(output),
|
|
2703
2703
|
});
|
|
2704
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2704
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2705
2705
|
}
|
|
2706
2706
|
};
|
|
2707
2707
|
const deserializeAws_restJson1PutDedicatedIpWarmupAttributesCommand = async (output, context) => {
|
|
@@ -2740,7 +2740,7 @@ const deserializeAws_restJson1PutDedicatedIpWarmupAttributesCommandError = async
|
|
|
2740
2740
|
$fault: "client",
|
|
2741
2741
|
$metadata: deserializeMetadata(output),
|
|
2742
2742
|
});
|
|
2743
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2743
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2744
2744
|
}
|
|
2745
2745
|
};
|
|
2746
2746
|
const deserializeAws_restJson1PutDeliverabilityDashboardOptionCommand = async (output, context) => {
|
|
@@ -2785,7 +2785,7 @@ const deserializeAws_restJson1PutDeliverabilityDashboardOptionCommandError = asy
|
|
|
2785
2785
|
$fault: "client",
|
|
2786
2786
|
$metadata: deserializeMetadata(output),
|
|
2787
2787
|
});
|
|
2788
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2788
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2789
2789
|
}
|
|
2790
2790
|
};
|
|
2791
2791
|
const deserializeAws_restJson1PutEmailIdentityDkimAttributesCommand = async (output, context) => {
|
|
@@ -2824,7 +2824,7 @@ const deserializeAws_restJson1PutEmailIdentityDkimAttributesCommandError = async
|
|
|
2824
2824
|
$fault: "client",
|
|
2825
2825
|
$metadata: deserializeMetadata(output),
|
|
2826
2826
|
});
|
|
2827
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2827
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2828
2828
|
}
|
|
2829
2829
|
};
|
|
2830
2830
|
const deserializeAws_restJson1PutEmailIdentityFeedbackAttributesCommand = async (output, context) => {
|
|
@@ -2863,7 +2863,7 @@ const deserializeAws_restJson1PutEmailIdentityFeedbackAttributesCommandError = a
|
|
|
2863
2863
|
$fault: "client",
|
|
2864
2864
|
$metadata: deserializeMetadata(output),
|
|
2865
2865
|
});
|
|
2866
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2866
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2867
2867
|
}
|
|
2868
2868
|
};
|
|
2869
2869
|
const deserializeAws_restJson1PutEmailIdentityMailFromAttributesCommand = async (output, context) => {
|
|
@@ -2902,7 +2902,7 @@ const deserializeAws_restJson1PutEmailIdentityMailFromAttributesCommandError = a
|
|
|
2902
2902
|
$fault: "client",
|
|
2903
2903
|
$metadata: deserializeMetadata(output),
|
|
2904
2904
|
});
|
|
2905
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2905
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2906
2906
|
}
|
|
2907
2907
|
};
|
|
2908
2908
|
const deserializeAws_restJson1SendEmailCommand = async (output, context) => {
|
|
@@ -2913,9 +2913,9 @@ const deserializeAws_restJson1SendEmailCommand = async (output, context) => {
|
|
|
2913
2913
|
$metadata: deserializeMetadata(output),
|
|
2914
2914
|
MessageId: undefined,
|
|
2915
2915
|
};
|
|
2916
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
2916
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
2917
2917
|
if (data.MessageId !== undefined && data.MessageId !== null) {
|
|
2918
|
-
contents.MessageId = smithy_client_1.expectString(data.MessageId);
|
|
2918
|
+
contents.MessageId = (0, smithy_client_1.expectString)(data.MessageId);
|
|
2919
2919
|
}
|
|
2920
2920
|
return Promise.resolve(contents);
|
|
2921
2921
|
};
|
|
@@ -2960,7 +2960,7 @@ const deserializeAws_restJson1SendEmailCommandError = async (output, context) =>
|
|
|
2960
2960
|
$fault: "client",
|
|
2961
2961
|
$metadata: deserializeMetadata(output),
|
|
2962
2962
|
});
|
|
2963
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2963
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2964
2964
|
}
|
|
2965
2965
|
};
|
|
2966
2966
|
const deserializeAws_restJson1TagResourceCommand = async (output, context) => {
|
|
@@ -3002,7 +3002,7 @@ const deserializeAws_restJson1TagResourceCommandError = async (output, context)
|
|
|
3002
3002
|
$fault: "client",
|
|
3003
3003
|
$metadata: deserializeMetadata(output),
|
|
3004
3004
|
});
|
|
3005
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
3005
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3006
3006
|
}
|
|
3007
3007
|
};
|
|
3008
3008
|
const deserializeAws_restJson1UntagResourceCommand = async (output, context) => {
|
|
@@ -3044,7 +3044,7 @@ const deserializeAws_restJson1UntagResourceCommandError = async (output, context
|
|
|
3044
3044
|
$fault: "client",
|
|
3045
3045
|
$metadata: deserializeMetadata(output),
|
|
3046
3046
|
});
|
|
3047
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
3047
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3048
3048
|
}
|
|
3049
3049
|
};
|
|
3050
3050
|
const deserializeAws_restJson1UpdateConfigurationSetEventDestinationCommand = async (output, context) => {
|
|
@@ -3083,128 +3083,128 @@ const deserializeAws_restJson1UpdateConfigurationSetEventDestinationCommandError
|
|
|
3083
3083
|
$fault: "client",
|
|
3084
3084
|
$metadata: deserializeMetadata(output),
|
|
3085
3085
|
});
|
|
3086
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
3086
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3087
3087
|
}
|
|
3088
3088
|
};
|
|
3089
3089
|
const deserializeAws_restJson1AccountSuspendedExceptionResponse = async (parsedOutput, context) => {
|
|
3090
3090
|
const contents = {};
|
|
3091
3091
|
const data = parsedOutput.body;
|
|
3092
3092
|
if (data.message !== undefined && data.message !== null) {
|
|
3093
|
-
contents.message = smithy_client_1.expectString(data.message);
|
|
3093
|
+
contents.message = (0, smithy_client_1.expectString)(data.message);
|
|
3094
3094
|
}
|
|
3095
3095
|
const exception = new models_0_1.AccountSuspendedException({
|
|
3096
3096
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3097
3097
|
...contents,
|
|
3098
3098
|
});
|
|
3099
|
-
return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
|
|
3099
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
3100
3100
|
};
|
|
3101
3101
|
const deserializeAws_restJson1AlreadyExistsExceptionResponse = async (parsedOutput, context) => {
|
|
3102
3102
|
const contents = {};
|
|
3103
3103
|
const data = parsedOutput.body;
|
|
3104
3104
|
if (data.message !== undefined && data.message !== null) {
|
|
3105
|
-
contents.message = smithy_client_1.expectString(data.message);
|
|
3105
|
+
contents.message = (0, smithy_client_1.expectString)(data.message);
|
|
3106
3106
|
}
|
|
3107
3107
|
const exception = new models_0_1.AlreadyExistsException({
|
|
3108
3108
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3109
3109
|
...contents,
|
|
3110
3110
|
});
|
|
3111
|
-
return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
|
|
3111
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
3112
3112
|
};
|
|
3113
3113
|
const deserializeAws_restJson1BadRequestExceptionResponse = async (parsedOutput, context) => {
|
|
3114
3114
|
const contents = {};
|
|
3115
3115
|
const data = parsedOutput.body;
|
|
3116
3116
|
if (data.message !== undefined && data.message !== null) {
|
|
3117
|
-
contents.message = smithy_client_1.expectString(data.message);
|
|
3117
|
+
contents.message = (0, smithy_client_1.expectString)(data.message);
|
|
3118
3118
|
}
|
|
3119
3119
|
const exception = new models_0_1.BadRequestException({
|
|
3120
3120
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3121
3121
|
...contents,
|
|
3122
3122
|
});
|
|
3123
|
-
return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
|
|
3123
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
3124
3124
|
};
|
|
3125
3125
|
const deserializeAws_restJson1ConcurrentModificationExceptionResponse = async (parsedOutput, context) => {
|
|
3126
3126
|
const contents = {};
|
|
3127
3127
|
const data = parsedOutput.body;
|
|
3128
3128
|
if (data.message !== undefined && data.message !== null) {
|
|
3129
|
-
contents.message = smithy_client_1.expectString(data.message);
|
|
3129
|
+
contents.message = (0, smithy_client_1.expectString)(data.message);
|
|
3130
3130
|
}
|
|
3131
3131
|
const exception = new models_0_1.ConcurrentModificationException({
|
|
3132
3132
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3133
3133
|
...contents,
|
|
3134
3134
|
});
|
|
3135
|
-
return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
|
|
3135
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
3136
3136
|
};
|
|
3137
3137
|
const deserializeAws_restJson1LimitExceededExceptionResponse = async (parsedOutput, context) => {
|
|
3138
3138
|
const contents = {};
|
|
3139
3139
|
const data = parsedOutput.body;
|
|
3140
3140
|
if (data.message !== undefined && data.message !== null) {
|
|
3141
|
-
contents.message = smithy_client_1.expectString(data.message);
|
|
3141
|
+
contents.message = (0, smithy_client_1.expectString)(data.message);
|
|
3142
3142
|
}
|
|
3143
3143
|
const exception = new models_0_1.LimitExceededException({
|
|
3144
3144
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3145
3145
|
...contents,
|
|
3146
3146
|
});
|
|
3147
|
-
return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
|
|
3147
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
3148
3148
|
};
|
|
3149
3149
|
const deserializeAws_restJson1MailFromDomainNotVerifiedExceptionResponse = async (parsedOutput, context) => {
|
|
3150
3150
|
const contents = {};
|
|
3151
3151
|
const data = parsedOutput.body;
|
|
3152
3152
|
if (data.message !== undefined && data.message !== null) {
|
|
3153
|
-
contents.message = smithy_client_1.expectString(data.message);
|
|
3153
|
+
contents.message = (0, smithy_client_1.expectString)(data.message);
|
|
3154
3154
|
}
|
|
3155
3155
|
const exception = new models_0_1.MailFromDomainNotVerifiedException({
|
|
3156
3156
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3157
3157
|
...contents,
|
|
3158
3158
|
});
|
|
3159
|
-
return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
|
|
3159
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
3160
3160
|
};
|
|
3161
3161
|
const deserializeAws_restJson1MessageRejectedResponse = async (parsedOutput, context) => {
|
|
3162
3162
|
const contents = {};
|
|
3163
3163
|
const data = parsedOutput.body;
|
|
3164
3164
|
if (data.message !== undefined && data.message !== null) {
|
|
3165
|
-
contents.message = smithy_client_1.expectString(data.message);
|
|
3165
|
+
contents.message = (0, smithy_client_1.expectString)(data.message);
|
|
3166
3166
|
}
|
|
3167
3167
|
const exception = new models_0_1.MessageRejected({
|
|
3168
3168
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3169
3169
|
...contents,
|
|
3170
3170
|
});
|
|
3171
|
-
return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
|
|
3171
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
3172
3172
|
};
|
|
3173
3173
|
const deserializeAws_restJson1NotFoundExceptionResponse = async (parsedOutput, context) => {
|
|
3174
3174
|
const contents = {};
|
|
3175
3175
|
const data = parsedOutput.body;
|
|
3176
3176
|
if (data.message !== undefined && data.message !== null) {
|
|
3177
|
-
contents.message = smithy_client_1.expectString(data.message);
|
|
3177
|
+
contents.message = (0, smithy_client_1.expectString)(data.message);
|
|
3178
3178
|
}
|
|
3179
3179
|
const exception = new models_0_1.NotFoundException({
|
|
3180
3180
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3181
3181
|
...contents,
|
|
3182
3182
|
});
|
|
3183
|
-
return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
|
|
3183
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
3184
3184
|
};
|
|
3185
3185
|
const deserializeAws_restJson1SendingPausedExceptionResponse = async (parsedOutput, context) => {
|
|
3186
3186
|
const contents = {};
|
|
3187
3187
|
const data = parsedOutput.body;
|
|
3188
3188
|
if (data.message !== undefined && data.message !== null) {
|
|
3189
|
-
contents.message = smithy_client_1.expectString(data.message);
|
|
3189
|
+
contents.message = (0, smithy_client_1.expectString)(data.message);
|
|
3190
3190
|
}
|
|
3191
3191
|
const exception = new models_0_1.SendingPausedException({
|
|
3192
3192
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3193
3193
|
...contents,
|
|
3194
3194
|
});
|
|
3195
|
-
return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
|
|
3195
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
3196
3196
|
};
|
|
3197
3197
|
const deserializeAws_restJson1TooManyRequestsExceptionResponse = async (parsedOutput, context) => {
|
|
3198
3198
|
const contents = {};
|
|
3199
3199
|
const data = parsedOutput.body;
|
|
3200
3200
|
if (data.message !== undefined && data.message !== null) {
|
|
3201
|
-
contents.message = smithy_client_1.expectString(data.message);
|
|
3201
|
+
contents.message = (0, smithy_client_1.expectString)(data.message);
|
|
3202
3202
|
}
|
|
3203
3203
|
const exception = new models_0_1.TooManyRequestsException({
|
|
3204
3204
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3205
3205
|
...contents,
|
|
3206
3206
|
});
|
|
3207
|
-
return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
|
|
3207
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
3208
3208
|
};
|
|
3209
3209
|
const serializeAws_restJson1Body = (input, context) => {
|
|
3210
3210
|
return {
|
|
@@ -3465,11 +3465,11 @@ const deserializeAws_restJson1BlacklistEntries = (output, context) => {
|
|
|
3465
3465
|
};
|
|
3466
3466
|
const deserializeAws_restJson1BlacklistEntry = (output, context) => {
|
|
3467
3467
|
return {
|
|
3468
|
-
Description: smithy_client_1.expectString(output.Description),
|
|
3468
|
+
Description: (0, smithy_client_1.expectString)(output.Description),
|
|
3469
3469
|
ListingTime: output.ListingTime !== undefined && output.ListingTime !== null
|
|
3470
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.ListingTime)))
|
|
3470
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.ListingTime)))
|
|
3471
3471
|
: undefined,
|
|
3472
|
-
RblName: smithy_client_1.expectString(output.RblName),
|
|
3472
|
+
RblName: (0, smithy_client_1.expectString)(output.RblName),
|
|
3473
3473
|
};
|
|
3474
3474
|
};
|
|
3475
3475
|
const deserializeAws_restJson1BlacklistReport = (output, context) => {
|
|
@@ -3492,9 +3492,9 @@ const deserializeAws_restJson1CloudWatchDestination = (output, context) => {
|
|
|
3492
3492
|
};
|
|
3493
3493
|
const deserializeAws_restJson1CloudWatchDimensionConfiguration = (output, context) => {
|
|
3494
3494
|
return {
|
|
3495
|
-
DefaultDimensionValue: smithy_client_1.expectString(output.DefaultDimensionValue),
|
|
3496
|
-
DimensionName: smithy_client_1.expectString(output.DimensionName),
|
|
3497
|
-
DimensionValueSource: smithy_client_1.expectString(output.DimensionValueSource),
|
|
3495
|
+
DefaultDimensionValue: (0, smithy_client_1.expectString)(output.DefaultDimensionValue),
|
|
3496
|
+
DimensionName: (0, smithy_client_1.expectString)(output.DimensionName),
|
|
3497
|
+
DimensionValueSource: (0, smithy_client_1.expectString)(output.DimensionValueSource),
|
|
3498
3498
|
};
|
|
3499
3499
|
};
|
|
3500
3500
|
const deserializeAws_restJson1CloudWatchDimensionConfigurations = (output, context) => {
|
|
@@ -3515,7 +3515,7 @@ const deserializeAws_restJson1ConfigurationSetNameList = (output, context) => {
|
|
|
3515
3515
|
if (entry === null) {
|
|
3516
3516
|
return null;
|
|
3517
3517
|
}
|
|
3518
|
-
return smithy_client_1.expectString(entry);
|
|
3518
|
+
return (0, smithy_client_1.expectString)(entry);
|
|
3519
3519
|
});
|
|
3520
3520
|
return retVal;
|
|
3521
3521
|
};
|
|
@@ -3525,7 +3525,7 @@ const deserializeAws_restJson1DailyVolume = (output, context) => {
|
|
|
3525
3525
|
? deserializeAws_restJson1DomainIspPlacements(output.DomainIspPlacements, context)
|
|
3526
3526
|
: undefined,
|
|
3527
3527
|
StartDate: output.StartDate !== undefined && output.StartDate !== null
|
|
3528
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.StartDate)))
|
|
3528
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.StartDate)))
|
|
3529
3529
|
: undefined,
|
|
3530
3530
|
VolumeStatistics: output.VolumeStatistics !== undefined && output.VolumeStatistics !== null
|
|
3531
3531
|
? deserializeAws_restJson1VolumeStatistics(output.VolumeStatistics, context)
|
|
@@ -3545,10 +3545,10 @@ const deserializeAws_restJson1DailyVolumes = (output, context) => {
|
|
|
3545
3545
|
};
|
|
3546
3546
|
const deserializeAws_restJson1DedicatedIp = (output, context) => {
|
|
3547
3547
|
return {
|
|
3548
|
-
Ip: smithy_client_1.expectString(output.Ip),
|
|
3549
|
-
PoolName: smithy_client_1.expectString(output.PoolName),
|
|
3550
|
-
WarmupPercentage: smithy_client_1.expectInt32(output.WarmupPercentage),
|
|
3551
|
-
WarmupStatus: smithy_client_1.expectString(output.WarmupStatus),
|
|
3548
|
+
Ip: (0, smithy_client_1.expectString)(output.Ip),
|
|
3549
|
+
PoolName: (0, smithy_client_1.expectString)(output.PoolName),
|
|
3550
|
+
WarmupPercentage: (0, smithy_client_1.expectInt32)(output.WarmupPercentage),
|
|
3551
|
+
WarmupStatus: (0, smithy_client_1.expectString)(output.WarmupStatus),
|
|
3552
3552
|
};
|
|
3553
3553
|
};
|
|
3554
3554
|
const deserializeAws_restJson1DedicatedIpList = (output, context) => {
|
|
@@ -3565,13 +3565,13 @@ const deserializeAws_restJson1DedicatedIpList = (output, context) => {
|
|
|
3565
3565
|
const deserializeAws_restJson1DeliverabilityTestReport = (output, context) => {
|
|
3566
3566
|
return {
|
|
3567
3567
|
CreateDate: output.CreateDate !== undefined && output.CreateDate !== null
|
|
3568
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreateDate)))
|
|
3568
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreateDate)))
|
|
3569
3569
|
: undefined,
|
|
3570
|
-
DeliverabilityTestStatus: smithy_client_1.expectString(output.DeliverabilityTestStatus),
|
|
3571
|
-
FromEmailAddress: smithy_client_1.expectString(output.FromEmailAddress),
|
|
3572
|
-
ReportId: smithy_client_1.expectString(output.ReportId),
|
|
3573
|
-
ReportName: smithy_client_1.expectString(output.ReportName),
|
|
3574
|
-
Subject: smithy_client_1.expectString(output.Subject),
|
|
3570
|
+
DeliverabilityTestStatus: (0, smithy_client_1.expectString)(output.DeliverabilityTestStatus),
|
|
3571
|
+
FromEmailAddress: (0, smithy_client_1.expectString)(output.FromEmailAddress),
|
|
3572
|
+
ReportId: (0, smithy_client_1.expectString)(output.ReportId),
|
|
3573
|
+
ReportName: (0, smithy_client_1.expectString)(output.ReportName),
|
|
3574
|
+
Subject: (0, smithy_client_1.expectString)(output.Subject),
|
|
3575
3575
|
};
|
|
3576
3576
|
};
|
|
3577
3577
|
const deserializeAws_restJson1DeliverabilityTestReports = (output, context) => {
|
|
@@ -3587,14 +3587,14 @@ const deserializeAws_restJson1DeliverabilityTestReports = (output, context) => {
|
|
|
3587
3587
|
};
|
|
3588
3588
|
const deserializeAws_restJson1DeliveryOptions = (output, context) => {
|
|
3589
3589
|
return {
|
|
3590
|
-
SendingPoolName: smithy_client_1.expectString(output.SendingPoolName),
|
|
3591
|
-
TlsPolicy: smithy_client_1.expectString(output.TlsPolicy),
|
|
3590
|
+
SendingPoolName: (0, smithy_client_1.expectString)(output.SendingPoolName),
|
|
3591
|
+
TlsPolicy: (0, smithy_client_1.expectString)(output.TlsPolicy),
|
|
3592
3592
|
};
|
|
3593
3593
|
};
|
|
3594
3594
|
const deserializeAws_restJson1DkimAttributes = (output, context) => {
|
|
3595
3595
|
return {
|
|
3596
|
-
SigningEnabled: smithy_client_1.expectBoolean(output.SigningEnabled),
|
|
3597
|
-
Status: smithy_client_1.expectString(output.Status),
|
|
3596
|
+
SigningEnabled: (0, smithy_client_1.expectBoolean)(output.SigningEnabled),
|
|
3597
|
+
Status: (0, smithy_client_1.expectString)(output.Status),
|
|
3598
3598
|
Tokens: output.Tokens !== undefined && output.Tokens !== null
|
|
3599
3599
|
? deserializeAws_restJson1DnsTokenList(output.Tokens, context)
|
|
3600
3600
|
: undefined,
|
|
@@ -3607,34 +3607,34 @@ const deserializeAws_restJson1DnsTokenList = (output, context) => {
|
|
|
3607
3607
|
if (entry === null) {
|
|
3608
3608
|
return null;
|
|
3609
3609
|
}
|
|
3610
|
-
return smithy_client_1.expectString(entry);
|
|
3610
|
+
return (0, smithy_client_1.expectString)(entry);
|
|
3611
3611
|
});
|
|
3612
3612
|
return retVal;
|
|
3613
3613
|
};
|
|
3614
3614
|
const deserializeAws_restJson1DomainDeliverabilityCampaign = (output, context) => {
|
|
3615
3615
|
return {
|
|
3616
|
-
CampaignId: smithy_client_1.expectString(output.CampaignId),
|
|
3617
|
-
DeleteRate: smithy_client_1.limitedParseDouble(output.DeleteRate),
|
|
3616
|
+
CampaignId: (0, smithy_client_1.expectString)(output.CampaignId),
|
|
3617
|
+
DeleteRate: (0, smithy_client_1.limitedParseDouble)(output.DeleteRate),
|
|
3618
3618
|
Esps: output.Esps !== undefined && output.Esps !== null
|
|
3619
3619
|
? deserializeAws_restJson1Esps(output.Esps, context)
|
|
3620
3620
|
: undefined,
|
|
3621
3621
|
FirstSeenDateTime: output.FirstSeenDateTime !== undefined && output.FirstSeenDateTime !== null
|
|
3622
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.FirstSeenDateTime)))
|
|
3622
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.FirstSeenDateTime)))
|
|
3623
3623
|
: undefined,
|
|
3624
|
-
FromAddress: smithy_client_1.expectString(output.FromAddress),
|
|
3625
|
-
ImageUrl: smithy_client_1.expectString(output.ImageUrl),
|
|
3626
|
-
InboxCount: smithy_client_1.expectLong(output.InboxCount),
|
|
3624
|
+
FromAddress: (0, smithy_client_1.expectString)(output.FromAddress),
|
|
3625
|
+
ImageUrl: (0, smithy_client_1.expectString)(output.ImageUrl),
|
|
3626
|
+
InboxCount: (0, smithy_client_1.expectLong)(output.InboxCount),
|
|
3627
3627
|
LastSeenDateTime: output.LastSeenDateTime !== undefined && output.LastSeenDateTime !== null
|
|
3628
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.LastSeenDateTime)))
|
|
3628
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.LastSeenDateTime)))
|
|
3629
3629
|
: undefined,
|
|
3630
|
-
ProjectedVolume: smithy_client_1.expectLong(output.ProjectedVolume),
|
|
3631
|
-
ReadDeleteRate: smithy_client_1.limitedParseDouble(output.ReadDeleteRate),
|
|
3632
|
-
ReadRate: smithy_client_1.limitedParseDouble(output.ReadRate),
|
|
3630
|
+
ProjectedVolume: (0, smithy_client_1.expectLong)(output.ProjectedVolume),
|
|
3631
|
+
ReadDeleteRate: (0, smithy_client_1.limitedParseDouble)(output.ReadDeleteRate),
|
|
3632
|
+
ReadRate: (0, smithy_client_1.limitedParseDouble)(output.ReadRate),
|
|
3633
3633
|
SendingIps: output.SendingIps !== undefined && output.SendingIps !== null
|
|
3634
3634
|
? deserializeAws_restJson1IpList(output.SendingIps, context)
|
|
3635
3635
|
: undefined,
|
|
3636
|
-
SpamCount: smithy_client_1.expectLong(output.SpamCount),
|
|
3637
|
-
Subject: smithy_client_1.expectString(output.Subject),
|
|
3636
|
+
SpamCount: (0, smithy_client_1.expectLong)(output.SpamCount),
|
|
3637
|
+
Subject: (0, smithy_client_1.expectString)(output.Subject),
|
|
3638
3638
|
};
|
|
3639
3639
|
};
|
|
3640
3640
|
const deserializeAws_restJson1DomainDeliverabilityCampaignList = (output, context) => {
|
|
@@ -3650,12 +3650,12 @@ const deserializeAws_restJson1DomainDeliverabilityCampaignList = (output, contex
|
|
|
3650
3650
|
};
|
|
3651
3651
|
const deserializeAws_restJson1DomainDeliverabilityTrackingOption = (output, context) => {
|
|
3652
3652
|
return {
|
|
3653
|
-
Domain: smithy_client_1.expectString(output.Domain),
|
|
3653
|
+
Domain: (0, smithy_client_1.expectString)(output.Domain),
|
|
3654
3654
|
InboxPlacementTrackingOption: output.InboxPlacementTrackingOption !== undefined && output.InboxPlacementTrackingOption !== null
|
|
3655
3655
|
? deserializeAws_restJson1InboxPlacementTrackingOption(output.InboxPlacementTrackingOption, context)
|
|
3656
3656
|
: undefined,
|
|
3657
3657
|
SubscriptionStartDate: output.SubscriptionStartDate !== undefined && output.SubscriptionStartDate !== null
|
|
3658
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.SubscriptionStartDate)))
|
|
3658
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.SubscriptionStartDate)))
|
|
3659
3659
|
: undefined,
|
|
3660
3660
|
};
|
|
3661
3661
|
};
|
|
@@ -3672,11 +3672,11 @@ const deserializeAws_restJson1DomainDeliverabilityTrackingOptions = (output, con
|
|
|
3672
3672
|
};
|
|
3673
3673
|
const deserializeAws_restJson1DomainIspPlacement = (output, context) => {
|
|
3674
3674
|
return {
|
|
3675
|
-
InboxPercentage: smithy_client_1.limitedParseDouble(output.InboxPercentage),
|
|
3676
|
-
InboxRawCount: smithy_client_1.expectLong(output.InboxRawCount),
|
|
3677
|
-
IspName: smithy_client_1.expectString(output.IspName),
|
|
3678
|
-
SpamPercentage: smithy_client_1.limitedParseDouble(output.SpamPercentage),
|
|
3679
|
-
SpamRawCount: smithy_client_1.expectLong(output.SpamRawCount),
|
|
3675
|
+
InboxPercentage: (0, smithy_client_1.limitedParseDouble)(output.InboxPercentage),
|
|
3676
|
+
InboxRawCount: (0, smithy_client_1.expectLong)(output.InboxRawCount),
|
|
3677
|
+
IspName: (0, smithy_client_1.expectString)(output.IspName),
|
|
3678
|
+
SpamPercentage: (0, smithy_client_1.limitedParseDouble)(output.SpamPercentage),
|
|
3679
|
+
SpamRawCount: (0, smithy_client_1.expectLong)(output.SpamRawCount),
|
|
3680
3680
|
};
|
|
3681
3681
|
};
|
|
3682
3682
|
const deserializeAws_restJson1DomainIspPlacements = (output, context) => {
|
|
@@ -3697,7 +3697,7 @@ const deserializeAws_restJson1Esps = (output, context) => {
|
|
|
3697
3697
|
if (entry === null) {
|
|
3698
3698
|
return null;
|
|
3699
3699
|
}
|
|
3700
|
-
return smithy_client_1.expectString(entry);
|
|
3700
|
+
return (0, smithy_client_1.expectString)(entry);
|
|
3701
3701
|
});
|
|
3702
3702
|
return retVal;
|
|
3703
3703
|
};
|
|
@@ -3706,14 +3706,14 @@ const deserializeAws_restJson1EventDestination = (output, context) => {
|
|
|
3706
3706
|
CloudWatchDestination: output.CloudWatchDestination !== undefined && output.CloudWatchDestination !== null
|
|
3707
3707
|
? deserializeAws_restJson1CloudWatchDestination(output.CloudWatchDestination, context)
|
|
3708
3708
|
: undefined,
|
|
3709
|
-
Enabled: smithy_client_1.expectBoolean(output.Enabled),
|
|
3709
|
+
Enabled: (0, smithy_client_1.expectBoolean)(output.Enabled),
|
|
3710
3710
|
KinesisFirehoseDestination: output.KinesisFirehoseDestination !== undefined && output.KinesisFirehoseDestination !== null
|
|
3711
3711
|
? deserializeAws_restJson1KinesisFirehoseDestination(output.KinesisFirehoseDestination, context)
|
|
3712
3712
|
: undefined,
|
|
3713
3713
|
MatchingEventTypes: output.MatchingEventTypes !== undefined && output.MatchingEventTypes !== null
|
|
3714
3714
|
? deserializeAws_restJson1EventTypes(output.MatchingEventTypes, context)
|
|
3715
3715
|
: undefined,
|
|
3716
|
-
Name: smithy_client_1.expectString(output.Name),
|
|
3716
|
+
Name: (0, smithy_client_1.expectString)(output.Name),
|
|
3717
3717
|
PinpointDestination: output.PinpointDestination !== undefined && output.PinpointDestination !== null
|
|
3718
3718
|
? deserializeAws_restJson1PinpointDestination(output.PinpointDestination, context)
|
|
3719
3719
|
: undefined,
|
|
@@ -3740,15 +3740,15 @@ const deserializeAws_restJson1EventTypes = (output, context) => {
|
|
|
3740
3740
|
if (entry === null) {
|
|
3741
3741
|
return null;
|
|
3742
3742
|
}
|
|
3743
|
-
return smithy_client_1.expectString(entry);
|
|
3743
|
+
return (0, smithy_client_1.expectString)(entry);
|
|
3744
3744
|
});
|
|
3745
3745
|
return retVal;
|
|
3746
3746
|
};
|
|
3747
3747
|
const deserializeAws_restJson1IdentityInfo = (output, context) => {
|
|
3748
3748
|
return {
|
|
3749
|
-
IdentityName: smithy_client_1.expectString(output.IdentityName),
|
|
3750
|
-
IdentityType: smithy_client_1.expectString(output.IdentityType),
|
|
3751
|
-
SendingEnabled: smithy_client_1.expectBoolean(output.SendingEnabled),
|
|
3749
|
+
IdentityName: (0, smithy_client_1.expectString)(output.IdentityName),
|
|
3750
|
+
IdentityType: (0, smithy_client_1.expectString)(output.IdentityType),
|
|
3751
|
+
SendingEnabled: (0, smithy_client_1.expectBoolean)(output.SendingEnabled),
|
|
3752
3752
|
};
|
|
3753
3753
|
};
|
|
3754
3754
|
const deserializeAws_restJson1IdentityInfoList = (output, context) => {
|
|
@@ -3764,7 +3764,7 @@ const deserializeAws_restJson1IdentityInfoList = (output, context) => {
|
|
|
3764
3764
|
};
|
|
3765
3765
|
const deserializeAws_restJson1InboxPlacementTrackingOption = (output, context) => {
|
|
3766
3766
|
return {
|
|
3767
|
-
Global: smithy_client_1.expectBoolean(output.Global),
|
|
3767
|
+
Global: (0, smithy_client_1.expectBoolean)(output.Global),
|
|
3768
3768
|
TrackedIsps: output.TrackedIsps !== undefined && output.TrackedIsps !== null
|
|
3769
3769
|
? deserializeAws_restJson1IspNameList(output.TrackedIsps, context)
|
|
3770
3770
|
: undefined,
|
|
@@ -3777,7 +3777,7 @@ const deserializeAws_restJson1IpList = (output, context) => {
|
|
|
3777
3777
|
if (entry === null) {
|
|
3778
3778
|
return null;
|
|
3779
3779
|
}
|
|
3780
|
-
return smithy_client_1.expectString(entry);
|
|
3780
|
+
return (0, smithy_client_1.expectString)(entry);
|
|
3781
3781
|
});
|
|
3782
3782
|
return retVal;
|
|
3783
3783
|
};
|
|
@@ -3788,13 +3788,13 @@ const deserializeAws_restJson1IspNameList = (output, context) => {
|
|
|
3788
3788
|
if (entry === null) {
|
|
3789
3789
|
return null;
|
|
3790
3790
|
}
|
|
3791
|
-
return smithy_client_1.expectString(entry);
|
|
3791
|
+
return (0, smithy_client_1.expectString)(entry);
|
|
3792
3792
|
});
|
|
3793
3793
|
return retVal;
|
|
3794
3794
|
};
|
|
3795
3795
|
const deserializeAws_restJson1IspPlacement = (output, context) => {
|
|
3796
3796
|
return {
|
|
3797
|
-
IspName: smithy_client_1.expectString(output.IspName),
|
|
3797
|
+
IspName: (0, smithy_client_1.expectString)(output.IspName),
|
|
3798
3798
|
PlacementStatistics: output.PlacementStatistics !== undefined && output.PlacementStatistics !== null
|
|
3799
3799
|
? deserializeAws_restJson1PlacementStatistics(output.PlacementStatistics, context)
|
|
3800
3800
|
: undefined,
|
|
@@ -3813,8 +3813,8 @@ const deserializeAws_restJson1IspPlacements = (output, context) => {
|
|
|
3813
3813
|
};
|
|
3814
3814
|
const deserializeAws_restJson1KinesisFirehoseDestination = (output, context) => {
|
|
3815
3815
|
return {
|
|
3816
|
-
DeliveryStreamArn: smithy_client_1.expectString(output.DeliveryStreamArn),
|
|
3817
|
-
IamRoleArn: smithy_client_1.expectString(output.IamRoleArn),
|
|
3816
|
+
DeliveryStreamArn: (0, smithy_client_1.expectString)(output.DeliveryStreamArn),
|
|
3817
|
+
IamRoleArn: (0, smithy_client_1.expectString)(output.IamRoleArn),
|
|
3818
3818
|
};
|
|
3819
3819
|
};
|
|
3820
3820
|
const deserializeAws_restJson1ListOfDedicatedIpPools = (output, context) => {
|
|
@@ -3824,15 +3824,15 @@ const deserializeAws_restJson1ListOfDedicatedIpPools = (output, context) => {
|
|
|
3824
3824
|
if (entry === null) {
|
|
3825
3825
|
return null;
|
|
3826
3826
|
}
|
|
3827
|
-
return smithy_client_1.expectString(entry);
|
|
3827
|
+
return (0, smithy_client_1.expectString)(entry);
|
|
3828
3828
|
});
|
|
3829
3829
|
return retVal;
|
|
3830
3830
|
};
|
|
3831
3831
|
const deserializeAws_restJson1MailFromAttributes = (output, context) => {
|
|
3832
3832
|
return {
|
|
3833
|
-
BehaviorOnMxFailure: smithy_client_1.expectString(output.BehaviorOnMxFailure),
|
|
3834
|
-
MailFromDomain: smithy_client_1.expectString(output.MailFromDomain),
|
|
3835
|
-
MailFromDomainStatus: smithy_client_1.expectString(output.MailFromDomainStatus),
|
|
3833
|
+
BehaviorOnMxFailure: (0, smithy_client_1.expectString)(output.BehaviorOnMxFailure),
|
|
3834
|
+
MailFromDomain: (0, smithy_client_1.expectString)(output.MailFromDomain),
|
|
3835
|
+
MailFromDomainStatus: (0, smithy_client_1.expectString)(output.MailFromDomainStatus),
|
|
3836
3836
|
};
|
|
3837
3837
|
};
|
|
3838
3838
|
const deserializeAws_restJson1OverallVolume = (output, context) => {
|
|
@@ -3840,7 +3840,7 @@ const deserializeAws_restJson1OverallVolume = (output, context) => {
|
|
|
3840
3840
|
DomainIspPlacements: output.DomainIspPlacements !== undefined && output.DomainIspPlacements !== null
|
|
3841
3841
|
? deserializeAws_restJson1DomainIspPlacements(output.DomainIspPlacements, context)
|
|
3842
3842
|
: undefined,
|
|
3843
|
-
ReadRatePercent: smithy_client_1.limitedParseDouble(output.ReadRatePercent),
|
|
3843
|
+
ReadRatePercent: (0, smithy_client_1.limitedParseDouble)(output.ReadRatePercent),
|
|
3844
3844
|
VolumeStatistics: output.VolumeStatistics !== undefined && output.VolumeStatistics !== null
|
|
3845
3845
|
? deserializeAws_restJson1VolumeStatistics(output.VolumeStatistics, context)
|
|
3846
3846
|
: undefined,
|
|
@@ -3848,47 +3848,47 @@ const deserializeAws_restJson1OverallVolume = (output, context) => {
|
|
|
3848
3848
|
};
|
|
3849
3849
|
const deserializeAws_restJson1PinpointDestination = (output, context) => {
|
|
3850
3850
|
return {
|
|
3851
|
-
ApplicationArn: smithy_client_1.expectString(output.ApplicationArn),
|
|
3851
|
+
ApplicationArn: (0, smithy_client_1.expectString)(output.ApplicationArn),
|
|
3852
3852
|
};
|
|
3853
3853
|
};
|
|
3854
3854
|
const deserializeAws_restJson1PlacementStatistics = (output, context) => {
|
|
3855
3855
|
return {
|
|
3856
|
-
DkimPercentage: smithy_client_1.limitedParseDouble(output.DkimPercentage),
|
|
3857
|
-
InboxPercentage: smithy_client_1.limitedParseDouble(output.InboxPercentage),
|
|
3858
|
-
MissingPercentage: smithy_client_1.limitedParseDouble(output.MissingPercentage),
|
|
3859
|
-
SpamPercentage: smithy_client_1.limitedParseDouble(output.SpamPercentage),
|
|
3860
|
-
SpfPercentage: smithy_client_1.limitedParseDouble(output.SpfPercentage),
|
|
3856
|
+
DkimPercentage: (0, smithy_client_1.limitedParseDouble)(output.DkimPercentage),
|
|
3857
|
+
InboxPercentage: (0, smithy_client_1.limitedParseDouble)(output.InboxPercentage),
|
|
3858
|
+
MissingPercentage: (0, smithy_client_1.limitedParseDouble)(output.MissingPercentage),
|
|
3859
|
+
SpamPercentage: (0, smithy_client_1.limitedParseDouble)(output.SpamPercentage),
|
|
3860
|
+
SpfPercentage: (0, smithy_client_1.limitedParseDouble)(output.SpfPercentage),
|
|
3861
3861
|
};
|
|
3862
3862
|
};
|
|
3863
3863
|
const deserializeAws_restJson1ReputationOptions = (output, context) => {
|
|
3864
3864
|
return {
|
|
3865
3865
|
LastFreshStart: output.LastFreshStart !== undefined && output.LastFreshStart !== null
|
|
3866
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.LastFreshStart)))
|
|
3866
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.LastFreshStart)))
|
|
3867
3867
|
: undefined,
|
|
3868
|
-
ReputationMetricsEnabled: smithy_client_1.expectBoolean(output.ReputationMetricsEnabled),
|
|
3868
|
+
ReputationMetricsEnabled: (0, smithy_client_1.expectBoolean)(output.ReputationMetricsEnabled),
|
|
3869
3869
|
};
|
|
3870
3870
|
};
|
|
3871
3871
|
const deserializeAws_restJson1SendingOptions = (output, context) => {
|
|
3872
3872
|
return {
|
|
3873
|
-
SendingEnabled: smithy_client_1.expectBoolean(output.SendingEnabled),
|
|
3873
|
+
SendingEnabled: (0, smithy_client_1.expectBoolean)(output.SendingEnabled),
|
|
3874
3874
|
};
|
|
3875
3875
|
};
|
|
3876
3876
|
const deserializeAws_restJson1SendQuota = (output, context) => {
|
|
3877
3877
|
return {
|
|
3878
|
-
Max24HourSend: smithy_client_1.limitedParseDouble(output.Max24HourSend),
|
|
3879
|
-
MaxSendRate: smithy_client_1.limitedParseDouble(output.MaxSendRate),
|
|
3880
|
-
SentLast24Hours: smithy_client_1.limitedParseDouble(output.SentLast24Hours),
|
|
3878
|
+
Max24HourSend: (0, smithy_client_1.limitedParseDouble)(output.Max24HourSend),
|
|
3879
|
+
MaxSendRate: (0, smithy_client_1.limitedParseDouble)(output.MaxSendRate),
|
|
3880
|
+
SentLast24Hours: (0, smithy_client_1.limitedParseDouble)(output.SentLast24Hours),
|
|
3881
3881
|
};
|
|
3882
3882
|
};
|
|
3883
3883
|
const deserializeAws_restJson1SnsDestination = (output, context) => {
|
|
3884
3884
|
return {
|
|
3885
|
-
TopicArn: smithy_client_1.expectString(output.TopicArn),
|
|
3885
|
+
TopicArn: (0, smithy_client_1.expectString)(output.TopicArn),
|
|
3886
3886
|
};
|
|
3887
3887
|
};
|
|
3888
3888
|
const deserializeAws_restJson1Tag = (output, context) => {
|
|
3889
3889
|
return {
|
|
3890
|
-
Key: smithy_client_1.expectString(output.Key),
|
|
3891
|
-
Value: smithy_client_1.expectString(output.Value),
|
|
3890
|
+
Key: (0, smithy_client_1.expectString)(output.Key),
|
|
3891
|
+
Value: (0, smithy_client_1.expectString)(output.Value),
|
|
3892
3892
|
};
|
|
3893
3893
|
};
|
|
3894
3894
|
const deserializeAws_restJson1TagList = (output, context) => {
|
|
@@ -3904,15 +3904,15 @@ const deserializeAws_restJson1TagList = (output, context) => {
|
|
|
3904
3904
|
};
|
|
3905
3905
|
const deserializeAws_restJson1TrackingOptions = (output, context) => {
|
|
3906
3906
|
return {
|
|
3907
|
-
CustomRedirectDomain: smithy_client_1.expectString(output.CustomRedirectDomain),
|
|
3907
|
+
CustomRedirectDomain: (0, smithy_client_1.expectString)(output.CustomRedirectDomain),
|
|
3908
3908
|
};
|
|
3909
3909
|
};
|
|
3910
3910
|
const deserializeAws_restJson1VolumeStatistics = (output, context) => {
|
|
3911
3911
|
return {
|
|
3912
|
-
InboxRawCount: smithy_client_1.expectLong(output.InboxRawCount),
|
|
3913
|
-
ProjectedInbox: smithy_client_1.expectLong(output.ProjectedInbox),
|
|
3914
|
-
ProjectedSpam: smithy_client_1.expectLong(output.ProjectedSpam),
|
|
3915
|
-
SpamRawCount: smithy_client_1.expectLong(output.SpamRawCount),
|
|
3912
|
+
InboxRawCount: (0, smithy_client_1.expectLong)(output.InboxRawCount),
|
|
3913
|
+
ProjectedInbox: (0, smithy_client_1.expectLong)(output.ProjectedInbox),
|
|
3914
|
+
ProjectedSpam: (0, smithy_client_1.expectLong)(output.ProjectedSpam),
|
|
3915
|
+
SpamRawCount: (0, smithy_client_1.expectLong)(output.SpamRawCount),
|
|
3916
3916
|
};
|
|
3917
3917
|
};
|
|
3918
3918
|
const deserializeMetadata = (output) => {
|