@aws-sdk/client-sesv2 3.28.0 → 3.32.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 +32 -0
- package/dist/cjs/package.json +31 -31
- package/dist/cjs/protocols/Aws_restJson1.js +84 -84
- package/dist/cjs/protocols/Aws_restJson1.js.map +1 -1
- package/dist/es/endpoints.js +1 -2
- package/dist/es/endpoints.js.map +1 -1
- package/dist/es/package.json +31 -31
- package/dist/es/protocols/Aws_restJson1.js +275 -199
- package/dist/es/protocols/Aws_restJson1.js.map +1 -1
- package/package.json +31 -31
- package/protocols/Aws_restJson1.ts +93 -86
|
@@ -334,10 +334,15 @@ import {
|
|
|
334
334
|
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
335
335
|
import {
|
|
336
336
|
expectBoolean as __expectBoolean,
|
|
337
|
-
|
|
337
|
+
expectInt32 as __expectInt32,
|
|
338
|
+
expectLong as __expectLong,
|
|
339
|
+
expectNonNull as __expectNonNull,
|
|
340
|
+
expectNumber as __expectNumber,
|
|
341
|
+
expectObject as __expectObject,
|
|
338
342
|
expectString as __expectString,
|
|
339
343
|
extendedEncodeURIComponent as __extendedEncodeURIComponent,
|
|
340
|
-
|
|
344
|
+
limitedParseDouble as __limitedParseDouble,
|
|
345
|
+
parseEpochTimestamp as __parseEpochTimestamp,
|
|
341
346
|
} from "@aws-sdk/smithy-client";
|
|
342
347
|
import {
|
|
343
348
|
Endpoint as __Endpoint,
|
|
@@ -3512,7 +3517,7 @@ export const deserializeAws_restJson1CreateDeliverabilityTestReportCommand = asy
|
|
|
3512
3517
|
DeliverabilityTestStatus: undefined,
|
|
3513
3518
|
ReportId: undefined,
|
|
3514
3519
|
};
|
|
3515
|
-
const data: any = await parseBody(output.body, context);
|
|
3520
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
3516
3521
|
if (data.DeliverabilityTestStatus !== undefined && data.DeliverabilityTestStatus !== null) {
|
|
3517
3522
|
contents.DeliverabilityTestStatus = __expectString(data.DeliverabilityTestStatus);
|
|
3518
3523
|
}
|
|
@@ -3636,7 +3641,7 @@ export const deserializeAws_restJson1CreateEmailIdentityCommand = async (
|
|
|
3636
3641
|
IdentityType: undefined,
|
|
3637
3642
|
VerifiedForSendingStatus: undefined,
|
|
3638
3643
|
};
|
|
3639
|
-
const data: any = await parseBody(output.body, context);
|
|
3644
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
3640
3645
|
if (data.DkimAttributes !== undefined && data.DkimAttributes !== null) {
|
|
3641
3646
|
contents.DkimAttributes = deserializeAws_restJson1DkimAttributes(data.DkimAttributes, context);
|
|
3642
3647
|
}
|
|
@@ -3895,7 +3900,7 @@ export const deserializeAws_restJson1CreateImportJobCommand = async (
|
|
|
3895
3900
|
$metadata: deserializeMetadata(output),
|
|
3896
3901
|
JobId: undefined,
|
|
3897
3902
|
};
|
|
3898
|
-
const data: any = await parseBody(output.body, context);
|
|
3903
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
3899
3904
|
if (data.JobId !== undefined && data.JobId !== null) {
|
|
3900
3905
|
contents.JobId = __expectString(data.JobId);
|
|
3901
3906
|
}
|
|
@@ -4674,7 +4679,7 @@ export const deserializeAws_restJson1GetAccountCommand = async (
|
|
|
4674
4679
|
SendingEnabled: undefined,
|
|
4675
4680
|
SuppressionAttributes: undefined,
|
|
4676
4681
|
};
|
|
4677
|
-
const data: any = await parseBody(output.body, context);
|
|
4682
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
4678
4683
|
if (data.DedicatedIpAutoWarmupEnabled !== undefined && data.DedicatedIpAutoWarmupEnabled !== null) {
|
|
4679
4684
|
contents.DedicatedIpAutoWarmupEnabled = __expectBoolean(data.DedicatedIpAutoWarmupEnabled);
|
|
4680
4685
|
}
|
|
@@ -4755,7 +4760,7 @@ export const deserializeAws_restJson1GetBlacklistReportsCommand = async (
|
|
|
4755
4760
|
$metadata: deserializeMetadata(output),
|
|
4756
4761
|
BlacklistReport: undefined,
|
|
4757
4762
|
};
|
|
4758
|
-
const data: any = await parseBody(output.body, context);
|
|
4763
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
4759
4764
|
if (data.BlacklistReport !== undefined && data.BlacklistReport !== null) {
|
|
4760
4765
|
contents.BlacklistReport = deserializeAws_restJson1BlacklistReport(data.BlacklistReport, context);
|
|
4761
4766
|
}
|
|
@@ -4832,7 +4837,7 @@ export const deserializeAws_restJson1GetConfigurationSetCommand = async (
|
|
|
4832
4837
|
Tags: undefined,
|
|
4833
4838
|
TrackingOptions: undefined,
|
|
4834
4839
|
};
|
|
4835
|
-
const data: any = await parseBody(output.body, context);
|
|
4840
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
4836
4841
|
if (data.ConfigurationSetName !== undefined && data.ConfigurationSetName !== null) {
|
|
4837
4842
|
contents.ConfigurationSetName = __expectString(data.ConfigurationSetName);
|
|
4838
4843
|
}
|
|
@@ -4921,7 +4926,7 @@ export const deserializeAws_restJson1GetConfigurationSetEventDestinationsCommand
|
|
|
4921
4926
|
$metadata: deserializeMetadata(output),
|
|
4922
4927
|
EventDestinations: undefined,
|
|
4923
4928
|
};
|
|
4924
|
-
const data: any = await parseBody(output.body, context);
|
|
4929
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
4925
4930
|
if (data.EventDestinations !== undefined && data.EventDestinations !== null) {
|
|
4926
4931
|
contents.EventDestinations = deserializeAws_restJson1EventDestinations(data.EventDestinations, context);
|
|
4927
4932
|
}
|
|
@@ -4999,7 +5004,7 @@ export const deserializeAws_restJson1GetContactCommand = async (
|
|
|
4999
5004
|
TopicPreferences: undefined,
|
|
5000
5005
|
UnsubscribeAll: undefined,
|
|
5001
5006
|
};
|
|
5002
|
-
const data: any = await parseBody(output.body, context);
|
|
5007
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
5003
5008
|
if (data.AttributesData !== undefined && data.AttributesData !== null) {
|
|
5004
5009
|
contents.AttributesData = __expectString(data.AttributesData);
|
|
5005
5010
|
}
|
|
@@ -5007,13 +5012,13 @@ export const deserializeAws_restJson1GetContactCommand = async (
|
|
|
5007
5012
|
contents.ContactListName = __expectString(data.ContactListName);
|
|
5008
5013
|
}
|
|
5009
5014
|
if (data.CreatedTimestamp !== undefined && data.CreatedTimestamp !== null) {
|
|
5010
|
-
contents.CreatedTimestamp =
|
|
5015
|
+
contents.CreatedTimestamp = __expectNonNull(__parseEpochTimestamp(__expectNumber(data.CreatedTimestamp)));
|
|
5011
5016
|
}
|
|
5012
5017
|
if (data.EmailAddress !== undefined && data.EmailAddress !== null) {
|
|
5013
5018
|
contents.EmailAddress = __expectString(data.EmailAddress);
|
|
5014
5019
|
}
|
|
5015
5020
|
if (data.LastUpdatedTimestamp !== undefined && data.LastUpdatedTimestamp !== null) {
|
|
5016
|
-
contents.LastUpdatedTimestamp =
|
|
5021
|
+
contents.LastUpdatedTimestamp = __expectNonNull(__parseEpochTimestamp(__expectNumber(data.LastUpdatedTimestamp)));
|
|
5017
5022
|
}
|
|
5018
5023
|
if (data.TopicDefaultPreferences !== undefined && data.TopicDefaultPreferences !== null) {
|
|
5019
5024
|
contents.TopicDefaultPreferences = deserializeAws_restJson1TopicPreferenceList(
|
|
@@ -5099,18 +5104,18 @@ export const deserializeAws_restJson1GetContactListCommand = async (
|
|
|
5099
5104
|
Tags: undefined,
|
|
5100
5105
|
Topics: undefined,
|
|
5101
5106
|
};
|
|
5102
|
-
const data: any = await parseBody(output.body, context);
|
|
5107
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
5103
5108
|
if (data.ContactListName !== undefined && data.ContactListName !== null) {
|
|
5104
5109
|
contents.ContactListName = __expectString(data.ContactListName);
|
|
5105
5110
|
}
|
|
5106
5111
|
if (data.CreatedTimestamp !== undefined && data.CreatedTimestamp !== null) {
|
|
5107
|
-
contents.CreatedTimestamp =
|
|
5112
|
+
contents.CreatedTimestamp = __expectNonNull(__parseEpochTimestamp(__expectNumber(data.CreatedTimestamp)));
|
|
5108
5113
|
}
|
|
5109
5114
|
if (data.Description !== undefined && data.Description !== null) {
|
|
5110
5115
|
contents.Description = __expectString(data.Description);
|
|
5111
5116
|
}
|
|
5112
5117
|
if (data.LastUpdatedTimestamp !== undefined && data.LastUpdatedTimestamp !== null) {
|
|
5113
|
-
contents.LastUpdatedTimestamp =
|
|
5118
|
+
contents.LastUpdatedTimestamp = __expectNonNull(__parseEpochTimestamp(__expectNumber(data.LastUpdatedTimestamp)));
|
|
5114
5119
|
}
|
|
5115
5120
|
if (data.Tags !== undefined && data.Tags !== null) {
|
|
5116
5121
|
contents.Tags = deserializeAws_restJson1TagList(data.Tags, context);
|
|
@@ -5190,7 +5195,7 @@ export const deserializeAws_restJson1GetCustomVerificationEmailTemplateCommand =
|
|
|
5190
5195
|
TemplateName: undefined,
|
|
5191
5196
|
TemplateSubject: undefined,
|
|
5192
5197
|
};
|
|
5193
|
-
const data: any = await parseBody(output.body, context);
|
|
5198
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
5194
5199
|
if (data.FailureRedirectionURL !== undefined && data.FailureRedirectionURL !== null) {
|
|
5195
5200
|
contents.FailureRedirectionURL = __expectString(data.FailureRedirectionURL);
|
|
5196
5201
|
}
|
|
@@ -5276,7 +5281,7 @@ export const deserializeAws_restJson1GetDedicatedIpCommand = async (
|
|
|
5276
5281
|
$metadata: deserializeMetadata(output),
|
|
5277
5282
|
DedicatedIp: undefined,
|
|
5278
5283
|
};
|
|
5279
|
-
const data: any = await parseBody(output.body, context);
|
|
5284
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
5280
5285
|
if (data.DedicatedIp !== undefined && data.DedicatedIp !== null) {
|
|
5281
5286
|
contents.DedicatedIp = deserializeAws_restJson1DedicatedIp(data.DedicatedIp, context);
|
|
5282
5287
|
}
|
|
@@ -5348,7 +5353,7 @@ export const deserializeAws_restJson1GetDedicatedIpsCommand = async (
|
|
|
5348
5353
|
DedicatedIps: undefined,
|
|
5349
5354
|
NextToken: undefined,
|
|
5350
5355
|
};
|
|
5351
|
-
const data: any = await parseBody(output.body, context);
|
|
5356
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
5352
5357
|
if (data.DedicatedIps !== undefined && data.DedicatedIps !== null) {
|
|
5353
5358
|
contents.DedicatedIps = deserializeAws_restJson1DedicatedIpList(data.DedicatedIps, context);
|
|
5354
5359
|
}
|
|
@@ -5426,7 +5431,7 @@ export const deserializeAws_restJson1GetDeliverabilityDashboardOptionsCommand =
|
|
|
5426
5431
|
PendingExpirationSubscribedDomains: undefined,
|
|
5427
5432
|
SubscriptionExpiryDate: undefined,
|
|
5428
5433
|
};
|
|
5429
|
-
const data: any = await parseBody(output.body, context);
|
|
5434
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
5430
5435
|
if (data.AccountStatus !== undefined && data.AccountStatus !== null) {
|
|
5431
5436
|
contents.AccountStatus = __expectString(data.AccountStatus);
|
|
5432
5437
|
}
|
|
@@ -5446,7 +5451,9 @@ export const deserializeAws_restJson1GetDeliverabilityDashboardOptionsCommand =
|
|
|
5446
5451
|
);
|
|
5447
5452
|
}
|
|
5448
5453
|
if (data.SubscriptionExpiryDate !== undefined && data.SubscriptionExpiryDate !== null) {
|
|
5449
|
-
contents.SubscriptionExpiryDate =
|
|
5454
|
+
contents.SubscriptionExpiryDate = __expectNonNull(
|
|
5455
|
+
__parseEpochTimestamp(__expectNumber(data.SubscriptionExpiryDate))
|
|
5456
|
+
);
|
|
5450
5457
|
}
|
|
5451
5458
|
return Promise.resolve(contents);
|
|
5452
5459
|
};
|
|
@@ -5519,7 +5526,7 @@ export const deserializeAws_restJson1GetDeliverabilityTestReportCommand = async
|
|
|
5519
5526
|
OverallPlacement: undefined,
|
|
5520
5527
|
Tags: undefined,
|
|
5521
5528
|
};
|
|
5522
|
-
const data: any = await parseBody(output.body, context);
|
|
5529
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
5523
5530
|
if (data.DeliverabilityTestReport !== undefined && data.DeliverabilityTestReport !== null) {
|
|
5524
5531
|
contents.DeliverabilityTestReport = deserializeAws_restJson1DeliverabilityTestReport(
|
|
5525
5532
|
data.DeliverabilityTestReport,
|
|
@@ -5605,7 +5612,7 @@ export const deserializeAws_restJson1GetDomainDeliverabilityCampaignCommand = as
|
|
|
5605
5612
|
$metadata: deserializeMetadata(output),
|
|
5606
5613
|
DomainDeliverabilityCampaign: undefined,
|
|
5607
5614
|
};
|
|
5608
|
-
const data: any = await parseBody(output.body, context);
|
|
5615
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
5609
5616
|
if (data.DomainDeliverabilityCampaign !== undefined && data.DomainDeliverabilityCampaign !== null) {
|
|
5610
5617
|
contents.DomainDeliverabilityCampaign = deserializeAws_restJson1DomainDeliverabilityCampaign(
|
|
5611
5618
|
data.DomainDeliverabilityCampaign,
|
|
@@ -5680,7 +5687,7 @@ export const deserializeAws_restJson1GetDomainStatisticsReportCommand = async (
|
|
|
5680
5687
|
DailyVolumes: undefined,
|
|
5681
5688
|
OverallVolume: undefined,
|
|
5682
5689
|
};
|
|
5683
|
-
const data: any = await parseBody(output.body, context);
|
|
5690
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
5684
5691
|
if (data.DailyVolumes !== undefined && data.DailyVolumes !== null) {
|
|
5685
5692
|
contents.DailyVolumes = deserializeAws_restJson1DailyVolumes(data.DailyVolumes, context);
|
|
5686
5693
|
}
|
|
@@ -5761,7 +5768,7 @@ export const deserializeAws_restJson1GetEmailIdentityCommand = async (
|
|
|
5761
5768
|
Tags: undefined,
|
|
5762
5769
|
VerifiedForSendingStatus: undefined,
|
|
5763
5770
|
};
|
|
5764
|
-
const data: any = await parseBody(output.body, context);
|
|
5771
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
5765
5772
|
if (data.ConfigurationSetName !== undefined && data.ConfigurationSetName !== null) {
|
|
5766
5773
|
contents.ConfigurationSetName = __expectString(data.ConfigurationSetName);
|
|
5767
5774
|
}
|
|
@@ -5853,7 +5860,7 @@ export const deserializeAws_restJson1GetEmailIdentityPoliciesCommand = async (
|
|
|
5853
5860
|
$metadata: deserializeMetadata(output),
|
|
5854
5861
|
Policies: undefined,
|
|
5855
5862
|
};
|
|
5856
|
-
const data: any = await parseBody(output.body, context);
|
|
5863
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
5857
5864
|
if (data.Policies !== undefined && data.Policies !== null) {
|
|
5858
5865
|
contents.Policies = deserializeAws_restJson1PolicyMap(data.Policies, context);
|
|
5859
5866
|
}
|
|
@@ -5925,7 +5932,7 @@ export const deserializeAws_restJson1GetEmailTemplateCommand = async (
|
|
|
5925
5932
|
TemplateContent: undefined,
|
|
5926
5933
|
TemplateName: undefined,
|
|
5927
5934
|
};
|
|
5928
|
-
const data: any = await parseBody(output.body, context);
|
|
5935
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
5929
5936
|
if (data.TemplateContent !== undefined && data.TemplateContent !== null) {
|
|
5930
5937
|
contents.TemplateContent = deserializeAws_restJson1EmailTemplateContent(data.TemplateContent, context);
|
|
5931
5938
|
}
|
|
@@ -6007,15 +6014,15 @@ export const deserializeAws_restJson1GetImportJobCommand = async (
|
|
|
6007
6014
|
JobStatus: undefined,
|
|
6008
6015
|
ProcessedRecordsCount: undefined,
|
|
6009
6016
|
};
|
|
6010
|
-
const data: any = await parseBody(output.body, context);
|
|
6017
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
6011
6018
|
if (data.CompletedTimestamp !== undefined && data.CompletedTimestamp !== null) {
|
|
6012
|
-
contents.CompletedTimestamp =
|
|
6019
|
+
contents.CompletedTimestamp = __expectNonNull(__parseEpochTimestamp(__expectNumber(data.CompletedTimestamp)));
|
|
6013
6020
|
}
|
|
6014
6021
|
if (data.CreatedTimestamp !== undefined && data.CreatedTimestamp !== null) {
|
|
6015
|
-
contents.CreatedTimestamp =
|
|
6022
|
+
contents.CreatedTimestamp = __expectNonNull(__parseEpochTimestamp(__expectNumber(data.CreatedTimestamp)));
|
|
6016
6023
|
}
|
|
6017
6024
|
if (data.FailedRecordsCount !== undefined && data.FailedRecordsCount !== null) {
|
|
6018
|
-
contents.FailedRecordsCount =
|
|
6025
|
+
contents.FailedRecordsCount = __expectInt32(data.FailedRecordsCount);
|
|
6019
6026
|
}
|
|
6020
6027
|
if (data.FailureInfo !== undefined && data.FailureInfo !== null) {
|
|
6021
6028
|
contents.FailureInfo = deserializeAws_restJson1FailureInfo(data.FailureInfo, context);
|
|
@@ -6033,7 +6040,7 @@ export const deserializeAws_restJson1GetImportJobCommand = async (
|
|
|
6033
6040
|
contents.JobStatus = __expectString(data.JobStatus);
|
|
6034
6041
|
}
|
|
6035
6042
|
if (data.ProcessedRecordsCount !== undefined && data.ProcessedRecordsCount !== null) {
|
|
6036
|
-
contents.ProcessedRecordsCount =
|
|
6043
|
+
contents.ProcessedRecordsCount = __expectInt32(data.ProcessedRecordsCount);
|
|
6037
6044
|
}
|
|
6038
6045
|
return Promise.resolve(contents);
|
|
6039
6046
|
};
|
|
@@ -6102,7 +6109,7 @@ export const deserializeAws_restJson1GetSuppressedDestinationCommand = async (
|
|
|
6102
6109
|
$metadata: deserializeMetadata(output),
|
|
6103
6110
|
SuppressedDestination: undefined,
|
|
6104
6111
|
};
|
|
6105
|
-
const data: any = await parseBody(output.body, context);
|
|
6112
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
6106
6113
|
if (data.SuppressedDestination !== undefined && data.SuppressedDestination !== null) {
|
|
6107
6114
|
contents.SuppressedDestination = deserializeAws_restJson1SuppressedDestination(data.SuppressedDestination, context);
|
|
6108
6115
|
}
|
|
@@ -6174,7 +6181,7 @@ export const deserializeAws_restJson1ListConfigurationSetsCommand = async (
|
|
|
6174
6181
|
ConfigurationSets: undefined,
|
|
6175
6182
|
NextToken: undefined,
|
|
6176
6183
|
};
|
|
6177
|
-
const data: any = await parseBody(output.body, context);
|
|
6184
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
6178
6185
|
if (data.ConfigurationSets !== undefined && data.ConfigurationSets !== null) {
|
|
6179
6186
|
contents.ConfigurationSets = deserializeAws_restJson1ConfigurationSetNameList(data.ConfigurationSets, context);
|
|
6180
6187
|
}
|
|
@@ -6241,7 +6248,7 @@ export const deserializeAws_restJson1ListContactListsCommand = async (
|
|
|
6241
6248
|
ContactLists: undefined,
|
|
6242
6249
|
NextToken: undefined,
|
|
6243
6250
|
};
|
|
6244
|
-
const data: any = await parseBody(output.body, context);
|
|
6251
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
6245
6252
|
if (data.ContactLists !== undefined && data.ContactLists !== null) {
|
|
6246
6253
|
contents.ContactLists = deserializeAws_restJson1ListOfContactLists(data.ContactLists, context);
|
|
6247
6254
|
}
|
|
@@ -6308,7 +6315,7 @@ export const deserializeAws_restJson1ListContactsCommand = async (
|
|
|
6308
6315
|
Contacts: undefined,
|
|
6309
6316
|
NextToken: undefined,
|
|
6310
6317
|
};
|
|
6311
|
-
const data: any = await parseBody(output.body, context);
|
|
6318
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
6312
6319
|
if (data.Contacts !== undefined && data.Contacts !== null) {
|
|
6313
6320
|
contents.Contacts = deserializeAws_restJson1ListOfContacts(data.Contacts, context);
|
|
6314
6321
|
}
|
|
@@ -6383,7 +6390,7 @@ export const deserializeAws_restJson1ListCustomVerificationEmailTemplatesCommand
|
|
|
6383
6390
|
CustomVerificationEmailTemplates: undefined,
|
|
6384
6391
|
NextToken: undefined,
|
|
6385
6392
|
};
|
|
6386
|
-
const data: any = await parseBody(output.body, context);
|
|
6393
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
6387
6394
|
if (data.CustomVerificationEmailTemplates !== undefined && data.CustomVerificationEmailTemplates !== null) {
|
|
6388
6395
|
contents.CustomVerificationEmailTemplates = deserializeAws_restJson1CustomVerificationEmailTemplatesList(
|
|
6389
6396
|
data.CustomVerificationEmailTemplates,
|
|
@@ -6453,7 +6460,7 @@ export const deserializeAws_restJson1ListDedicatedIpPoolsCommand = async (
|
|
|
6453
6460
|
DedicatedIpPools: undefined,
|
|
6454
6461
|
NextToken: undefined,
|
|
6455
6462
|
};
|
|
6456
|
-
const data: any = await parseBody(output.body, context);
|
|
6463
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
6457
6464
|
if (data.DedicatedIpPools !== undefined && data.DedicatedIpPools !== null) {
|
|
6458
6465
|
contents.DedicatedIpPools = deserializeAws_restJson1ListOfDedicatedIpPools(data.DedicatedIpPools, context);
|
|
6459
6466
|
}
|
|
@@ -6520,7 +6527,7 @@ export const deserializeAws_restJson1ListDeliverabilityTestReportsCommand = asyn
|
|
|
6520
6527
|
DeliverabilityTestReports: undefined,
|
|
6521
6528
|
NextToken: undefined,
|
|
6522
6529
|
};
|
|
6523
|
-
const data: any = await parseBody(output.body, context);
|
|
6530
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
6524
6531
|
if (data.DeliverabilityTestReports !== undefined && data.DeliverabilityTestReports !== null) {
|
|
6525
6532
|
contents.DeliverabilityTestReports = deserializeAws_restJson1DeliverabilityTestReports(
|
|
6526
6533
|
data.DeliverabilityTestReports,
|
|
@@ -6598,7 +6605,7 @@ export const deserializeAws_restJson1ListDomainDeliverabilityCampaignsCommand =
|
|
|
6598
6605
|
DomainDeliverabilityCampaigns: undefined,
|
|
6599
6606
|
NextToken: undefined,
|
|
6600
6607
|
};
|
|
6601
|
-
const data: any = await parseBody(output.body, context);
|
|
6608
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
6602
6609
|
if (data.DomainDeliverabilityCampaigns !== undefined && data.DomainDeliverabilityCampaigns !== null) {
|
|
6603
6610
|
contents.DomainDeliverabilityCampaigns = deserializeAws_restJson1DomainDeliverabilityCampaignList(
|
|
6604
6611
|
data.DomainDeliverabilityCampaigns,
|
|
@@ -6676,7 +6683,7 @@ export const deserializeAws_restJson1ListEmailIdentitiesCommand = async (
|
|
|
6676
6683
|
EmailIdentities: undefined,
|
|
6677
6684
|
NextToken: undefined,
|
|
6678
6685
|
};
|
|
6679
|
-
const data: any = await parseBody(output.body, context);
|
|
6686
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
6680
6687
|
if (data.EmailIdentities !== undefined && data.EmailIdentities !== null) {
|
|
6681
6688
|
contents.EmailIdentities = deserializeAws_restJson1IdentityInfoList(data.EmailIdentities, context);
|
|
6682
6689
|
}
|
|
@@ -6743,7 +6750,7 @@ export const deserializeAws_restJson1ListEmailTemplatesCommand = async (
|
|
|
6743
6750
|
NextToken: undefined,
|
|
6744
6751
|
TemplatesMetadata: undefined,
|
|
6745
6752
|
};
|
|
6746
|
-
const data: any = await parseBody(output.body, context);
|
|
6753
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
6747
6754
|
if (data.NextToken !== undefined && data.NextToken !== null) {
|
|
6748
6755
|
contents.NextToken = __expectString(data.NextToken);
|
|
6749
6756
|
}
|
|
@@ -6810,7 +6817,7 @@ export const deserializeAws_restJson1ListImportJobsCommand = async (
|
|
|
6810
6817
|
ImportJobs: undefined,
|
|
6811
6818
|
NextToken: undefined,
|
|
6812
6819
|
};
|
|
6813
|
-
const data: any = await parseBody(output.body, context);
|
|
6820
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
6814
6821
|
if (data.ImportJobs !== undefined && data.ImportJobs !== null) {
|
|
6815
6822
|
contents.ImportJobs = deserializeAws_restJson1ImportJobSummaryList(data.ImportJobs, context);
|
|
6816
6823
|
}
|
|
@@ -6877,7 +6884,7 @@ export const deserializeAws_restJson1ListSuppressedDestinationsCommand = async (
|
|
|
6877
6884
|
NextToken: undefined,
|
|
6878
6885
|
SuppressedDestinationSummaries: undefined,
|
|
6879
6886
|
};
|
|
6880
|
-
const data: any = await parseBody(output.body, context);
|
|
6887
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
6881
6888
|
if (data.NextToken !== undefined && data.NextToken !== null) {
|
|
6882
6889
|
contents.NextToken = __expectString(data.NextToken);
|
|
6883
6890
|
}
|
|
@@ -6954,7 +6961,7 @@ export const deserializeAws_restJson1ListTagsForResourceCommand = async (
|
|
|
6954
6961
|
$metadata: deserializeMetadata(output),
|
|
6955
6962
|
Tags: undefined,
|
|
6956
6963
|
};
|
|
6957
|
-
const data: any = await parseBody(output.body, context);
|
|
6964
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
6958
6965
|
if (data.Tags !== undefined && data.Tags !== null) {
|
|
6959
6966
|
contents.Tags = deserializeAws_restJson1TagList(data.Tags, context);
|
|
6960
6967
|
}
|
|
@@ -7956,7 +7963,7 @@ export const deserializeAws_restJson1PutEmailIdentityDkimSigningAttributesComman
|
|
|
7956
7963
|
DkimStatus: undefined,
|
|
7957
7964
|
DkimTokens: undefined,
|
|
7958
7965
|
};
|
|
7959
|
-
const data: any = await parseBody(output.body, context);
|
|
7966
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
7960
7967
|
if (data.DkimStatus !== undefined && data.DkimStatus !== null) {
|
|
7961
7968
|
contents.DkimStatus = __expectString(data.DkimStatus);
|
|
7962
7969
|
}
|
|
@@ -8223,7 +8230,7 @@ export const deserializeAws_restJson1SendBulkEmailCommand = async (
|
|
|
8223
8230
|
$metadata: deserializeMetadata(output),
|
|
8224
8231
|
BulkEmailEntryResults: undefined,
|
|
8225
8232
|
};
|
|
8226
|
-
const data: any = await parseBody(output.body, context);
|
|
8233
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
8227
8234
|
if (data.BulkEmailEntryResults !== undefined && data.BulkEmailEntryResults !== null) {
|
|
8228
8235
|
contents.BulkEmailEntryResults = deserializeAws_restJson1BulkEmailEntryResultList(
|
|
8229
8236
|
data.BulkEmailEntryResults,
|
|
@@ -8337,7 +8344,7 @@ export const deserializeAws_restJson1SendCustomVerificationEmailCommand = async
|
|
|
8337
8344
|
$metadata: deserializeMetadata(output),
|
|
8338
8345
|
MessageId: undefined,
|
|
8339
8346
|
};
|
|
8340
|
-
const data: any = await parseBody(output.body, context);
|
|
8347
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
8341
8348
|
if (data.MessageId !== undefined && data.MessageId !== null) {
|
|
8342
8349
|
contents.MessageId = __expectString(data.MessageId);
|
|
8343
8350
|
}
|
|
@@ -8440,7 +8447,7 @@ export const deserializeAws_restJson1SendEmailCommand = async (
|
|
|
8440
8447
|
$metadata: deserializeMetadata(output),
|
|
8441
8448
|
MessageId: undefined,
|
|
8442
8449
|
};
|
|
8443
|
-
const data: any = await parseBody(output.body, context);
|
|
8450
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
8444
8451
|
if (data.MessageId !== undefined && data.MessageId !== null) {
|
|
8445
8452
|
contents.MessageId = __expectString(data.MessageId);
|
|
8446
8453
|
}
|
|
@@ -8626,7 +8633,7 @@ export const deserializeAws_restJson1TestRenderEmailTemplateCommand = async (
|
|
|
8626
8633
|
$metadata: deserializeMetadata(output),
|
|
8627
8634
|
RenderedTemplate: undefined,
|
|
8628
8635
|
};
|
|
8629
|
-
const data: any = await parseBody(output.body, context);
|
|
8636
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
8630
8637
|
if (data.RenderedTemplate !== undefined && data.RenderedTemplate !== null) {
|
|
8631
8638
|
contents.RenderedTemplate = __expectString(data.RenderedTemplate);
|
|
8632
8639
|
}
|
|
@@ -9944,7 +9951,7 @@ const deserializeAws_restJson1BlacklistEntry = (output: any, context: __SerdeCon
|
|
|
9944
9951
|
Description: __expectString(output.Description),
|
|
9945
9952
|
ListingTime:
|
|
9946
9953
|
output.ListingTime !== undefined && output.ListingTime !== null
|
|
9947
|
-
?
|
|
9954
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.ListingTime)))
|
|
9948
9955
|
: undefined,
|
|
9949
9956
|
RblName: __expectString(output.RblName),
|
|
9950
9957
|
} as any;
|
|
@@ -10037,7 +10044,7 @@ const deserializeAws_restJson1Contact = (output: any, context: __SerdeContext):
|
|
|
10037
10044
|
EmailAddress: __expectString(output.EmailAddress),
|
|
10038
10045
|
LastUpdatedTimestamp:
|
|
10039
10046
|
output.LastUpdatedTimestamp !== undefined && output.LastUpdatedTimestamp !== null
|
|
10040
|
-
?
|
|
10047
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastUpdatedTimestamp)))
|
|
10041
10048
|
: undefined,
|
|
10042
10049
|
TopicDefaultPreferences:
|
|
10043
10050
|
output.TopicDefaultPreferences !== undefined && output.TopicDefaultPreferences !== null
|
|
@@ -10056,7 +10063,7 @@ const deserializeAws_restJson1ContactList = (output: any, context: __SerdeContex
|
|
|
10056
10063
|
ContactListName: __expectString(output.ContactListName),
|
|
10057
10064
|
LastUpdatedTimestamp:
|
|
10058
10065
|
output.LastUpdatedTimestamp !== undefined && output.LastUpdatedTimestamp !== null
|
|
10059
|
-
?
|
|
10066
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastUpdatedTimestamp)))
|
|
10060
10067
|
: undefined,
|
|
10061
10068
|
} as any;
|
|
10062
10069
|
};
|
|
@@ -10106,7 +10113,7 @@ const deserializeAws_restJson1DailyVolume = (output: any, context: __SerdeContex
|
|
|
10106
10113
|
: undefined,
|
|
10107
10114
|
StartDate:
|
|
10108
10115
|
output.StartDate !== undefined && output.StartDate !== null
|
|
10109
|
-
?
|
|
10116
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.StartDate)))
|
|
10110
10117
|
: undefined,
|
|
10111
10118
|
VolumeStatistics:
|
|
10112
10119
|
output.VolumeStatistics !== undefined && output.VolumeStatistics !== null
|
|
@@ -10130,7 +10137,7 @@ const deserializeAws_restJson1DedicatedIp = (output: any, context: __SerdeContex
|
|
|
10130
10137
|
return {
|
|
10131
10138
|
Ip: __expectString(output.Ip),
|
|
10132
10139
|
PoolName: __expectString(output.PoolName),
|
|
10133
|
-
WarmupPercentage:
|
|
10140
|
+
WarmupPercentage: __expectInt32(output.WarmupPercentage),
|
|
10134
10141
|
WarmupStatus: __expectString(output.WarmupStatus),
|
|
10135
10142
|
} as any;
|
|
10136
10143
|
};
|
|
@@ -10153,7 +10160,7 @@ const deserializeAws_restJson1DeliverabilityTestReport = (
|
|
|
10153
10160
|
return {
|
|
10154
10161
|
CreateDate:
|
|
10155
10162
|
output.CreateDate !== undefined && output.CreateDate !== null
|
|
10156
|
-
?
|
|
10163
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreateDate)))
|
|
10157
10164
|
: undefined,
|
|
10158
10165
|
DeliverabilityTestStatus: __expectString(output.DeliverabilityTestStatus),
|
|
10159
10166
|
FromEmailAddress: __expectString(output.FromEmailAddress),
|
|
@@ -10213,30 +10220,30 @@ const deserializeAws_restJson1DomainDeliverabilityCampaign = (
|
|
|
10213
10220
|
): DomainDeliverabilityCampaign => {
|
|
10214
10221
|
return {
|
|
10215
10222
|
CampaignId: __expectString(output.CampaignId),
|
|
10216
|
-
DeleteRate:
|
|
10223
|
+
DeleteRate: __limitedParseDouble(output.DeleteRate),
|
|
10217
10224
|
Esps:
|
|
10218
10225
|
output.Esps !== undefined && output.Esps !== null
|
|
10219
10226
|
? deserializeAws_restJson1Esps(output.Esps, context)
|
|
10220
10227
|
: undefined,
|
|
10221
10228
|
FirstSeenDateTime:
|
|
10222
10229
|
output.FirstSeenDateTime !== undefined && output.FirstSeenDateTime !== null
|
|
10223
|
-
?
|
|
10230
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.FirstSeenDateTime)))
|
|
10224
10231
|
: undefined,
|
|
10225
10232
|
FromAddress: __expectString(output.FromAddress),
|
|
10226
10233
|
ImageUrl: __expectString(output.ImageUrl),
|
|
10227
|
-
InboxCount:
|
|
10234
|
+
InboxCount: __expectLong(output.InboxCount),
|
|
10228
10235
|
LastSeenDateTime:
|
|
10229
10236
|
output.LastSeenDateTime !== undefined && output.LastSeenDateTime !== null
|
|
10230
|
-
?
|
|
10237
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastSeenDateTime)))
|
|
10231
10238
|
: undefined,
|
|
10232
|
-
ProjectedVolume:
|
|
10233
|
-
ReadDeleteRate:
|
|
10234
|
-
ReadRate:
|
|
10239
|
+
ProjectedVolume: __expectLong(output.ProjectedVolume),
|
|
10240
|
+
ReadDeleteRate: __limitedParseDouble(output.ReadDeleteRate),
|
|
10241
|
+
ReadRate: __limitedParseDouble(output.ReadRate),
|
|
10235
10242
|
SendingIps:
|
|
10236
10243
|
output.SendingIps !== undefined && output.SendingIps !== null
|
|
10237
10244
|
? deserializeAws_restJson1IpList(output.SendingIps, context)
|
|
10238
10245
|
: undefined,
|
|
10239
|
-
SpamCount:
|
|
10246
|
+
SpamCount: __expectLong(output.SpamCount),
|
|
10240
10247
|
Subject: __expectString(output.Subject),
|
|
10241
10248
|
} as any;
|
|
10242
10249
|
};
|
|
@@ -10267,7 +10274,7 @@ const deserializeAws_restJson1DomainDeliverabilityTrackingOption = (
|
|
|
10267
10274
|
: undefined,
|
|
10268
10275
|
SubscriptionStartDate:
|
|
10269
10276
|
output.SubscriptionStartDate !== undefined && output.SubscriptionStartDate !== null
|
|
10270
|
-
?
|
|
10277
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.SubscriptionStartDate)))
|
|
10271
10278
|
: undefined,
|
|
10272
10279
|
} as any;
|
|
10273
10280
|
};
|
|
@@ -10288,11 +10295,11 @@ const deserializeAws_restJson1DomainDeliverabilityTrackingOptions = (
|
|
|
10288
10295
|
|
|
10289
10296
|
const deserializeAws_restJson1DomainIspPlacement = (output: any, context: __SerdeContext): DomainIspPlacement => {
|
|
10290
10297
|
return {
|
|
10291
|
-
InboxPercentage:
|
|
10292
|
-
InboxRawCount:
|
|
10298
|
+
InboxPercentage: __limitedParseDouble(output.InboxPercentage),
|
|
10299
|
+
InboxRawCount: __expectLong(output.InboxRawCount),
|
|
10293
10300
|
IspName: __expectString(output.IspName),
|
|
10294
|
-
SpamPercentage:
|
|
10295
|
-
SpamRawCount:
|
|
10301
|
+
SpamPercentage: __limitedParseDouble(output.SpamPercentage),
|
|
10302
|
+
SpamRawCount: __expectLong(output.SpamRawCount),
|
|
10296
10303
|
} as any;
|
|
10297
10304
|
};
|
|
10298
10305
|
|
|
@@ -10319,7 +10326,7 @@ const deserializeAws_restJson1EmailTemplateMetadata = (output: any, context: __S
|
|
|
10319
10326
|
return {
|
|
10320
10327
|
CreatedTimestamp:
|
|
10321
10328
|
output.CreatedTimestamp !== undefined && output.CreatedTimestamp !== null
|
|
10322
|
-
?
|
|
10329
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedTimestamp)))
|
|
10323
10330
|
: undefined,
|
|
10324
10331
|
TemplateName: __expectString(output.TemplateName),
|
|
10325
10332
|
} as any;
|
|
@@ -10449,7 +10456,7 @@ const deserializeAws_restJson1ImportJobSummary = (output: any, context: __SerdeC
|
|
|
10449
10456
|
return {
|
|
10450
10457
|
CreatedTimestamp:
|
|
10451
10458
|
output.CreatedTimestamp !== undefined && output.CreatedTimestamp !== null
|
|
10452
|
-
?
|
|
10459
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedTimestamp)))
|
|
10453
10460
|
: undefined,
|
|
10454
10461
|
ImportDestination:
|
|
10455
10462
|
output.ImportDestination !== undefined && output.ImportDestination !== null
|
|
@@ -10584,7 +10591,7 @@ const deserializeAws_restJson1OverallVolume = (output: any, context: __SerdeCont
|
|
|
10584
10591
|
output.DomainIspPlacements !== undefined && output.DomainIspPlacements !== null
|
|
10585
10592
|
? deserializeAws_restJson1DomainIspPlacements(output.DomainIspPlacements, context)
|
|
10586
10593
|
: undefined,
|
|
10587
|
-
ReadRatePercent:
|
|
10594
|
+
ReadRatePercent: __limitedParseDouble(output.ReadRatePercent),
|
|
10588
10595
|
VolumeStatistics:
|
|
10589
10596
|
output.VolumeStatistics !== undefined && output.VolumeStatistics !== null
|
|
10590
10597
|
? deserializeAws_restJson1VolumeStatistics(output.VolumeStatistics, context)
|
|
@@ -10600,11 +10607,11 @@ const deserializeAws_restJson1PinpointDestination = (output: any, context: __Ser
|
|
|
10600
10607
|
|
|
10601
10608
|
const deserializeAws_restJson1PlacementStatistics = (output: any, context: __SerdeContext): PlacementStatistics => {
|
|
10602
10609
|
return {
|
|
10603
|
-
DkimPercentage:
|
|
10604
|
-
InboxPercentage:
|
|
10605
|
-
MissingPercentage:
|
|
10606
|
-
SpamPercentage:
|
|
10607
|
-
SpfPercentage:
|
|
10610
|
+
DkimPercentage: __limitedParseDouble(output.DkimPercentage),
|
|
10611
|
+
InboxPercentage: __limitedParseDouble(output.InboxPercentage),
|
|
10612
|
+
MissingPercentage: __limitedParseDouble(output.MissingPercentage),
|
|
10613
|
+
SpamPercentage: __limitedParseDouble(output.SpamPercentage),
|
|
10614
|
+
SpfPercentage: __limitedParseDouble(output.SpfPercentage),
|
|
10608
10615
|
} as any;
|
|
10609
10616
|
};
|
|
10610
10617
|
|
|
@@ -10624,7 +10631,7 @@ const deserializeAws_restJson1ReputationOptions = (output: any, context: __Serde
|
|
|
10624
10631
|
return {
|
|
10625
10632
|
LastFreshStart:
|
|
10626
10633
|
output.LastFreshStart !== undefined && output.LastFreshStart !== null
|
|
10627
|
-
?
|
|
10634
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastFreshStart)))
|
|
10628
10635
|
: undefined,
|
|
10629
10636
|
ReputationMetricsEnabled: __expectBoolean(output.ReputationMetricsEnabled),
|
|
10630
10637
|
} as any;
|
|
@@ -10645,9 +10652,9 @@ const deserializeAws_restJson1SendingOptions = (output: any, context: __SerdeCon
|
|
|
10645
10652
|
|
|
10646
10653
|
const deserializeAws_restJson1SendQuota = (output: any, context: __SerdeContext): SendQuota => {
|
|
10647
10654
|
return {
|
|
10648
|
-
Max24HourSend:
|
|
10649
|
-
MaxSendRate:
|
|
10650
|
-
SentLast24Hours:
|
|
10655
|
+
Max24HourSend: __limitedParseDouble(output.Max24HourSend),
|
|
10656
|
+
MaxSendRate: __limitedParseDouble(output.MaxSendRate),
|
|
10657
|
+
SentLast24Hours: __limitedParseDouble(output.SentLast24Hours),
|
|
10651
10658
|
} as any;
|
|
10652
10659
|
};
|
|
10653
10660
|
|
|
@@ -10666,7 +10673,7 @@ const deserializeAws_restJson1SuppressedDestination = (output: any, context: __S
|
|
|
10666
10673
|
EmailAddress: __expectString(output.EmailAddress),
|
|
10667
10674
|
LastUpdateTime:
|
|
10668
10675
|
output.LastUpdateTime !== undefined && output.LastUpdateTime !== null
|
|
10669
|
-
?
|
|
10676
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastUpdateTime)))
|
|
10670
10677
|
: undefined,
|
|
10671
10678
|
Reason: __expectString(output.Reason),
|
|
10672
10679
|
} as any;
|
|
@@ -10704,7 +10711,7 @@ const deserializeAws_restJson1SuppressedDestinationSummary = (
|
|
|
10704
10711
|
EmailAddress: __expectString(output.EmailAddress),
|
|
10705
10712
|
LastUpdateTime:
|
|
10706
10713
|
output.LastUpdateTime !== undefined && output.LastUpdateTime !== null
|
|
10707
|
-
?
|
|
10714
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastUpdateTime)))
|
|
10708
10715
|
: undefined,
|
|
10709
10716
|
Reason: __expectString(output.Reason),
|
|
10710
10717
|
} as any;
|
|
@@ -10815,10 +10822,10 @@ const deserializeAws_restJson1TrackingOptions = (output: any, context: __SerdeCo
|
|
|
10815
10822
|
|
|
10816
10823
|
const deserializeAws_restJson1VolumeStatistics = (output: any, context: __SerdeContext): VolumeStatistics => {
|
|
10817
10824
|
return {
|
|
10818
|
-
InboxRawCount:
|
|
10819
|
-
ProjectedInbox:
|
|
10820
|
-
ProjectedSpam:
|
|
10821
|
-
SpamRawCount:
|
|
10825
|
+
InboxRawCount: __expectLong(output.InboxRawCount),
|
|
10826
|
+
ProjectedInbox: __expectLong(output.ProjectedInbox),
|
|
10827
|
+
ProjectedSpam: __expectLong(output.ProjectedSpam),
|
|
10828
|
+
SpamRawCount: __expectLong(output.SpamRawCount),
|
|
10822
10829
|
} as any;
|
|
10823
10830
|
};
|
|
10824
10831
|
|