@aws-sdk/client-sesv2 3.54.0 → 3.56.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 +24 -0
- package/dist-cjs/SESv2Client.js +13 -13
- package/dist-cjs/commands/CreateConfigurationSetCommand.js +3 -3
- package/dist-cjs/commands/CreateConfigurationSetEventDestinationCommand.js +3 -3
- package/dist-cjs/commands/CreateContactCommand.js +3 -3
- package/dist-cjs/commands/CreateContactListCommand.js +3 -3
- package/dist-cjs/commands/CreateCustomVerificationEmailTemplateCommand.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/CreateEmailIdentityPolicyCommand.js +3 -3
- package/dist-cjs/commands/CreateEmailTemplateCommand.js +3 -3
- package/dist-cjs/commands/CreateImportJobCommand.js +3 -3
- package/dist-cjs/commands/DeleteConfigurationSetCommand.js +3 -3
- package/dist-cjs/commands/DeleteConfigurationSetEventDestinationCommand.js +3 -3
- package/dist-cjs/commands/DeleteContactCommand.js +3 -3
- package/dist-cjs/commands/DeleteContactListCommand.js +3 -3
- package/dist-cjs/commands/DeleteCustomVerificationEmailTemplateCommand.js +3 -3
- package/dist-cjs/commands/DeleteDedicatedIpPoolCommand.js +3 -3
- package/dist-cjs/commands/DeleteEmailIdentityCommand.js +3 -3
- package/dist-cjs/commands/DeleteEmailIdentityPolicyCommand.js +3 -3
- package/dist-cjs/commands/DeleteEmailTemplateCommand.js +3 -3
- package/dist-cjs/commands/DeleteSuppressedDestinationCommand.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/GetContactCommand.js +3 -3
- package/dist-cjs/commands/GetContactListCommand.js +3 -3
- package/dist-cjs/commands/GetCustomVerificationEmailTemplateCommand.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/GetEmailIdentityPoliciesCommand.js +3 -3
- package/dist-cjs/commands/GetEmailTemplateCommand.js +3 -3
- package/dist-cjs/commands/GetImportJobCommand.js +3 -3
- package/dist-cjs/commands/GetSuppressedDestinationCommand.js +3 -3
- package/dist-cjs/commands/ListConfigurationSetsCommand.js +3 -3
- package/dist-cjs/commands/ListContactListsCommand.js +3 -3
- package/dist-cjs/commands/ListContactsCommand.js +3 -3
- package/dist-cjs/commands/ListCustomVerificationEmailTemplatesCommand.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/ListEmailTemplatesCommand.js +3 -3
- package/dist-cjs/commands/ListImportJobsCommand.js +3 -3
- package/dist-cjs/commands/ListSuppressedDestinationsCommand.js +3 -3
- package/dist-cjs/commands/ListTagsForResourceCommand.js +3 -3
- package/dist-cjs/commands/PutAccountDedicatedIpWarmupAttributesCommand.js +3 -3
- package/dist-cjs/commands/PutAccountDetailsCommand.js +3 -3
- package/dist-cjs/commands/PutAccountSendingAttributesCommand.js +3 -3
- package/dist-cjs/commands/PutAccountSuppressionAttributesCommand.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/PutConfigurationSetSuppressionOptionsCommand.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/PutEmailIdentityConfigurationSetAttributesCommand.js +3 -3
- package/dist-cjs/commands/PutEmailIdentityDkimAttributesCommand.js +3 -3
- package/dist-cjs/commands/PutEmailIdentityDkimSigningAttributesCommand.js +3 -3
- package/dist-cjs/commands/PutEmailIdentityFeedbackAttributesCommand.js +3 -3
- package/dist-cjs/commands/PutEmailIdentityMailFromAttributesCommand.js +3 -3
- package/dist-cjs/commands/PutSuppressedDestinationCommand.js +3 -3
- package/dist-cjs/commands/SendBulkEmailCommand.js +3 -3
- package/dist-cjs/commands/SendCustomVerificationEmailCommand.js +3 -3
- package/dist-cjs/commands/SendEmailCommand.js +3 -3
- package/dist-cjs/commands/TagResourceCommand.js +3 -3
- package/dist-cjs/commands/TestRenderEmailTemplateCommand.js +3 -3
- package/dist-cjs/commands/UntagResourceCommand.js +3 -3
- package/dist-cjs/commands/UpdateConfigurationSetEventDestinationCommand.js +3 -3
- package/dist-cjs/commands/UpdateContactCommand.js +3 -3
- package/dist-cjs/commands/UpdateContactListCommand.js +3 -3
- package/dist-cjs/commands/UpdateCustomVerificationEmailTemplateCommand.js +3 -3
- package/dist-cjs/commands/UpdateEmailIdentityPolicyCommand.js +3 -3
- package/dist-cjs/commands/UpdateEmailTemplateCommand.js +3 -3
- package/dist-cjs/endpoints.js +1 -1
- package/dist-cjs/protocols/Aws_restJson1.js +391 -391
- 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/SESv2.js +81 -81
- package/dist-es/pagination/GetDedicatedIpsPaginator.js +4 -4
- package/dist-es/pagination/ListConfigurationSetsPaginator.js +4 -4
- package/dist-es/pagination/ListContactListsPaginator.js +4 -4
- package/dist-es/pagination/ListContactsPaginator.js +4 -4
- package/dist-es/pagination/ListCustomVerificationEmailTemplatesPaginator.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/pagination/ListEmailTemplatesPaginator.js +4 -4
- package/dist-es/pagination/ListImportJobsPaginator.js +4 -4
- package/dist-es/pagination/ListSuppressedDestinationsPaginator.js +4 -4
- package/dist-es/protocols/Aws_restJson1.js +81 -81
- 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
|
@@ -64,7 +64,7 @@ const serializeAws_restJson1CreateConfigurationSetEventDestinationCommand = asyn
|
|
|
64
64
|
if (labelValue.length <= 0) {
|
|
65
65
|
throw new Error("Empty value provided for input HTTP label: ConfigurationSetName.");
|
|
66
66
|
}
|
|
67
|
-
resolvedPath = resolvedPath.replace("{ConfigurationSetName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
67
|
+
resolvedPath = resolvedPath.replace("{ConfigurationSetName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
68
68
|
}
|
|
69
69
|
else {
|
|
70
70
|
throw new Error("No value provided for input HTTP label: ConfigurationSetName.");
|
|
@@ -101,7 +101,7 @@ const serializeAws_restJson1CreateContactCommand = async (input, context) => {
|
|
|
101
101
|
if (labelValue.length <= 0) {
|
|
102
102
|
throw new Error("Empty value provided for input HTTP label: ContactListName.");
|
|
103
103
|
}
|
|
104
|
-
resolvedPath = resolvedPath.replace("{ContactListName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
104
|
+
resolvedPath = resolvedPath.replace("{ContactListName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
105
105
|
}
|
|
106
106
|
else {
|
|
107
107
|
throw new Error("No value provided for input HTTP label: ContactListName.");
|
|
@@ -279,7 +279,7 @@ const serializeAws_restJson1CreateEmailIdentityPolicyCommand = async (input, con
|
|
|
279
279
|
if (labelValue.length <= 0) {
|
|
280
280
|
throw new Error("Empty value provided for input HTTP label: EmailIdentity.");
|
|
281
281
|
}
|
|
282
|
-
resolvedPath = resolvedPath.replace("{EmailIdentity}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
282
|
+
resolvedPath = resolvedPath.replace("{EmailIdentity}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
283
283
|
}
|
|
284
284
|
else {
|
|
285
285
|
throw new Error("No value provided for input HTTP label: EmailIdentity.");
|
|
@@ -289,7 +289,7 @@ const serializeAws_restJson1CreateEmailIdentityPolicyCommand = async (input, con
|
|
|
289
289
|
if (labelValue.length <= 0) {
|
|
290
290
|
throw new Error("Empty value provided for input HTTP label: PolicyName.");
|
|
291
291
|
}
|
|
292
|
-
resolvedPath = resolvedPath.replace("{PolicyName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
292
|
+
resolvedPath = resolvedPath.replace("{PolicyName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
293
293
|
}
|
|
294
294
|
else {
|
|
295
295
|
throw new Error("No value provided for input HTTP label: PolicyName.");
|
|
@@ -372,7 +372,7 @@ const serializeAws_restJson1DeleteConfigurationSetCommand = async (input, contex
|
|
|
372
372
|
if (labelValue.length <= 0) {
|
|
373
373
|
throw new Error("Empty value provided for input HTTP label: ConfigurationSetName.");
|
|
374
374
|
}
|
|
375
|
-
resolvedPath = resolvedPath.replace("{ConfigurationSetName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
375
|
+
resolvedPath = resolvedPath.replace("{ConfigurationSetName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
376
376
|
}
|
|
377
377
|
else {
|
|
378
378
|
throw new Error("No value provided for input HTTP label: ConfigurationSetName.");
|
|
@@ -399,7 +399,7 @@ const serializeAws_restJson1DeleteConfigurationSetEventDestinationCommand = asyn
|
|
|
399
399
|
if (labelValue.length <= 0) {
|
|
400
400
|
throw new Error("Empty value provided for input HTTP label: ConfigurationSetName.");
|
|
401
401
|
}
|
|
402
|
-
resolvedPath = resolvedPath.replace("{ConfigurationSetName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
402
|
+
resolvedPath = resolvedPath.replace("{ConfigurationSetName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
403
403
|
}
|
|
404
404
|
else {
|
|
405
405
|
throw new Error("No value provided for input HTTP label: ConfigurationSetName.");
|
|
@@ -409,7 +409,7 @@ const serializeAws_restJson1DeleteConfigurationSetEventDestinationCommand = asyn
|
|
|
409
409
|
if (labelValue.length <= 0) {
|
|
410
410
|
throw new Error("Empty value provided for input HTTP label: EventDestinationName.");
|
|
411
411
|
}
|
|
412
|
-
resolvedPath = resolvedPath.replace("{EventDestinationName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
412
|
+
resolvedPath = resolvedPath.replace("{EventDestinationName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
413
413
|
}
|
|
414
414
|
else {
|
|
415
415
|
throw new Error("No value provided for input HTTP label: EventDestinationName.");
|
|
@@ -436,7 +436,7 @@ const serializeAws_restJson1DeleteContactCommand = async (input, context) => {
|
|
|
436
436
|
if (labelValue.length <= 0) {
|
|
437
437
|
throw new Error("Empty value provided for input HTTP label: ContactListName.");
|
|
438
438
|
}
|
|
439
|
-
resolvedPath = resolvedPath.replace("{ContactListName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
439
|
+
resolvedPath = resolvedPath.replace("{ContactListName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
440
440
|
}
|
|
441
441
|
else {
|
|
442
442
|
throw new Error("No value provided for input HTTP label: ContactListName.");
|
|
@@ -446,7 +446,7 @@ const serializeAws_restJson1DeleteContactCommand = async (input, context) => {
|
|
|
446
446
|
if (labelValue.length <= 0) {
|
|
447
447
|
throw new Error("Empty value provided for input HTTP label: EmailAddress.");
|
|
448
448
|
}
|
|
449
|
-
resolvedPath = resolvedPath.replace("{EmailAddress}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
449
|
+
resolvedPath = resolvedPath.replace("{EmailAddress}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
450
450
|
}
|
|
451
451
|
else {
|
|
452
452
|
throw new Error("No value provided for input HTTP label: EmailAddress.");
|
|
@@ -472,7 +472,7 @@ const serializeAws_restJson1DeleteContactListCommand = async (input, context) =>
|
|
|
472
472
|
if (labelValue.length <= 0) {
|
|
473
473
|
throw new Error("Empty value provided for input HTTP label: ContactListName.");
|
|
474
474
|
}
|
|
475
|
-
resolvedPath = resolvedPath.replace("{ContactListName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
475
|
+
resolvedPath = resolvedPath.replace("{ContactListName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
476
476
|
}
|
|
477
477
|
else {
|
|
478
478
|
throw new Error("No value provided for input HTTP label: ContactListName.");
|
|
@@ -499,7 +499,7 @@ const serializeAws_restJson1DeleteCustomVerificationEmailTemplateCommand = async
|
|
|
499
499
|
if (labelValue.length <= 0) {
|
|
500
500
|
throw new Error("Empty value provided for input HTTP label: TemplateName.");
|
|
501
501
|
}
|
|
502
|
-
resolvedPath = resolvedPath.replace("{TemplateName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
502
|
+
resolvedPath = resolvedPath.replace("{TemplateName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
503
503
|
}
|
|
504
504
|
else {
|
|
505
505
|
throw new Error("No value provided for input HTTP label: TemplateName.");
|
|
@@ -525,7 +525,7 @@ const serializeAws_restJson1DeleteDedicatedIpPoolCommand = async (input, context
|
|
|
525
525
|
if (labelValue.length <= 0) {
|
|
526
526
|
throw new Error("Empty value provided for input HTTP label: PoolName.");
|
|
527
527
|
}
|
|
528
|
-
resolvedPath = resolvedPath.replace("{PoolName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
528
|
+
resolvedPath = resolvedPath.replace("{PoolName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
529
529
|
}
|
|
530
530
|
else {
|
|
531
531
|
throw new Error("No value provided for input HTTP label: PoolName.");
|
|
@@ -551,7 +551,7 @@ const serializeAws_restJson1DeleteEmailIdentityCommand = async (input, context)
|
|
|
551
551
|
if (labelValue.length <= 0) {
|
|
552
552
|
throw new Error("Empty value provided for input HTTP label: EmailIdentity.");
|
|
553
553
|
}
|
|
554
|
-
resolvedPath = resolvedPath.replace("{EmailIdentity}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
554
|
+
resolvedPath = resolvedPath.replace("{EmailIdentity}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
555
555
|
}
|
|
556
556
|
else {
|
|
557
557
|
throw new Error("No value provided for input HTTP label: EmailIdentity.");
|
|
@@ -578,7 +578,7 @@ const serializeAws_restJson1DeleteEmailIdentityPolicyCommand = async (input, con
|
|
|
578
578
|
if (labelValue.length <= 0) {
|
|
579
579
|
throw new Error("Empty value provided for input HTTP label: EmailIdentity.");
|
|
580
580
|
}
|
|
581
|
-
resolvedPath = resolvedPath.replace("{EmailIdentity}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
581
|
+
resolvedPath = resolvedPath.replace("{EmailIdentity}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
582
582
|
}
|
|
583
583
|
else {
|
|
584
584
|
throw new Error("No value provided for input HTTP label: EmailIdentity.");
|
|
@@ -588,7 +588,7 @@ const serializeAws_restJson1DeleteEmailIdentityPolicyCommand = async (input, con
|
|
|
588
588
|
if (labelValue.length <= 0) {
|
|
589
589
|
throw new Error("Empty value provided for input HTTP label: PolicyName.");
|
|
590
590
|
}
|
|
591
|
-
resolvedPath = resolvedPath.replace("{PolicyName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
591
|
+
resolvedPath = resolvedPath.replace("{PolicyName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
592
592
|
}
|
|
593
593
|
else {
|
|
594
594
|
throw new Error("No value provided for input HTTP label: PolicyName.");
|
|
@@ -614,7 +614,7 @@ const serializeAws_restJson1DeleteEmailTemplateCommand = async (input, context)
|
|
|
614
614
|
if (labelValue.length <= 0) {
|
|
615
615
|
throw new Error("Empty value provided for input HTTP label: TemplateName.");
|
|
616
616
|
}
|
|
617
|
-
resolvedPath = resolvedPath.replace("{TemplateName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
617
|
+
resolvedPath = resolvedPath.replace("{TemplateName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
618
618
|
}
|
|
619
619
|
else {
|
|
620
620
|
throw new Error("No value provided for input HTTP label: TemplateName.");
|
|
@@ -641,7 +641,7 @@ const serializeAws_restJson1DeleteSuppressedDestinationCommand = async (input, c
|
|
|
641
641
|
if (labelValue.length <= 0) {
|
|
642
642
|
throw new Error("Empty value provided for input HTTP label: EmailAddress.");
|
|
643
643
|
}
|
|
644
|
-
resolvedPath = resolvedPath.replace("{EmailAddress}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
644
|
+
resolvedPath = resolvedPath.replace("{EmailAddress}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
645
645
|
}
|
|
646
646
|
else {
|
|
647
647
|
throw new Error("No value provided for input HTTP label: EmailAddress.");
|
|
@@ -710,7 +710,7 @@ const serializeAws_restJson1GetConfigurationSetCommand = async (input, context)
|
|
|
710
710
|
if (labelValue.length <= 0) {
|
|
711
711
|
throw new Error("Empty value provided for input HTTP label: ConfigurationSetName.");
|
|
712
712
|
}
|
|
713
|
-
resolvedPath = resolvedPath.replace("{ConfigurationSetName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
713
|
+
resolvedPath = resolvedPath.replace("{ConfigurationSetName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
714
714
|
}
|
|
715
715
|
else {
|
|
716
716
|
throw new Error("No value provided for input HTTP label: ConfigurationSetName.");
|
|
@@ -737,7 +737,7 @@ const serializeAws_restJson1GetConfigurationSetEventDestinationsCommand = async
|
|
|
737
737
|
if (labelValue.length <= 0) {
|
|
738
738
|
throw new Error("Empty value provided for input HTTP label: ConfigurationSetName.");
|
|
739
739
|
}
|
|
740
|
-
resolvedPath = resolvedPath.replace("{ConfigurationSetName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
740
|
+
resolvedPath = resolvedPath.replace("{ConfigurationSetName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
741
741
|
}
|
|
742
742
|
else {
|
|
743
743
|
throw new Error("No value provided for input HTTP label: ConfigurationSetName.");
|
|
@@ -764,7 +764,7 @@ const serializeAws_restJson1GetContactCommand = async (input, context) => {
|
|
|
764
764
|
if (labelValue.length <= 0) {
|
|
765
765
|
throw new Error("Empty value provided for input HTTP label: ContactListName.");
|
|
766
766
|
}
|
|
767
|
-
resolvedPath = resolvedPath.replace("{ContactListName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
767
|
+
resolvedPath = resolvedPath.replace("{ContactListName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
768
768
|
}
|
|
769
769
|
else {
|
|
770
770
|
throw new Error("No value provided for input HTTP label: ContactListName.");
|
|
@@ -774,7 +774,7 @@ const serializeAws_restJson1GetContactCommand = async (input, context) => {
|
|
|
774
774
|
if (labelValue.length <= 0) {
|
|
775
775
|
throw new Error("Empty value provided for input HTTP label: EmailAddress.");
|
|
776
776
|
}
|
|
777
|
-
resolvedPath = resolvedPath.replace("{EmailAddress}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
777
|
+
resolvedPath = resolvedPath.replace("{EmailAddress}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
778
778
|
}
|
|
779
779
|
else {
|
|
780
780
|
throw new Error("No value provided for input HTTP label: EmailAddress.");
|
|
@@ -800,7 +800,7 @@ const serializeAws_restJson1GetContactListCommand = async (input, context) => {
|
|
|
800
800
|
if (labelValue.length <= 0) {
|
|
801
801
|
throw new Error("Empty value provided for input HTTP label: ContactListName.");
|
|
802
802
|
}
|
|
803
|
-
resolvedPath = resolvedPath.replace("{ContactListName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
803
|
+
resolvedPath = resolvedPath.replace("{ContactListName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
804
804
|
}
|
|
805
805
|
else {
|
|
806
806
|
throw new Error("No value provided for input HTTP label: ContactListName.");
|
|
@@ -827,7 +827,7 @@ const serializeAws_restJson1GetCustomVerificationEmailTemplateCommand = async (i
|
|
|
827
827
|
if (labelValue.length <= 0) {
|
|
828
828
|
throw new Error("Empty value provided for input HTTP label: TemplateName.");
|
|
829
829
|
}
|
|
830
|
-
resolvedPath = resolvedPath.replace("{TemplateName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
830
|
+
resolvedPath = resolvedPath.replace("{TemplateName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
831
831
|
}
|
|
832
832
|
else {
|
|
833
833
|
throw new Error("No value provided for input HTTP label: TemplateName.");
|
|
@@ -853,7 +853,7 @@ const serializeAws_restJson1GetDedicatedIpCommand = async (input, context) => {
|
|
|
853
853
|
if (labelValue.length <= 0) {
|
|
854
854
|
throw new Error("Empty value provided for input HTTP label: Ip.");
|
|
855
855
|
}
|
|
856
|
-
resolvedPath = resolvedPath.replace("{Ip}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
856
|
+
resolvedPath = resolvedPath.replace("{Ip}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
857
857
|
}
|
|
858
858
|
else {
|
|
859
859
|
throw new Error("No value provided for input HTTP label: Ip.");
|
|
@@ -921,7 +921,7 @@ const serializeAws_restJson1GetDeliverabilityTestReportCommand = async (input, c
|
|
|
921
921
|
if (labelValue.length <= 0) {
|
|
922
922
|
throw new Error("Empty value provided for input HTTP label: ReportId.");
|
|
923
923
|
}
|
|
924
|
-
resolvedPath = resolvedPath.replace("{ReportId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
924
|
+
resolvedPath = resolvedPath.replace("{ReportId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
925
925
|
}
|
|
926
926
|
else {
|
|
927
927
|
throw new Error("No value provided for input HTTP label: ReportId.");
|
|
@@ -948,7 +948,7 @@ const serializeAws_restJson1GetDomainDeliverabilityCampaignCommand = async (inpu
|
|
|
948
948
|
if (labelValue.length <= 0) {
|
|
949
949
|
throw new Error("Empty value provided for input HTTP label: CampaignId.");
|
|
950
950
|
}
|
|
951
|
-
resolvedPath = resolvedPath.replace("{CampaignId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
951
|
+
resolvedPath = resolvedPath.replace("{CampaignId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
952
952
|
}
|
|
953
953
|
else {
|
|
954
954
|
throw new Error("No value provided for input HTTP label: CampaignId.");
|
|
@@ -975,7 +975,7 @@ const serializeAws_restJson1GetDomainStatisticsReportCommand = async (input, con
|
|
|
975
975
|
if (labelValue.length <= 0) {
|
|
976
976
|
throw new Error("Empty value provided for input HTTP label: Domain.");
|
|
977
977
|
}
|
|
978
|
-
resolvedPath = resolvedPath.replace("{Domain}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
978
|
+
resolvedPath = resolvedPath.replace("{Domain}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
979
979
|
}
|
|
980
980
|
else {
|
|
981
981
|
throw new Error("No value provided for input HTTP label: Domain.");
|
|
@@ -1006,7 +1006,7 @@ const serializeAws_restJson1GetEmailIdentityCommand = async (input, context) =>
|
|
|
1006
1006
|
if (labelValue.length <= 0) {
|
|
1007
1007
|
throw new Error("Empty value provided for input HTTP label: EmailIdentity.");
|
|
1008
1008
|
}
|
|
1009
|
-
resolvedPath = resolvedPath.replace("{EmailIdentity}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1009
|
+
resolvedPath = resolvedPath.replace("{EmailIdentity}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
1010
1010
|
}
|
|
1011
1011
|
else {
|
|
1012
1012
|
throw new Error("No value provided for input HTTP label: EmailIdentity.");
|
|
@@ -1033,7 +1033,7 @@ const serializeAws_restJson1GetEmailIdentityPoliciesCommand = async (input, cont
|
|
|
1033
1033
|
if (labelValue.length <= 0) {
|
|
1034
1034
|
throw new Error("Empty value provided for input HTTP label: EmailIdentity.");
|
|
1035
1035
|
}
|
|
1036
|
-
resolvedPath = resolvedPath.replace("{EmailIdentity}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1036
|
+
resolvedPath = resolvedPath.replace("{EmailIdentity}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
1037
1037
|
}
|
|
1038
1038
|
else {
|
|
1039
1039
|
throw new Error("No value provided for input HTTP label: EmailIdentity.");
|
|
@@ -1059,7 +1059,7 @@ const serializeAws_restJson1GetEmailTemplateCommand = async (input, context) =>
|
|
|
1059
1059
|
if (labelValue.length <= 0) {
|
|
1060
1060
|
throw new Error("Empty value provided for input HTTP label: TemplateName.");
|
|
1061
1061
|
}
|
|
1062
|
-
resolvedPath = resolvedPath.replace("{TemplateName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1062
|
+
resolvedPath = resolvedPath.replace("{TemplateName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
1063
1063
|
}
|
|
1064
1064
|
else {
|
|
1065
1065
|
throw new Error("No value provided for input HTTP label: TemplateName.");
|
|
@@ -1085,7 +1085,7 @@ const serializeAws_restJson1GetImportJobCommand = async (input, context) => {
|
|
|
1085
1085
|
if (labelValue.length <= 0) {
|
|
1086
1086
|
throw new Error("Empty value provided for input HTTP label: JobId.");
|
|
1087
1087
|
}
|
|
1088
|
-
resolvedPath = resolvedPath.replace("{JobId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1088
|
+
resolvedPath = resolvedPath.replace("{JobId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
1089
1089
|
}
|
|
1090
1090
|
else {
|
|
1091
1091
|
throw new Error("No value provided for input HTTP label: JobId.");
|
|
@@ -1112,7 +1112,7 @@ const serializeAws_restJson1GetSuppressedDestinationCommand = async (input, cont
|
|
|
1112
1112
|
if (labelValue.length <= 0) {
|
|
1113
1113
|
throw new Error("Empty value provided for input HTTP label: EmailAddress.");
|
|
1114
1114
|
}
|
|
1115
|
-
resolvedPath = resolvedPath.replace("{EmailAddress}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1115
|
+
resolvedPath = resolvedPath.replace("{EmailAddress}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
1116
1116
|
}
|
|
1117
1117
|
else {
|
|
1118
1118
|
throw new Error("No value provided for input HTTP label: EmailAddress.");
|
|
@@ -1183,7 +1183,7 @@ const serializeAws_restJson1ListContactsCommand = async (input, context) => {
|
|
|
1183
1183
|
if (labelValue.length <= 0) {
|
|
1184
1184
|
throw new Error("Empty value provided for input HTTP label: ContactListName.");
|
|
1185
1185
|
}
|
|
1186
|
-
resolvedPath = resolvedPath.replace("{ContactListName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1186
|
+
resolvedPath = resolvedPath.replace("{ContactListName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
1187
1187
|
}
|
|
1188
1188
|
else {
|
|
1189
1189
|
throw new Error("No value provided for input HTTP label: ContactListName.");
|
|
@@ -1284,7 +1284,7 @@ const serializeAws_restJson1ListDomainDeliverabilityCampaignsCommand = async (in
|
|
|
1284
1284
|
if (labelValue.length <= 0) {
|
|
1285
1285
|
throw new Error("Empty value provided for input HTTP label: SubscribedDomain.");
|
|
1286
1286
|
}
|
|
1287
|
-
resolvedPath = resolvedPath.replace("{SubscribedDomain}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1287
|
+
resolvedPath = resolvedPath.replace("{SubscribedDomain}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
1288
1288
|
}
|
|
1289
1289
|
else {
|
|
1290
1290
|
throw new Error("No value provided for input HTTP label: SubscribedDomain.");
|
|
@@ -1533,7 +1533,7 @@ const serializeAws_restJson1PutConfigurationSetDeliveryOptionsCommand = async (i
|
|
|
1533
1533
|
if (labelValue.length <= 0) {
|
|
1534
1534
|
throw new Error("Empty value provided for input HTTP label: ConfigurationSetName.");
|
|
1535
1535
|
}
|
|
1536
|
-
resolvedPath = resolvedPath.replace("{ConfigurationSetName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1536
|
+
resolvedPath = resolvedPath.replace("{ConfigurationSetName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
1537
1537
|
}
|
|
1538
1538
|
else {
|
|
1539
1539
|
throw new Error("No value provided for input HTTP label: ConfigurationSetName.");
|
|
@@ -1567,7 +1567,7 @@ const serializeAws_restJson1PutConfigurationSetReputationOptionsCommand = async
|
|
|
1567
1567
|
if (labelValue.length <= 0) {
|
|
1568
1568
|
throw new Error("Empty value provided for input HTTP label: ConfigurationSetName.");
|
|
1569
1569
|
}
|
|
1570
|
-
resolvedPath = resolvedPath.replace("{ConfigurationSetName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1570
|
+
resolvedPath = resolvedPath.replace("{ConfigurationSetName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
1571
1571
|
}
|
|
1572
1572
|
else {
|
|
1573
1573
|
throw new Error("No value provided for input HTTP label: ConfigurationSetName.");
|
|
@@ -1600,7 +1600,7 @@ const serializeAws_restJson1PutConfigurationSetSendingOptionsCommand = async (in
|
|
|
1600
1600
|
if (labelValue.length <= 0) {
|
|
1601
1601
|
throw new Error("Empty value provided for input HTTP label: ConfigurationSetName.");
|
|
1602
1602
|
}
|
|
1603
|
-
resolvedPath = resolvedPath.replace("{ConfigurationSetName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1603
|
+
resolvedPath = resolvedPath.replace("{ConfigurationSetName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
1604
1604
|
}
|
|
1605
1605
|
else {
|
|
1606
1606
|
throw new Error("No value provided for input HTTP label: ConfigurationSetName.");
|
|
@@ -1633,7 +1633,7 @@ const serializeAws_restJson1PutConfigurationSetSuppressionOptionsCommand = async
|
|
|
1633
1633
|
if (labelValue.length <= 0) {
|
|
1634
1634
|
throw new Error("Empty value provided for input HTTP label: ConfigurationSetName.");
|
|
1635
1635
|
}
|
|
1636
|
-
resolvedPath = resolvedPath.replace("{ConfigurationSetName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1636
|
+
resolvedPath = resolvedPath.replace("{ConfigurationSetName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
1637
1637
|
}
|
|
1638
1638
|
else {
|
|
1639
1639
|
throw new Error("No value provided for input HTTP label: ConfigurationSetName.");
|
|
@@ -1668,7 +1668,7 @@ const serializeAws_restJson1PutConfigurationSetTrackingOptionsCommand = async (i
|
|
|
1668
1668
|
if (labelValue.length <= 0) {
|
|
1669
1669
|
throw new Error("Empty value provided for input HTTP label: ConfigurationSetName.");
|
|
1670
1670
|
}
|
|
1671
|
-
resolvedPath = resolvedPath.replace("{ConfigurationSetName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1671
|
+
resolvedPath = resolvedPath.replace("{ConfigurationSetName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
1672
1672
|
}
|
|
1673
1673
|
else {
|
|
1674
1674
|
throw new Error("No value provided for input HTTP label: ConfigurationSetName.");
|
|
@@ -1700,7 +1700,7 @@ const serializeAws_restJson1PutDedicatedIpInPoolCommand = async (input, context)
|
|
|
1700
1700
|
if (labelValue.length <= 0) {
|
|
1701
1701
|
throw new Error("Empty value provided for input HTTP label: Ip.");
|
|
1702
1702
|
}
|
|
1703
|
-
resolvedPath = resolvedPath.replace("{Ip}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1703
|
+
resolvedPath = resolvedPath.replace("{Ip}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
1704
1704
|
}
|
|
1705
1705
|
else {
|
|
1706
1706
|
throw new Error("No value provided for input HTTP label: Ip.");
|
|
@@ -1732,7 +1732,7 @@ const serializeAws_restJson1PutDedicatedIpWarmupAttributesCommand = async (input
|
|
|
1732
1732
|
if (labelValue.length <= 0) {
|
|
1733
1733
|
throw new Error("Empty value provided for input HTTP label: Ip.");
|
|
1734
1734
|
}
|
|
1735
|
-
resolvedPath = resolvedPath.replace("{Ip}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1735
|
+
resolvedPath = resolvedPath.replace("{Ip}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
1736
1736
|
}
|
|
1737
1737
|
else {
|
|
1738
1738
|
throw new Error("No value provided for input HTTP label: Ip.");
|
|
@@ -1791,7 +1791,7 @@ const serializeAws_restJson1PutEmailIdentityConfigurationSetAttributesCommand =
|
|
|
1791
1791
|
if (labelValue.length <= 0) {
|
|
1792
1792
|
throw new Error("Empty value provided for input HTTP label: EmailIdentity.");
|
|
1793
1793
|
}
|
|
1794
|
-
resolvedPath = resolvedPath.replace("{EmailIdentity}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1794
|
+
resolvedPath = resolvedPath.replace("{EmailIdentity}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
1795
1795
|
}
|
|
1796
1796
|
else {
|
|
1797
1797
|
throw new Error("No value provided for input HTTP label: EmailIdentity.");
|
|
@@ -1823,7 +1823,7 @@ const serializeAws_restJson1PutEmailIdentityDkimAttributesCommand = async (input
|
|
|
1823
1823
|
if (labelValue.length <= 0) {
|
|
1824
1824
|
throw new Error("Empty value provided for input HTTP label: EmailIdentity.");
|
|
1825
1825
|
}
|
|
1826
|
-
resolvedPath = resolvedPath.replace("{EmailIdentity}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1826
|
+
resolvedPath = resolvedPath.replace("{EmailIdentity}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
1827
1827
|
}
|
|
1828
1828
|
else {
|
|
1829
1829
|
throw new Error("No value provided for input HTTP label: EmailIdentity.");
|
|
@@ -1856,7 +1856,7 @@ const serializeAws_restJson1PutEmailIdentityDkimSigningAttributesCommand = async
|
|
|
1856
1856
|
if (labelValue.length <= 0) {
|
|
1857
1857
|
throw new Error("Empty value provided for input HTTP label: EmailIdentity.");
|
|
1858
1858
|
}
|
|
1859
|
-
resolvedPath = resolvedPath.replace("{EmailIdentity}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1859
|
+
resolvedPath = resolvedPath.replace("{EmailIdentity}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
1860
1860
|
}
|
|
1861
1861
|
else {
|
|
1862
1862
|
throw new Error("No value provided for input HTTP label: EmailIdentity.");
|
|
@@ -1893,7 +1893,7 @@ const serializeAws_restJson1PutEmailIdentityFeedbackAttributesCommand = async (i
|
|
|
1893
1893
|
if (labelValue.length <= 0) {
|
|
1894
1894
|
throw new Error("Empty value provided for input HTTP label: EmailIdentity.");
|
|
1895
1895
|
}
|
|
1896
|
-
resolvedPath = resolvedPath.replace("{EmailIdentity}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1896
|
+
resolvedPath = resolvedPath.replace("{EmailIdentity}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
1897
1897
|
}
|
|
1898
1898
|
else {
|
|
1899
1899
|
throw new Error("No value provided for input HTTP label: EmailIdentity.");
|
|
@@ -1926,7 +1926,7 @@ const serializeAws_restJson1PutEmailIdentityMailFromAttributesCommand = async (i
|
|
|
1926
1926
|
if (labelValue.length <= 0) {
|
|
1927
1927
|
throw new Error("Empty value provided for input HTTP label: EmailIdentity.");
|
|
1928
1928
|
}
|
|
1929
|
-
resolvedPath = resolvedPath.replace("{EmailIdentity}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1929
|
+
resolvedPath = resolvedPath.replace("{EmailIdentity}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
1930
1930
|
}
|
|
1931
1931
|
else {
|
|
1932
1932
|
throw new Error("No value provided for input HTTP label: EmailIdentity.");
|
|
@@ -2128,7 +2128,7 @@ const serializeAws_restJson1TestRenderEmailTemplateCommand = async (input, conte
|
|
|
2128
2128
|
if (labelValue.length <= 0) {
|
|
2129
2129
|
throw new Error("Empty value provided for input HTTP label: TemplateName.");
|
|
2130
2130
|
}
|
|
2131
|
-
resolvedPath = resolvedPath.replace("{TemplateName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
2131
|
+
resolvedPath = resolvedPath.replace("{TemplateName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
2132
2132
|
}
|
|
2133
2133
|
else {
|
|
2134
2134
|
throw new Error("No value provided for input HTTP label: TemplateName.");
|
|
@@ -2181,7 +2181,7 @@ const serializeAws_restJson1UpdateConfigurationSetEventDestinationCommand = asyn
|
|
|
2181
2181
|
if (labelValue.length <= 0) {
|
|
2182
2182
|
throw new Error("Empty value provided for input HTTP label: ConfigurationSetName.");
|
|
2183
2183
|
}
|
|
2184
|
-
resolvedPath = resolvedPath.replace("{ConfigurationSetName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
2184
|
+
resolvedPath = resolvedPath.replace("{ConfigurationSetName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
2185
2185
|
}
|
|
2186
2186
|
else {
|
|
2187
2187
|
throw new Error("No value provided for input HTTP label: ConfigurationSetName.");
|
|
@@ -2191,7 +2191,7 @@ const serializeAws_restJson1UpdateConfigurationSetEventDestinationCommand = asyn
|
|
|
2191
2191
|
if (labelValue.length <= 0) {
|
|
2192
2192
|
throw new Error("Empty value provided for input HTTP label: EventDestinationName.");
|
|
2193
2193
|
}
|
|
2194
|
-
resolvedPath = resolvedPath.replace("{EventDestinationName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
2194
|
+
resolvedPath = resolvedPath.replace("{EventDestinationName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
2195
2195
|
}
|
|
2196
2196
|
else {
|
|
2197
2197
|
throw new Error("No value provided for input HTTP label: EventDestinationName.");
|
|
@@ -2226,7 +2226,7 @@ const serializeAws_restJson1UpdateContactCommand = async (input, context) => {
|
|
|
2226
2226
|
if (labelValue.length <= 0) {
|
|
2227
2227
|
throw new Error("Empty value provided for input HTTP label: ContactListName.");
|
|
2228
2228
|
}
|
|
2229
|
-
resolvedPath = resolvedPath.replace("{ContactListName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
2229
|
+
resolvedPath = resolvedPath.replace("{ContactListName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
2230
2230
|
}
|
|
2231
2231
|
else {
|
|
2232
2232
|
throw new Error("No value provided for input HTTP label: ContactListName.");
|
|
@@ -2236,7 +2236,7 @@ const serializeAws_restJson1UpdateContactCommand = async (input, context) => {
|
|
|
2236
2236
|
if (labelValue.length <= 0) {
|
|
2237
2237
|
throw new Error("Empty value provided for input HTTP label: EmailAddress.");
|
|
2238
2238
|
}
|
|
2239
|
-
resolvedPath = resolvedPath.replace("{EmailAddress}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
2239
|
+
resolvedPath = resolvedPath.replace("{EmailAddress}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
2240
2240
|
}
|
|
2241
2241
|
else {
|
|
2242
2242
|
throw new Error("No value provided for input HTTP label: EmailAddress.");
|
|
@@ -2274,7 +2274,7 @@ const serializeAws_restJson1UpdateContactListCommand = async (input, context) =>
|
|
|
2274
2274
|
if (labelValue.length <= 0) {
|
|
2275
2275
|
throw new Error("Empty value provided for input HTTP label: ContactListName.");
|
|
2276
2276
|
}
|
|
2277
|
-
resolvedPath = resolvedPath.replace("{ContactListName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
2277
|
+
resolvedPath = resolvedPath.replace("{ContactListName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
2278
2278
|
}
|
|
2279
2279
|
else {
|
|
2280
2280
|
throw new Error("No value provided for input HTTP label: ContactListName.");
|
|
@@ -2308,7 +2308,7 @@ const serializeAws_restJson1UpdateCustomVerificationEmailTemplateCommand = async
|
|
|
2308
2308
|
if (labelValue.length <= 0) {
|
|
2309
2309
|
throw new Error("Empty value provided for input HTTP label: TemplateName.");
|
|
2310
2310
|
}
|
|
2311
|
-
resolvedPath = resolvedPath.replace("{TemplateName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
2311
|
+
resolvedPath = resolvedPath.replace("{TemplateName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
2312
2312
|
}
|
|
2313
2313
|
else {
|
|
2314
2314
|
throw new Error("No value provided for input HTTP label: TemplateName.");
|
|
@@ -2349,7 +2349,7 @@ const serializeAws_restJson1UpdateEmailIdentityPolicyCommand = async (input, con
|
|
|
2349
2349
|
if (labelValue.length <= 0) {
|
|
2350
2350
|
throw new Error("Empty value provided for input HTTP label: EmailIdentity.");
|
|
2351
2351
|
}
|
|
2352
|
-
resolvedPath = resolvedPath.replace("{EmailIdentity}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
2352
|
+
resolvedPath = resolvedPath.replace("{EmailIdentity}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
2353
2353
|
}
|
|
2354
2354
|
else {
|
|
2355
2355
|
throw new Error("No value provided for input HTTP label: EmailIdentity.");
|
|
@@ -2359,7 +2359,7 @@ const serializeAws_restJson1UpdateEmailIdentityPolicyCommand = async (input, con
|
|
|
2359
2359
|
if (labelValue.length <= 0) {
|
|
2360
2360
|
throw new Error("Empty value provided for input HTTP label: PolicyName.");
|
|
2361
2361
|
}
|
|
2362
|
-
resolvedPath = resolvedPath.replace("{PolicyName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
2362
|
+
resolvedPath = resolvedPath.replace("{PolicyName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
2363
2363
|
}
|
|
2364
2364
|
else {
|
|
2365
2365
|
throw new Error("No value provided for input HTTP label: PolicyName.");
|
|
@@ -2390,7 +2390,7 @@ const serializeAws_restJson1UpdateEmailTemplateCommand = async (input, context)
|
|
|
2390
2390
|
if (labelValue.length <= 0) {
|
|
2391
2391
|
throw new Error("Empty value provided for input HTTP label: TemplateName.");
|
|
2392
2392
|
}
|
|
2393
|
-
resolvedPath = resolvedPath.replace("{TemplateName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
2393
|
+
resolvedPath = resolvedPath.replace("{TemplateName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
2394
2394
|
}
|
|
2395
2395
|
else {
|
|
2396
2396
|
throw new Error("No value provided for input HTTP label: TemplateName.");
|
|
@@ -2458,7 +2458,7 @@ const deserializeAws_restJson1CreateConfigurationSetCommandError = async (output
|
|
|
2458
2458
|
$fault: "client",
|
|
2459
2459
|
$metadata: deserializeMetadata(output),
|
|
2460
2460
|
});
|
|
2461
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2461
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2462
2462
|
}
|
|
2463
2463
|
};
|
|
2464
2464
|
const deserializeAws_restJson1CreateConfigurationSetEventDestinationCommand = async (output, context) => {
|
|
@@ -2503,7 +2503,7 @@ const deserializeAws_restJson1CreateConfigurationSetEventDestinationCommandError
|
|
|
2503
2503
|
$fault: "client",
|
|
2504
2504
|
$metadata: deserializeMetadata(output),
|
|
2505
2505
|
});
|
|
2506
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2506
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2507
2507
|
}
|
|
2508
2508
|
};
|
|
2509
2509
|
const deserializeAws_restJson1CreateContactCommand = async (output, context) => {
|
|
@@ -2545,7 +2545,7 @@ const deserializeAws_restJson1CreateContactCommandError = async (output, context
|
|
|
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_restJson1CreateContactListCommand = async (output, context) => {
|
|
@@ -2587,7 +2587,7 @@ const deserializeAws_restJson1CreateContactListCommandError = async (output, con
|
|
|
2587
2587
|
$fault: "client",
|
|
2588
2588
|
$metadata: deserializeMetadata(output),
|
|
2589
2589
|
});
|
|
2590
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2590
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2591
2591
|
}
|
|
2592
2592
|
};
|
|
2593
2593
|
const deserializeAws_restJson1CreateCustomVerificationEmailTemplateCommand = async (output, context) => {
|
|
@@ -2632,7 +2632,7 @@ const deserializeAws_restJson1CreateCustomVerificationEmailTemplateCommandError
|
|
|
2632
2632
|
$fault: "client",
|
|
2633
2633
|
$metadata: deserializeMetadata(output),
|
|
2634
2634
|
});
|
|
2635
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2635
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2636
2636
|
}
|
|
2637
2637
|
};
|
|
2638
2638
|
const deserializeAws_restJson1CreateDedicatedIpPoolCommand = async (output, context) => {
|
|
@@ -2677,7 +2677,7 @@ const deserializeAws_restJson1CreateDedicatedIpPoolCommandError = async (output,
|
|
|
2677
2677
|
$fault: "client",
|
|
2678
2678
|
$metadata: deserializeMetadata(output),
|
|
2679
2679
|
});
|
|
2680
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2680
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2681
2681
|
}
|
|
2682
2682
|
};
|
|
2683
2683
|
const deserializeAws_restJson1CreateDeliverabilityTestReportCommand = async (output, context) => {
|
|
@@ -2689,12 +2689,12 @@ const deserializeAws_restJson1CreateDeliverabilityTestReportCommand = async (out
|
|
|
2689
2689
|
DeliverabilityTestStatus: undefined,
|
|
2690
2690
|
ReportId: undefined,
|
|
2691
2691
|
};
|
|
2692
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
2692
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
2693
2693
|
if (data.DeliverabilityTestStatus !== undefined && data.DeliverabilityTestStatus !== null) {
|
|
2694
|
-
contents.DeliverabilityTestStatus = smithy_client_1.expectString(data.DeliverabilityTestStatus);
|
|
2694
|
+
contents.DeliverabilityTestStatus = (0, smithy_client_1.expectString)(data.DeliverabilityTestStatus);
|
|
2695
2695
|
}
|
|
2696
2696
|
if (data.ReportId !== undefined && data.ReportId !== null) {
|
|
2697
|
-
contents.ReportId = smithy_client_1.expectString(data.ReportId);
|
|
2697
|
+
contents.ReportId = (0, smithy_client_1.expectString)(data.ReportId);
|
|
2698
2698
|
}
|
|
2699
2699
|
return Promise.resolve(contents);
|
|
2700
2700
|
};
|
|
@@ -2742,7 +2742,7 @@ const deserializeAws_restJson1CreateDeliverabilityTestReportCommandError = async
|
|
|
2742
2742
|
$fault: "client",
|
|
2743
2743
|
$metadata: deserializeMetadata(output),
|
|
2744
2744
|
});
|
|
2745
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2745
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2746
2746
|
}
|
|
2747
2747
|
};
|
|
2748
2748
|
const deserializeAws_restJson1CreateEmailIdentityCommand = async (output, context) => {
|
|
@@ -2755,15 +2755,15 @@ const deserializeAws_restJson1CreateEmailIdentityCommand = async (output, contex
|
|
|
2755
2755
|
IdentityType: undefined,
|
|
2756
2756
|
VerifiedForSendingStatus: undefined,
|
|
2757
2757
|
};
|
|
2758
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
2758
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
2759
2759
|
if (data.DkimAttributes !== undefined && data.DkimAttributes !== null) {
|
|
2760
2760
|
contents.DkimAttributes = deserializeAws_restJson1DkimAttributes(data.DkimAttributes, context);
|
|
2761
2761
|
}
|
|
2762
2762
|
if (data.IdentityType !== undefined && data.IdentityType !== null) {
|
|
2763
|
-
contents.IdentityType = smithy_client_1.expectString(data.IdentityType);
|
|
2763
|
+
contents.IdentityType = (0, smithy_client_1.expectString)(data.IdentityType);
|
|
2764
2764
|
}
|
|
2765
2765
|
if (data.VerifiedForSendingStatus !== undefined && data.VerifiedForSendingStatus !== null) {
|
|
2766
|
-
contents.VerifiedForSendingStatus = smithy_client_1.expectBoolean(data.VerifiedForSendingStatus);
|
|
2766
|
+
contents.VerifiedForSendingStatus = (0, smithy_client_1.expectBoolean)(data.VerifiedForSendingStatus);
|
|
2767
2767
|
}
|
|
2768
2768
|
return Promise.resolve(contents);
|
|
2769
2769
|
};
|
|
@@ -2802,7 +2802,7 @@ const deserializeAws_restJson1CreateEmailIdentityCommandError = async (output, c
|
|
|
2802
2802
|
$fault: "client",
|
|
2803
2803
|
$metadata: deserializeMetadata(output),
|
|
2804
2804
|
});
|
|
2805
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2805
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2806
2806
|
}
|
|
2807
2807
|
};
|
|
2808
2808
|
const deserializeAws_restJson1CreateEmailIdentityPolicyCommand = async (output, context) => {
|
|
@@ -2847,7 +2847,7 @@ const deserializeAws_restJson1CreateEmailIdentityPolicyCommandError = async (out
|
|
|
2847
2847
|
$fault: "client",
|
|
2848
2848
|
$metadata: deserializeMetadata(output),
|
|
2849
2849
|
});
|
|
2850
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2850
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2851
2851
|
}
|
|
2852
2852
|
};
|
|
2853
2853
|
const deserializeAws_restJson1CreateEmailTemplateCommand = async (output, context) => {
|
|
@@ -2889,7 +2889,7 @@ const deserializeAws_restJson1CreateEmailTemplateCommandError = async (output, c
|
|
|
2889
2889
|
$fault: "client",
|
|
2890
2890
|
$metadata: deserializeMetadata(output),
|
|
2891
2891
|
});
|
|
2892
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2892
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2893
2893
|
}
|
|
2894
2894
|
};
|
|
2895
2895
|
const deserializeAws_restJson1CreateImportJobCommand = async (output, context) => {
|
|
@@ -2900,9 +2900,9 @@ const deserializeAws_restJson1CreateImportJobCommand = async (output, context) =
|
|
|
2900
2900
|
$metadata: deserializeMetadata(output),
|
|
2901
2901
|
JobId: undefined,
|
|
2902
2902
|
};
|
|
2903
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
2903
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
2904
2904
|
if (data.JobId !== undefined && data.JobId !== null) {
|
|
2905
|
-
contents.JobId = smithy_client_1.expectString(data.JobId);
|
|
2905
|
+
contents.JobId = (0, smithy_client_1.expectString)(data.JobId);
|
|
2906
2906
|
}
|
|
2907
2907
|
return Promise.resolve(contents);
|
|
2908
2908
|
};
|
|
@@ -2932,7 +2932,7 @@ const deserializeAws_restJson1CreateImportJobCommandError = async (output, conte
|
|
|
2932
2932
|
$fault: "client",
|
|
2933
2933
|
$metadata: deserializeMetadata(output),
|
|
2934
2934
|
});
|
|
2935
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2935
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2936
2936
|
}
|
|
2937
2937
|
};
|
|
2938
2938
|
const deserializeAws_restJson1DeleteConfigurationSetCommand = async (output, context) => {
|
|
@@ -2974,7 +2974,7 @@ const deserializeAws_restJson1DeleteConfigurationSetCommandError = async (output
|
|
|
2974
2974
|
$fault: "client",
|
|
2975
2975
|
$metadata: deserializeMetadata(output),
|
|
2976
2976
|
});
|
|
2977
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2977
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2978
2978
|
}
|
|
2979
2979
|
};
|
|
2980
2980
|
const deserializeAws_restJson1DeleteConfigurationSetEventDestinationCommand = async (output, context) => {
|
|
@@ -3013,7 +3013,7 @@ const deserializeAws_restJson1DeleteConfigurationSetEventDestinationCommandError
|
|
|
3013
3013
|
$fault: "client",
|
|
3014
3014
|
$metadata: deserializeMetadata(output),
|
|
3015
3015
|
});
|
|
3016
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
3016
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3017
3017
|
}
|
|
3018
3018
|
};
|
|
3019
3019
|
const deserializeAws_restJson1DeleteContactCommand = async (output, context) => {
|
|
@@ -3052,7 +3052,7 @@ const deserializeAws_restJson1DeleteContactCommandError = async (output, context
|
|
|
3052
3052
|
$fault: "client",
|
|
3053
3053
|
$metadata: deserializeMetadata(output),
|
|
3054
3054
|
});
|
|
3055
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
3055
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3056
3056
|
}
|
|
3057
3057
|
};
|
|
3058
3058
|
const deserializeAws_restJson1DeleteContactListCommand = async (output, context) => {
|
|
@@ -3094,7 +3094,7 @@ const deserializeAws_restJson1DeleteContactListCommandError = async (output, con
|
|
|
3094
3094
|
$fault: "client",
|
|
3095
3095
|
$metadata: deserializeMetadata(output),
|
|
3096
3096
|
});
|
|
3097
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
3097
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3098
3098
|
}
|
|
3099
3099
|
};
|
|
3100
3100
|
const deserializeAws_restJson1DeleteCustomVerificationEmailTemplateCommand = async (output, context) => {
|
|
@@ -3133,7 +3133,7 @@ const deserializeAws_restJson1DeleteCustomVerificationEmailTemplateCommandError
|
|
|
3133
3133
|
$fault: "client",
|
|
3134
3134
|
$metadata: deserializeMetadata(output),
|
|
3135
3135
|
});
|
|
3136
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
3136
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3137
3137
|
}
|
|
3138
3138
|
};
|
|
3139
3139
|
const deserializeAws_restJson1DeleteDedicatedIpPoolCommand = async (output, context) => {
|
|
@@ -3175,7 +3175,7 @@ const deserializeAws_restJson1DeleteDedicatedIpPoolCommandError = async (output,
|
|
|
3175
3175
|
$fault: "client",
|
|
3176
3176
|
$metadata: deserializeMetadata(output),
|
|
3177
3177
|
});
|
|
3178
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
3178
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3179
3179
|
}
|
|
3180
3180
|
};
|
|
3181
3181
|
const deserializeAws_restJson1DeleteEmailIdentityCommand = async (output, context) => {
|
|
@@ -3217,7 +3217,7 @@ const deserializeAws_restJson1DeleteEmailIdentityCommandError = async (output, c
|
|
|
3217
3217
|
$fault: "client",
|
|
3218
3218
|
$metadata: deserializeMetadata(output),
|
|
3219
3219
|
});
|
|
3220
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
3220
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3221
3221
|
}
|
|
3222
3222
|
};
|
|
3223
3223
|
const deserializeAws_restJson1DeleteEmailIdentityPolicyCommand = async (output, context) => {
|
|
@@ -3256,7 +3256,7 @@ const deserializeAws_restJson1DeleteEmailIdentityPolicyCommandError = async (out
|
|
|
3256
3256
|
$fault: "client",
|
|
3257
3257
|
$metadata: deserializeMetadata(output),
|
|
3258
3258
|
});
|
|
3259
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
3259
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3260
3260
|
}
|
|
3261
3261
|
};
|
|
3262
3262
|
const deserializeAws_restJson1DeleteEmailTemplateCommand = async (output, context) => {
|
|
@@ -3295,7 +3295,7 @@ const deserializeAws_restJson1DeleteEmailTemplateCommandError = async (output, c
|
|
|
3295
3295
|
$fault: "client",
|
|
3296
3296
|
$metadata: deserializeMetadata(output),
|
|
3297
3297
|
});
|
|
3298
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
3298
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3299
3299
|
}
|
|
3300
3300
|
};
|
|
3301
3301
|
const deserializeAws_restJson1DeleteSuppressedDestinationCommand = async (output, context) => {
|
|
@@ -3334,7 +3334,7 @@ const deserializeAws_restJson1DeleteSuppressedDestinationCommandError = async (o
|
|
|
3334
3334
|
$fault: "client",
|
|
3335
3335
|
$metadata: deserializeMetadata(output),
|
|
3336
3336
|
});
|
|
3337
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
3337
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3338
3338
|
}
|
|
3339
3339
|
};
|
|
3340
3340
|
const deserializeAws_restJson1GetAccountCommand = async (output, context) => {
|
|
@@ -3351,24 +3351,24 @@ const deserializeAws_restJson1GetAccountCommand = async (output, context) => {
|
|
|
3351
3351
|
SendingEnabled: undefined,
|
|
3352
3352
|
SuppressionAttributes: undefined,
|
|
3353
3353
|
};
|
|
3354
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
3354
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
3355
3355
|
if (data.DedicatedIpAutoWarmupEnabled !== undefined && data.DedicatedIpAutoWarmupEnabled !== null) {
|
|
3356
|
-
contents.DedicatedIpAutoWarmupEnabled = smithy_client_1.expectBoolean(data.DedicatedIpAutoWarmupEnabled);
|
|
3356
|
+
contents.DedicatedIpAutoWarmupEnabled = (0, smithy_client_1.expectBoolean)(data.DedicatedIpAutoWarmupEnabled);
|
|
3357
3357
|
}
|
|
3358
3358
|
if (data.Details !== undefined && data.Details !== null) {
|
|
3359
3359
|
contents.Details = deserializeAws_restJson1AccountDetails(data.Details, context);
|
|
3360
3360
|
}
|
|
3361
3361
|
if (data.EnforcementStatus !== undefined && data.EnforcementStatus !== null) {
|
|
3362
|
-
contents.EnforcementStatus = smithy_client_1.expectString(data.EnforcementStatus);
|
|
3362
|
+
contents.EnforcementStatus = (0, smithy_client_1.expectString)(data.EnforcementStatus);
|
|
3363
3363
|
}
|
|
3364
3364
|
if (data.ProductionAccessEnabled !== undefined && data.ProductionAccessEnabled !== null) {
|
|
3365
|
-
contents.ProductionAccessEnabled = smithy_client_1.expectBoolean(data.ProductionAccessEnabled);
|
|
3365
|
+
contents.ProductionAccessEnabled = (0, smithy_client_1.expectBoolean)(data.ProductionAccessEnabled);
|
|
3366
3366
|
}
|
|
3367
3367
|
if (data.SendQuota !== undefined && data.SendQuota !== null) {
|
|
3368
3368
|
contents.SendQuota = deserializeAws_restJson1SendQuota(data.SendQuota, context);
|
|
3369
3369
|
}
|
|
3370
3370
|
if (data.SendingEnabled !== undefined && data.SendingEnabled !== null) {
|
|
3371
|
-
contents.SendingEnabled = smithy_client_1.expectBoolean(data.SendingEnabled);
|
|
3371
|
+
contents.SendingEnabled = (0, smithy_client_1.expectBoolean)(data.SendingEnabled);
|
|
3372
3372
|
}
|
|
3373
3373
|
if (data.SuppressionAttributes !== undefined && data.SuppressionAttributes !== null) {
|
|
3374
3374
|
contents.SuppressionAttributes = deserializeAws_restJson1SuppressionAttributes(data.SuppressionAttributes, context);
|
|
@@ -3398,7 +3398,7 @@ const deserializeAws_restJson1GetAccountCommandError = async (output, context) =
|
|
|
3398
3398
|
$fault: "client",
|
|
3399
3399
|
$metadata: deserializeMetadata(output),
|
|
3400
3400
|
});
|
|
3401
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
3401
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3402
3402
|
}
|
|
3403
3403
|
};
|
|
3404
3404
|
const deserializeAws_restJson1GetBlacklistReportsCommand = async (output, context) => {
|
|
@@ -3409,7 +3409,7 @@ const deserializeAws_restJson1GetBlacklistReportsCommand = async (output, contex
|
|
|
3409
3409
|
$metadata: deserializeMetadata(output),
|
|
3410
3410
|
BlacklistReport: undefined,
|
|
3411
3411
|
};
|
|
3412
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
3412
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
3413
3413
|
if (data.BlacklistReport !== undefined && data.BlacklistReport !== null) {
|
|
3414
3414
|
contents.BlacklistReport = deserializeAws_restJson1BlacklistReport(data.BlacklistReport, context);
|
|
3415
3415
|
}
|
|
@@ -3441,7 +3441,7 @@ const deserializeAws_restJson1GetBlacklistReportsCommandError = async (output, c
|
|
|
3441
3441
|
$fault: "client",
|
|
3442
3442
|
$metadata: deserializeMetadata(output),
|
|
3443
3443
|
});
|
|
3444
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
3444
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3445
3445
|
}
|
|
3446
3446
|
};
|
|
3447
3447
|
const deserializeAws_restJson1GetConfigurationSetCommand = async (output, context) => {
|
|
@@ -3458,9 +3458,9 @@ const deserializeAws_restJson1GetConfigurationSetCommand = async (output, contex
|
|
|
3458
3458
|
Tags: undefined,
|
|
3459
3459
|
TrackingOptions: undefined,
|
|
3460
3460
|
};
|
|
3461
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
3461
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
3462
3462
|
if (data.ConfigurationSetName !== undefined && data.ConfigurationSetName !== null) {
|
|
3463
|
-
contents.ConfigurationSetName = smithy_client_1.expectString(data.ConfigurationSetName);
|
|
3463
|
+
contents.ConfigurationSetName = (0, smithy_client_1.expectString)(data.ConfigurationSetName);
|
|
3464
3464
|
}
|
|
3465
3465
|
if (data.DeliveryOptions !== undefined && data.DeliveryOptions !== null) {
|
|
3466
3466
|
contents.DeliveryOptions = deserializeAws_restJson1DeliveryOptions(data.DeliveryOptions, context);
|
|
@@ -3508,7 +3508,7 @@ const deserializeAws_restJson1GetConfigurationSetCommandError = async (output, c
|
|
|
3508
3508
|
$fault: "client",
|
|
3509
3509
|
$metadata: deserializeMetadata(output),
|
|
3510
3510
|
});
|
|
3511
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
3511
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3512
3512
|
}
|
|
3513
3513
|
};
|
|
3514
3514
|
const deserializeAws_restJson1GetConfigurationSetEventDestinationsCommand = async (output, context) => {
|
|
@@ -3519,7 +3519,7 @@ const deserializeAws_restJson1GetConfigurationSetEventDestinationsCommand = asyn
|
|
|
3519
3519
|
$metadata: deserializeMetadata(output),
|
|
3520
3520
|
EventDestinations: undefined,
|
|
3521
3521
|
};
|
|
3522
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
3522
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
3523
3523
|
if (data.EventDestinations !== undefined && data.EventDestinations !== null) {
|
|
3524
3524
|
contents.EventDestinations = deserializeAws_restJson1EventDestinations(data.EventDestinations, context);
|
|
3525
3525
|
}
|
|
@@ -3551,7 +3551,7 @@ const deserializeAws_restJson1GetConfigurationSetEventDestinationsCommandError =
|
|
|
3551
3551
|
$fault: "client",
|
|
3552
3552
|
$metadata: deserializeMetadata(output),
|
|
3553
3553
|
});
|
|
3554
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
3554
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3555
3555
|
}
|
|
3556
3556
|
};
|
|
3557
3557
|
const deserializeAws_restJson1GetContactCommand = async (output, context) => {
|
|
@@ -3569,21 +3569,21 @@ const deserializeAws_restJson1GetContactCommand = async (output, context) => {
|
|
|
3569
3569
|
TopicPreferences: undefined,
|
|
3570
3570
|
UnsubscribeAll: undefined,
|
|
3571
3571
|
};
|
|
3572
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
3572
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
3573
3573
|
if (data.AttributesData !== undefined && data.AttributesData !== null) {
|
|
3574
|
-
contents.AttributesData = smithy_client_1.expectString(data.AttributesData);
|
|
3574
|
+
contents.AttributesData = (0, smithy_client_1.expectString)(data.AttributesData);
|
|
3575
3575
|
}
|
|
3576
3576
|
if (data.ContactListName !== undefined && data.ContactListName !== null) {
|
|
3577
|
-
contents.ContactListName = smithy_client_1.expectString(data.ContactListName);
|
|
3577
|
+
contents.ContactListName = (0, smithy_client_1.expectString)(data.ContactListName);
|
|
3578
3578
|
}
|
|
3579
3579
|
if (data.CreatedTimestamp !== undefined && data.CreatedTimestamp !== null) {
|
|
3580
|
-
contents.CreatedTimestamp = smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(data.CreatedTimestamp)));
|
|
3580
|
+
contents.CreatedTimestamp = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(data.CreatedTimestamp)));
|
|
3581
3581
|
}
|
|
3582
3582
|
if (data.EmailAddress !== undefined && data.EmailAddress !== null) {
|
|
3583
|
-
contents.EmailAddress = smithy_client_1.expectString(data.EmailAddress);
|
|
3583
|
+
contents.EmailAddress = (0, smithy_client_1.expectString)(data.EmailAddress);
|
|
3584
3584
|
}
|
|
3585
3585
|
if (data.LastUpdatedTimestamp !== undefined && data.LastUpdatedTimestamp !== null) {
|
|
3586
|
-
contents.LastUpdatedTimestamp = smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(data.LastUpdatedTimestamp)));
|
|
3586
|
+
contents.LastUpdatedTimestamp = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(data.LastUpdatedTimestamp)));
|
|
3587
3587
|
}
|
|
3588
3588
|
if (data.TopicDefaultPreferences !== undefined && data.TopicDefaultPreferences !== null) {
|
|
3589
3589
|
contents.TopicDefaultPreferences = deserializeAws_restJson1TopicPreferenceList(data.TopicDefaultPreferences, context);
|
|
@@ -3592,7 +3592,7 @@ const deserializeAws_restJson1GetContactCommand = async (output, context) => {
|
|
|
3592
3592
|
contents.TopicPreferences = deserializeAws_restJson1TopicPreferenceList(data.TopicPreferences, context);
|
|
3593
3593
|
}
|
|
3594
3594
|
if (data.UnsubscribeAll !== undefined && data.UnsubscribeAll !== null) {
|
|
3595
|
-
contents.UnsubscribeAll = smithy_client_1.expectBoolean(data.UnsubscribeAll);
|
|
3595
|
+
contents.UnsubscribeAll = (0, smithy_client_1.expectBoolean)(data.UnsubscribeAll);
|
|
3596
3596
|
}
|
|
3597
3597
|
return Promise.resolve(contents);
|
|
3598
3598
|
};
|
|
@@ -3622,7 +3622,7 @@ const deserializeAws_restJson1GetContactCommandError = async (output, context) =
|
|
|
3622
3622
|
$fault: "client",
|
|
3623
3623
|
$metadata: deserializeMetadata(output),
|
|
3624
3624
|
});
|
|
3625
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
3625
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3626
3626
|
}
|
|
3627
3627
|
};
|
|
3628
3628
|
const deserializeAws_restJson1GetContactListCommand = async (output, context) => {
|
|
@@ -3638,18 +3638,18 @@ const deserializeAws_restJson1GetContactListCommand = async (output, context) =>
|
|
|
3638
3638
|
Tags: undefined,
|
|
3639
3639
|
Topics: undefined,
|
|
3640
3640
|
};
|
|
3641
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
3641
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
3642
3642
|
if (data.ContactListName !== undefined && data.ContactListName !== null) {
|
|
3643
|
-
contents.ContactListName = smithy_client_1.expectString(data.ContactListName);
|
|
3643
|
+
contents.ContactListName = (0, smithy_client_1.expectString)(data.ContactListName);
|
|
3644
3644
|
}
|
|
3645
3645
|
if (data.CreatedTimestamp !== undefined && data.CreatedTimestamp !== null) {
|
|
3646
|
-
contents.CreatedTimestamp = smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(data.CreatedTimestamp)));
|
|
3646
|
+
contents.CreatedTimestamp = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(data.CreatedTimestamp)));
|
|
3647
3647
|
}
|
|
3648
3648
|
if (data.Description !== undefined && data.Description !== null) {
|
|
3649
|
-
contents.Description = smithy_client_1.expectString(data.Description);
|
|
3649
|
+
contents.Description = (0, smithy_client_1.expectString)(data.Description);
|
|
3650
3650
|
}
|
|
3651
3651
|
if (data.LastUpdatedTimestamp !== undefined && data.LastUpdatedTimestamp !== null) {
|
|
3652
|
-
contents.LastUpdatedTimestamp = smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(data.LastUpdatedTimestamp)));
|
|
3652
|
+
contents.LastUpdatedTimestamp = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(data.LastUpdatedTimestamp)));
|
|
3653
3653
|
}
|
|
3654
3654
|
if (data.Tags !== undefined && data.Tags !== null) {
|
|
3655
3655
|
contents.Tags = deserializeAws_restJson1TagList(data.Tags, context);
|
|
@@ -3685,7 +3685,7 @@ const deserializeAws_restJson1GetContactListCommandError = async (output, contex
|
|
|
3685
3685
|
$fault: "client",
|
|
3686
3686
|
$metadata: deserializeMetadata(output),
|
|
3687
3687
|
});
|
|
3688
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
3688
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3689
3689
|
}
|
|
3690
3690
|
};
|
|
3691
3691
|
const deserializeAws_restJson1GetCustomVerificationEmailTemplateCommand = async (output, context) => {
|
|
@@ -3701,24 +3701,24 @@ const deserializeAws_restJson1GetCustomVerificationEmailTemplateCommand = async
|
|
|
3701
3701
|
TemplateName: undefined,
|
|
3702
3702
|
TemplateSubject: undefined,
|
|
3703
3703
|
};
|
|
3704
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
3704
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
3705
3705
|
if (data.FailureRedirectionURL !== undefined && data.FailureRedirectionURL !== null) {
|
|
3706
|
-
contents.FailureRedirectionURL = smithy_client_1.expectString(data.FailureRedirectionURL);
|
|
3706
|
+
contents.FailureRedirectionURL = (0, smithy_client_1.expectString)(data.FailureRedirectionURL);
|
|
3707
3707
|
}
|
|
3708
3708
|
if (data.FromEmailAddress !== undefined && data.FromEmailAddress !== null) {
|
|
3709
|
-
contents.FromEmailAddress = smithy_client_1.expectString(data.FromEmailAddress);
|
|
3709
|
+
contents.FromEmailAddress = (0, smithy_client_1.expectString)(data.FromEmailAddress);
|
|
3710
3710
|
}
|
|
3711
3711
|
if (data.SuccessRedirectionURL !== undefined && data.SuccessRedirectionURL !== null) {
|
|
3712
|
-
contents.SuccessRedirectionURL = smithy_client_1.expectString(data.SuccessRedirectionURL);
|
|
3712
|
+
contents.SuccessRedirectionURL = (0, smithy_client_1.expectString)(data.SuccessRedirectionURL);
|
|
3713
3713
|
}
|
|
3714
3714
|
if (data.TemplateContent !== undefined && data.TemplateContent !== null) {
|
|
3715
|
-
contents.TemplateContent = smithy_client_1.expectString(data.TemplateContent);
|
|
3715
|
+
contents.TemplateContent = (0, smithy_client_1.expectString)(data.TemplateContent);
|
|
3716
3716
|
}
|
|
3717
3717
|
if (data.TemplateName !== undefined && data.TemplateName !== null) {
|
|
3718
|
-
contents.TemplateName = smithy_client_1.expectString(data.TemplateName);
|
|
3718
|
+
contents.TemplateName = (0, smithy_client_1.expectString)(data.TemplateName);
|
|
3719
3719
|
}
|
|
3720
3720
|
if (data.TemplateSubject !== undefined && data.TemplateSubject !== null) {
|
|
3721
|
-
contents.TemplateSubject = smithy_client_1.expectString(data.TemplateSubject);
|
|
3721
|
+
contents.TemplateSubject = (0, smithy_client_1.expectString)(data.TemplateSubject);
|
|
3722
3722
|
}
|
|
3723
3723
|
return Promise.resolve(contents);
|
|
3724
3724
|
};
|
|
@@ -3748,7 +3748,7 @@ const deserializeAws_restJson1GetCustomVerificationEmailTemplateCommandError = a
|
|
|
3748
3748
|
$fault: "client",
|
|
3749
3749
|
$metadata: deserializeMetadata(output),
|
|
3750
3750
|
});
|
|
3751
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
3751
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3752
3752
|
}
|
|
3753
3753
|
};
|
|
3754
3754
|
const deserializeAws_restJson1GetDedicatedIpCommand = async (output, context) => {
|
|
@@ -3759,7 +3759,7 @@ const deserializeAws_restJson1GetDedicatedIpCommand = async (output, context) =>
|
|
|
3759
3759
|
$metadata: deserializeMetadata(output),
|
|
3760
3760
|
DedicatedIp: undefined,
|
|
3761
3761
|
};
|
|
3762
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
3762
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
3763
3763
|
if (data.DedicatedIp !== undefined && data.DedicatedIp !== null) {
|
|
3764
3764
|
contents.DedicatedIp = deserializeAws_restJson1DedicatedIp(data.DedicatedIp, context);
|
|
3765
3765
|
}
|
|
@@ -3791,7 +3791,7 @@ const deserializeAws_restJson1GetDedicatedIpCommandError = async (output, contex
|
|
|
3791
3791
|
$fault: "client",
|
|
3792
3792
|
$metadata: deserializeMetadata(output),
|
|
3793
3793
|
});
|
|
3794
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
3794
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3795
3795
|
}
|
|
3796
3796
|
};
|
|
3797
3797
|
const deserializeAws_restJson1GetDedicatedIpsCommand = async (output, context) => {
|
|
@@ -3803,12 +3803,12 @@ const deserializeAws_restJson1GetDedicatedIpsCommand = async (output, context) =
|
|
|
3803
3803
|
DedicatedIps: undefined,
|
|
3804
3804
|
NextToken: undefined,
|
|
3805
3805
|
};
|
|
3806
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
3806
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
3807
3807
|
if (data.DedicatedIps !== undefined && data.DedicatedIps !== null) {
|
|
3808
3808
|
contents.DedicatedIps = deserializeAws_restJson1DedicatedIpList(data.DedicatedIps, context);
|
|
3809
3809
|
}
|
|
3810
3810
|
if (data.NextToken !== undefined && data.NextToken !== null) {
|
|
3811
|
-
contents.NextToken = smithy_client_1.expectString(data.NextToken);
|
|
3811
|
+
contents.NextToken = (0, smithy_client_1.expectString)(data.NextToken);
|
|
3812
3812
|
}
|
|
3813
3813
|
return Promise.resolve(contents);
|
|
3814
3814
|
};
|
|
@@ -3838,7 +3838,7 @@ const deserializeAws_restJson1GetDedicatedIpsCommandError = async (output, conte
|
|
|
3838
3838
|
$fault: "client",
|
|
3839
3839
|
$metadata: deserializeMetadata(output),
|
|
3840
3840
|
});
|
|
3841
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
3841
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3842
3842
|
}
|
|
3843
3843
|
};
|
|
3844
3844
|
const deserializeAws_restJson1GetDeliverabilityDashboardOptionsCommand = async (output, context) => {
|
|
@@ -3853,21 +3853,21 @@ const deserializeAws_restJson1GetDeliverabilityDashboardOptionsCommand = async (
|
|
|
3853
3853
|
PendingExpirationSubscribedDomains: undefined,
|
|
3854
3854
|
SubscriptionExpiryDate: undefined,
|
|
3855
3855
|
};
|
|
3856
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
3856
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
3857
3857
|
if (data.AccountStatus !== undefined && data.AccountStatus !== null) {
|
|
3858
|
-
contents.AccountStatus = smithy_client_1.expectString(data.AccountStatus);
|
|
3858
|
+
contents.AccountStatus = (0, smithy_client_1.expectString)(data.AccountStatus);
|
|
3859
3859
|
}
|
|
3860
3860
|
if (data.ActiveSubscribedDomains !== undefined && data.ActiveSubscribedDomains !== null) {
|
|
3861
3861
|
contents.ActiveSubscribedDomains = deserializeAws_restJson1DomainDeliverabilityTrackingOptions(data.ActiveSubscribedDomains, context);
|
|
3862
3862
|
}
|
|
3863
3863
|
if (data.DashboardEnabled !== undefined && data.DashboardEnabled !== null) {
|
|
3864
|
-
contents.DashboardEnabled = smithy_client_1.expectBoolean(data.DashboardEnabled);
|
|
3864
|
+
contents.DashboardEnabled = (0, smithy_client_1.expectBoolean)(data.DashboardEnabled);
|
|
3865
3865
|
}
|
|
3866
3866
|
if (data.PendingExpirationSubscribedDomains !== undefined && data.PendingExpirationSubscribedDomains !== null) {
|
|
3867
3867
|
contents.PendingExpirationSubscribedDomains = deserializeAws_restJson1DomainDeliverabilityTrackingOptions(data.PendingExpirationSubscribedDomains, context);
|
|
3868
3868
|
}
|
|
3869
3869
|
if (data.SubscriptionExpiryDate !== undefined && data.SubscriptionExpiryDate !== null) {
|
|
3870
|
-
contents.SubscriptionExpiryDate = smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(data.SubscriptionExpiryDate)));
|
|
3870
|
+
contents.SubscriptionExpiryDate = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(data.SubscriptionExpiryDate)));
|
|
3871
3871
|
}
|
|
3872
3872
|
return Promise.resolve(contents);
|
|
3873
3873
|
};
|
|
@@ -3897,7 +3897,7 @@ const deserializeAws_restJson1GetDeliverabilityDashboardOptionsCommandError = as
|
|
|
3897
3897
|
$fault: "client",
|
|
3898
3898
|
$metadata: deserializeMetadata(output),
|
|
3899
3899
|
});
|
|
3900
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
3900
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3901
3901
|
}
|
|
3902
3902
|
};
|
|
3903
3903
|
const deserializeAws_restJson1GetDeliverabilityTestReportCommand = async (output, context) => {
|
|
@@ -3912,7 +3912,7 @@ const deserializeAws_restJson1GetDeliverabilityTestReportCommand = async (output
|
|
|
3912
3912
|
OverallPlacement: undefined,
|
|
3913
3913
|
Tags: undefined,
|
|
3914
3914
|
};
|
|
3915
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
3915
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
3916
3916
|
if (data.DeliverabilityTestReport !== undefined && data.DeliverabilityTestReport !== null) {
|
|
3917
3917
|
contents.DeliverabilityTestReport = deserializeAws_restJson1DeliverabilityTestReport(data.DeliverabilityTestReport, context);
|
|
3918
3918
|
}
|
|
@@ -3920,7 +3920,7 @@ const deserializeAws_restJson1GetDeliverabilityTestReportCommand = async (output
|
|
|
3920
3920
|
contents.IspPlacements = deserializeAws_restJson1IspPlacements(data.IspPlacements, context);
|
|
3921
3921
|
}
|
|
3922
3922
|
if (data.Message !== undefined && data.Message !== null) {
|
|
3923
|
-
contents.Message = smithy_client_1.expectString(data.Message);
|
|
3923
|
+
contents.Message = (0, smithy_client_1.expectString)(data.Message);
|
|
3924
3924
|
}
|
|
3925
3925
|
if (data.OverallPlacement !== undefined && data.OverallPlacement !== null) {
|
|
3926
3926
|
contents.OverallPlacement = deserializeAws_restJson1PlacementStatistics(data.OverallPlacement, context);
|
|
@@ -3956,7 +3956,7 @@ const deserializeAws_restJson1GetDeliverabilityTestReportCommandError = async (o
|
|
|
3956
3956
|
$fault: "client",
|
|
3957
3957
|
$metadata: deserializeMetadata(output),
|
|
3958
3958
|
});
|
|
3959
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
3959
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3960
3960
|
}
|
|
3961
3961
|
};
|
|
3962
3962
|
const deserializeAws_restJson1GetDomainDeliverabilityCampaignCommand = async (output, context) => {
|
|
@@ -3967,7 +3967,7 @@ const deserializeAws_restJson1GetDomainDeliverabilityCampaignCommand = async (ou
|
|
|
3967
3967
|
$metadata: deserializeMetadata(output),
|
|
3968
3968
|
DomainDeliverabilityCampaign: undefined,
|
|
3969
3969
|
};
|
|
3970
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
3970
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
3971
3971
|
if (data.DomainDeliverabilityCampaign !== undefined && data.DomainDeliverabilityCampaign !== null) {
|
|
3972
3972
|
contents.DomainDeliverabilityCampaign = deserializeAws_restJson1DomainDeliverabilityCampaign(data.DomainDeliverabilityCampaign, context);
|
|
3973
3973
|
}
|
|
@@ -3999,7 +3999,7 @@ const deserializeAws_restJson1GetDomainDeliverabilityCampaignCommandError = asyn
|
|
|
3999
3999
|
$fault: "client",
|
|
4000
4000
|
$metadata: deserializeMetadata(output),
|
|
4001
4001
|
});
|
|
4002
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
4002
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
4003
4003
|
}
|
|
4004
4004
|
};
|
|
4005
4005
|
const deserializeAws_restJson1GetDomainStatisticsReportCommand = async (output, context) => {
|
|
@@ -4011,7 +4011,7 @@ const deserializeAws_restJson1GetDomainStatisticsReportCommand = async (output,
|
|
|
4011
4011
|
DailyVolumes: undefined,
|
|
4012
4012
|
OverallVolume: undefined,
|
|
4013
4013
|
};
|
|
4014
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
4014
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
4015
4015
|
if (data.DailyVolumes !== undefined && data.DailyVolumes !== null) {
|
|
4016
4016
|
contents.DailyVolumes = deserializeAws_restJson1DailyVolumes(data.DailyVolumes, context);
|
|
4017
4017
|
}
|
|
@@ -4046,7 +4046,7 @@ const deserializeAws_restJson1GetDomainStatisticsReportCommandError = async (out
|
|
|
4046
4046
|
$fault: "client",
|
|
4047
4047
|
$metadata: deserializeMetadata(output),
|
|
4048
4048
|
});
|
|
4049
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
4049
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
4050
4050
|
}
|
|
4051
4051
|
};
|
|
4052
4052
|
const deserializeAws_restJson1GetEmailIdentityCommand = async (output, context) => {
|
|
@@ -4064,18 +4064,18 @@ const deserializeAws_restJson1GetEmailIdentityCommand = async (output, context)
|
|
|
4064
4064
|
Tags: undefined,
|
|
4065
4065
|
VerifiedForSendingStatus: undefined,
|
|
4066
4066
|
};
|
|
4067
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
4067
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
4068
4068
|
if (data.ConfigurationSetName !== undefined && data.ConfigurationSetName !== null) {
|
|
4069
|
-
contents.ConfigurationSetName = smithy_client_1.expectString(data.ConfigurationSetName);
|
|
4069
|
+
contents.ConfigurationSetName = (0, smithy_client_1.expectString)(data.ConfigurationSetName);
|
|
4070
4070
|
}
|
|
4071
4071
|
if (data.DkimAttributes !== undefined && data.DkimAttributes !== null) {
|
|
4072
4072
|
contents.DkimAttributes = deserializeAws_restJson1DkimAttributes(data.DkimAttributes, context);
|
|
4073
4073
|
}
|
|
4074
4074
|
if (data.FeedbackForwardingStatus !== undefined && data.FeedbackForwardingStatus !== null) {
|
|
4075
|
-
contents.FeedbackForwardingStatus = smithy_client_1.expectBoolean(data.FeedbackForwardingStatus);
|
|
4075
|
+
contents.FeedbackForwardingStatus = (0, smithy_client_1.expectBoolean)(data.FeedbackForwardingStatus);
|
|
4076
4076
|
}
|
|
4077
4077
|
if (data.IdentityType !== undefined && data.IdentityType !== null) {
|
|
4078
|
-
contents.IdentityType = smithy_client_1.expectString(data.IdentityType);
|
|
4078
|
+
contents.IdentityType = (0, smithy_client_1.expectString)(data.IdentityType);
|
|
4079
4079
|
}
|
|
4080
4080
|
if (data.MailFromAttributes !== undefined && data.MailFromAttributes !== null) {
|
|
4081
4081
|
contents.MailFromAttributes = deserializeAws_restJson1MailFromAttributes(data.MailFromAttributes, context);
|
|
@@ -4087,7 +4087,7 @@ const deserializeAws_restJson1GetEmailIdentityCommand = async (output, context)
|
|
|
4087
4087
|
contents.Tags = deserializeAws_restJson1TagList(data.Tags, context);
|
|
4088
4088
|
}
|
|
4089
4089
|
if (data.VerifiedForSendingStatus !== undefined && data.VerifiedForSendingStatus !== null) {
|
|
4090
|
-
contents.VerifiedForSendingStatus = smithy_client_1.expectBoolean(data.VerifiedForSendingStatus);
|
|
4090
|
+
contents.VerifiedForSendingStatus = (0, smithy_client_1.expectBoolean)(data.VerifiedForSendingStatus);
|
|
4091
4091
|
}
|
|
4092
4092
|
return Promise.resolve(contents);
|
|
4093
4093
|
};
|
|
@@ -4117,7 +4117,7 @@ const deserializeAws_restJson1GetEmailIdentityCommandError = async (output, cont
|
|
|
4117
4117
|
$fault: "client",
|
|
4118
4118
|
$metadata: deserializeMetadata(output),
|
|
4119
4119
|
});
|
|
4120
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
4120
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
4121
4121
|
}
|
|
4122
4122
|
};
|
|
4123
4123
|
const deserializeAws_restJson1GetEmailIdentityPoliciesCommand = async (output, context) => {
|
|
@@ -4128,7 +4128,7 @@ const deserializeAws_restJson1GetEmailIdentityPoliciesCommand = async (output, c
|
|
|
4128
4128
|
$metadata: deserializeMetadata(output),
|
|
4129
4129
|
Policies: undefined,
|
|
4130
4130
|
};
|
|
4131
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
4131
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
4132
4132
|
if (data.Policies !== undefined && data.Policies !== null) {
|
|
4133
4133
|
contents.Policies = deserializeAws_restJson1PolicyMap(data.Policies, context);
|
|
4134
4134
|
}
|
|
@@ -4160,7 +4160,7 @@ const deserializeAws_restJson1GetEmailIdentityPoliciesCommandError = async (outp
|
|
|
4160
4160
|
$fault: "client",
|
|
4161
4161
|
$metadata: deserializeMetadata(output),
|
|
4162
4162
|
});
|
|
4163
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
4163
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
4164
4164
|
}
|
|
4165
4165
|
};
|
|
4166
4166
|
const deserializeAws_restJson1GetEmailTemplateCommand = async (output, context) => {
|
|
@@ -4172,12 +4172,12 @@ const deserializeAws_restJson1GetEmailTemplateCommand = async (output, context)
|
|
|
4172
4172
|
TemplateContent: undefined,
|
|
4173
4173
|
TemplateName: undefined,
|
|
4174
4174
|
};
|
|
4175
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
4175
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
4176
4176
|
if (data.TemplateContent !== undefined && data.TemplateContent !== null) {
|
|
4177
4177
|
contents.TemplateContent = deserializeAws_restJson1EmailTemplateContent(data.TemplateContent, context);
|
|
4178
4178
|
}
|
|
4179
4179
|
if (data.TemplateName !== undefined && data.TemplateName !== null) {
|
|
4180
|
-
contents.TemplateName = smithy_client_1.expectString(data.TemplateName);
|
|
4180
|
+
contents.TemplateName = (0, smithy_client_1.expectString)(data.TemplateName);
|
|
4181
4181
|
}
|
|
4182
4182
|
return Promise.resolve(contents);
|
|
4183
4183
|
};
|
|
@@ -4207,7 +4207,7 @@ const deserializeAws_restJson1GetEmailTemplateCommandError = async (output, cont
|
|
|
4207
4207
|
$fault: "client",
|
|
4208
4208
|
$metadata: deserializeMetadata(output),
|
|
4209
4209
|
});
|
|
4210
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
4210
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
4211
4211
|
}
|
|
4212
4212
|
};
|
|
4213
4213
|
const deserializeAws_restJson1GetImportJobCommand = async (output, context) => {
|
|
@@ -4226,15 +4226,15 @@ const deserializeAws_restJson1GetImportJobCommand = async (output, context) => {
|
|
|
4226
4226
|
JobStatus: undefined,
|
|
4227
4227
|
ProcessedRecordsCount: undefined,
|
|
4228
4228
|
};
|
|
4229
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
4229
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
4230
4230
|
if (data.CompletedTimestamp !== undefined && data.CompletedTimestamp !== null) {
|
|
4231
|
-
contents.CompletedTimestamp = smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(data.CompletedTimestamp)));
|
|
4231
|
+
contents.CompletedTimestamp = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(data.CompletedTimestamp)));
|
|
4232
4232
|
}
|
|
4233
4233
|
if (data.CreatedTimestamp !== undefined && data.CreatedTimestamp !== null) {
|
|
4234
|
-
contents.CreatedTimestamp = smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(data.CreatedTimestamp)));
|
|
4234
|
+
contents.CreatedTimestamp = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(data.CreatedTimestamp)));
|
|
4235
4235
|
}
|
|
4236
4236
|
if (data.FailedRecordsCount !== undefined && data.FailedRecordsCount !== null) {
|
|
4237
|
-
contents.FailedRecordsCount = smithy_client_1.expectInt32(data.FailedRecordsCount);
|
|
4237
|
+
contents.FailedRecordsCount = (0, smithy_client_1.expectInt32)(data.FailedRecordsCount);
|
|
4238
4238
|
}
|
|
4239
4239
|
if (data.FailureInfo !== undefined && data.FailureInfo !== null) {
|
|
4240
4240
|
contents.FailureInfo = deserializeAws_restJson1FailureInfo(data.FailureInfo, context);
|
|
@@ -4246,13 +4246,13 @@ const deserializeAws_restJson1GetImportJobCommand = async (output, context) => {
|
|
|
4246
4246
|
contents.ImportDestination = deserializeAws_restJson1ImportDestination(data.ImportDestination, context);
|
|
4247
4247
|
}
|
|
4248
4248
|
if (data.JobId !== undefined && data.JobId !== null) {
|
|
4249
|
-
contents.JobId = smithy_client_1.expectString(data.JobId);
|
|
4249
|
+
contents.JobId = (0, smithy_client_1.expectString)(data.JobId);
|
|
4250
4250
|
}
|
|
4251
4251
|
if (data.JobStatus !== undefined && data.JobStatus !== null) {
|
|
4252
|
-
contents.JobStatus = smithy_client_1.expectString(data.JobStatus);
|
|
4252
|
+
contents.JobStatus = (0, smithy_client_1.expectString)(data.JobStatus);
|
|
4253
4253
|
}
|
|
4254
4254
|
if (data.ProcessedRecordsCount !== undefined && data.ProcessedRecordsCount !== null) {
|
|
4255
|
-
contents.ProcessedRecordsCount = smithy_client_1.expectInt32(data.ProcessedRecordsCount);
|
|
4255
|
+
contents.ProcessedRecordsCount = (0, smithy_client_1.expectInt32)(data.ProcessedRecordsCount);
|
|
4256
4256
|
}
|
|
4257
4257
|
return Promise.resolve(contents);
|
|
4258
4258
|
};
|
|
@@ -4282,7 +4282,7 @@ const deserializeAws_restJson1GetImportJobCommandError = async (output, context)
|
|
|
4282
4282
|
$fault: "client",
|
|
4283
4283
|
$metadata: deserializeMetadata(output),
|
|
4284
4284
|
});
|
|
4285
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
4285
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
4286
4286
|
}
|
|
4287
4287
|
};
|
|
4288
4288
|
const deserializeAws_restJson1GetSuppressedDestinationCommand = async (output, context) => {
|
|
@@ -4293,7 +4293,7 @@ const deserializeAws_restJson1GetSuppressedDestinationCommand = async (output, c
|
|
|
4293
4293
|
$metadata: deserializeMetadata(output),
|
|
4294
4294
|
SuppressedDestination: undefined,
|
|
4295
4295
|
};
|
|
4296
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
4296
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
4297
4297
|
if (data.SuppressedDestination !== undefined && data.SuppressedDestination !== null) {
|
|
4298
4298
|
contents.SuppressedDestination = deserializeAws_restJson1SuppressedDestination(data.SuppressedDestination, context);
|
|
4299
4299
|
}
|
|
@@ -4325,7 +4325,7 @@ const deserializeAws_restJson1GetSuppressedDestinationCommandError = async (outp
|
|
|
4325
4325
|
$fault: "client",
|
|
4326
4326
|
$metadata: deserializeMetadata(output),
|
|
4327
4327
|
});
|
|
4328
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
4328
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
4329
4329
|
}
|
|
4330
4330
|
};
|
|
4331
4331
|
const deserializeAws_restJson1ListConfigurationSetsCommand = async (output, context) => {
|
|
@@ -4337,12 +4337,12 @@ const deserializeAws_restJson1ListConfigurationSetsCommand = async (output, cont
|
|
|
4337
4337
|
ConfigurationSets: undefined,
|
|
4338
4338
|
NextToken: undefined,
|
|
4339
4339
|
};
|
|
4340
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
4340
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
4341
4341
|
if (data.ConfigurationSets !== undefined && data.ConfigurationSets !== null) {
|
|
4342
4342
|
contents.ConfigurationSets = deserializeAws_restJson1ConfigurationSetNameList(data.ConfigurationSets, context);
|
|
4343
4343
|
}
|
|
4344
4344
|
if (data.NextToken !== undefined && data.NextToken !== null) {
|
|
4345
|
-
contents.NextToken = smithy_client_1.expectString(data.NextToken);
|
|
4345
|
+
contents.NextToken = (0, smithy_client_1.expectString)(data.NextToken);
|
|
4346
4346
|
}
|
|
4347
4347
|
return Promise.resolve(contents);
|
|
4348
4348
|
};
|
|
@@ -4369,7 +4369,7 @@ const deserializeAws_restJson1ListConfigurationSetsCommandError = async (output,
|
|
|
4369
4369
|
$fault: "client",
|
|
4370
4370
|
$metadata: deserializeMetadata(output),
|
|
4371
4371
|
});
|
|
4372
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
4372
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
4373
4373
|
}
|
|
4374
4374
|
};
|
|
4375
4375
|
const deserializeAws_restJson1ListContactListsCommand = async (output, context) => {
|
|
@@ -4381,12 +4381,12 @@ const deserializeAws_restJson1ListContactListsCommand = async (output, context)
|
|
|
4381
4381
|
ContactLists: undefined,
|
|
4382
4382
|
NextToken: undefined,
|
|
4383
4383
|
};
|
|
4384
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
4384
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
4385
4385
|
if (data.ContactLists !== undefined && data.ContactLists !== null) {
|
|
4386
4386
|
contents.ContactLists = deserializeAws_restJson1ListOfContactLists(data.ContactLists, context);
|
|
4387
4387
|
}
|
|
4388
4388
|
if (data.NextToken !== undefined && data.NextToken !== null) {
|
|
4389
|
-
contents.NextToken = smithy_client_1.expectString(data.NextToken);
|
|
4389
|
+
contents.NextToken = (0, smithy_client_1.expectString)(data.NextToken);
|
|
4390
4390
|
}
|
|
4391
4391
|
return Promise.resolve(contents);
|
|
4392
4392
|
};
|
|
@@ -4413,7 +4413,7 @@ const deserializeAws_restJson1ListContactListsCommandError = async (output, cont
|
|
|
4413
4413
|
$fault: "client",
|
|
4414
4414
|
$metadata: deserializeMetadata(output),
|
|
4415
4415
|
});
|
|
4416
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
4416
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
4417
4417
|
}
|
|
4418
4418
|
};
|
|
4419
4419
|
const deserializeAws_restJson1ListContactsCommand = async (output, context) => {
|
|
@@ -4425,12 +4425,12 @@ const deserializeAws_restJson1ListContactsCommand = async (output, context) => {
|
|
|
4425
4425
|
Contacts: undefined,
|
|
4426
4426
|
NextToken: undefined,
|
|
4427
4427
|
};
|
|
4428
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
4428
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
4429
4429
|
if (data.Contacts !== undefined && data.Contacts !== null) {
|
|
4430
4430
|
contents.Contacts = deserializeAws_restJson1ListOfContacts(data.Contacts, context);
|
|
4431
4431
|
}
|
|
4432
4432
|
if (data.NextToken !== undefined && data.NextToken !== null) {
|
|
4433
|
-
contents.NextToken = smithy_client_1.expectString(data.NextToken);
|
|
4433
|
+
contents.NextToken = (0, smithy_client_1.expectString)(data.NextToken);
|
|
4434
4434
|
}
|
|
4435
4435
|
return Promise.resolve(contents);
|
|
4436
4436
|
};
|
|
@@ -4460,7 +4460,7 @@ const deserializeAws_restJson1ListContactsCommandError = async (output, context)
|
|
|
4460
4460
|
$fault: "client",
|
|
4461
4461
|
$metadata: deserializeMetadata(output),
|
|
4462
4462
|
});
|
|
4463
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
4463
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
4464
4464
|
}
|
|
4465
4465
|
};
|
|
4466
4466
|
const deserializeAws_restJson1ListCustomVerificationEmailTemplatesCommand = async (output, context) => {
|
|
@@ -4472,12 +4472,12 @@ const deserializeAws_restJson1ListCustomVerificationEmailTemplatesCommand = asyn
|
|
|
4472
4472
|
CustomVerificationEmailTemplates: undefined,
|
|
4473
4473
|
NextToken: undefined,
|
|
4474
4474
|
};
|
|
4475
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
4475
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
4476
4476
|
if (data.CustomVerificationEmailTemplates !== undefined && data.CustomVerificationEmailTemplates !== null) {
|
|
4477
4477
|
contents.CustomVerificationEmailTemplates = deserializeAws_restJson1CustomVerificationEmailTemplatesList(data.CustomVerificationEmailTemplates, context);
|
|
4478
4478
|
}
|
|
4479
4479
|
if (data.NextToken !== undefined && data.NextToken !== null) {
|
|
4480
|
-
contents.NextToken = smithy_client_1.expectString(data.NextToken);
|
|
4480
|
+
contents.NextToken = (0, smithy_client_1.expectString)(data.NextToken);
|
|
4481
4481
|
}
|
|
4482
4482
|
return Promise.resolve(contents);
|
|
4483
4483
|
};
|
|
@@ -4504,7 +4504,7 @@ const deserializeAws_restJson1ListCustomVerificationEmailTemplatesCommandError =
|
|
|
4504
4504
|
$fault: "client",
|
|
4505
4505
|
$metadata: deserializeMetadata(output),
|
|
4506
4506
|
});
|
|
4507
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
4507
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
4508
4508
|
}
|
|
4509
4509
|
};
|
|
4510
4510
|
const deserializeAws_restJson1ListDedicatedIpPoolsCommand = async (output, context) => {
|
|
@@ -4516,12 +4516,12 @@ const deserializeAws_restJson1ListDedicatedIpPoolsCommand = async (output, conte
|
|
|
4516
4516
|
DedicatedIpPools: undefined,
|
|
4517
4517
|
NextToken: undefined,
|
|
4518
4518
|
};
|
|
4519
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
4519
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
4520
4520
|
if (data.DedicatedIpPools !== undefined && data.DedicatedIpPools !== null) {
|
|
4521
4521
|
contents.DedicatedIpPools = deserializeAws_restJson1ListOfDedicatedIpPools(data.DedicatedIpPools, context);
|
|
4522
4522
|
}
|
|
4523
4523
|
if (data.NextToken !== undefined && data.NextToken !== null) {
|
|
4524
|
-
contents.NextToken = smithy_client_1.expectString(data.NextToken);
|
|
4524
|
+
contents.NextToken = (0, smithy_client_1.expectString)(data.NextToken);
|
|
4525
4525
|
}
|
|
4526
4526
|
return Promise.resolve(contents);
|
|
4527
4527
|
};
|
|
@@ -4548,7 +4548,7 @@ const deserializeAws_restJson1ListDedicatedIpPoolsCommandError = async (output,
|
|
|
4548
4548
|
$fault: "client",
|
|
4549
4549
|
$metadata: deserializeMetadata(output),
|
|
4550
4550
|
});
|
|
4551
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
4551
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
4552
4552
|
}
|
|
4553
4553
|
};
|
|
4554
4554
|
const deserializeAws_restJson1ListDeliverabilityTestReportsCommand = async (output, context) => {
|
|
@@ -4560,12 +4560,12 @@ const deserializeAws_restJson1ListDeliverabilityTestReportsCommand = async (outp
|
|
|
4560
4560
|
DeliverabilityTestReports: undefined,
|
|
4561
4561
|
NextToken: undefined,
|
|
4562
4562
|
};
|
|
4563
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
4563
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
4564
4564
|
if (data.DeliverabilityTestReports !== undefined && data.DeliverabilityTestReports !== null) {
|
|
4565
4565
|
contents.DeliverabilityTestReports = deserializeAws_restJson1DeliverabilityTestReports(data.DeliverabilityTestReports, context);
|
|
4566
4566
|
}
|
|
4567
4567
|
if (data.NextToken !== undefined && data.NextToken !== null) {
|
|
4568
|
-
contents.NextToken = smithy_client_1.expectString(data.NextToken);
|
|
4568
|
+
contents.NextToken = (0, smithy_client_1.expectString)(data.NextToken);
|
|
4569
4569
|
}
|
|
4570
4570
|
return Promise.resolve(contents);
|
|
4571
4571
|
};
|
|
@@ -4595,7 +4595,7 @@ const deserializeAws_restJson1ListDeliverabilityTestReportsCommandError = async
|
|
|
4595
4595
|
$fault: "client",
|
|
4596
4596
|
$metadata: deserializeMetadata(output),
|
|
4597
4597
|
});
|
|
4598
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
4598
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
4599
4599
|
}
|
|
4600
4600
|
};
|
|
4601
4601
|
const deserializeAws_restJson1ListDomainDeliverabilityCampaignsCommand = async (output, context) => {
|
|
@@ -4607,12 +4607,12 @@ const deserializeAws_restJson1ListDomainDeliverabilityCampaignsCommand = async (
|
|
|
4607
4607
|
DomainDeliverabilityCampaigns: undefined,
|
|
4608
4608
|
NextToken: undefined,
|
|
4609
4609
|
};
|
|
4610
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
4610
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
4611
4611
|
if (data.DomainDeliverabilityCampaigns !== undefined && data.DomainDeliverabilityCampaigns !== null) {
|
|
4612
4612
|
contents.DomainDeliverabilityCampaigns = deserializeAws_restJson1DomainDeliverabilityCampaignList(data.DomainDeliverabilityCampaigns, context);
|
|
4613
4613
|
}
|
|
4614
4614
|
if (data.NextToken !== undefined && data.NextToken !== null) {
|
|
4615
|
-
contents.NextToken = smithy_client_1.expectString(data.NextToken);
|
|
4615
|
+
contents.NextToken = (0, smithy_client_1.expectString)(data.NextToken);
|
|
4616
4616
|
}
|
|
4617
4617
|
return Promise.resolve(contents);
|
|
4618
4618
|
};
|
|
@@ -4642,7 +4642,7 @@ const deserializeAws_restJson1ListDomainDeliverabilityCampaignsCommandError = as
|
|
|
4642
4642
|
$fault: "client",
|
|
4643
4643
|
$metadata: deserializeMetadata(output),
|
|
4644
4644
|
});
|
|
4645
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
4645
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
4646
4646
|
}
|
|
4647
4647
|
};
|
|
4648
4648
|
const deserializeAws_restJson1ListEmailIdentitiesCommand = async (output, context) => {
|
|
@@ -4654,12 +4654,12 @@ const deserializeAws_restJson1ListEmailIdentitiesCommand = async (output, contex
|
|
|
4654
4654
|
EmailIdentities: undefined,
|
|
4655
4655
|
NextToken: undefined,
|
|
4656
4656
|
};
|
|
4657
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
4657
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
4658
4658
|
if (data.EmailIdentities !== undefined && data.EmailIdentities !== null) {
|
|
4659
4659
|
contents.EmailIdentities = deserializeAws_restJson1IdentityInfoList(data.EmailIdentities, context);
|
|
4660
4660
|
}
|
|
4661
4661
|
if (data.NextToken !== undefined && data.NextToken !== null) {
|
|
4662
|
-
contents.NextToken = smithy_client_1.expectString(data.NextToken);
|
|
4662
|
+
contents.NextToken = (0, smithy_client_1.expectString)(data.NextToken);
|
|
4663
4663
|
}
|
|
4664
4664
|
return Promise.resolve(contents);
|
|
4665
4665
|
};
|
|
@@ -4686,7 +4686,7 @@ const deserializeAws_restJson1ListEmailIdentitiesCommandError = async (output, c
|
|
|
4686
4686
|
$fault: "client",
|
|
4687
4687
|
$metadata: deserializeMetadata(output),
|
|
4688
4688
|
});
|
|
4689
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
4689
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
4690
4690
|
}
|
|
4691
4691
|
};
|
|
4692
4692
|
const deserializeAws_restJson1ListEmailTemplatesCommand = async (output, context) => {
|
|
@@ -4698,9 +4698,9 @@ const deserializeAws_restJson1ListEmailTemplatesCommand = async (output, context
|
|
|
4698
4698
|
NextToken: undefined,
|
|
4699
4699
|
TemplatesMetadata: undefined,
|
|
4700
4700
|
};
|
|
4701
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
4701
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
4702
4702
|
if (data.NextToken !== undefined && data.NextToken !== null) {
|
|
4703
|
-
contents.NextToken = smithy_client_1.expectString(data.NextToken);
|
|
4703
|
+
contents.NextToken = (0, smithy_client_1.expectString)(data.NextToken);
|
|
4704
4704
|
}
|
|
4705
4705
|
if (data.TemplatesMetadata !== undefined && data.TemplatesMetadata !== null) {
|
|
4706
4706
|
contents.TemplatesMetadata = deserializeAws_restJson1EmailTemplateMetadataList(data.TemplatesMetadata, context);
|
|
@@ -4730,7 +4730,7 @@ const deserializeAws_restJson1ListEmailTemplatesCommandError = async (output, co
|
|
|
4730
4730
|
$fault: "client",
|
|
4731
4731
|
$metadata: deserializeMetadata(output),
|
|
4732
4732
|
});
|
|
4733
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
4733
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
4734
4734
|
}
|
|
4735
4735
|
};
|
|
4736
4736
|
const deserializeAws_restJson1ListImportJobsCommand = async (output, context) => {
|
|
@@ -4742,12 +4742,12 @@ const deserializeAws_restJson1ListImportJobsCommand = async (output, context) =>
|
|
|
4742
4742
|
ImportJobs: undefined,
|
|
4743
4743
|
NextToken: undefined,
|
|
4744
4744
|
};
|
|
4745
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
4745
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
4746
4746
|
if (data.ImportJobs !== undefined && data.ImportJobs !== null) {
|
|
4747
4747
|
contents.ImportJobs = deserializeAws_restJson1ImportJobSummaryList(data.ImportJobs, context);
|
|
4748
4748
|
}
|
|
4749
4749
|
if (data.NextToken !== undefined && data.NextToken !== null) {
|
|
4750
|
-
contents.NextToken = smithy_client_1.expectString(data.NextToken);
|
|
4750
|
+
contents.NextToken = (0, smithy_client_1.expectString)(data.NextToken);
|
|
4751
4751
|
}
|
|
4752
4752
|
return Promise.resolve(contents);
|
|
4753
4753
|
};
|
|
@@ -4774,7 +4774,7 @@ const deserializeAws_restJson1ListImportJobsCommandError = async (output, contex
|
|
|
4774
4774
|
$fault: "client",
|
|
4775
4775
|
$metadata: deserializeMetadata(output),
|
|
4776
4776
|
});
|
|
4777
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
4777
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
4778
4778
|
}
|
|
4779
4779
|
};
|
|
4780
4780
|
const deserializeAws_restJson1ListSuppressedDestinationsCommand = async (output, context) => {
|
|
@@ -4786,9 +4786,9 @@ const deserializeAws_restJson1ListSuppressedDestinationsCommand = async (output,
|
|
|
4786
4786
|
NextToken: undefined,
|
|
4787
4787
|
SuppressedDestinationSummaries: undefined,
|
|
4788
4788
|
};
|
|
4789
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
4789
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
4790
4790
|
if (data.NextToken !== undefined && data.NextToken !== null) {
|
|
4791
|
-
contents.NextToken = smithy_client_1.expectString(data.NextToken);
|
|
4791
|
+
contents.NextToken = (0, smithy_client_1.expectString)(data.NextToken);
|
|
4792
4792
|
}
|
|
4793
4793
|
if (data.SuppressedDestinationSummaries !== undefined && data.SuppressedDestinationSummaries !== null) {
|
|
4794
4794
|
contents.SuppressedDestinationSummaries = deserializeAws_restJson1SuppressedDestinationSummaries(data.SuppressedDestinationSummaries, context);
|
|
@@ -4821,7 +4821,7 @@ const deserializeAws_restJson1ListSuppressedDestinationsCommandError = async (ou
|
|
|
4821
4821
|
$fault: "client",
|
|
4822
4822
|
$metadata: deserializeMetadata(output),
|
|
4823
4823
|
});
|
|
4824
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
4824
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
4825
4825
|
}
|
|
4826
4826
|
};
|
|
4827
4827
|
const deserializeAws_restJson1ListTagsForResourceCommand = async (output, context) => {
|
|
@@ -4832,7 +4832,7 @@ const deserializeAws_restJson1ListTagsForResourceCommand = async (output, contex
|
|
|
4832
4832
|
$metadata: deserializeMetadata(output),
|
|
4833
4833
|
Tags: undefined,
|
|
4834
4834
|
};
|
|
4835
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
4835
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
4836
4836
|
if (data.Tags !== undefined && data.Tags !== null) {
|
|
4837
4837
|
contents.Tags = deserializeAws_restJson1TagList(data.Tags, context);
|
|
4838
4838
|
}
|
|
@@ -4864,7 +4864,7 @@ const deserializeAws_restJson1ListTagsForResourceCommandError = async (output, c
|
|
|
4864
4864
|
$fault: "client",
|
|
4865
4865
|
$metadata: deserializeMetadata(output),
|
|
4866
4866
|
});
|
|
4867
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
4867
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
4868
4868
|
}
|
|
4869
4869
|
};
|
|
4870
4870
|
const deserializeAws_restJson1PutAccountDedicatedIpWarmupAttributesCommand = async (output, context) => {
|
|
@@ -4900,7 +4900,7 @@ const deserializeAws_restJson1PutAccountDedicatedIpWarmupAttributesCommandError
|
|
|
4900
4900
|
$fault: "client",
|
|
4901
4901
|
$metadata: deserializeMetadata(output),
|
|
4902
4902
|
});
|
|
4903
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
4903
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
4904
4904
|
}
|
|
4905
4905
|
};
|
|
4906
4906
|
const deserializeAws_restJson1PutAccountDetailsCommand = async (output, context) => {
|
|
@@ -4939,7 +4939,7 @@ const deserializeAws_restJson1PutAccountDetailsCommandError = async (output, con
|
|
|
4939
4939
|
$fault: "client",
|
|
4940
4940
|
$metadata: deserializeMetadata(output),
|
|
4941
4941
|
});
|
|
4942
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
4942
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
4943
4943
|
}
|
|
4944
4944
|
};
|
|
4945
4945
|
const deserializeAws_restJson1PutAccountSendingAttributesCommand = async (output, context) => {
|
|
@@ -4975,7 +4975,7 @@ const deserializeAws_restJson1PutAccountSendingAttributesCommandError = async (o
|
|
|
4975
4975
|
$fault: "client",
|
|
4976
4976
|
$metadata: deserializeMetadata(output),
|
|
4977
4977
|
});
|
|
4978
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
4978
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
4979
4979
|
}
|
|
4980
4980
|
};
|
|
4981
4981
|
const deserializeAws_restJson1PutAccountSuppressionAttributesCommand = async (output, context) => {
|
|
@@ -5011,7 +5011,7 @@ const deserializeAws_restJson1PutAccountSuppressionAttributesCommandError = asyn
|
|
|
5011
5011
|
$fault: "client",
|
|
5012
5012
|
$metadata: deserializeMetadata(output),
|
|
5013
5013
|
});
|
|
5014
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
5014
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
5015
5015
|
}
|
|
5016
5016
|
};
|
|
5017
5017
|
const deserializeAws_restJson1PutConfigurationSetDeliveryOptionsCommand = async (output, context) => {
|
|
@@ -5050,7 +5050,7 @@ const deserializeAws_restJson1PutConfigurationSetDeliveryOptionsCommandError = a
|
|
|
5050
5050
|
$fault: "client",
|
|
5051
5051
|
$metadata: deserializeMetadata(output),
|
|
5052
5052
|
});
|
|
5053
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
5053
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
5054
5054
|
}
|
|
5055
5055
|
};
|
|
5056
5056
|
const deserializeAws_restJson1PutConfigurationSetReputationOptionsCommand = async (output, context) => {
|
|
@@ -5089,7 +5089,7 @@ const deserializeAws_restJson1PutConfigurationSetReputationOptionsCommandError =
|
|
|
5089
5089
|
$fault: "client",
|
|
5090
5090
|
$metadata: deserializeMetadata(output),
|
|
5091
5091
|
});
|
|
5092
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
5092
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
5093
5093
|
}
|
|
5094
5094
|
};
|
|
5095
5095
|
const deserializeAws_restJson1PutConfigurationSetSendingOptionsCommand = async (output, context) => {
|
|
@@ -5128,7 +5128,7 @@ const deserializeAws_restJson1PutConfigurationSetSendingOptionsCommandError = as
|
|
|
5128
5128
|
$fault: "client",
|
|
5129
5129
|
$metadata: deserializeMetadata(output),
|
|
5130
5130
|
});
|
|
5131
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
5131
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
5132
5132
|
}
|
|
5133
5133
|
};
|
|
5134
5134
|
const deserializeAws_restJson1PutConfigurationSetSuppressionOptionsCommand = async (output, context) => {
|
|
@@ -5167,7 +5167,7 @@ const deserializeAws_restJson1PutConfigurationSetSuppressionOptionsCommandError
|
|
|
5167
5167
|
$fault: "client",
|
|
5168
5168
|
$metadata: deserializeMetadata(output),
|
|
5169
5169
|
});
|
|
5170
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
5170
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
5171
5171
|
}
|
|
5172
5172
|
};
|
|
5173
5173
|
const deserializeAws_restJson1PutConfigurationSetTrackingOptionsCommand = async (output, context) => {
|
|
@@ -5206,7 +5206,7 @@ const deserializeAws_restJson1PutConfigurationSetTrackingOptionsCommandError = a
|
|
|
5206
5206
|
$fault: "client",
|
|
5207
5207
|
$metadata: deserializeMetadata(output),
|
|
5208
5208
|
});
|
|
5209
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
5209
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
5210
5210
|
}
|
|
5211
5211
|
};
|
|
5212
5212
|
const deserializeAws_restJson1PutDedicatedIpInPoolCommand = async (output, context) => {
|
|
@@ -5245,7 +5245,7 @@ const deserializeAws_restJson1PutDedicatedIpInPoolCommandError = async (output,
|
|
|
5245
5245
|
$fault: "client",
|
|
5246
5246
|
$metadata: deserializeMetadata(output),
|
|
5247
5247
|
});
|
|
5248
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
5248
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
5249
5249
|
}
|
|
5250
5250
|
};
|
|
5251
5251
|
const deserializeAws_restJson1PutDedicatedIpWarmupAttributesCommand = async (output, context) => {
|
|
@@ -5284,7 +5284,7 @@ const deserializeAws_restJson1PutDedicatedIpWarmupAttributesCommandError = async
|
|
|
5284
5284
|
$fault: "client",
|
|
5285
5285
|
$metadata: deserializeMetadata(output),
|
|
5286
5286
|
});
|
|
5287
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
5287
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
5288
5288
|
}
|
|
5289
5289
|
};
|
|
5290
5290
|
const deserializeAws_restJson1PutDeliverabilityDashboardOptionCommand = async (output, context) => {
|
|
@@ -5329,7 +5329,7 @@ const deserializeAws_restJson1PutDeliverabilityDashboardOptionCommandError = asy
|
|
|
5329
5329
|
$fault: "client",
|
|
5330
5330
|
$metadata: deserializeMetadata(output),
|
|
5331
5331
|
});
|
|
5332
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
5332
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
5333
5333
|
}
|
|
5334
5334
|
};
|
|
5335
5335
|
const deserializeAws_restJson1PutEmailIdentityConfigurationSetAttributesCommand = async (output, context) => {
|
|
@@ -5368,7 +5368,7 @@ const deserializeAws_restJson1PutEmailIdentityConfigurationSetAttributesCommandE
|
|
|
5368
5368
|
$fault: "client",
|
|
5369
5369
|
$metadata: deserializeMetadata(output),
|
|
5370
5370
|
});
|
|
5371
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
5371
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
5372
5372
|
}
|
|
5373
5373
|
};
|
|
5374
5374
|
const deserializeAws_restJson1PutEmailIdentityDkimAttributesCommand = async (output, context) => {
|
|
@@ -5407,7 +5407,7 @@ const deserializeAws_restJson1PutEmailIdentityDkimAttributesCommandError = async
|
|
|
5407
5407
|
$fault: "client",
|
|
5408
5408
|
$metadata: deserializeMetadata(output),
|
|
5409
5409
|
});
|
|
5410
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
5410
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
5411
5411
|
}
|
|
5412
5412
|
};
|
|
5413
5413
|
const deserializeAws_restJson1PutEmailIdentityDkimSigningAttributesCommand = async (output, context) => {
|
|
@@ -5419,9 +5419,9 @@ const deserializeAws_restJson1PutEmailIdentityDkimSigningAttributesCommand = asy
|
|
|
5419
5419
|
DkimStatus: undefined,
|
|
5420
5420
|
DkimTokens: undefined,
|
|
5421
5421
|
};
|
|
5422
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
5422
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
5423
5423
|
if (data.DkimStatus !== undefined && data.DkimStatus !== null) {
|
|
5424
|
-
contents.DkimStatus = smithy_client_1.expectString(data.DkimStatus);
|
|
5424
|
+
contents.DkimStatus = (0, smithy_client_1.expectString)(data.DkimStatus);
|
|
5425
5425
|
}
|
|
5426
5426
|
if (data.DkimTokens !== undefined && data.DkimTokens !== null) {
|
|
5427
5427
|
contents.DkimTokens = deserializeAws_restJson1DnsTokenList(data.DkimTokens, context);
|
|
@@ -5454,7 +5454,7 @@ const deserializeAws_restJson1PutEmailIdentityDkimSigningAttributesCommandError
|
|
|
5454
5454
|
$fault: "client",
|
|
5455
5455
|
$metadata: deserializeMetadata(output),
|
|
5456
5456
|
});
|
|
5457
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
5457
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
5458
5458
|
}
|
|
5459
5459
|
};
|
|
5460
5460
|
const deserializeAws_restJson1PutEmailIdentityFeedbackAttributesCommand = async (output, context) => {
|
|
@@ -5493,7 +5493,7 @@ const deserializeAws_restJson1PutEmailIdentityFeedbackAttributesCommandError = a
|
|
|
5493
5493
|
$fault: "client",
|
|
5494
5494
|
$metadata: deserializeMetadata(output),
|
|
5495
5495
|
});
|
|
5496
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
5496
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
5497
5497
|
}
|
|
5498
5498
|
};
|
|
5499
5499
|
const deserializeAws_restJson1PutEmailIdentityMailFromAttributesCommand = async (output, context) => {
|
|
@@ -5532,7 +5532,7 @@ const deserializeAws_restJson1PutEmailIdentityMailFromAttributesCommandError = a
|
|
|
5532
5532
|
$fault: "client",
|
|
5533
5533
|
$metadata: deserializeMetadata(output),
|
|
5534
5534
|
});
|
|
5535
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
5535
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
5536
5536
|
}
|
|
5537
5537
|
};
|
|
5538
5538
|
const deserializeAws_restJson1PutSuppressedDestinationCommand = async (output, context) => {
|
|
@@ -5568,7 +5568,7 @@ const deserializeAws_restJson1PutSuppressedDestinationCommandError = async (outp
|
|
|
5568
5568
|
$fault: "client",
|
|
5569
5569
|
$metadata: deserializeMetadata(output),
|
|
5570
5570
|
});
|
|
5571
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
5571
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
5572
5572
|
}
|
|
5573
5573
|
};
|
|
5574
5574
|
const deserializeAws_restJson1SendBulkEmailCommand = async (output, context) => {
|
|
@@ -5579,7 +5579,7 @@ const deserializeAws_restJson1SendBulkEmailCommand = async (output, context) =>
|
|
|
5579
5579
|
$metadata: deserializeMetadata(output),
|
|
5580
5580
|
BulkEmailEntryResults: undefined,
|
|
5581
5581
|
};
|
|
5582
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
5582
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
5583
5583
|
if (data.BulkEmailEntryResults !== undefined && data.BulkEmailEntryResults !== null) {
|
|
5584
5584
|
contents.BulkEmailEntryResults = deserializeAws_restJson1BulkEmailEntryResultList(data.BulkEmailEntryResults, context);
|
|
5585
5585
|
}
|
|
@@ -5626,7 +5626,7 @@ const deserializeAws_restJson1SendBulkEmailCommandError = async (output, context
|
|
|
5626
5626
|
$fault: "client",
|
|
5627
5627
|
$metadata: deserializeMetadata(output),
|
|
5628
5628
|
});
|
|
5629
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
5629
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
5630
5630
|
}
|
|
5631
5631
|
};
|
|
5632
5632
|
const deserializeAws_restJson1SendCustomVerificationEmailCommand = async (output, context) => {
|
|
@@ -5637,9 +5637,9 @@ const deserializeAws_restJson1SendCustomVerificationEmailCommand = async (output
|
|
|
5637
5637
|
$metadata: deserializeMetadata(output),
|
|
5638
5638
|
MessageId: undefined,
|
|
5639
5639
|
};
|
|
5640
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
5640
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
5641
5641
|
if (data.MessageId !== undefined && data.MessageId !== null) {
|
|
5642
|
-
contents.MessageId = smithy_client_1.expectString(data.MessageId);
|
|
5642
|
+
contents.MessageId = (0, smithy_client_1.expectString)(data.MessageId);
|
|
5643
5643
|
}
|
|
5644
5644
|
return Promise.resolve(contents);
|
|
5645
5645
|
};
|
|
@@ -5681,7 +5681,7 @@ const deserializeAws_restJson1SendCustomVerificationEmailCommandError = async (o
|
|
|
5681
5681
|
$fault: "client",
|
|
5682
5682
|
$metadata: deserializeMetadata(output),
|
|
5683
5683
|
});
|
|
5684
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
5684
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
5685
5685
|
}
|
|
5686
5686
|
};
|
|
5687
5687
|
const deserializeAws_restJson1SendEmailCommand = async (output, context) => {
|
|
@@ -5692,9 +5692,9 @@ const deserializeAws_restJson1SendEmailCommand = async (output, context) => {
|
|
|
5692
5692
|
$metadata: deserializeMetadata(output),
|
|
5693
5693
|
MessageId: undefined,
|
|
5694
5694
|
};
|
|
5695
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
5695
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
5696
5696
|
if (data.MessageId !== undefined && data.MessageId !== null) {
|
|
5697
|
-
contents.MessageId = smithy_client_1.expectString(data.MessageId);
|
|
5697
|
+
contents.MessageId = (0, smithy_client_1.expectString)(data.MessageId);
|
|
5698
5698
|
}
|
|
5699
5699
|
return Promise.resolve(contents);
|
|
5700
5700
|
};
|
|
@@ -5739,7 +5739,7 @@ const deserializeAws_restJson1SendEmailCommandError = async (output, context) =>
|
|
|
5739
5739
|
$fault: "client",
|
|
5740
5740
|
$metadata: deserializeMetadata(output),
|
|
5741
5741
|
});
|
|
5742
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
5742
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
5743
5743
|
}
|
|
5744
5744
|
};
|
|
5745
5745
|
const deserializeAws_restJson1TagResourceCommand = async (output, context) => {
|
|
@@ -5781,7 +5781,7 @@ const deserializeAws_restJson1TagResourceCommandError = async (output, context)
|
|
|
5781
5781
|
$fault: "client",
|
|
5782
5782
|
$metadata: deserializeMetadata(output),
|
|
5783
5783
|
});
|
|
5784
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
5784
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
5785
5785
|
}
|
|
5786
5786
|
};
|
|
5787
5787
|
const deserializeAws_restJson1TestRenderEmailTemplateCommand = async (output, context) => {
|
|
@@ -5792,9 +5792,9 @@ const deserializeAws_restJson1TestRenderEmailTemplateCommand = async (output, co
|
|
|
5792
5792
|
$metadata: deserializeMetadata(output),
|
|
5793
5793
|
RenderedTemplate: undefined,
|
|
5794
5794
|
};
|
|
5795
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
5795
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
5796
5796
|
if (data.RenderedTemplate !== undefined && data.RenderedTemplate !== null) {
|
|
5797
|
-
contents.RenderedTemplate = smithy_client_1.expectString(data.RenderedTemplate);
|
|
5797
|
+
contents.RenderedTemplate = (0, smithy_client_1.expectString)(data.RenderedTemplate);
|
|
5798
5798
|
}
|
|
5799
5799
|
return Promise.resolve(contents);
|
|
5800
5800
|
};
|
|
@@ -5824,7 +5824,7 @@ const deserializeAws_restJson1TestRenderEmailTemplateCommandError = async (outpu
|
|
|
5824
5824
|
$fault: "client",
|
|
5825
5825
|
$metadata: deserializeMetadata(output),
|
|
5826
5826
|
});
|
|
5827
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
5827
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
5828
5828
|
}
|
|
5829
5829
|
};
|
|
5830
5830
|
const deserializeAws_restJson1UntagResourceCommand = async (output, context) => {
|
|
@@ -5866,7 +5866,7 @@ const deserializeAws_restJson1UntagResourceCommandError = async (output, context
|
|
|
5866
5866
|
$fault: "client",
|
|
5867
5867
|
$metadata: deserializeMetadata(output),
|
|
5868
5868
|
});
|
|
5869
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
5869
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
5870
5870
|
}
|
|
5871
5871
|
};
|
|
5872
5872
|
const deserializeAws_restJson1UpdateConfigurationSetEventDestinationCommand = async (output, context) => {
|
|
@@ -5905,7 +5905,7 @@ const deserializeAws_restJson1UpdateConfigurationSetEventDestinationCommandError
|
|
|
5905
5905
|
$fault: "client",
|
|
5906
5906
|
$metadata: deserializeMetadata(output),
|
|
5907
5907
|
});
|
|
5908
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
5908
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
5909
5909
|
}
|
|
5910
5910
|
};
|
|
5911
5911
|
const deserializeAws_restJson1UpdateContactCommand = async (output, context) => {
|
|
@@ -5947,7 +5947,7 @@ const deserializeAws_restJson1UpdateContactCommandError = async (output, context
|
|
|
5947
5947
|
$fault: "client",
|
|
5948
5948
|
$metadata: deserializeMetadata(output),
|
|
5949
5949
|
});
|
|
5950
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
5950
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
5951
5951
|
}
|
|
5952
5952
|
};
|
|
5953
5953
|
const deserializeAws_restJson1UpdateContactListCommand = async (output, context) => {
|
|
@@ -5989,7 +5989,7 @@ const deserializeAws_restJson1UpdateContactListCommandError = async (output, con
|
|
|
5989
5989
|
$fault: "client",
|
|
5990
5990
|
$metadata: deserializeMetadata(output),
|
|
5991
5991
|
});
|
|
5992
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
5992
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
5993
5993
|
}
|
|
5994
5994
|
};
|
|
5995
5995
|
const deserializeAws_restJson1UpdateCustomVerificationEmailTemplateCommand = async (output, context) => {
|
|
@@ -6028,7 +6028,7 @@ const deserializeAws_restJson1UpdateCustomVerificationEmailTemplateCommandError
|
|
|
6028
6028
|
$fault: "client",
|
|
6029
6029
|
$metadata: deserializeMetadata(output),
|
|
6030
6030
|
});
|
|
6031
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
6031
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
6032
6032
|
}
|
|
6033
6033
|
};
|
|
6034
6034
|
const deserializeAws_restJson1UpdateEmailIdentityPolicyCommand = async (output, context) => {
|
|
@@ -6067,7 +6067,7 @@ const deserializeAws_restJson1UpdateEmailIdentityPolicyCommandError = async (out
|
|
|
6067
6067
|
$fault: "client",
|
|
6068
6068
|
$metadata: deserializeMetadata(output),
|
|
6069
6069
|
});
|
|
6070
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
6070
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
6071
6071
|
}
|
|
6072
6072
|
};
|
|
6073
6073
|
const deserializeAws_restJson1UpdateEmailTemplateCommand = async (output, context) => {
|
|
@@ -6106,152 +6106,152 @@ const deserializeAws_restJson1UpdateEmailTemplateCommandError = async (output, c
|
|
|
6106
6106
|
$fault: "client",
|
|
6107
6107
|
$metadata: deserializeMetadata(output),
|
|
6108
6108
|
});
|
|
6109
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
6109
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
6110
6110
|
}
|
|
6111
6111
|
};
|
|
6112
6112
|
const deserializeAws_restJson1AccountSuspendedExceptionResponse = async (parsedOutput, context) => {
|
|
6113
6113
|
const contents = {};
|
|
6114
6114
|
const data = parsedOutput.body;
|
|
6115
6115
|
if (data.message !== undefined && data.message !== null) {
|
|
6116
|
-
contents.message = smithy_client_1.expectString(data.message);
|
|
6116
|
+
contents.message = (0, smithy_client_1.expectString)(data.message);
|
|
6117
6117
|
}
|
|
6118
6118
|
const exception = new models_0_1.AccountSuspendedException({
|
|
6119
6119
|
$metadata: deserializeMetadata(parsedOutput),
|
|
6120
6120
|
...contents,
|
|
6121
6121
|
});
|
|
6122
|
-
return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
|
|
6122
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
6123
6123
|
};
|
|
6124
6124
|
const deserializeAws_restJson1AlreadyExistsExceptionResponse = async (parsedOutput, context) => {
|
|
6125
6125
|
const contents = {};
|
|
6126
6126
|
const data = parsedOutput.body;
|
|
6127
6127
|
if (data.message !== undefined && data.message !== null) {
|
|
6128
|
-
contents.message = smithy_client_1.expectString(data.message);
|
|
6128
|
+
contents.message = (0, smithy_client_1.expectString)(data.message);
|
|
6129
6129
|
}
|
|
6130
6130
|
const exception = new models_0_1.AlreadyExistsException({
|
|
6131
6131
|
$metadata: deserializeMetadata(parsedOutput),
|
|
6132
6132
|
...contents,
|
|
6133
6133
|
});
|
|
6134
|
-
return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
|
|
6134
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
6135
6135
|
};
|
|
6136
6136
|
const deserializeAws_restJson1BadRequestExceptionResponse = async (parsedOutput, context) => {
|
|
6137
6137
|
const contents = {};
|
|
6138
6138
|
const data = parsedOutput.body;
|
|
6139
6139
|
if (data.message !== undefined && data.message !== null) {
|
|
6140
|
-
contents.message = smithy_client_1.expectString(data.message);
|
|
6140
|
+
contents.message = (0, smithy_client_1.expectString)(data.message);
|
|
6141
6141
|
}
|
|
6142
6142
|
const exception = new models_0_1.BadRequestException({
|
|
6143
6143
|
$metadata: deserializeMetadata(parsedOutput),
|
|
6144
6144
|
...contents,
|
|
6145
6145
|
});
|
|
6146
|
-
return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
|
|
6146
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
6147
6147
|
};
|
|
6148
6148
|
const deserializeAws_restJson1ConcurrentModificationExceptionResponse = async (parsedOutput, context) => {
|
|
6149
6149
|
const contents = {};
|
|
6150
6150
|
const data = parsedOutput.body;
|
|
6151
6151
|
if (data.message !== undefined && data.message !== null) {
|
|
6152
|
-
contents.message = smithy_client_1.expectString(data.message);
|
|
6152
|
+
contents.message = (0, smithy_client_1.expectString)(data.message);
|
|
6153
6153
|
}
|
|
6154
6154
|
const exception = new models_0_1.ConcurrentModificationException({
|
|
6155
6155
|
$metadata: deserializeMetadata(parsedOutput),
|
|
6156
6156
|
...contents,
|
|
6157
6157
|
});
|
|
6158
|
-
return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
|
|
6158
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
6159
6159
|
};
|
|
6160
6160
|
const deserializeAws_restJson1ConflictExceptionResponse = async (parsedOutput, context) => {
|
|
6161
6161
|
const contents = {};
|
|
6162
6162
|
const data = parsedOutput.body;
|
|
6163
6163
|
if (data.message !== undefined && data.message !== null) {
|
|
6164
|
-
contents.message = smithy_client_1.expectString(data.message);
|
|
6164
|
+
contents.message = (0, smithy_client_1.expectString)(data.message);
|
|
6165
6165
|
}
|
|
6166
6166
|
const exception = new models_0_1.ConflictException({
|
|
6167
6167
|
$metadata: deserializeMetadata(parsedOutput),
|
|
6168
6168
|
...contents,
|
|
6169
6169
|
});
|
|
6170
|
-
return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
|
|
6170
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
6171
6171
|
};
|
|
6172
6172
|
const deserializeAws_restJson1InvalidNextTokenExceptionResponse = async (parsedOutput, context) => {
|
|
6173
6173
|
const contents = {};
|
|
6174
6174
|
const data = parsedOutput.body;
|
|
6175
6175
|
if (data.message !== undefined && data.message !== null) {
|
|
6176
|
-
contents.message = smithy_client_1.expectString(data.message);
|
|
6176
|
+
contents.message = (0, smithy_client_1.expectString)(data.message);
|
|
6177
6177
|
}
|
|
6178
6178
|
const exception = new models_0_1.InvalidNextTokenException({
|
|
6179
6179
|
$metadata: deserializeMetadata(parsedOutput),
|
|
6180
6180
|
...contents,
|
|
6181
6181
|
});
|
|
6182
|
-
return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
|
|
6182
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
6183
6183
|
};
|
|
6184
6184
|
const deserializeAws_restJson1LimitExceededExceptionResponse = async (parsedOutput, context) => {
|
|
6185
6185
|
const contents = {};
|
|
6186
6186
|
const data = parsedOutput.body;
|
|
6187
6187
|
if (data.message !== undefined && data.message !== null) {
|
|
6188
|
-
contents.message = smithy_client_1.expectString(data.message);
|
|
6188
|
+
contents.message = (0, smithy_client_1.expectString)(data.message);
|
|
6189
6189
|
}
|
|
6190
6190
|
const exception = new models_0_1.LimitExceededException({
|
|
6191
6191
|
$metadata: deserializeMetadata(parsedOutput),
|
|
6192
6192
|
...contents,
|
|
6193
6193
|
});
|
|
6194
|
-
return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
|
|
6194
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
6195
6195
|
};
|
|
6196
6196
|
const deserializeAws_restJson1MailFromDomainNotVerifiedExceptionResponse = async (parsedOutput, context) => {
|
|
6197
6197
|
const contents = {};
|
|
6198
6198
|
const data = parsedOutput.body;
|
|
6199
6199
|
if (data.message !== undefined && data.message !== null) {
|
|
6200
|
-
contents.message = smithy_client_1.expectString(data.message);
|
|
6200
|
+
contents.message = (0, smithy_client_1.expectString)(data.message);
|
|
6201
6201
|
}
|
|
6202
6202
|
const exception = new models_0_1.MailFromDomainNotVerifiedException({
|
|
6203
6203
|
$metadata: deserializeMetadata(parsedOutput),
|
|
6204
6204
|
...contents,
|
|
6205
6205
|
});
|
|
6206
|
-
return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
|
|
6206
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
6207
6207
|
};
|
|
6208
6208
|
const deserializeAws_restJson1MessageRejectedResponse = async (parsedOutput, context) => {
|
|
6209
6209
|
const contents = {};
|
|
6210
6210
|
const data = parsedOutput.body;
|
|
6211
6211
|
if (data.message !== undefined && data.message !== null) {
|
|
6212
|
-
contents.message = smithy_client_1.expectString(data.message);
|
|
6212
|
+
contents.message = (0, smithy_client_1.expectString)(data.message);
|
|
6213
6213
|
}
|
|
6214
6214
|
const exception = new models_0_1.MessageRejected({
|
|
6215
6215
|
$metadata: deserializeMetadata(parsedOutput),
|
|
6216
6216
|
...contents,
|
|
6217
6217
|
});
|
|
6218
|
-
return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
|
|
6218
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
6219
6219
|
};
|
|
6220
6220
|
const deserializeAws_restJson1NotFoundExceptionResponse = async (parsedOutput, context) => {
|
|
6221
6221
|
const contents = {};
|
|
6222
6222
|
const data = parsedOutput.body;
|
|
6223
6223
|
if (data.message !== undefined && data.message !== null) {
|
|
6224
|
-
contents.message = smithy_client_1.expectString(data.message);
|
|
6224
|
+
contents.message = (0, smithy_client_1.expectString)(data.message);
|
|
6225
6225
|
}
|
|
6226
6226
|
const exception = new models_0_1.NotFoundException({
|
|
6227
6227
|
$metadata: deserializeMetadata(parsedOutput),
|
|
6228
6228
|
...contents,
|
|
6229
6229
|
});
|
|
6230
|
-
return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
|
|
6230
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
6231
6231
|
};
|
|
6232
6232
|
const deserializeAws_restJson1SendingPausedExceptionResponse = async (parsedOutput, context) => {
|
|
6233
6233
|
const contents = {};
|
|
6234
6234
|
const data = parsedOutput.body;
|
|
6235
6235
|
if (data.message !== undefined && data.message !== null) {
|
|
6236
|
-
contents.message = smithy_client_1.expectString(data.message);
|
|
6236
|
+
contents.message = (0, smithy_client_1.expectString)(data.message);
|
|
6237
6237
|
}
|
|
6238
6238
|
const exception = new models_0_1.SendingPausedException({
|
|
6239
6239
|
$metadata: deserializeMetadata(parsedOutput),
|
|
6240
6240
|
...contents,
|
|
6241
6241
|
});
|
|
6242
|
-
return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
|
|
6242
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
6243
6243
|
};
|
|
6244
6244
|
const deserializeAws_restJson1TooManyRequestsExceptionResponse = async (parsedOutput, context) => {
|
|
6245
6245
|
const contents = {};
|
|
6246
6246
|
const data = parsedOutput.body;
|
|
6247
6247
|
if (data.message !== undefined && data.message !== null) {
|
|
6248
|
-
contents.message = smithy_client_1.expectString(data.message);
|
|
6248
|
+
contents.message = (0, smithy_client_1.expectString)(data.message);
|
|
6249
6249
|
}
|
|
6250
6250
|
const exception = new models_0_1.TooManyRequestsException({
|
|
6251
6251
|
$metadata: deserializeMetadata(parsedOutput),
|
|
6252
6252
|
...contents,
|
|
6253
6253
|
});
|
|
6254
|
-
return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
|
|
6254
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
6255
6255
|
};
|
|
6256
6256
|
const serializeAws_restJson1AdditionalContactEmailAddresses = (input, context) => {
|
|
6257
6257
|
return input
|
|
@@ -6686,13 +6686,13 @@ const deserializeAws_restJson1AccountDetails = (output, context) => {
|
|
|
6686
6686
|
AdditionalContactEmailAddresses: output.AdditionalContactEmailAddresses !== undefined && output.AdditionalContactEmailAddresses !== null
|
|
6687
6687
|
? deserializeAws_restJson1AdditionalContactEmailAddresses(output.AdditionalContactEmailAddresses, context)
|
|
6688
6688
|
: undefined,
|
|
6689
|
-
ContactLanguage: smithy_client_1.expectString(output.ContactLanguage),
|
|
6690
|
-
MailType: smithy_client_1.expectString(output.MailType),
|
|
6689
|
+
ContactLanguage: (0, smithy_client_1.expectString)(output.ContactLanguage),
|
|
6690
|
+
MailType: (0, smithy_client_1.expectString)(output.MailType),
|
|
6691
6691
|
ReviewDetails: output.ReviewDetails !== undefined && output.ReviewDetails !== null
|
|
6692
6692
|
? deserializeAws_restJson1ReviewDetails(output.ReviewDetails, context)
|
|
6693
6693
|
: undefined,
|
|
6694
|
-
UseCaseDescription: smithy_client_1.expectString(output.UseCaseDescription),
|
|
6695
|
-
WebsiteURL: smithy_client_1.expectString(output.WebsiteURL),
|
|
6694
|
+
UseCaseDescription: (0, smithy_client_1.expectString)(output.UseCaseDescription),
|
|
6695
|
+
WebsiteURL: (0, smithy_client_1.expectString)(output.WebsiteURL),
|
|
6696
6696
|
};
|
|
6697
6697
|
};
|
|
6698
6698
|
const deserializeAws_restJson1AdditionalContactEmailAddresses = (output, context) => {
|
|
@@ -6702,7 +6702,7 @@ const deserializeAws_restJson1AdditionalContactEmailAddresses = (output, context
|
|
|
6702
6702
|
if (entry === null) {
|
|
6703
6703
|
return null;
|
|
6704
6704
|
}
|
|
6705
|
-
return smithy_client_1.expectString(entry);
|
|
6705
|
+
return (0, smithy_client_1.expectString)(entry);
|
|
6706
6706
|
});
|
|
6707
6707
|
return retVal;
|
|
6708
6708
|
};
|
|
@@ -6719,11 +6719,11 @@ const deserializeAws_restJson1BlacklistEntries = (output, context) => {
|
|
|
6719
6719
|
};
|
|
6720
6720
|
const deserializeAws_restJson1BlacklistEntry = (output, context) => {
|
|
6721
6721
|
return {
|
|
6722
|
-
Description: smithy_client_1.expectString(output.Description),
|
|
6722
|
+
Description: (0, smithy_client_1.expectString)(output.Description),
|
|
6723
6723
|
ListingTime: output.ListingTime !== undefined && output.ListingTime !== null
|
|
6724
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.ListingTime)))
|
|
6724
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.ListingTime)))
|
|
6725
6725
|
: undefined,
|
|
6726
|
-
RblName: smithy_client_1.expectString(output.RblName),
|
|
6726
|
+
RblName: (0, smithy_client_1.expectString)(output.RblName),
|
|
6727
6727
|
};
|
|
6728
6728
|
};
|
|
6729
6729
|
const deserializeAws_restJson1BlacklistReport = (output, context) => {
|
|
@@ -6739,9 +6739,9 @@ const deserializeAws_restJson1BlacklistReport = (output, context) => {
|
|
|
6739
6739
|
};
|
|
6740
6740
|
const deserializeAws_restJson1BulkEmailEntryResult = (output, context) => {
|
|
6741
6741
|
return {
|
|
6742
|
-
Error: smithy_client_1.expectString(output.Error),
|
|
6743
|
-
MessageId: smithy_client_1.expectString(output.MessageId),
|
|
6744
|
-
Status: smithy_client_1.expectString(output.Status),
|
|
6742
|
+
Error: (0, smithy_client_1.expectString)(output.Error),
|
|
6743
|
+
MessageId: (0, smithy_client_1.expectString)(output.MessageId),
|
|
6744
|
+
Status: (0, smithy_client_1.expectString)(output.Status),
|
|
6745
6745
|
};
|
|
6746
6746
|
};
|
|
6747
6747
|
const deserializeAws_restJson1BulkEmailEntryResultList = (output, context) => {
|
|
@@ -6764,9 +6764,9 @@ const deserializeAws_restJson1CloudWatchDestination = (output, context) => {
|
|
|
6764
6764
|
};
|
|
6765
6765
|
const deserializeAws_restJson1CloudWatchDimensionConfiguration = (output, context) => {
|
|
6766
6766
|
return {
|
|
6767
|
-
DefaultDimensionValue: smithy_client_1.expectString(output.DefaultDimensionValue),
|
|
6768
|
-
DimensionName: smithy_client_1.expectString(output.DimensionName),
|
|
6769
|
-
DimensionValueSource: smithy_client_1.expectString(output.DimensionValueSource),
|
|
6767
|
+
DefaultDimensionValue: (0, smithy_client_1.expectString)(output.DefaultDimensionValue),
|
|
6768
|
+
DimensionName: (0, smithy_client_1.expectString)(output.DimensionName),
|
|
6769
|
+
DimensionValueSource: (0, smithy_client_1.expectString)(output.DimensionValueSource),
|
|
6770
6770
|
};
|
|
6771
6771
|
};
|
|
6772
6772
|
const deserializeAws_restJson1CloudWatchDimensionConfigurations = (output, context) => {
|
|
@@ -6787,15 +6787,15 @@ const deserializeAws_restJson1ConfigurationSetNameList = (output, context) => {
|
|
|
6787
6787
|
if (entry === null) {
|
|
6788
6788
|
return null;
|
|
6789
6789
|
}
|
|
6790
|
-
return smithy_client_1.expectString(entry);
|
|
6790
|
+
return (0, smithy_client_1.expectString)(entry);
|
|
6791
6791
|
});
|
|
6792
6792
|
return retVal;
|
|
6793
6793
|
};
|
|
6794
6794
|
const deserializeAws_restJson1Contact = (output, context) => {
|
|
6795
6795
|
return {
|
|
6796
|
-
EmailAddress: smithy_client_1.expectString(output.EmailAddress),
|
|
6796
|
+
EmailAddress: (0, smithy_client_1.expectString)(output.EmailAddress),
|
|
6797
6797
|
LastUpdatedTimestamp: output.LastUpdatedTimestamp !== undefined && output.LastUpdatedTimestamp !== null
|
|
6798
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.LastUpdatedTimestamp)))
|
|
6798
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.LastUpdatedTimestamp)))
|
|
6799
6799
|
: undefined,
|
|
6800
6800
|
TopicDefaultPreferences: output.TopicDefaultPreferences !== undefined && output.TopicDefaultPreferences !== null
|
|
6801
6801
|
? deserializeAws_restJson1TopicPreferenceList(output.TopicDefaultPreferences, context)
|
|
@@ -6803,30 +6803,30 @@ const deserializeAws_restJson1Contact = (output, context) => {
|
|
|
6803
6803
|
TopicPreferences: output.TopicPreferences !== undefined && output.TopicPreferences !== null
|
|
6804
6804
|
? deserializeAws_restJson1TopicPreferenceList(output.TopicPreferences, context)
|
|
6805
6805
|
: undefined,
|
|
6806
|
-
UnsubscribeAll: smithy_client_1.expectBoolean(output.UnsubscribeAll),
|
|
6806
|
+
UnsubscribeAll: (0, smithy_client_1.expectBoolean)(output.UnsubscribeAll),
|
|
6807
6807
|
};
|
|
6808
6808
|
};
|
|
6809
6809
|
const deserializeAws_restJson1ContactList = (output, context) => {
|
|
6810
6810
|
return {
|
|
6811
|
-
ContactListName: smithy_client_1.expectString(output.ContactListName),
|
|
6811
|
+
ContactListName: (0, smithy_client_1.expectString)(output.ContactListName),
|
|
6812
6812
|
LastUpdatedTimestamp: output.LastUpdatedTimestamp !== undefined && output.LastUpdatedTimestamp !== null
|
|
6813
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.LastUpdatedTimestamp)))
|
|
6813
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.LastUpdatedTimestamp)))
|
|
6814
6814
|
: undefined,
|
|
6815
6815
|
};
|
|
6816
6816
|
};
|
|
6817
6817
|
const deserializeAws_restJson1ContactListDestination = (output, context) => {
|
|
6818
6818
|
return {
|
|
6819
|
-
ContactListImportAction: smithy_client_1.expectString(output.ContactListImportAction),
|
|
6820
|
-
ContactListName: smithy_client_1.expectString(output.ContactListName),
|
|
6819
|
+
ContactListImportAction: (0, smithy_client_1.expectString)(output.ContactListImportAction),
|
|
6820
|
+
ContactListName: (0, smithy_client_1.expectString)(output.ContactListName),
|
|
6821
6821
|
};
|
|
6822
6822
|
};
|
|
6823
6823
|
const deserializeAws_restJson1CustomVerificationEmailTemplateMetadata = (output, context) => {
|
|
6824
6824
|
return {
|
|
6825
|
-
FailureRedirectionURL: smithy_client_1.expectString(output.FailureRedirectionURL),
|
|
6826
|
-
FromEmailAddress: smithy_client_1.expectString(output.FromEmailAddress),
|
|
6827
|
-
SuccessRedirectionURL: smithy_client_1.expectString(output.SuccessRedirectionURL),
|
|
6828
|
-
TemplateName: smithy_client_1.expectString(output.TemplateName),
|
|
6829
|
-
TemplateSubject: smithy_client_1.expectString(output.TemplateSubject),
|
|
6825
|
+
FailureRedirectionURL: (0, smithy_client_1.expectString)(output.FailureRedirectionURL),
|
|
6826
|
+
FromEmailAddress: (0, smithy_client_1.expectString)(output.FromEmailAddress),
|
|
6827
|
+
SuccessRedirectionURL: (0, smithy_client_1.expectString)(output.SuccessRedirectionURL),
|
|
6828
|
+
TemplateName: (0, smithy_client_1.expectString)(output.TemplateName),
|
|
6829
|
+
TemplateSubject: (0, smithy_client_1.expectString)(output.TemplateSubject),
|
|
6830
6830
|
};
|
|
6831
6831
|
};
|
|
6832
6832
|
const deserializeAws_restJson1CustomVerificationEmailTemplatesList = (output, context) => {
|
|
@@ -6846,7 +6846,7 @@ const deserializeAws_restJson1DailyVolume = (output, context) => {
|
|
|
6846
6846
|
? deserializeAws_restJson1DomainIspPlacements(output.DomainIspPlacements, context)
|
|
6847
6847
|
: undefined,
|
|
6848
6848
|
StartDate: output.StartDate !== undefined && output.StartDate !== null
|
|
6849
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.StartDate)))
|
|
6849
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.StartDate)))
|
|
6850
6850
|
: undefined,
|
|
6851
6851
|
VolumeStatistics: output.VolumeStatistics !== undefined && output.VolumeStatistics !== null
|
|
6852
6852
|
? deserializeAws_restJson1VolumeStatistics(output.VolumeStatistics, context)
|
|
@@ -6866,10 +6866,10 @@ const deserializeAws_restJson1DailyVolumes = (output, context) => {
|
|
|
6866
6866
|
};
|
|
6867
6867
|
const deserializeAws_restJson1DedicatedIp = (output, context) => {
|
|
6868
6868
|
return {
|
|
6869
|
-
Ip: smithy_client_1.expectString(output.Ip),
|
|
6870
|
-
PoolName: smithy_client_1.expectString(output.PoolName),
|
|
6871
|
-
WarmupPercentage: smithy_client_1.expectInt32(output.WarmupPercentage),
|
|
6872
|
-
WarmupStatus: smithy_client_1.expectString(output.WarmupStatus),
|
|
6869
|
+
Ip: (0, smithy_client_1.expectString)(output.Ip),
|
|
6870
|
+
PoolName: (0, smithy_client_1.expectString)(output.PoolName),
|
|
6871
|
+
WarmupPercentage: (0, smithy_client_1.expectInt32)(output.WarmupPercentage),
|
|
6872
|
+
WarmupStatus: (0, smithy_client_1.expectString)(output.WarmupStatus),
|
|
6873
6873
|
};
|
|
6874
6874
|
};
|
|
6875
6875
|
const deserializeAws_restJson1DedicatedIpList = (output, context) => {
|
|
@@ -6886,13 +6886,13 @@ const deserializeAws_restJson1DedicatedIpList = (output, context) => {
|
|
|
6886
6886
|
const deserializeAws_restJson1DeliverabilityTestReport = (output, context) => {
|
|
6887
6887
|
return {
|
|
6888
6888
|
CreateDate: output.CreateDate !== undefined && output.CreateDate !== null
|
|
6889
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreateDate)))
|
|
6889
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreateDate)))
|
|
6890
6890
|
: undefined,
|
|
6891
|
-
DeliverabilityTestStatus: smithy_client_1.expectString(output.DeliverabilityTestStatus),
|
|
6892
|
-
FromEmailAddress: smithy_client_1.expectString(output.FromEmailAddress),
|
|
6893
|
-
ReportId: smithy_client_1.expectString(output.ReportId),
|
|
6894
|
-
ReportName: smithy_client_1.expectString(output.ReportName),
|
|
6895
|
-
Subject: smithy_client_1.expectString(output.Subject),
|
|
6891
|
+
DeliverabilityTestStatus: (0, smithy_client_1.expectString)(output.DeliverabilityTestStatus),
|
|
6892
|
+
FromEmailAddress: (0, smithy_client_1.expectString)(output.FromEmailAddress),
|
|
6893
|
+
ReportId: (0, smithy_client_1.expectString)(output.ReportId),
|
|
6894
|
+
ReportName: (0, smithy_client_1.expectString)(output.ReportName),
|
|
6895
|
+
Subject: (0, smithy_client_1.expectString)(output.Subject),
|
|
6896
6896
|
};
|
|
6897
6897
|
};
|
|
6898
6898
|
const deserializeAws_restJson1DeliverabilityTestReports = (output, context) => {
|
|
@@ -6908,20 +6908,20 @@ const deserializeAws_restJson1DeliverabilityTestReports = (output, context) => {
|
|
|
6908
6908
|
};
|
|
6909
6909
|
const deserializeAws_restJson1DeliveryOptions = (output, context) => {
|
|
6910
6910
|
return {
|
|
6911
|
-
SendingPoolName: smithy_client_1.expectString(output.SendingPoolName),
|
|
6912
|
-
TlsPolicy: smithy_client_1.expectString(output.TlsPolicy),
|
|
6911
|
+
SendingPoolName: (0, smithy_client_1.expectString)(output.SendingPoolName),
|
|
6912
|
+
TlsPolicy: (0, smithy_client_1.expectString)(output.TlsPolicy),
|
|
6913
6913
|
};
|
|
6914
6914
|
};
|
|
6915
6915
|
const deserializeAws_restJson1DkimAttributes = (output, context) => {
|
|
6916
6916
|
return {
|
|
6917
|
-
CurrentSigningKeyLength: smithy_client_1.expectString(output.CurrentSigningKeyLength),
|
|
6917
|
+
CurrentSigningKeyLength: (0, smithy_client_1.expectString)(output.CurrentSigningKeyLength),
|
|
6918
6918
|
LastKeyGenerationTimestamp: output.LastKeyGenerationTimestamp !== undefined && output.LastKeyGenerationTimestamp !== null
|
|
6919
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.LastKeyGenerationTimestamp)))
|
|
6919
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.LastKeyGenerationTimestamp)))
|
|
6920
6920
|
: undefined,
|
|
6921
|
-
NextSigningKeyLength: smithy_client_1.expectString(output.NextSigningKeyLength),
|
|
6922
|
-
SigningAttributesOrigin: smithy_client_1.expectString(output.SigningAttributesOrigin),
|
|
6923
|
-
SigningEnabled: smithy_client_1.expectBoolean(output.SigningEnabled),
|
|
6924
|
-
Status: smithy_client_1.expectString(output.Status),
|
|
6921
|
+
NextSigningKeyLength: (0, smithy_client_1.expectString)(output.NextSigningKeyLength),
|
|
6922
|
+
SigningAttributesOrigin: (0, smithy_client_1.expectString)(output.SigningAttributesOrigin),
|
|
6923
|
+
SigningEnabled: (0, smithy_client_1.expectBoolean)(output.SigningEnabled),
|
|
6924
|
+
Status: (0, smithy_client_1.expectString)(output.Status),
|
|
6925
6925
|
Tokens: output.Tokens !== undefined && output.Tokens !== null
|
|
6926
6926
|
? deserializeAws_restJson1DnsTokenList(output.Tokens, context)
|
|
6927
6927
|
: undefined,
|
|
@@ -6934,34 +6934,34 @@ const deserializeAws_restJson1DnsTokenList = (output, context) => {
|
|
|
6934
6934
|
if (entry === null) {
|
|
6935
6935
|
return null;
|
|
6936
6936
|
}
|
|
6937
|
-
return smithy_client_1.expectString(entry);
|
|
6937
|
+
return (0, smithy_client_1.expectString)(entry);
|
|
6938
6938
|
});
|
|
6939
6939
|
return retVal;
|
|
6940
6940
|
};
|
|
6941
6941
|
const deserializeAws_restJson1DomainDeliverabilityCampaign = (output, context) => {
|
|
6942
6942
|
return {
|
|
6943
|
-
CampaignId: smithy_client_1.expectString(output.CampaignId),
|
|
6944
|
-
DeleteRate: smithy_client_1.limitedParseDouble(output.DeleteRate),
|
|
6943
|
+
CampaignId: (0, smithy_client_1.expectString)(output.CampaignId),
|
|
6944
|
+
DeleteRate: (0, smithy_client_1.limitedParseDouble)(output.DeleteRate),
|
|
6945
6945
|
Esps: output.Esps !== undefined && output.Esps !== null
|
|
6946
6946
|
? deserializeAws_restJson1Esps(output.Esps, context)
|
|
6947
6947
|
: undefined,
|
|
6948
6948
|
FirstSeenDateTime: output.FirstSeenDateTime !== undefined && output.FirstSeenDateTime !== null
|
|
6949
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.FirstSeenDateTime)))
|
|
6949
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.FirstSeenDateTime)))
|
|
6950
6950
|
: undefined,
|
|
6951
|
-
FromAddress: smithy_client_1.expectString(output.FromAddress),
|
|
6952
|
-
ImageUrl: smithy_client_1.expectString(output.ImageUrl),
|
|
6953
|
-
InboxCount: smithy_client_1.expectLong(output.InboxCount),
|
|
6951
|
+
FromAddress: (0, smithy_client_1.expectString)(output.FromAddress),
|
|
6952
|
+
ImageUrl: (0, smithy_client_1.expectString)(output.ImageUrl),
|
|
6953
|
+
InboxCount: (0, smithy_client_1.expectLong)(output.InboxCount),
|
|
6954
6954
|
LastSeenDateTime: output.LastSeenDateTime !== undefined && output.LastSeenDateTime !== null
|
|
6955
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.LastSeenDateTime)))
|
|
6955
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.LastSeenDateTime)))
|
|
6956
6956
|
: undefined,
|
|
6957
|
-
ProjectedVolume: smithy_client_1.expectLong(output.ProjectedVolume),
|
|
6958
|
-
ReadDeleteRate: smithy_client_1.limitedParseDouble(output.ReadDeleteRate),
|
|
6959
|
-
ReadRate: smithy_client_1.limitedParseDouble(output.ReadRate),
|
|
6957
|
+
ProjectedVolume: (0, smithy_client_1.expectLong)(output.ProjectedVolume),
|
|
6958
|
+
ReadDeleteRate: (0, smithy_client_1.limitedParseDouble)(output.ReadDeleteRate),
|
|
6959
|
+
ReadRate: (0, smithy_client_1.limitedParseDouble)(output.ReadRate),
|
|
6960
6960
|
SendingIps: output.SendingIps !== undefined && output.SendingIps !== null
|
|
6961
6961
|
? deserializeAws_restJson1IpList(output.SendingIps, context)
|
|
6962
6962
|
: undefined,
|
|
6963
|
-
SpamCount: smithy_client_1.expectLong(output.SpamCount),
|
|
6964
|
-
Subject: smithy_client_1.expectString(output.Subject),
|
|
6963
|
+
SpamCount: (0, smithy_client_1.expectLong)(output.SpamCount),
|
|
6964
|
+
Subject: (0, smithy_client_1.expectString)(output.Subject),
|
|
6965
6965
|
};
|
|
6966
6966
|
};
|
|
6967
6967
|
const deserializeAws_restJson1DomainDeliverabilityCampaignList = (output, context) => {
|
|
@@ -6977,12 +6977,12 @@ const deserializeAws_restJson1DomainDeliverabilityCampaignList = (output, contex
|
|
|
6977
6977
|
};
|
|
6978
6978
|
const deserializeAws_restJson1DomainDeliverabilityTrackingOption = (output, context) => {
|
|
6979
6979
|
return {
|
|
6980
|
-
Domain: smithy_client_1.expectString(output.Domain),
|
|
6980
|
+
Domain: (0, smithy_client_1.expectString)(output.Domain),
|
|
6981
6981
|
InboxPlacementTrackingOption: output.InboxPlacementTrackingOption !== undefined && output.InboxPlacementTrackingOption !== null
|
|
6982
6982
|
? deserializeAws_restJson1InboxPlacementTrackingOption(output.InboxPlacementTrackingOption, context)
|
|
6983
6983
|
: undefined,
|
|
6984
6984
|
SubscriptionStartDate: output.SubscriptionStartDate !== undefined && output.SubscriptionStartDate !== null
|
|
6985
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.SubscriptionStartDate)))
|
|
6985
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.SubscriptionStartDate)))
|
|
6986
6986
|
: undefined,
|
|
6987
6987
|
};
|
|
6988
6988
|
};
|
|
@@ -6999,11 +6999,11 @@ const deserializeAws_restJson1DomainDeliverabilityTrackingOptions = (output, con
|
|
|
6999
6999
|
};
|
|
7000
7000
|
const deserializeAws_restJson1DomainIspPlacement = (output, context) => {
|
|
7001
7001
|
return {
|
|
7002
|
-
InboxPercentage: smithy_client_1.limitedParseDouble(output.InboxPercentage),
|
|
7003
|
-
InboxRawCount: smithy_client_1.expectLong(output.InboxRawCount),
|
|
7004
|
-
IspName: smithy_client_1.expectString(output.IspName),
|
|
7005
|
-
SpamPercentage: smithy_client_1.limitedParseDouble(output.SpamPercentage),
|
|
7006
|
-
SpamRawCount: smithy_client_1.expectLong(output.SpamRawCount),
|
|
7002
|
+
InboxPercentage: (0, smithy_client_1.limitedParseDouble)(output.InboxPercentage),
|
|
7003
|
+
InboxRawCount: (0, smithy_client_1.expectLong)(output.InboxRawCount),
|
|
7004
|
+
IspName: (0, smithy_client_1.expectString)(output.IspName),
|
|
7005
|
+
SpamPercentage: (0, smithy_client_1.limitedParseDouble)(output.SpamPercentage),
|
|
7006
|
+
SpamRawCount: (0, smithy_client_1.expectLong)(output.SpamRawCount),
|
|
7007
7007
|
};
|
|
7008
7008
|
};
|
|
7009
7009
|
const deserializeAws_restJson1DomainIspPlacements = (output, context) => {
|
|
@@ -7019,17 +7019,17 @@ const deserializeAws_restJson1DomainIspPlacements = (output, context) => {
|
|
|
7019
7019
|
};
|
|
7020
7020
|
const deserializeAws_restJson1EmailTemplateContent = (output, context) => {
|
|
7021
7021
|
return {
|
|
7022
|
-
Html: smithy_client_1.expectString(output.Html),
|
|
7023
|
-
Subject: smithy_client_1.expectString(output.Subject),
|
|
7024
|
-
Text: smithy_client_1.expectString(output.Text),
|
|
7022
|
+
Html: (0, smithy_client_1.expectString)(output.Html),
|
|
7023
|
+
Subject: (0, smithy_client_1.expectString)(output.Subject),
|
|
7024
|
+
Text: (0, smithy_client_1.expectString)(output.Text),
|
|
7025
7025
|
};
|
|
7026
7026
|
};
|
|
7027
7027
|
const deserializeAws_restJson1EmailTemplateMetadata = (output, context) => {
|
|
7028
7028
|
return {
|
|
7029
7029
|
CreatedTimestamp: output.CreatedTimestamp !== undefined && output.CreatedTimestamp !== null
|
|
7030
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreatedTimestamp)))
|
|
7030
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreatedTimestamp)))
|
|
7031
7031
|
: undefined,
|
|
7032
|
-
TemplateName: smithy_client_1.expectString(output.TemplateName),
|
|
7032
|
+
TemplateName: (0, smithy_client_1.expectString)(output.TemplateName),
|
|
7033
7033
|
};
|
|
7034
7034
|
};
|
|
7035
7035
|
const deserializeAws_restJson1EmailTemplateMetadataList = (output, context) => {
|
|
@@ -7050,7 +7050,7 @@ const deserializeAws_restJson1Esps = (output, context) => {
|
|
|
7050
7050
|
if (entry === null) {
|
|
7051
7051
|
return null;
|
|
7052
7052
|
}
|
|
7053
|
-
return smithy_client_1.expectString(entry);
|
|
7053
|
+
return (0, smithy_client_1.expectString)(entry);
|
|
7054
7054
|
});
|
|
7055
7055
|
return retVal;
|
|
7056
7056
|
};
|
|
@@ -7059,14 +7059,14 @@ const deserializeAws_restJson1EventDestination = (output, context) => {
|
|
|
7059
7059
|
CloudWatchDestination: output.CloudWatchDestination !== undefined && output.CloudWatchDestination !== null
|
|
7060
7060
|
? deserializeAws_restJson1CloudWatchDestination(output.CloudWatchDestination, context)
|
|
7061
7061
|
: undefined,
|
|
7062
|
-
Enabled: smithy_client_1.expectBoolean(output.Enabled),
|
|
7062
|
+
Enabled: (0, smithy_client_1.expectBoolean)(output.Enabled),
|
|
7063
7063
|
KinesisFirehoseDestination: output.KinesisFirehoseDestination !== undefined && output.KinesisFirehoseDestination !== null
|
|
7064
7064
|
? deserializeAws_restJson1KinesisFirehoseDestination(output.KinesisFirehoseDestination, context)
|
|
7065
7065
|
: undefined,
|
|
7066
7066
|
MatchingEventTypes: output.MatchingEventTypes !== undefined && output.MatchingEventTypes !== null
|
|
7067
7067
|
? deserializeAws_restJson1EventTypes(output.MatchingEventTypes, context)
|
|
7068
7068
|
: undefined,
|
|
7069
|
-
Name: smithy_client_1.expectString(output.Name),
|
|
7069
|
+
Name: (0, smithy_client_1.expectString)(output.Name),
|
|
7070
7070
|
PinpointDestination: output.PinpointDestination !== undefined && output.PinpointDestination !== null
|
|
7071
7071
|
? deserializeAws_restJson1PinpointDestination(output.PinpointDestination, context)
|
|
7072
7072
|
: undefined,
|
|
@@ -7093,21 +7093,21 @@ const deserializeAws_restJson1EventTypes = (output, context) => {
|
|
|
7093
7093
|
if (entry === null) {
|
|
7094
7094
|
return null;
|
|
7095
7095
|
}
|
|
7096
|
-
return smithy_client_1.expectString(entry);
|
|
7096
|
+
return (0, smithy_client_1.expectString)(entry);
|
|
7097
7097
|
});
|
|
7098
7098
|
return retVal;
|
|
7099
7099
|
};
|
|
7100
7100
|
const deserializeAws_restJson1FailureInfo = (output, context) => {
|
|
7101
7101
|
return {
|
|
7102
|
-
ErrorMessage: smithy_client_1.expectString(output.ErrorMessage),
|
|
7103
|
-
FailedRecordsS3Url: smithy_client_1.expectString(output.FailedRecordsS3Url),
|
|
7102
|
+
ErrorMessage: (0, smithy_client_1.expectString)(output.ErrorMessage),
|
|
7103
|
+
FailedRecordsS3Url: (0, smithy_client_1.expectString)(output.FailedRecordsS3Url),
|
|
7104
7104
|
};
|
|
7105
7105
|
};
|
|
7106
7106
|
const deserializeAws_restJson1IdentityInfo = (output, context) => {
|
|
7107
7107
|
return {
|
|
7108
|
-
IdentityName: smithy_client_1.expectString(output.IdentityName),
|
|
7109
|
-
IdentityType: smithy_client_1.expectString(output.IdentityType),
|
|
7110
|
-
SendingEnabled: smithy_client_1.expectBoolean(output.SendingEnabled),
|
|
7108
|
+
IdentityName: (0, smithy_client_1.expectString)(output.IdentityName),
|
|
7109
|
+
IdentityType: (0, smithy_client_1.expectString)(output.IdentityType),
|
|
7110
|
+
SendingEnabled: (0, smithy_client_1.expectBoolean)(output.SendingEnabled),
|
|
7111
7111
|
};
|
|
7112
7112
|
};
|
|
7113
7113
|
const deserializeAws_restJson1IdentityInfoList = (output, context) => {
|
|
@@ -7123,8 +7123,8 @@ const deserializeAws_restJson1IdentityInfoList = (output, context) => {
|
|
|
7123
7123
|
};
|
|
7124
7124
|
const deserializeAws_restJson1ImportDataSource = (output, context) => {
|
|
7125
7125
|
return {
|
|
7126
|
-
DataFormat: smithy_client_1.expectString(output.DataFormat),
|
|
7127
|
-
S3Url: smithy_client_1.expectString(output.S3Url),
|
|
7126
|
+
DataFormat: (0, smithy_client_1.expectString)(output.DataFormat),
|
|
7127
|
+
S3Url: (0, smithy_client_1.expectString)(output.S3Url),
|
|
7128
7128
|
};
|
|
7129
7129
|
};
|
|
7130
7130
|
const deserializeAws_restJson1ImportDestination = (output, context) => {
|
|
@@ -7140,13 +7140,13 @@ const deserializeAws_restJson1ImportDestination = (output, context) => {
|
|
|
7140
7140
|
const deserializeAws_restJson1ImportJobSummary = (output, context) => {
|
|
7141
7141
|
return {
|
|
7142
7142
|
CreatedTimestamp: output.CreatedTimestamp !== undefined && output.CreatedTimestamp !== null
|
|
7143
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreatedTimestamp)))
|
|
7143
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreatedTimestamp)))
|
|
7144
7144
|
: undefined,
|
|
7145
7145
|
ImportDestination: output.ImportDestination !== undefined && output.ImportDestination !== null
|
|
7146
7146
|
? deserializeAws_restJson1ImportDestination(output.ImportDestination, context)
|
|
7147
7147
|
: undefined,
|
|
7148
|
-
JobId: smithy_client_1.expectString(output.JobId),
|
|
7149
|
-
JobStatus: smithy_client_1.expectString(output.JobStatus),
|
|
7148
|
+
JobId: (0, smithy_client_1.expectString)(output.JobId),
|
|
7149
|
+
JobStatus: (0, smithy_client_1.expectString)(output.JobStatus),
|
|
7150
7150
|
};
|
|
7151
7151
|
};
|
|
7152
7152
|
const deserializeAws_restJson1ImportJobSummaryList = (output, context) => {
|
|
@@ -7162,7 +7162,7 @@ const deserializeAws_restJson1ImportJobSummaryList = (output, context) => {
|
|
|
7162
7162
|
};
|
|
7163
7163
|
const deserializeAws_restJson1InboxPlacementTrackingOption = (output, context) => {
|
|
7164
7164
|
return {
|
|
7165
|
-
Global: smithy_client_1.expectBoolean(output.Global),
|
|
7165
|
+
Global: (0, smithy_client_1.expectBoolean)(output.Global),
|
|
7166
7166
|
TrackedIsps: output.TrackedIsps !== undefined && output.TrackedIsps !== null
|
|
7167
7167
|
? deserializeAws_restJson1IspNameList(output.TrackedIsps, context)
|
|
7168
7168
|
: undefined,
|
|
@@ -7175,7 +7175,7 @@ const deserializeAws_restJson1IpList = (output, context) => {
|
|
|
7175
7175
|
if (entry === null) {
|
|
7176
7176
|
return null;
|
|
7177
7177
|
}
|
|
7178
|
-
return smithy_client_1.expectString(entry);
|
|
7178
|
+
return (0, smithy_client_1.expectString)(entry);
|
|
7179
7179
|
});
|
|
7180
7180
|
return retVal;
|
|
7181
7181
|
};
|
|
@@ -7186,13 +7186,13 @@ const deserializeAws_restJson1IspNameList = (output, context) => {
|
|
|
7186
7186
|
if (entry === null) {
|
|
7187
7187
|
return null;
|
|
7188
7188
|
}
|
|
7189
|
-
return smithy_client_1.expectString(entry);
|
|
7189
|
+
return (0, smithy_client_1.expectString)(entry);
|
|
7190
7190
|
});
|
|
7191
7191
|
return retVal;
|
|
7192
7192
|
};
|
|
7193
7193
|
const deserializeAws_restJson1IspPlacement = (output, context) => {
|
|
7194
7194
|
return {
|
|
7195
|
-
IspName: smithy_client_1.expectString(output.IspName),
|
|
7195
|
+
IspName: (0, smithy_client_1.expectString)(output.IspName),
|
|
7196
7196
|
PlacementStatistics: output.PlacementStatistics !== undefined && output.PlacementStatistics !== null
|
|
7197
7197
|
? deserializeAws_restJson1PlacementStatistics(output.PlacementStatistics, context)
|
|
7198
7198
|
: undefined,
|
|
@@ -7211,8 +7211,8 @@ const deserializeAws_restJson1IspPlacements = (output, context) => {
|
|
|
7211
7211
|
};
|
|
7212
7212
|
const deserializeAws_restJson1KinesisFirehoseDestination = (output, context) => {
|
|
7213
7213
|
return {
|
|
7214
|
-
DeliveryStreamArn: smithy_client_1.expectString(output.DeliveryStreamArn),
|
|
7215
|
-
IamRoleArn: smithy_client_1.expectString(output.IamRoleArn),
|
|
7214
|
+
DeliveryStreamArn: (0, smithy_client_1.expectString)(output.DeliveryStreamArn),
|
|
7215
|
+
IamRoleArn: (0, smithy_client_1.expectString)(output.IamRoleArn),
|
|
7216
7216
|
};
|
|
7217
7217
|
};
|
|
7218
7218
|
const deserializeAws_restJson1ListOfContactLists = (output, context) => {
|
|
@@ -7244,15 +7244,15 @@ const deserializeAws_restJson1ListOfDedicatedIpPools = (output, context) => {
|
|
|
7244
7244
|
if (entry === null) {
|
|
7245
7245
|
return null;
|
|
7246
7246
|
}
|
|
7247
|
-
return smithy_client_1.expectString(entry);
|
|
7247
|
+
return (0, smithy_client_1.expectString)(entry);
|
|
7248
7248
|
});
|
|
7249
7249
|
return retVal;
|
|
7250
7250
|
};
|
|
7251
7251
|
const deserializeAws_restJson1MailFromAttributes = (output, context) => {
|
|
7252
7252
|
return {
|
|
7253
|
-
BehaviorOnMxFailure: smithy_client_1.expectString(output.BehaviorOnMxFailure),
|
|
7254
|
-
MailFromDomain: smithy_client_1.expectString(output.MailFromDomain),
|
|
7255
|
-
MailFromDomainStatus: smithy_client_1.expectString(output.MailFromDomainStatus),
|
|
7253
|
+
BehaviorOnMxFailure: (0, smithy_client_1.expectString)(output.BehaviorOnMxFailure),
|
|
7254
|
+
MailFromDomain: (0, smithy_client_1.expectString)(output.MailFromDomain),
|
|
7255
|
+
MailFromDomainStatus: (0, smithy_client_1.expectString)(output.MailFromDomainStatus),
|
|
7256
7256
|
};
|
|
7257
7257
|
};
|
|
7258
7258
|
const deserializeAws_restJson1OverallVolume = (output, context) => {
|
|
@@ -7260,7 +7260,7 @@ const deserializeAws_restJson1OverallVolume = (output, context) => {
|
|
|
7260
7260
|
DomainIspPlacements: output.DomainIspPlacements !== undefined && output.DomainIspPlacements !== null
|
|
7261
7261
|
? deserializeAws_restJson1DomainIspPlacements(output.DomainIspPlacements, context)
|
|
7262
7262
|
: undefined,
|
|
7263
|
-
ReadRatePercent: smithy_client_1.limitedParseDouble(output.ReadRatePercent),
|
|
7263
|
+
ReadRatePercent: (0, smithy_client_1.limitedParseDouble)(output.ReadRatePercent),
|
|
7264
7264
|
VolumeStatistics: output.VolumeStatistics !== undefined && output.VolumeStatistics !== null
|
|
7265
7265
|
? deserializeAws_restJson1VolumeStatistics(output.VolumeStatistics, context)
|
|
7266
7266
|
: undefined,
|
|
@@ -7268,16 +7268,16 @@ const deserializeAws_restJson1OverallVolume = (output, context) => {
|
|
|
7268
7268
|
};
|
|
7269
7269
|
const deserializeAws_restJson1PinpointDestination = (output, context) => {
|
|
7270
7270
|
return {
|
|
7271
|
-
ApplicationArn: smithy_client_1.expectString(output.ApplicationArn),
|
|
7271
|
+
ApplicationArn: (0, smithy_client_1.expectString)(output.ApplicationArn),
|
|
7272
7272
|
};
|
|
7273
7273
|
};
|
|
7274
7274
|
const deserializeAws_restJson1PlacementStatistics = (output, context) => {
|
|
7275
7275
|
return {
|
|
7276
|
-
DkimPercentage: smithy_client_1.limitedParseDouble(output.DkimPercentage),
|
|
7277
|
-
InboxPercentage: smithy_client_1.limitedParseDouble(output.InboxPercentage),
|
|
7278
|
-
MissingPercentage: smithy_client_1.limitedParseDouble(output.MissingPercentage),
|
|
7279
|
-
SpamPercentage: smithy_client_1.limitedParseDouble(output.SpamPercentage),
|
|
7280
|
-
SpfPercentage: smithy_client_1.limitedParseDouble(output.SpfPercentage),
|
|
7276
|
+
DkimPercentage: (0, smithy_client_1.limitedParseDouble)(output.DkimPercentage),
|
|
7277
|
+
InboxPercentage: (0, smithy_client_1.limitedParseDouble)(output.InboxPercentage),
|
|
7278
|
+
MissingPercentage: (0, smithy_client_1.limitedParseDouble)(output.MissingPercentage),
|
|
7279
|
+
SpamPercentage: (0, smithy_client_1.limitedParseDouble)(output.SpamPercentage),
|
|
7280
|
+
SpfPercentage: (0, smithy_client_1.limitedParseDouble)(output.SpfPercentage),
|
|
7281
7281
|
};
|
|
7282
7282
|
};
|
|
7283
7283
|
const deserializeAws_restJson1PolicyMap = (output, context) => {
|
|
@@ -7287,39 +7287,39 @@ const deserializeAws_restJson1PolicyMap = (output, context) => {
|
|
|
7287
7287
|
}
|
|
7288
7288
|
return {
|
|
7289
7289
|
...acc,
|
|
7290
|
-
[key]: smithy_client_1.expectString(value),
|
|
7290
|
+
[key]: (0, smithy_client_1.expectString)(value),
|
|
7291
7291
|
};
|
|
7292
7292
|
}, {});
|
|
7293
7293
|
};
|
|
7294
7294
|
const deserializeAws_restJson1ReputationOptions = (output, context) => {
|
|
7295
7295
|
return {
|
|
7296
7296
|
LastFreshStart: output.LastFreshStart !== undefined && output.LastFreshStart !== null
|
|
7297
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.LastFreshStart)))
|
|
7297
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.LastFreshStart)))
|
|
7298
7298
|
: undefined,
|
|
7299
|
-
ReputationMetricsEnabled: smithy_client_1.expectBoolean(output.ReputationMetricsEnabled),
|
|
7299
|
+
ReputationMetricsEnabled: (0, smithy_client_1.expectBoolean)(output.ReputationMetricsEnabled),
|
|
7300
7300
|
};
|
|
7301
7301
|
};
|
|
7302
7302
|
const deserializeAws_restJson1ReviewDetails = (output, context) => {
|
|
7303
7303
|
return {
|
|
7304
|
-
CaseId: smithy_client_1.expectString(output.CaseId),
|
|
7305
|
-
Status: smithy_client_1.expectString(output.Status),
|
|
7304
|
+
CaseId: (0, smithy_client_1.expectString)(output.CaseId),
|
|
7305
|
+
Status: (0, smithy_client_1.expectString)(output.Status),
|
|
7306
7306
|
};
|
|
7307
7307
|
};
|
|
7308
7308
|
const deserializeAws_restJson1SendingOptions = (output, context) => {
|
|
7309
7309
|
return {
|
|
7310
|
-
SendingEnabled: smithy_client_1.expectBoolean(output.SendingEnabled),
|
|
7310
|
+
SendingEnabled: (0, smithy_client_1.expectBoolean)(output.SendingEnabled),
|
|
7311
7311
|
};
|
|
7312
7312
|
};
|
|
7313
7313
|
const deserializeAws_restJson1SendQuota = (output, context) => {
|
|
7314
7314
|
return {
|
|
7315
|
-
Max24HourSend: smithy_client_1.limitedParseDouble(output.Max24HourSend),
|
|
7316
|
-
MaxSendRate: smithy_client_1.limitedParseDouble(output.MaxSendRate),
|
|
7317
|
-
SentLast24Hours: smithy_client_1.limitedParseDouble(output.SentLast24Hours),
|
|
7315
|
+
Max24HourSend: (0, smithy_client_1.limitedParseDouble)(output.Max24HourSend),
|
|
7316
|
+
MaxSendRate: (0, smithy_client_1.limitedParseDouble)(output.MaxSendRate),
|
|
7317
|
+
SentLast24Hours: (0, smithy_client_1.limitedParseDouble)(output.SentLast24Hours),
|
|
7318
7318
|
};
|
|
7319
7319
|
};
|
|
7320
7320
|
const deserializeAws_restJson1SnsDestination = (output, context) => {
|
|
7321
7321
|
return {
|
|
7322
|
-
TopicArn: smithy_client_1.expectString(output.TopicArn),
|
|
7322
|
+
TopicArn: (0, smithy_client_1.expectString)(output.TopicArn),
|
|
7323
7323
|
};
|
|
7324
7324
|
};
|
|
7325
7325
|
const deserializeAws_restJson1SuppressedDestination = (output, context) => {
|
|
@@ -7327,17 +7327,17 @@ const deserializeAws_restJson1SuppressedDestination = (output, context) => {
|
|
|
7327
7327
|
Attributes: output.Attributes !== undefined && output.Attributes !== null
|
|
7328
7328
|
? deserializeAws_restJson1SuppressedDestinationAttributes(output.Attributes, context)
|
|
7329
7329
|
: undefined,
|
|
7330
|
-
EmailAddress: smithy_client_1.expectString(output.EmailAddress),
|
|
7330
|
+
EmailAddress: (0, smithy_client_1.expectString)(output.EmailAddress),
|
|
7331
7331
|
LastUpdateTime: output.LastUpdateTime !== undefined && output.LastUpdateTime !== null
|
|
7332
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.LastUpdateTime)))
|
|
7332
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.LastUpdateTime)))
|
|
7333
7333
|
: undefined,
|
|
7334
|
-
Reason: smithy_client_1.expectString(output.Reason),
|
|
7334
|
+
Reason: (0, smithy_client_1.expectString)(output.Reason),
|
|
7335
7335
|
};
|
|
7336
7336
|
};
|
|
7337
7337
|
const deserializeAws_restJson1SuppressedDestinationAttributes = (output, context) => {
|
|
7338
7338
|
return {
|
|
7339
|
-
FeedbackId: smithy_client_1.expectString(output.FeedbackId),
|
|
7340
|
-
MessageId: smithy_client_1.expectString(output.MessageId),
|
|
7339
|
+
FeedbackId: (0, smithy_client_1.expectString)(output.FeedbackId),
|
|
7340
|
+
MessageId: (0, smithy_client_1.expectString)(output.MessageId),
|
|
7341
7341
|
};
|
|
7342
7342
|
};
|
|
7343
7343
|
const deserializeAws_restJson1SuppressedDestinationSummaries = (output, context) => {
|
|
@@ -7353,11 +7353,11 @@ const deserializeAws_restJson1SuppressedDestinationSummaries = (output, context)
|
|
|
7353
7353
|
};
|
|
7354
7354
|
const deserializeAws_restJson1SuppressedDestinationSummary = (output, context) => {
|
|
7355
7355
|
return {
|
|
7356
|
-
EmailAddress: smithy_client_1.expectString(output.EmailAddress),
|
|
7356
|
+
EmailAddress: (0, smithy_client_1.expectString)(output.EmailAddress),
|
|
7357
7357
|
LastUpdateTime: output.LastUpdateTime !== undefined && output.LastUpdateTime !== null
|
|
7358
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.LastUpdateTime)))
|
|
7358
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.LastUpdateTime)))
|
|
7359
7359
|
: undefined,
|
|
7360
|
-
Reason: smithy_client_1.expectString(output.Reason),
|
|
7360
|
+
Reason: (0, smithy_client_1.expectString)(output.Reason),
|
|
7361
7361
|
};
|
|
7362
7362
|
};
|
|
7363
7363
|
const deserializeAws_restJson1SuppressionAttributes = (output, context) => {
|
|
@@ -7369,7 +7369,7 @@ const deserializeAws_restJson1SuppressionAttributes = (output, context) => {
|
|
|
7369
7369
|
};
|
|
7370
7370
|
const deserializeAws_restJson1SuppressionListDestination = (output, context) => {
|
|
7371
7371
|
return {
|
|
7372
|
-
SuppressionListImportAction: smithy_client_1.expectString(output.SuppressionListImportAction),
|
|
7372
|
+
SuppressionListImportAction: (0, smithy_client_1.expectString)(output.SuppressionListImportAction),
|
|
7373
7373
|
};
|
|
7374
7374
|
};
|
|
7375
7375
|
const deserializeAws_restJson1SuppressionListReasons = (output, context) => {
|
|
@@ -7379,7 +7379,7 @@ const deserializeAws_restJson1SuppressionListReasons = (output, context) => {
|
|
|
7379
7379
|
if (entry === null) {
|
|
7380
7380
|
return null;
|
|
7381
7381
|
}
|
|
7382
|
-
return smithy_client_1.expectString(entry);
|
|
7382
|
+
return (0, smithy_client_1.expectString)(entry);
|
|
7383
7383
|
});
|
|
7384
7384
|
return retVal;
|
|
7385
7385
|
};
|
|
@@ -7392,8 +7392,8 @@ const deserializeAws_restJson1SuppressionOptions = (output, context) => {
|
|
|
7392
7392
|
};
|
|
7393
7393
|
const deserializeAws_restJson1Tag = (output, context) => {
|
|
7394
7394
|
return {
|
|
7395
|
-
Key: smithy_client_1.expectString(output.Key),
|
|
7396
|
-
Value: smithy_client_1.expectString(output.Value),
|
|
7395
|
+
Key: (0, smithy_client_1.expectString)(output.Key),
|
|
7396
|
+
Value: (0, smithy_client_1.expectString)(output.Value),
|
|
7397
7397
|
};
|
|
7398
7398
|
};
|
|
7399
7399
|
const deserializeAws_restJson1TagList = (output, context) => {
|
|
@@ -7409,16 +7409,16 @@ const deserializeAws_restJson1TagList = (output, context) => {
|
|
|
7409
7409
|
};
|
|
7410
7410
|
const deserializeAws_restJson1Topic = (output, context) => {
|
|
7411
7411
|
return {
|
|
7412
|
-
DefaultSubscriptionStatus: smithy_client_1.expectString(output.DefaultSubscriptionStatus),
|
|
7413
|
-
Description: smithy_client_1.expectString(output.Description),
|
|
7414
|
-
DisplayName: smithy_client_1.expectString(output.DisplayName),
|
|
7415
|
-
TopicName: smithy_client_1.expectString(output.TopicName),
|
|
7412
|
+
DefaultSubscriptionStatus: (0, smithy_client_1.expectString)(output.DefaultSubscriptionStatus),
|
|
7413
|
+
Description: (0, smithy_client_1.expectString)(output.Description),
|
|
7414
|
+
DisplayName: (0, smithy_client_1.expectString)(output.DisplayName),
|
|
7415
|
+
TopicName: (0, smithy_client_1.expectString)(output.TopicName),
|
|
7416
7416
|
};
|
|
7417
7417
|
};
|
|
7418
7418
|
const deserializeAws_restJson1TopicPreference = (output, context) => {
|
|
7419
7419
|
return {
|
|
7420
|
-
SubscriptionStatus: smithy_client_1.expectString(output.SubscriptionStatus),
|
|
7421
|
-
TopicName: smithy_client_1.expectString(output.TopicName),
|
|
7420
|
+
SubscriptionStatus: (0, smithy_client_1.expectString)(output.SubscriptionStatus),
|
|
7421
|
+
TopicName: (0, smithy_client_1.expectString)(output.TopicName),
|
|
7422
7422
|
};
|
|
7423
7423
|
};
|
|
7424
7424
|
const deserializeAws_restJson1TopicPreferenceList = (output, context) => {
|
|
@@ -7445,15 +7445,15 @@ const deserializeAws_restJson1Topics = (output, context) => {
|
|
|
7445
7445
|
};
|
|
7446
7446
|
const deserializeAws_restJson1TrackingOptions = (output, context) => {
|
|
7447
7447
|
return {
|
|
7448
|
-
CustomRedirectDomain: smithy_client_1.expectString(output.CustomRedirectDomain),
|
|
7448
|
+
CustomRedirectDomain: (0, smithy_client_1.expectString)(output.CustomRedirectDomain),
|
|
7449
7449
|
};
|
|
7450
7450
|
};
|
|
7451
7451
|
const deserializeAws_restJson1VolumeStatistics = (output, context) => {
|
|
7452
7452
|
return {
|
|
7453
|
-
InboxRawCount: smithy_client_1.expectLong(output.InboxRawCount),
|
|
7454
|
-
ProjectedInbox: smithy_client_1.expectLong(output.ProjectedInbox),
|
|
7455
|
-
ProjectedSpam: smithy_client_1.expectLong(output.ProjectedSpam),
|
|
7456
|
-
SpamRawCount: smithy_client_1.expectLong(output.SpamRawCount),
|
|
7453
|
+
InboxRawCount: (0, smithy_client_1.expectLong)(output.InboxRawCount),
|
|
7454
|
+
ProjectedInbox: (0, smithy_client_1.expectLong)(output.ProjectedInbox),
|
|
7455
|
+
ProjectedSpam: (0, smithy_client_1.expectLong)(output.ProjectedSpam),
|
|
7456
|
+
SpamRawCount: (0, smithy_client_1.expectLong)(output.SpamRawCount),
|
|
7457
7457
|
};
|
|
7458
7458
|
};
|
|
7459
7459
|
const deserializeMetadata = (output) => {
|