@aws-sdk/client-sesv2 3.31.0 → 3.32.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +8 -0
- package/dist/cjs/SESv2Client.js +13 -13
- package/dist/cjs/SESv2Client.js.map +1 -1
- package/dist/cjs/commands/CreateConfigurationSetCommand.js +3 -3
- package/dist/cjs/commands/CreateConfigurationSetCommand.js.map +1 -1
- package/dist/cjs/commands/CreateConfigurationSetEventDestinationCommand.js +3 -3
- package/dist/cjs/commands/CreateConfigurationSetEventDestinationCommand.js.map +1 -1
- package/dist/cjs/commands/CreateContactCommand.js +3 -3
- package/dist/cjs/commands/CreateContactCommand.js.map +1 -1
- package/dist/cjs/commands/CreateContactListCommand.js +3 -3
- package/dist/cjs/commands/CreateContactListCommand.js.map +1 -1
- package/dist/cjs/commands/CreateCustomVerificationEmailTemplateCommand.js +3 -3
- package/dist/cjs/commands/CreateCustomVerificationEmailTemplateCommand.js.map +1 -1
- package/dist/cjs/commands/CreateDedicatedIpPoolCommand.js +3 -3
- package/dist/cjs/commands/CreateDedicatedIpPoolCommand.js.map +1 -1
- package/dist/cjs/commands/CreateDeliverabilityTestReportCommand.js +3 -3
- package/dist/cjs/commands/CreateDeliverabilityTestReportCommand.js.map +1 -1
- package/dist/cjs/commands/CreateEmailIdentityCommand.js +3 -3
- package/dist/cjs/commands/CreateEmailIdentityCommand.js.map +1 -1
- package/dist/cjs/commands/CreateEmailIdentityPolicyCommand.js +3 -3
- package/dist/cjs/commands/CreateEmailIdentityPolicyCommand.js.map +1 -1
- package/dist/cjs/commands/CreateEmailTemplateCommand.js +3 -3
- package/dist/cjs/commands/CreateEmailTemplateCommand.js.map +1 -1
- package/dist/cjs/commands/CreateImportJobCommand.js +3 -3
- package/dist/cjs/commands/CreateImportJobCommand.js.map +1 -1
- package/dist/cjs/commands/DeleteConfigurationSetCommand.js +3 -3
- package/dist/cjs/commands/DeleteConfigurationSetCommand.js.map +1 -1
- package/dist/cjs/commands/DeleteConfigurationSetEventDestinationCommand.js +3 -3
- package/dist/cjs/commands/DeleteConfigurationSetEventDestinationCommand.js.map +1 -1
- package/dist/cjs/commands/DeleteContactCommand.js +3 -3
- package/dist/cjs/commands/DeleteContactCommand.js.map +1 -1
- package/dist/cjs/commands/DeleteContactListCommand.js +3 -3
- package/dist/cjs/commands/DeleteContactListCommand.js.map +1 -1
- package/dist/cjs/commands/DeleteCustomVerificationEmailTemplateCommand.js +3 -3
- package/dist/cjs/commands/DeleteCustomVerificationEmailTemplateCommand.js.map +1 -1
- package/dist/cjs/commands/DeleteDedicatedIpPoolCommand.js +3 -3
- package/dist/cjs/commands/DeleteDedicatedIpPoolCommand.js.map +1 -1
- package/dist/cjs/commands/DeleteEmailIdentityCommand.js +3 -3
- package/dist/cjs/commands/DeleteEmailIdentityCommand.js.map +1 -1
- package/dist/cjs/commands/DeleteEmailIdentityPolicyCommand.js +3 -3
- package/dist/cjs/commands/DeleteEmailIdentityPolicyCommand.js.map +1 -1
- package/dist/cjs/commands/DeleteEmailTemplateCommand.js +3 -3
- package/dist/cjs/commands/DeleteEmailTemplateCommand.js.map +1 -1
- package/dist/cjs/commands/DeleteSuppressedDestinationCommand.js +3 -3
- package/dist/cjs/commands/DeleteSuppressedDestinationCommand.js.map +1 -1
- package/dist/cjs/commands/GetAccountCommand.js +3 -3
- package/dist/cjs/commands/GetAccountCommand.js.map +1 -1
- package/dist/cjs/commands/GetBlacklistReportsCommand.js +3 -3
- package/dist/cjs/commands/GetBlacklistReportsCommand.js.map +1 -1
- package/dist/cjs/commands/GetConfigurationSetCommand.js +3 -3
- package/dist/cjs/commands/GetConfigurationSetCommand.js.map +1 -1
- package/dist/cjs/commands/GetConfigurationSetEventDestinationsCommand.js +3 -3
- package/dist/cjs/commands/GetConfigurationSetEventDestinationsCommand.js.map +1 -1
- package/dist/cjs/commands/GetContactCommand.js +3 -3
- package/dist/cjs/commands/GetContactCommand.js.map +1 -1
- package/dist/cjs/commands/GetContactListCommand.js +3 -3
- package/dist/cjs/commands/GetContactListCommand.js.map +1 -1
- package/dist/cjs/commands/GetCustomVerificationEmailTemplateCommand.js +3 -3
- package/dist/cjs/commands/GetCustomVerificationEmailTemplateCommand.js.map +1 -1
- package/dist/cjs/commands/GetDedicatedIpCommand.js +3 -3
- package/dist/cjs/commands/GetDedicatedIpCommand.js.map +1 -1
- package/dist/cjs/commands/GetDedicatedIpsCommand.js +3 -3
- package/dist/cjs/commands/GetDedicatedIpsCommand.js.map +1 -1
- package/dist/cjs/commands/GetDeliverabilityDashboardOptionsCommand.js +3 -3
- package/dist/cjs/commands/GetDeliverabilityDashboardOptionsCommand.js.map +1 -1
- package/dist/cjs/commands/GetDeliverabilityTestReportCommand.js +3 -3
- package/dist/cjs/commands/GetDeliverabilityTestReportCommand.js.map +1 -1
- package/dist/cjs/commands/GetDomainDeliverabilityCampaignCommand.js +3 -3
- package/dist/cjs/commands/GetDomainDeliverabilityCampaignCommand.js.map +1 -1
- package/dist/cjs/commands/GetDomainStatisticsReportCommand.js +3 -3
- package/dist/cjs/commands/GetDomainStatisticsReportCommand.js.map +1 -1
- package/dist/cjs/commands/GetEmailIdentityCommand.js +3 -3
- package/dist/cjs/commands/GetEmailIdentityCommand.js.map +1 -1
- package/dist/cjs/commands/GetEmailIdentityPoliciesCommand.js +3 -3
- package/dist/cjs/commands/GetEmailIdentityPoliciesCommand.js.map +1 -1
- package/dist/cjs/commands/GetEmailTemplateCommand.js +3 -3
- package/dist/cjs/commands/GetEmailTemplateCommand.js.map +1 -1
- package/dist/cjs/commands/GetImportJobCommand.js +3 -3
- package/dist/cjs/commands/GetImportJobCommand.js.map +1 -1
- package/dist/cjs/commands/GetSuppressedDestinationCommand.js +3 -3
- package/dist/cjs/commands/GetSuppressedDestinationCommand.js.map +1 -1
- package/dist/cjs/commands/ListConfigurationSetsCommand.js +3 -3
- package/dist/cjs/commands/ListConfigurationSetsCommand.js.map +1 -1
- package/dist/cjs/commands/ListContactListsCommand.js +3 -3
- package/dist/cjs/commands/ListContactListsCommand.js.map +1 -1
- package/dist/cjs/commands/ListContactsCommand.js +3 -3
- package/dist/cjs/commands/ListContactsCommand.js.map +1 -1
- package/dist/cjs/commands/ListCustomVerificationEmailTemplatesCommand.js +3 -3
- package/dist/cjs/commands/ListCustomVerificationEmailTemplatesCommand.js.map +1 -1
- package/dist/cjs/commands/ListDedicatedIpPoolsCommand.js +3 -3
- package/dist/cjs/commands/ListDedicatedIpPoolsCommand.js.map +1 -1
- package/dist/cjs/commands/ListDeliverabilityTestReportsCommand.js +3 -3
- package/dist/cjs/commands/ListDeliverabilityTestReportsCommand.js.map +1 -1
- package/dist/cjs/commands/ListDomainDeliverabilityCampaignsCommand.js +3 -3
- package/dist/cjs/commands/ListDomainDeliverabilityCampaignsCommand.js.map +1 -1
- package/dist/cjs/commands/ListEmailIdentitiesCommand.js +3 -3
- package/dist/cjs/commands/ListEmailIdentitiesCommand.js.map +1 -1
- package/dist/cjs/commands/ListEmailTemplatesCommand.js +3 -3
- package/dist/cjs/commands/ListEmailTemplatesCommand.js.map +1 -1
- package/dist/cjs/commands/ListImportJobsCommand.js +3 -3
- package/dist/cjs/commands/ListImportJobsCommand.js.map +1 -1
- package/dist/cjs/commands/ListSuppressedDestinationsCommand.js +3 -3
- package/dist/cjs/commands/ListSuppressedDestinationsCommand.js.map +1 -1
- package/dist/cjs/commands/ListTagsForResourceCommand.js +3 -3
- package/dist/cjs/commands/ListTagsForResourceCommand.js.map +1 -1
- package/dist/cjs/commands/PutAccountDedicatedIpWarmupAttributesCommand.js +3 -3
- package/dist/cjs/commands/PutAccountDedicatedIpWarmupAttributesCommand.js.map +1 -1
- package/dist/cjs/commands/PutAccountDetailsCommand.js +3 -3
- package/dist/cjs/commands/PutAccountDetailsCommand.js.map +1 -1
- package/dist/cjs/commands/PutAccountSendingAttributesCommand.js +3 -3
- package/dist/cjs/commands/PutAccountSendingAttributesCommand.js.map +1 -1
- package/dist/cjs/commands/PutAccountSuppressionAttributesCommand.js +3 -3
- package/dist/cjs/commands/PutAccountSuppressionAttributesCommand.js.map +1 -1
- package/dist/cjs/commands/PutConfigurationSetDeliveryOptionsCommand.js +3 -3
- package/dist/cjs/commands/PutConfigurationSetDeliveryOptionsCommand.js.map +1 -1
- package/dist/cjs/commands/PutConfigurationSetReputationOptionsCommand.js +3 -3
- package/dist/cjs/commands/PutConfigurationSetReputationOptionsCommand.js.map +1 -1
- package/dist/cjs/commands/PutConfigurationSetSendingOptionsCommand.js +3 -3
- package/dist/cjs/commands/PutConfigurationSetSendingOptionsCommand.js.map +1 -1
- package/dist/cjs/commands/PutConfigurationSetSuppressionOptionsCommand.js +3 -3
- package/dist/cjs/commands/PutConfigurationSetSuppressionOptionsCommand.js.map +1 -1
- package/dist/cjs/commands/PutConfigurationSetTrackingOptionsCommand.js +3 -3
- package/dist/cjs/commands/PutConfigurationSetTrackingOptionsCommand.js.map +1 -1
- package/dist/cjs/commands/PutDedicatedIpInPoolCommand.js +3 -3
- package/dist/cjs/commands/PutDedicatedIpInPoolCommand.js.map +1 -1
- package/dist/cjs/commands/PutDedicatedIpWarmupAttributesCommand.js +3 -3
- package/dist/cjs/commands/PutDedicatedIpWarmupAttributesCommand.js.map +1 -1
- package/dist/cjs/commands/PutDeliverabilityDashboardOptionCommand.js +3 -3
- package/dist/cjs/commands/PutDeliverabilityDashboardOptionCommand.js.map +1 -1
- package/dist/cjs/commands/PutEmailIdentityConfigurationSetAttributesCommand.js +3 -3
- package/dist/cjs/commands/PutEmailIdentityConfigurationSetAttributesCommand.js.map +1 -1
- package/dist/cjs/commands/PutEmailIdentityDkimAttributesCommand.js +3 -3
- package/dist/cjs/commands/PutEmailIdentityDkimAttributesCommand.js.map +1 -1
- package/dist/cjs/commands/PutEmailIdentityDkimSigningAttributesCommand.js +3 -3
- package/dist/cjs/commands/PutEmailIdentityDkimSigningAttributesCommand.js.map +1 -1
- package/dist/cjs/commands/PutEmailIdentityFeedbackAttributesCommand.js +3 -3
- package/dist/cjs/commands/PutEmailIdentityFeedbackAttributesCommand.js.map +1 -1
- package/dist/cjs/commands/PutEmailIdentityMailFromAttributesCommand.js +3 -3
- package/dist/cjs/commands/PutEmailIdentityMailFromAttributesCommand.js.map +1 -1
- package/dist/cjs/commands/PutSuppressedDestinationCommand.js +3 -3
- package/dist/cjs/commands/PutSuppressedDestinationCommand.js.map +1 -1
- package/dist/cjs/commands/SendBulkEmailCommand.js +3 -3
- package/dist/cjs/commands/SendBulkEmailCommand.js.map +1 -1
- package/dist/cjs/commands/SendCustomVerificationEmailCommand.js +3 -3
- package/dist/cjs/commands/SendCustomVerificationEmailCommand.js.map +1 -1
- package/dist/cjs/commands/SendEmailCommand.js +3 -3
- package/dist/cjs/commands/SendEmailCommand.js.map +1 -1
- package/dist/cjs/commands/TagResourceCommand.js +3 -3
- package/dist/cjs/commands/TagResourceCommand.js.map +1 -1
- package/dist/cjs/commands/TestRenderEmailTemplateCommand.js +3 -3
- package/dist/cjs/commands/TestRenderEmailTemplateCommand.js.map +1 -1
- package/dist/cjs/commands/UntagResourceCommand.js +3 -3
- package/dist/cjs/commands/UntagResourceCommand.js.map +1 -1
- package/dist/cjs/commands/UpdateConfigurationSetEventDestinationCommand.js +3 -3
- package/dist/cjs/commands/UpdateConfigurationSetEventDestinationCommand.js.map +1 -1
- package/dist/cjs/commands/UpdateContactCommand.js +3 -3
- package/dist/cjs/commands/UpdateContactCommand.js.map +1 -1
- package/dist/cjs/commands/UpdateContactListCommand.js +3 -3
- package/dist/cjs/commands/UpdateContactListCommand.js.map +1 -1
- package/dist/cjs/commands/UpdateCustomVerificationEmailTemplateCommand.js +3 -3
- package/dist/cjs/commands/UpdateCustomVerificationEmailTemplateCommand.js.map +1 -1
- package/dist/cjs/commands/UpdateEmailIdentityPolicyCommand.js +3 -3
- package/dist/cjs/commands/UpdateEmailIdentityPolicyCommand.js.map +1 -1
- package/dist/cjs/commands/UpdateEmailTemplateCommand.js +3 -3
- package/dist/cjs/commands/UpdateEmailTemplateCommand.js.map +1 -1
- package/dist/cjs/endpoints.js +1 -1
- package/dist/cjs/endpoints.js.map +1 -1
- package/dist/cjs/index.js +97 -97
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/models/index.js +1 -1
- package/dist/cjs/models/index.js.map +1 -1
- package/dist/cjs/package.json +31 -31
- package/dist/cjs/protocols/Aws_restJson1.js +295 -295
- package/dist/cjs/protocols/Aws_restJson1.js.map +1 -1
- package/dist/cjs/runtimeConfig.browser.js +4 -4
- package/dist/cjs/runtimeConfig.browser.js.map +1 -1
- package/dist/cjs/runtimeConfig.js +8 -8
- package/dist/cjs/runtimeConfig.js.map +1 -1
- package/dist/cjs/runtimeConfig.native.js +1 -1
- package/dist/cjs/runtimeConfig.native.js.map +1 -1
- package/dist/es/package.json +31 -31
- package/dist/es/pagination/GetDedicatedIpsPaginator.js +4 -4
- package/dist/es/pagination/GetDedicatedIpsPaginator.js.map +1 -1
- package/dist/es/pagination/ListConfigurationSetsPaginator.js +4 -4
- package/dist/es/pagination/ListConfigurationSetsPaginator.js.map +1 -1
- package/dist/es/pagination/ListContactListsPaginator.js +4 -4
- package/dist/es/pagination/ListContactListsPaginator.js.map +1 -1
- package/dist/es/pagination/ListContactsPaginator.js +4 -4
- package/dist/es/pagination/ListContactsPaginator.js.map +1 -1
- package/dist/es/pagination/ListCustomVerificationEmailTemplatesPaginator.js +4 -4
- package/dist/es/pagination/ListCustomVerificationEmailTemplatesPaginator.js.map +1 -1
- package/dist/es/pagination/ListDedicatedIpPoolsPaginator.js +4 -4
- package/dist/es/pagination/ListDedicatedIpPoolsPaginator.js.map +1 -1
- package/dist/es/pagination/ListDeliverabilityTestReportsPaginator.js +4 -4
- package/dist/es/pagination/ListDeliverabilityTestReportsPaginator.js.map +1 -1
- package/dist/es/pagination/ListDomainDeliverabilityCampaignsPaginator.js +4 -4
- package/dist/es/pagination/ListDomainDeliverabilityCampaignsPaginator.js.map +1 -1
- package/dist/es/pagination/ListEmailIdentitiesPaginator.js +4 -4
- package/dist/es/pagination/ListEmailIdentitiesPaginator.js.map +1 -1
- package/dist/es/pagination/ListEmailTemplatesPaginator.js +4 -4
- package/dist/es/pagination/ListEmailTemplatesPaginator.js.map +1 -1
- package/dist/es/pagination/ListImportJobsPaginator.js +4 -4
- package/dist/es/pagination/ListImportJobsPaginator.js.map +1 -1
- package/dist/es/pagination/ListSuppressedDestinationsPaginator.js +4 -4
- package/dist/es/pagination/ListSuppressedDestinationsPaginator.js.map +1 -1
- package/package.json +31 -31
- package/tsconfig.json +1 -2
|
@@ -62,7 +62,7 @@ const serializeAws_restJson1CreateConfigurationSetEventDestinationCommand = asyn
|
|
|
62
62
|
if (labelValue.length <= 0) {
|
|
63
63
|
throw new Error("Empty value provided for input HTTP label: ConfigurationSetName.");
|
|
64
64
|
}
|
|
65
|
-
resolvedPath = resolvedPath.replace("{ConfigurationSetName}",
|
|
65
|
+
resolvedPath = resolvedPath.replace("{ConfigurationSetName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
66
66
|
}
|
|
67
67
|
else {
|
|
68
68
|
throw new Error("No value provided for input HTTP label: ConfigurationSetName.");
|
|
@@ -99,7 +99,7 @@ const serializeAws_restJson1CreateContactCommand = async (input, context) => {
|
|
|
99
99
|
if (labelValue.length <= 0) {
|
|
100
100
|
throw new Error("Empty value provided for input HTTP label: ContactListName.");
|
|
101
101
|
}
|
|
102
|
-
resolvedPath = resolvedPath.replace("{ContactListName}",
|
|
102
|
+
resolvedPath = resolvedPath.replace("{ContactListName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
103
103
|
}
|
|
104
104
|
else {
|
|
105
105
|
throw new Error("No value provided for input HTTP label: ContactListName.");
|
|
@@ -277,7 +277,7 @@ const serializeAws_restJson1CreateEmailIdentityPolicyCommand = async (input, con
|
|
|
277
277
|
if (labelValue.length <= 0) {
|
|
278
278
|
throw new Error("Empty value provided for input HTTP label: EmailIdentity.");
|
|
279
279
|
}
|
|
280
|
-
resolvedPath = resolvedPath.replace("{EmailIdentity}",
|
|
280
|
+
resolvedPath = resolvedPath.replace("{EmailIdentity}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
281
281
|
}
|
|
282
282
|
else {
|
|
283
283
|
throw new Error("No value provided for input HTTP label: EmailIdentity.");
|
|
@@ -287,7 +287,7 @@ const serializeAws_restJson1CreateEmailIdentityPolicyCommand = async (input, con
|
|
|
287
287
|
if (labelValue.length <= 0) {
|
|
288
288
|
throw new Error("Empty value provided for input HTTP label: PolicyName.");
|
|
289
289
|
}
|
|
290
|
-
resolvedPath = resolvedPath.replace("{PolicyName}",
|
|
290
|
+
resolvedPath = resolvedPath.replace("{PolicyName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
291
291
|
}
|
|
292
292
|
else {
|
|
293
293
|
throw new Error("No value provided for input HTTP label: PolicyName.");
|
|
@@ -370,7 +370,7 @@ const serializeAws_restJson1DeleteConfigurationSetCommand = async (input, contex
|
|
|
370
370
|
if (labelValue.length <= 0) {
|
|
371
371
|
throw new Error("Empty value provided for input HTTP label: ConfigurationSetName.");
|
|
372
372
|
}
|
|
373
|
-
resolvedPath = resolvedPath.replace("{ConfigurationSetName}",
|
|
373
|
+
resolvedPath = resolvedPath.replace("{ConfigurationSetName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
374
374
|
}
|
|
375
375
|
else {
|
|
376
376
|
throw new Error("No value provided for input HTTP label: ConfigurationSetName.");
|
|
@@ -397,7 +397,7 @@ const serializeAws_restJson1DeleteConfigurationSetEventDestinationCommand = asyn
|
|
|
397
397
|
if (labelValue.length <= 0) {
|
|
398
398
|
throw new Error("Empty value provided for input HTTP label: ConfigurationSetName.");
|
|
399
399
|
}
|
|
400
|
-
resolvedPath = resolvedPath.replace("{ConfigurationSetName}",
|
|
400
|
+
resolvedPath = resolvedPath.replace("{ConfigurationSetName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
401
401
|
}
|
|
402
402
|
else {
|
|
403
403
|
throw new Error("No value provided for input HTTP label: ConfigurationSetName.");
|
|
@@ -407,7 +407,7 @@ const serializeAws_restJson1DeleteConfigurationSetEventDestinationCommand = asyn
|
|
|
407
407
|
if (labelValue.length <= 0) {
|
|
408
408
|
throw new Error("Empty value provided for input HTTP label: EventDestinationName.");
|
|
409
409
|
}
|
|
410
|
-
resolvedPath = resolvedPath.replace("{EventDestinationName}",
|
|
410
|
+
resolvedPath = resolvedPath.replace("{EventDestinationName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
411
411
|
}
|
|
412
412
|
else {
|
|
413
413
|
throw new Error("No value provided for input HTTP label: EventDestinationName.");
|
|
@@ -434,7 +434,7 @@ const serializeAws_restJson1DeleteContactCommand = async (input, context) => {
|
|
|
434
434
|
if (labelValue.length <= 0) {
|
|
435
435
|
throw new Error("Empty value provided for input HTTP label: ContactListName.");
|
|
436
436
|
}
|
|
437
|
-
resolvedPath = resolvedPath.replace("{ContactListName}",
|
|
437
|
+
resolvedPath = resolvedPath.replace("{ContactListName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
438
438
|
}
|
|
439
439
|
else {
|
|
440
440
|
throw new Error("No value provided for input HTTP label: ContactListName.");
|
|
@@ -444,7 +444,7 @@ const serializeAws_restJson1DeleteContactCommand = async (input, context) => {
|
|
|
444
444
|
if (labelValue.length <= 0) {
|
|
445
445
|
throw new Error("Empty value provided for input HTTP label: EmailAddress.");
|
|
446
446
|
}
|
|
447
|
-
resolvedPath = resolvedPath.replace("{EmailAddress}",
|
|
447
|
+
resolvedPath = resolvedPath.replace("{EmailAddress}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
448
448
|
}
|
|
449
449
|
else {
|
|
450
450
|
throw new Error("No value provided for input HTTP label: EmailAddress.");
|
|
@@ -470,7 +470,7 @@ const serializeAws_restJson1DeleteContactListCommand = async (input, context) =>
|
|
|
470
470
|
if (labelValue.length <= 0) {
|
|
471
471
|
throw new Error("Empty value provided for input HTTP label: ContactListName.");
|
|
472
472
|
}
|
|
473
|
-
resolvedPath = resolvedPath.replace("{ContactListName}",
|
|
473
|
+
resolvedPath = resolvedPath.replace("{ContactListName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
474
474
|
}
|
|
475
475
|
else {
|
|
476
476
|
throw new Error("No value provided for input HTTP label: ContactListName.");
|
|
@@ -497,7 +497,7 @@ const serializeAws_restJson1DeleteCustomVerificationEmailTemplateCommand = async
|
|
|
497
497
|
if (labelValue.length <= 0) {
|
|
498
498
|
throw new Error("Empty value provided for input HTTP label: TemplateName.");
|
|
499
499
|
}
|
|
500
|
-
resolvedPath = resolvedPath.replace("{TemplateName}",
|
|
500
|
+
resolvedPath = resolvedPath.replace("{TemplateName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
501
501
|
}
|
|
502
502
|
else {
|
|
503
503
|
throw new Error("No value provided for input HTTP label: TemplateName.");
|
|
@@ -523,7 +523,7 @@ const serializeAws_restJson1DeleteDedicatedIpPoolCommand = async (input, context
|
|
|
523
523
|
if (labelValue.length <= 0) {
|
|
524
524
|
throw new Error("Empty value provided for input HTTP label: PoolName.");
|
|
525
525
|
}
|
|
526
|
-
resolvedPath = resolvedPath.replace("{PoolName}",
|
|
526
|
+
resolvedPath = resolvedPath.replace("{PoolName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
527
527
|
}
|
|
528
528
|
else {
|
|
529
529
|
throw new Error("No value provided for input HTTP label: PoolName.");
|
|
@@ -549,7 +549,7 @@ const serializeAws_restJson1DeleteEmailIdentityCommand = async (input, context)
|
|
|
549
549
|
if (labelValue.length <= 0) {
|
|
550
550
|
throw new Error("Empty value provided for input HTTP label: EmailIdentity.");
|
|
551
551
|
}
|
|
552
|
-
resolvedPath = resolvedPath.replace("{EmailIdentity}",
|
|
552
|
+
resolvedPath = resolvedPath.replace("{EmailIdentity}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
553
553
|
}
|
|
554
554
|
else {
|
|
555
555
|
throw new Error("No value provided for input HTTP label: EmailIdentity.");
|
|
@@ -576,7 +576,7 @@ const serializeAws_restJson1DeleteEmailIdentityPolicyCommand = async (input, con
|
|
|
576
576
|
if (labelValue.length <= 0) {
|
|
577
577
|
throw new Error("Empty value provided for input HTTP label: EmailIdentity.");
|
|
578
578
|
}
|
|
579
|
-
resolvedPath = resolvedPath.replace("{EmailIdentity}",
|
|
579
|
+
resolvedPath = resolvedPath.replace("{EmailIdentity}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
580
580
|
}
|
|
581
581
|
else {
|
|
582
582
|
throw new Error("No value provided for input HTTP label: EmailIdentity.");
|
|
@@ -586,7 +586,7 @@ const serializeAws_restJson1DeleteEmailIdentityPolicyCommand = async (input, con
|
|
|
586
586
|
if (labelValue.length <= 0) {
|
|
587
587
|
throw new Error("Empty value provided for input HTTP label: PolicyName.");
|
|
588
588
|
}
|
|
589
|
-
resolvedPath = resolvedPath.replace("{PolicyName}",
|
|
589
|
+
resolvedPath = resolvedPath.replace("{PolicyName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
590
590
|
}
|
|
591
591
|
else {
|
|
592
592
|
throw new Error("No value provided for input HTTP label: PolicyName.");
|
|
@@ -612,7 +612,7 @@ const serializeAws_restJson1DeleteEmailTemplateCommand = async (input, context)
|
|
|
612
612
|
if (labelValue.length <= 0) {
|
|
613
613
|
throw new Error("Empty value provided for input HTTP label: TemplateName.");
|
|
614
614
|
}
|
|
615
|
-
resolvedPath = resolvedPath.replace("{TemplateName}",
|
|
615
|
+
resolvedPath = resolvedPath.replace("{TemplateName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
616
616
|
}
|
|
617
617
|
else {
|
|
618
618
|
throw new Error("No value provided for input HTTP label: TemplateName.");
|
|
@@ -639,7 +639,7 @@ const serializeAws_restJson1DeleteSuppressedDestinationCommand = async (input, c
|
|
|
639
639
|
if (labelValue.length <= 0) {
|
|
640
640
|
throw new Error("Empty value provided for input HTTP label: EmailAddress.");
|
|
641
641
|
}
|
|
642
|
-
resolvedPath = resolvedPath.replace("{EmailAddress}",
|
|
642
|
+
resolvedPath = resolvedPath.replace("{EmailAddress}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
643
643
|
}
|
|
644
644
|
else {
|
|
645
645
|
throw new Error("No value provided for input HTTP label: EmailAddress.");
|
|
@@ -708,7 +708,7 @@ const serializeAws_restJson1GetConfigurationSetCommand = async (input, context)
|
|
|
708
708
|
if (labelValue.length <= 0) {
|
|
709
709
|
throw new Error("Empty value provided for input HTTP label: ConfigurationSetName.");
|
|
710
710
|
}
|
|
711
|
-
resolvedPath = resolvedPath.replace("{ConfigurationSetName}",
|
|
711
|
+
resolvedPath = resolvedPath.replace("{ConfigurationSetName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
712
712
|
}
|
|
713
713
|
else {
|
|
714
714
|
throw new Error("No value provided for input HTTP label: ConfigurationSetName.");
|
|
@@ -735,7 +735,7 @@ const serializeAws_restJson1GetConfigurationSetEventDestinationsCommand = async
|
|
|
735
735
|
if (labelValue.length <= 0) {
|
|
736
736
|
throw new Error("Empty value provided for input HTTP label: ConfigurationSetName.");
|
|
737
737
|
}
|
|
738
|
-
resolvedPath = resolvedPath.replace("{ConfigurationSetName}",
|
|
738
|
+
resolvedPath = resolvedPath.replace("{ConfigurationSetName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
739
739
|
}
|
|
740
740
|
else {
|
|
741
741
|
throw new Error("No value provided for input HTTP label: ConfigurationSetName.");
|
|
@@ -762,7 +762,7 @@ const serializeAws_restJson1GetContactCommand = async (input, context) => {
|
|
|
762
762
|
if (labelValue.length <= 0) {
|
|
763
763
|
throw new Error("Empty value provided for input HTTP label: ContactListName.");
|
|
764
764
|
}
|
|
765
|
-
resolvedPath = resolvedPath.replace("{ContactListName}",
|
|
765
|
+
resolvedPath = resolvedPath.replace("{ContactListName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
766
766
|
}
|
|
767
767
|
else {
|
|
768
768
|
throw new Error("No value provided for input HTTP label: ContactListName.");
|
|
@@ -772,7 +772,7 @@ const serializeAws_restJson1GetContactCommand = async (input, context) => {
|
|
|
772
772
|
if (labelValue.length <= 0) {
|
|
773
773
|
throw new Error("Empty value provided for input HTTP label: EmailAddress.");
|
|
774
774
|
}
|
|
775
|
-
resolvedPath = resolvedPath.replace("{EmailAddress}",
|
|
775
|
+
resolvedPath = resolvedPath.replace("{EmailAddress}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
776
776
|
}
|
|
777
777
|
else {
|
|
778
778
|
throw new Error("No value provided for input HTTP label: EmailAddress.");
|
|
@@ -798,7 +798,7 @@ const serializeAws_restJson1GetContactListCommand = async (input, context) => {
|
|
|
798
798
|
if (labelValue.length <= 0) {
|
|
799
799
|
throw new Error("Empty value provided for input HTTP label: ContactListName.");
|
|
800
800
|
}
|
|
801
|
-
resolvedPath = resolvedPath.replace("{ContactListName}",
|
|
801
|
+
resolvedPath = resolvedPath.replace("{ContactListName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
802
802
|
}
|
|
803
803
|
else {
|
|
804
804
|
throw new Error("No value provided for input HTTP label: ContactListName.");
|
|
@@ -825,7 +825,7 @@ const serializeAws_restJson1GetCustomVerificationEmailTemplateCommand = async (i
|
|
|
825
825
|
if (labelValue.length <= 0) {
|
|
826
826
|
throw new Error("Empty value provided for input HTTP label: TemplateName.");
|
|
827
827
|
}
|
|
828
|
-
resolvedPath = resolvedPath.replace("{TemplateName}",
|
|
828
|
+
resolvedPath = resolvedPath.replace("{TemplateName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
829
829
|
}
|
|
830
830
|
else {
|
|
831
831
|
throw new Error("No value provided for input HTTP label: TemplateName.");
|
|
@@ -851,7 +851,7 @@ const serializeAws_restJson1GetDedicatedIpCommand = async (input, context) => {
|
|
|
851
851
|
if (labelValue.length <= 0) {
|
|
852
852
|
throw new Error("Empty value provided for input HTTP label: Ip.");
|
|
853
853
|
}
|
|
854
|
-
resolvedPath = resolvedPath.replace("{Ip}",
|
|
854
|
+
resolvedPath = resolvedPath.replace("{Ip}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
855
855
|
}
|
|
856
856
|
else {
|
|
857
857
|
throw new Error("No value provided for input HTTP label: Ip.");
|
|
@@ -919,7 +919,7 @@ const serializeAws_restJson1GetDeliverabilityTestReportCommand = async (input, c
|
|
|
919
919
|
if (labelValue.length <= 0) {
|
|
920
920
|
throw new Error("Empty value provided for input HTTP label: ReportId.");
|
|
921
921
|
}
|
|
922
|
-
resolvedPath = resolvedPath.replace("{ReportId}",
|
|
922
|
+
resolvedPath = resolvedPath.replace("{ReportId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
923
923
|
}
|
|
924
924
|
else {
|
|
925
925
|
throw new Error("No value provided for input HTTP label: ReportId.");
|
|
@@ -946,7 +946,7 @@ const serializeAws_restJson1GetDomainDeliverabilityCampaignCommand = async (inpu
|
|
|
946
946
|
if (labelValue.length <= 0) {
|
|
947
947
|
throw new Error("Empty value provided for input HTTP label: CampaignId.");
|
|
948
948
|
}
|
|
949
|
-
resolvedPath = resolvedPath.replace("{CampaignId}",
|
|
949
|
+
resolvedPath = resolvedPath.replace("{CampaignId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
950
950
|
}
|
|
951
951
|
else {
|
|
952
952
|
throw new Error("No value provided for input HTTP label: CampaignId.");
|
|
@@ -973,7 +973,7 @@ const serializeAws_restJson1GetDomainStatisticsReportCommand = async (input, con
|
|
|
973
973
|
if (labelValue.length <= 0) {
|
|
974
974
|
throw new Error("Empty value provided for input HTTP label: Domain.");
|
|
975
975
|
}
|
|
976
|
-
resolvedPath = resolvedPath.replace("{Domain}",
|
|
976
|
+
resolvedPath = resolvedPath.replace("{Domain}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
977
977
|
}
|
|
978
978
|
else {
|
|
979
979
|
throw new Error("No value provided for input HTTP label: Domain.");
|
|
@@ -1004,7 +1004,7 @@ const serializeAws_restJson1GetEmailIdentityCommand = async (input, context) =>
|
|
|
1004
1004
|
if (labelValue.length <= 0) {
|
|
1005
1005
|
throw new Error("Empty value provided for input HTTP label: EmailIdentity.");
|
|
1006
1006
|
}
|
|
1007
|
-
resolvedPath = resolvedPath.replace("{EmailIdentity}",
|
|
1007
|
+
resolvedPath = resolvedPath.replace("{EmailIdentity}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1008
1008
|
}
|
|
1009
1009
|
else {
|
|
1010
1010
|
throw new Error("No value provided for input HTTP label: EmailIdentity.");
|
|
@@ -1031,7 +1031,7 @@ const serializeAws_restJson1GetEmailIdentityPoliciesCommand = async (input, cont
|
|
|
1031
1031
|
if (labelValue.length <= 0) {
|
|
1032
1032
|
throw new Error("Empty value provided for input HTTP label: EmailIdentity.");
|
|
1033
1033
|
}
|
|
1034
|
-
resolvedPath = resolvedPath.replace("{EmailIdentity}",
|
|
1034
|
+
resolvedPath = resolvedPath.replace("{EmailIdentity}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1035
1035
|
}
|
|
1036
1036
|
else {
|
|
1037
1037
|
throw new Error("No value provided for input HTTP label: EmailIdentity.");
|
|
@@ -1057,7 +1057,7 @@ const serializeAws_restJson1GetEmailTemplateCommand = async (input, context) =>
|
|
|
1057
1057
|
if (labelValue.length <= 0) {
|
|
1058
1058
|
throw new Error("Empty value provided for input HTTP label: TemplateName.");
|
|
1059
1059
|
}
|
|
1060
|
-
resolvedPath = resolvedPath.replace("{TemplateName}",
|
|
1060
|
+
resolvedPath = resolvedPath.replace("{TemplateName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1061
1061
|
}
|
|
1062
1062
|
else {
|
|
1063
1063
|
throw new Error("No value provided for input HTTP label: TemplateName.");
|
|
@@ -1083,7 +1083,7 @@ const serializeAws_restJson1GetImportJobCommand = async (input, context) => {
|
|
|
1083
1083
|
if (labelValue.length <= 0) {
|
|
1084
1084
|
throw new Error("Empty value provided for input HTTP label: JobId.");
|
|
1085
1085
|
}
|
|
1086
|
-
resolvedPath = resolvedPath.replace("{JobId}",
|
|
1086
|
+
resolvedPath = resolvedPath.replace("{JobId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1087
1087
|
}
|
|
1088
1088
|
else {
|
|
1089
1089
|
throw new Error("No value provided for input HTTP label: JobId.");
|
|
@@ -1110,7 +1110,7 @@ const serializeAws_restJson1GetSuppressedDestinationCommand = async (input, cont
|
|
|
1110
1110
|
if (labelValue.length <= 0) {
|
|
1111
1111
|
throw new Error("Empty value provided for input HTTP label: EmailAddress.");
|
|
1112
1112
|
}
|
|
1113
|
-
resolvedPath = resolvedPath.replace("{EmailAddress}",
|
|
1113
|
+
resolvedPath = resolvedPath.replace("{EmailAddress}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1114
1114
|
}
|
|
1115
1115
|
else {
|
|
1116
1116
|
throw new Error("No value provided for input HTTP label: EmailAddress.");
|
|
@@ -1181,7 +1181,7 @@ const serializeAws_restJson1ListContactsCommand = async (input, context) => {
|
|
|
1181
1181
|
if (labelValue.length <= 0) {
|
|
1182
1182
|
throw new Error("Empty value provided for input HTTP label: ContactListName.");
|
|
1183
1183
|
}
|
|
1184
|
-
resolvedPath = resolvedPath.replace("{ContactListName}",
|
|
1184
|
+
resolvedPath = resolvedPath.replace("{ContactListName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1185
1185
|
}
|
|
1186
1186
|
else {
|
|
1187
1187
|
throw new Error("No value provided for input HTTP label: ContactListName.");
|
|
@@ -1282,7 +1282,7 @@ const serializeAws_restJson1ListDomainDeliverabilityCampaignsCommand = async (in
|
|
|
1282
1282
|
if (labelValue.length <= 0) {
|
|
1283
1283
|
throw new Error("Empty value provided for input HTTP label: SubscribedDomain.");
|
|
1284
1284
|
}
|
|
1285
|
-
resolvedPath = resolvedPath.replace("{SubscribedDomain}",
|
|
1285
|
+
resolvedPath = resolvedPath.replace("{SubscribedDomain}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1286
1286
|
}
|
|
1287
1287
|
else {
|
|
1288
1288
|
throw new Error("No value provided for input HTTP label: SubscribedDomain.");
|
|
@@ -1531,7 +1531,7 @@ const serializeAws_restJson1PutConfigurationSetDeliveryOptionsCommand = async (i
|
|
|
1531
1531
|
if (labelValue.length <= 0) {
|
|
1532
1532
|
throw new Error("Empty value provided for input HTTP label: ConfigurationSetName.");
|
|
1533
1533
|
}
|
|
1534
|
-
resolvedPath = resolvedPath.replace("{ConfigurationSetName}",
|
|
1534
|
+
resolvedPath = resolvedPath.replace("{ConfigurationSetName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1535
1535
|
}
|
|
1536
1536
|
else {
|
|
1537
1537
|
throw new Error("No value provided for input HTTP label: ConfigurationSetName.");
|
|
@@ -1565,7 +1565,7 @@ const serializeAws_restJson1PutConfigurationSetReputationOptionsCommand = async
|
|
|
1565
1565
|
if (labelValue.length <= 0) {
|
|
1566
1566
|
throw new Error("Empty value provided for input HTTP label: ConfigurationSetName.");
|
|
1567
1567
|
}
|
|
1568
|
-
resolvedPath = resolvedPath.replace("{ConfigurationSetName}",
|
|
1568
|
+
resolvedPath = resolvedPath.replace("{ConfigurationSetName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1569
1569
|
}
|
|
1570
1570
|
else {
|
|
1571
1571
|
throw new Error("No value provided for input HTTP label: ConfigurationSetName.");
|
|
@@ -1598,7 +1598,7 @@ const serializeAws_restJson1PutConfigurationSetSendingOptionsCommand = async (in
|
|
|
1598
1598
|
if (labelValue.length <= 0) {
|
|
1599
1599
|
throw new Error("Empty value provided for input HTTP label: ConfigurationSetName.");
|
|
1600
1600
|
}
|
|
1601
|
-
resolvedPath = resolvedPath.replace("{ConfigurationSetName}",
|
|
1601
|
+
resolvedPath = resolvedPath.replace("{ConfigurationSetName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1602
1602
|
}
|
|
1603
1603
|
else {
|
|
1604
1604
|
throw new Error("No value provided for input HTTP label: ConfigurationSetName.");
|
|
@@ -1631,7 +1631,7 @@ const serializeAws_restJson1PutConfigurationSetSuppressionOptionsCommand = async
|
|
|
1631
1631
|
if (labelValue.length <= 0) {
|
|
1632
1632
|
throw new Error("Empty value provided for input HTTP label: ConfigurationSetName.");
|
|
1633
1633
|
}
|
|
1634
|
-
resolvedPath = resolvedPath.replace("{ConfigurationSetName}",
|
|
1634
|
+
resolvedPath = resolvedPath.replace("{ConfigurationSetName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1635
1635
|
}
|
|
1636
1636
|
else {
|
|
1637
1637
|
throw new Error("No value provided for input HTTP label: ConfigurationSetName.");
|
|
@@ -1666,7 +1666,7 @@ const serializeAws_restJson1PutConfigurationSetTrackingOptionsCommand = async (i
|
|
|
1666
1666
|
if (labelValue.length <= 0) {
|
|
1667
1667
|
throw new Error("Empty value provided for input HTTP label: ConfigurationSetName.");
|
|
1668
1668
|
}
|
|
1669
|
-
resolvedPath = resolvedPath.replace("{ConfigurationSetName}",
|
|
1669
|
+
resolvedPath = resolvedPath.replace("{ConfigurationSetName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1670
1670
|
}
|
|
1671
1671
|
else {
|
|
1672
1672
|
throw new Error("No value provided for input HTTP label: ConfigurationSetName.");
|
|
@@ -1698,7 +1698,7 @@ const serializeAws_restJson1PutDedicatedIpInPoolCommand = async (input, context)
|
|
|
1698
1698
|
if (labelValue.length <= 0) {
|
|
1699
1699
|
throw new Error("Empty value provided for input HTTP label: Ip.");
|
|
1700
1700
|
}
|
|
1701
|
-
resolvedPath = resolvedPath.replace("{Ip}",
|
|
1701
|
+
resolvedPath = resolvedPath.replace("{Ip}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1702
1702
|
}
|
|
1703
1703
|
else {
|
|
1704
1704
|
throw new Error("No value provided for input HTTP label: Ip.");
|
|
@@ -1730,7 +1730,7 @@ const serializeAws_restJson1PutDedicatedIpWarmupAttributesCommand = async (input
|
|
|
1730
1730
|
if (labelValue.length <= 0) {
|
|
1731
1731
|
throw new Error("Empty value provided for input HTTP label: Ip.");
|
|
1732
1732
|
}
|
|
1733
|
-
resolvedPath = resolvedPath.replace("{Ip}",
|
|
1733
|
+
resolvedPath = resolvedPath.replace("{Ip}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1734
1734
|
}
|
|
1735
1735
|
else {
|
|
1736
1736
|
throw new Error("No value provided for input HTTP label: Ip.");
|
|
@@ -1789,7 +1789,7 @@ const serializeAws_restJson1PutEmailIdentityConfigurationSetAttributesCommand =
|
|
|
1789
1789
|
if (labelValue.length <= 0) {
|
|
1790
1790
|
throw new Error("Empty value provided for input HTTP label: EmailIdentity.");
|
|
1791
1791
|
}
|
|
1792
|
-
resolvedPath = resolvedPath.replace("{EmailIdentity}",
|
|
1792
|
+
resolvedPath = resolvedPath.replace("{EmailIdentity}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1793
1793
|
}
|
|
1794
1794
|
else {
|
|
1795
1795
|
throw new Error("No value provided for input HTTP label: EmailIdentity.");
|
|
@@ -1821,7 +1821,7 @@ const serializeAws_restJson1PutEmailIdentityDkimAttributesCommand = async (input
|
|
|
1821
1821
|
if (labelValue.length <= 0) {
|
|
1822
1822
|
throw new Error("Empty value provided for input HTTP label: EmailIdentity.");
|
|
1823
1823
|
}
|
|
1824
|
-
resolvedPath = resolvedPath.replace("{EmailIdentity}",
|
|
1824
|
+
resolvedPath = resolvedPath.replace("{EmailIdentity}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1825
1825
|
}
|
|
1826
1826
|
else {
|
|
1827
1827
|
throw new Error("No value provided for input HTTP label: EmailIdentity.");
|
|
@@ -1854,7 +1854,7 @@ const serializeAws_restJson1PutEmailIdentityDkimSigningAttributesCommand = async
|
|
|
1854
1854
|
if (labelValue.length <= 0) {
|
|
1855
1855
|
throw new Error("Empty value provided for input HTTP label: EmailIdentity.");
|
|
1856
1856
|
}
|
|
1857
|
-
resolvedPath = resolvedPath.replace("{EmailIdentity}",
|
|
1857
|
+
resolvedPath = resolvedPath.replace("{EmailIdentity}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1858
1858
|
}
|
|
1859
1859
|
else {
|
|
1860
1860
|
throw new Error("No value provided for input HTTP label: EmailIdentity.");
|
|
@@ -1891,7 +1891,7 @@ const serializeAws_restJson1PutEmailIdentityFeedbackAttributesCommand = async (i
|
|
|
1891
1891
|
if (labelValue.length <= 0) {
|
|
1892
1892
|
throw new Error("Empty value provided for input HTTP label: EmailIdentity.");
|
|
1893
1893
|
}
|
|
1894
|
-
resolvedPath = resolvedPath.replace("{EmailIdentity}",
|
|
1894
|
+
resolvedPath = resolvedPath.replace("{EmailIdentity}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1895
1895
|
}
|
|
1896
1896
|
else {
|
|
1897
1897
|
throw new Error("No value provided for input HTTP label: EmailIdentity.");
|
|
@@ -1924,7 +1924,7 @@ const serializeAws_restJson1PutEmailIdentityMailFromAttributesCommand = async (i
|
|
|
1924
1924
|
if (labelValue.length <= 0) {
|
|
1925
1925
|
throw new Error("Empty value provided for input HTTP label: EmailIdentity.");
|
|
1926
1926
|
}
|
|
1927
|
-
resolvedPath = resolvedPath.replace("{EmailIdentity}",
|
|
1927
|
+
resolvedPath = resolvedPath.replace("{EmailIdentity}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1928
1928
|
}
|
|
1929
1929
|
else {
|
|
1930
1930
|
throw new Error("No value provided for input HTTP label: EmailIdentity.");
|
|
@@ -2126,7 +2126,7 @@ const serializeAws_restJson1TestRenderEmailTemplateCommand = async (input, conte
|
|
|
2126
2126
|
if (labelValue.length <= 0) {
|
|
2127
2127
|
throw new Error("Empty value provided for input HTTP label: TemplateName.");
|
|
2128
2128
|
}
|
|
2129
|
-
resolvedPath = resolvedPath.replace("{TemplateName}",
|
|
2129
|
+
resolvedPath = resolvedPath.replace("{TemplateName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
2130
2130
|
}
|
|
2131
2131
|
else {
|
|
2132
2132
|
throw new Error("No value provided for input HTTP label: TemplateName.");
|
|
@@ -2179,7 +2179,7 @@ const serializeAws_restJson1UpdateConfigurationSetEventDestinationCommand = asyn
|
|
|
2179
2179
|
if (labelValue.length <= 0) {
|
|
2180
2180
|
throw new Error("Empty value provided for input HTTP label: ConfigurationSetName.");
|
|
2181
2181
|
}
|
|
2182
|
-
resolvedPath = resolvedPath.replace("{ConfigurationSetName}",
|
|
2182
|
+
resolvedPath = resolvedPath.replace("{ConfigurationSetName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
2183
2183
|
}
|
|
2184
2184
|
else {
|
|
2185
2185
|
throw new Error("No value provided for input HTTP label: ConfigurationSetName.");
|
|
@@ -2189,7 +2189,7 @@ const serializeAws_restJson1UpdateConfigurationSetEventDestinationCommand = asyn
|
|
|
2189
2189
|
if (labelValue.length <= 0) {
|
|
2190
2190
|
throw new Error("Empty value provided for input HTTP label: EventDestinationName.");
|
|
2191
2191
|
}
|
|
2192
|
-
resolvedPath = resolvedPath.replace("{EventDestinationName}",
|
|
2192
|
+
resolvedPath = resolvedPath.replace("{EventDestinationName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
2193
2193
|
}
|
|
2194
2194
|
else {
|
|
2195
2195
|
throw new Error("No value provided for input HTTP label: EventDestinationName.");
|
|
@@ -2224,7 +2224,7 @@ const serializeAws_restJson1UpdateContactCommand = async (input, context) => {
|
|
|
2224
2224
|
if (labelValue.length <= 0) {
|
|
2225
2225
|
throw new Error("Empty value provided for input HTTP label: ContactListName.");
|
|
2226
2226
|
}
|
|
2227
|
-
resolvedPath = resolvedPath.replace("{ContactListName}",
|
|
2227
|
+
resolvedPath = resolvedPath.replace("{ContactListName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
2228
2228
|
}
|
|
2229
2229
|
else {
|
|
2230
2230
|
throw new Error("No value provided for input HTTP label: ContactListName.");
|
|
@@ -2234,7 +2234,7 @@ const serializeAws_restJson1UpdateContactCommand = async (input, context) => {
|
|
|
2234
2234
|
if (labelValue.length <= 0) {
|
|
2235
2235
|
throw new Error("Empty value provided for input HTTP label: EmailAddress.");
|
|
2236
2236
|
}
|
|
2237
|
-
resolvedPath = resolvedPath.replace("{EmailAddress}",
|
|
2237
|
+
resolvedPath = resolvedPath.replace("{EmailAddress}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
2238
2238
|
}
|
|
2239
2239
|
else {
|
|
2240
2240
|
throw new Error("No value provided for input HTTP label: EmailAddress.");
|
|
@@ -2272,7 +2272,7 @@ const serializeAws_restJson1UpdateContactListCommand = async (input, context) =>
|
|
|
2272
2272
|
if (labelValue.length <= 0) {
|
|
2273
2273
|
throw new Error("Empty value provided for input HTTP label: ContactListName.");
|
|
2274
2274
|
}
|
|
2275
|
-
resolvedPath = resolvedPath.replace("{ContactListName}",
|
|
2275
|
+
resolvedPath = resolvedPath.replace("{ContactListName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
2276
2276
|
}
|
|
2277
2277
|
else {
|
|
2278
2278
|
throw new Error("No value provided for input HTTP label: ContactListName.");
|
|
@@ -2306,7 +2306,7 @@ const serializeAws_restJson1UpdateCustomVerificationEmailTemplateCommand = async
|
|
|
2306
2306
|
if (labelValue.length <= 0) {
|
|
2307
2307
|
throw new Error("Empty value provided for input HTTP label: TemplateName.");
|
|
2308
2308
|
}
|
|
2309
|
-
resolvedPath = resolvedPath.replace("{TemplateName}",
|
|
2309
|
+
resolvedPath = resolvedPath.replace("{TemplateName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
2310
2310
|
}
|
|
2311
2311
|
else {
|
|
2312
2312
|
throw new Error("No value provided for input HTTP label: TemplateName.");
|
|
@@ -2347,7 +2347,7 @@ const serializeAws_restJson1UpdateEmailIdentityPolicyCommand = async (input, con
|
|
|
2347
2347
|
if (labelValue.length <= 0) {
|
|
2348
2348
|
throw new Error("Empty value provided for input HTTP label: EmailIdentity.");
|
|
2349
2349
|
}
|
|
2350
|
-
resolvedPath = resolvedPath.replace("{EmailIdentity}",
|
|
2350
|
+
resolvedPath = resolvedPath.replace("{EmailIdentity}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
2351
2351
|
}
|
|
2352
2352
|
else {
|
|
2353
2353
|
throw new Error("No value provided for input HTTP label: EmailIdentity.");
|
|
@@ -2357,7 +2357,7 @@ const serializeAws_restJson1UpdateEmailIdentityPolicyCommand = async (input, con
|
|
|
2357
2357
|
if (labelValue.length <= 0) {
|
|
2358
2358
|
throw new Error("Empty value provided for input HTTP label: PolicyName.");
|
|
2359
2359
|
}
|
|
2360
|
-
resolvedPath = resolvedPath.replace("{PolicyName}",
|
|
2360
|
+
resolvedPath = resolvedPath.replace("{PolicyName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
2361
2361
|
}
|
|
2362
2362
|
else {
|
|
2363
2363
|
throw new Error("No value provided for input HTTP label: PolicyName.");
|
|
@@ -2388,7 +2388,7 @@ const serializeAws_restJson1UpdateEmailTemplateCommand = async (input, context)
|
|
|
2388
2388
|
if (labelValue.length <= 0) {
|
|
2389
2389
|
throw new Error("Empty value provided for input HTTP label: TemplateName.");
|
|
2390
2390
|
}
|
|
2391
|
-
resolvedPath = resolvedPath.replace("{TemplateName}",
|
|
2391
|
+
resolvedPath = resolvedPath.replace("{TemplateName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
2392
2392
|
}
|
|
2393
2393
|
else {
|
|
2394
2394
|
throw new Error("No value provided for input HTTP label: TemplateName.");
|
|
@@ -2868,12 +2868,12 @@ const deserializeAws_restJson1CreateDeliverabilityTestReportCommand = async (out
|
|
|
2868
2868
|
DeliverabilityTestStatus: undefined,
|
|
2869
2869
|
ReportId: undefined,
|
|
2870
2870
|
};
|
|
2871
|
-
const data =
|
|
2871
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
2872
2872
|
if (data.DeliverabilityTestStatus !== undefined && data.DeliverabilityTestStatus !== null) {
|
|
2873
|
-
contents.DeliverabilityTestStatus =
|
|
2873
|
+
contents.DeliverabilityTestStatus = smithy_client_1.expectString(data.DeliverabilityTestStatus);
|
|
2874
2874
|
}
|
|
2875
2875
|
if (data.ReportId !== undefined && data.ReportId !== null) {
|
|
2876
|
-
contents.ReportId =
|
|
2876
|
+
contents.ReportId = smithy_client_1.expectString(data.ReportId);
|
|
2877
2877
|
}
|
|
2878
2878
|
return Promise.resolve(contents);
|
|
2879
2879
|
};
|
|
@@ -2985,15 +2985,15 @@ const deserializeAws_restJson1CreateEmailIdentityCommand = async (output, contex
|
|
|
2985
2985
|
IdentityType: undefined,
|
|
2986
2986
|
VerifiedForSendingStatus: undefined,
|
|
2987
2987
|
};
|
|
2988
|
-
const data =
|
|
2988
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
2989
2989
|
if (data.DkimAttributes !== undefined && data.DkimAttributes !== null) {
|
|
2990
2990
|
contents.DkimAttributes = deserializeAws_restJson1DkimAttributes(data.DkimAttributes, context);
|
|
2991
2991
|
}
|
|
2992
2992
|
if (data.IdentityType !== undefined && data.IdentityType !== null) {
|
|
2993
|
-
contents.IdentityType =
|
|
2993
|
+
contents.IdentityType = smithy_client_1.expectString(data.IdentityType);
|
|
2994
2994
|
}
|
|
2995
2995
|
if (data.VerifiedForSendingStatus !== undefined && data.VerifiedForSendingStatus !== null) {
|
|
2996
|
-
contents.VerifiedForSendingStatus =
|
|
2996
|
+
contents.VerifiedForSendingStatus = smithy_client_1.expectBoolean(data.VerifiedForSendingStatus);
|
|
2997
2997
|
}
|
|
2998
2998
|
return Promise.resolve(contents);
|
|
2999
2999
|
};
|
|
@@ -3223,9 +3223,9 @@ const deserializeAws_restJson1CreateImportJobCommand = async (output, context) =
|
|
|
3223
3223
|
$metadata: deserializeMetadata(output),
|
|
3224
3224
|
JobId: undefined,
|
|
3225
3225
|
};
|
|
3226
|
-
const data =
|
|
3226
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
3227
3227
|
if (data.JobId !== undefined && data.JobId !== null) {
|
|
3228
|
-
contents.JobId =
|
|
3228
|
+
contents.JobId = smithy_client_1.expectString(data.JobId);
|
|
3229
3229
|
}
|
|
3230
3230
|
return Promise.resolve(contents);
|
|
3231
3231
|
};
|
|
@@ -3925,24 +3925,24 @@ const deserializeAws_restJson1GetAccountCommand = async (output, context) => {
|
|
|
3925
3925
|
SendingEnabled: undefined,
|
|
3926
3926
|
SuppressionAttributes: undefined,
|
|
3927
3927
|
};
|
|
3928
|
-
const data =
|
|
3928
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
3929
3929
|
if (data.DedicatedIpAutoWarmupEnabled !== undefined && data.DedicatedIpAutoWarmupEnabled !== null) {
|
|
3930
|
-
contents.DedicatedIpAutoWarmupEnabled =
|
|
3930
|
+
contents.DedicatedIpAutoWarmupEnabled = smithy_client_1.expectBoolean(data.DedicatedIpAutoWarmupEnabled);
|
|
3931
3931
|
}
|
|
3932
3932
|
if (data.Details !== undefined && data.Details !== null) {
|
|
3933
3933
|
contents.Details = deserializeAws_restJson1AccountDetails(data.Details, context);
|
|
3934
3934
|
}
|
|
3935
3935
|
if (data.EnforcementStatus !== undefined && data.EnforcementStatus !== null) {
|
|
3936
|
-
contents.EnforcementStatus =
|
|
3936
|
+
contents.EnforcementStatus = smithy_client_1.expectString(data.EnforcementStatus);
|
|
3937
3937
|
}
|
|
3938
3938
|
if (data.ProductionAccessEnabled !== undefined && data.ProductionAccessEnabled !== null) {
|
|
3939
|
-
contents.ProductionAccessEnabled =
|
|
3939
|
+
contents.ProductionAccessEnabled = smithy_client_1.expectBoolean(data.ProductionAccessEnabled);
|
|
3940
3940
|
}
|
|
3941
3941
|
if (data.SendQuota !== undefined && data.SendQuota !== null) {
|
|
3942
3942
|
contents.SendQuota = deserializeAws_restJson1SendQuota(data.SendQuota, context);
|
|
3943
3943
|
}
|
|
3944
3944
|
if (data.SendingEnabled !== undefined && data.SendingEnabled !== null) {
|
|
3945
|
-
contents.SendingEnabled =
|
|
3945
|
+
contents.SendingEnabled = smithy_client_1.expectBoolean(data.SendingEnabled);
|
|
3946
3946
|
}
|
|
3947
3947
|
if (data.SuppressionAttributes !== undefined && data.SuppressionAttributes !== null) {
|
|
3948
3948
|
contents.SuppressionAttributes = deserializeAws_restJson1SuppressionAttributes(data.SuppressionAttributes, context);
|
|
@@ -3999,7 +3999,7 @@ const deserializeAws_restJson1GetBlacklistReportsCommand = async (output, contex
|
|
|
3999
3999
|
$metadata: deserializeMetadata(output),
|
|
4000
4000
|
BlacklistReport: undefined,
|
|
4001
4001
|
};
|
|
4002
|
-
const data =
|
|
4002
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
4003
4003
|
if (data.BlacklistReport !== undefined && data.BlacklistReport !== null) {
|
|
4004
4004
|
contents.BlacklistReport = deserializeAws_restJson1BlacklistReport(data.BlacklistReport, context);
|
|
4005
4005
|
}
|
|
@@ -4069,9 +4069,9 @@ const deserializeAws_restJson1GetConfigurationSetCommand = async (output, contex
|
|
|
4069
4069
|
Tags: undefined,
|
|
4070
4070
|
TrackingOptions: undefined,
|
|
4071
4071
|
};
|
|
4072
|
-
const data =
|
|
4072
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
4073
4073
|
if (data.ConfigurationSetName !== undefined && data.ConfigurationSetName !== null) {
|
|
4074
|
-
contents.ConfigurationSetName =
|
|
4074
|
+
contents.ConfigurationSetName = smithy_client_1.expectString(data.ConfigurationSetName);
|
|
4075
4075
|
}
|
|
4076
4076
|
if (data.DeliveryOptions !== undefined && data.DeliveryOptions !== null) {
|
|
4077
4077
|
contents.DeliveryOptions = deserializeAws_restJson1DeliveryOptions(data.DeliveryOptions, context);
|
|
@@ -4151,7 +4151,7 @@ const deserializeAws_restJson1GetConfigurationSetEventDestinationsCommand = asyn
|
|
|
4151
4151
|
$metadata: deserializeMetadata(output),
|
|
4152
4152
|
EventDestinations: undefined,
|
|
4153
4153
|
};
|
|
4154
|
-
const data =
|
|
4154
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
4155
4155
|
if (data.EventDestinations !== undefined && data.EventDestinations !== null) {
|
|
4156
4156
|
contents.EventDestinations = deserializeAws_restJson1EventDestinations(data.EventDestinations, context);
|
|
4157
4157
|
}
|
|
@@ -4222,21 +4222,21 @@ const deserializeAws_restJson1GetContactCommand = async (output, context) => {
|
|
|
4222
4222
|
TopicPreferences: undefined,
|
|
4223
4223
|
UnsubscribeAll: undefined,
|
|
4224
4224
|
};
|
|
4225
|
-
const data =
|
|
4225
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
4226
4226
|
if (data.AttributesData !== undefined && data.AttributesData !== null) {
|
|
4227
|
-
contents.AttributesData =
|
|
4227
|
+
contents.AttributesData = smithy_client_1.expectString(data.AttributesData);
|
|
4228
4228
|
}
|
|
4229
4229
|
if (data.ContactListName !== undefined && data.ContactListName !== null) {
|
|
4230
|
-
contents.ContactListName =
|
|
4230
|
+
contents.ContactListName = smithy_client_1.expectString(data.ContactListName);
|
|
4231
4231
|
}
|
|
4232
4232
|
if (data.CreatedTimestamp !== undefined && data.CreatedTimestamp !== null) {
|
|
4233
|
-
contents.CreatedTimestamp =
|
|
4233
|
+
contents.CreatedTimestamp = smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(data.CreatedTimestamp)));
|
|
4234
4234
|
}
|
|
4235
4235
|
if (data.EmailAddress !== undefined && data.EmailAddress !== null) {
|
|
4236
|
-
contents.EmailAddress =
|
|
4236
|
+
contents.EmailAddress = smithy_client_1.expectString(data.EmailAddress);
|
|
4237
4237
|
}
|
|
4238
4238
|
if (data.LastUpdatedTimestamp !== undefined && data.LastUpdatedTimestamp !== null) {
|
|
4239
|
-
contents.LastUpdatedTimestamp =
|
|
4239
|
+
contents.LastUpdatedTimestamp = smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(data.LastUpdatedTimestamp)));
|
|
4240
4240
|
}
|
|
4241
4241
|
if (data.TopicDefaultPreferences !== undefined && data.TopicDefaultPreferences !== null) {
|
|
4242
4242
|
contents.TopicDefaultPreferences = deserializeAws_restJson1TopicPreferenceList(data.TopicDefaultPreferences, context);
|
|
@@ -4245,7 +4245,7 @@ const deserializeAws_restJson1GetContactCommand = async (output, context) => {
|
|
|
4245
4245
|
contents.TopicPreferences = deserializeAws_restJson1TopicPreferenceList(data.TopicPreferences, context);
|
|
4246
4246
|
}
|
|
4247
4247
|
if (data.UnsubscribeAll !== undefined && data.UnsubscribeAll !== null) {
|
|
4248
|
-
contents.UnsubscribeAll =
|
|
4248
|
+
contents.UnsubscribeAll = smithy_client_1.expectBoolean(data.UnsubscribeAll);
|
|
4249
4249
|
}
|
|
4250
4250
|
return Promise.resolve(contents);
|
|
4251
4251
|
};
|
|
@@ -4312,18 +4312,18 @@ const deserializeAws_restJson1GetContactListCommand = async (output, context) =>
|
|
|
4312
4312
|
Tags: undefined,
|
|
4313
4313
|
Topics: undefined,
|
|
4314
4314
|
};
|
|
4315
|
-
const data =
|
|
4315
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
4316
4316
|
if (data.ContactListName !== undefined && data.ContactListName !== null) {
|
|
4317
|
-
contents.ContactListName =
|
|
4317
|
+
contents.ContactListName = smithy_client_1.expectString(data.ContactListName);
|
|
4318
4318
|
}
|
|
4319
4319
|
if (data.CreatedTimestamp !== undefined && data.CreatedTimestamp !== null) {
|
|
4320
|
-
contents.CreatedTimestamp =
|
|
4320
|
+
contents.CreatedTimestamp = smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(data.CreatedTimestamp)));
|
|
4321
4321
|
}
|
|
4322
4322
|
if (data.Description !== undefined && data.Description !== null) {
|
|
4323
|
-
contents.Description =
|
|
4323
|
+
contents.Description = smithy_client_1.expectString(data.Description);
|
|
4324
4324
|
}
|
|
4325
4325
|
if (data.LastUpdatedTimestamp !== undefined && data.LastUpdatedTimestamp !== null) {
|
|
4326
|
-
contents.LastUpdatedTimestamp =
|
|
4326
|
+
contents.LastUpdatedTimestamp = smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(data.LastUpdatedTimestamp)));
|
|
4327
4327
|
}
|
|
4328
4328
|
if (data.Tags !== undefined && data.Tags !== null) {
|
|
4329
4329
|
contents.Tags = deserializeAws_restJson1TagList(data.Tags, context);
|
|
@@ -4396,24 +4396,24 @@ const deserializeAws_restJson1GetCustomVerificationEmailTemplateCommand = async
|
|
|
4396
4396
|
TemplateName: undefined,
|
|
4397
4397
|
TemplateSubject: undefined,
|
|
4398
4398
|
};
|
|
4399
|
-
const data =
|
|
4399
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
4400
4400
|
if (data.FailureRedirectionURL !== undefined && data.FailureRedirectionURL !== null) {
|
|
4401
|
-
contents.FailureRedirectionURL =
|
|
4401
|
+
contents.FailureRedirectionURL = smithy_client_1.expectString(data.FailureRedirectionURL);
|
|
4402
4402
|
}
|
|
4403
4403
|
if (data.FromEmailAddress !== undefined && data.FromEmailAddress !== null) {
|
|
4404
|
-
contents.FromEmailAddress =
|
|
4404
|
+
contents.FromEmailAddress = smithy_client_1.expectString(data.FromEmailAddress);
|
|
4405
4405
|
}
|
|
4406
4406
|
if (data.SuccessRedirectionURL !== undefined && data.SuccessRedirectionURL !== null) {
|
|
4407
|
-
contents.SuccessRedirectionURL =
|
|
4407
|
+
contents.SuccessRedirectionURL = smithy_client_1.expectString(data.SuccessRedirectionURL);
|
|
4408
4408
|
}
|
|
4409
4409
|
if (data.TemplateContent !== undefined && data.TemplateContent !== null) {
|
|
4410
|
-
contents.TemplateContent =
|
|
4410
|
+
contents.TemplateContent = smithy_client_1.expectString(data.TemplateContent);
|
|
4411
4411
|
}
|
|
4412
4412
|
if (data.TemplateName !== undefined && data.TemplateName !== null) {
|
|
4413
|
-
contents.TemplateName =
|
|
4413
|
+
contents.TemplateName = smithy_client_1.expectString(data.TemplateName);
|
|
4414
4414
|
}
|
|
4415
4415
|
if (data.TemplateSubject !== undefined && data.TemplateSubject !== null) {
|
|
4416
|
-
contents.TemplateSubject =
|
|
4416
|
+
contents.TemplateSubject = smithy_client_1.expectString(data.TemplateSubject);
|
|
4417
4417
|
}
|
|
4418
4418
|
return Promise.resolve(contents);
|
|
4419
4419
|
};
|
|
@@ -4475,7 +4475,7 @@ const deserializeAws_restJson1GetDedicatedIpCommand = async (output, context) =>
|
|
|
4475
4475
|
$metadata: deserializeMetadata(output),
|
|
4476
4476
|
DedicatedIp: undefined,
|
|
4477
4477
|
};
|
|
4478
|
-
const data =
|
|
4478
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
4479
4479
|
if (data.DedicatedIp !== undefined && data.DedicatedIp !== null) {
|
|
4480
4480
|
contents.DedicatedIp = deserializeAws_restJson1DedicatedIp(data.DedicatedIp, context);
|
|
4481
4481
|
}
|
|
@@ -4540,12 +4540,12 @@ const deserializeAws_restJson1GetDedicatedIpsCommand = async (output, context) =
|
|
|
4540
4540
|
DedicatedIps: undefined,
|
|
4541
4541
|
NextToken: undefined,
|
|
4542
4542
|
};
|
|
4543
|
-
const data =
|
|
4543
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
4544
4544
|
if (data.DedicatedIps !== undefined && data.DedicatedIps !== null) {
|
|
4545
4545
|
contents.DedicatedIps = deserializeAws_restJson1DedicatedIpList(data.DedicatedIps, context);
|
|
4546
4546
|
}
|
|
4547
4547
|
if (data.NextToken !== undefined && data.NextToken !== null) {
|
|
4548
|
-
contents.NextToken =
|
|
4548
|
+
contents.NextToken = smithy_client_1.expectString(data.NextToken);
|
|
4549
4549
|
}
|
|
4550
4550
|
return Promise.resolve(contents);
|
|
4551
4551
|
};
|
|
@@ -4611,21 +4611,21 @@ const deserializeAws_restJson1GetDeliverabilityDashboardOptionsCommand = async (
|
|
|
4611
4611
|
PendingExpirationSubscribedDomains: undefined,
|
|
4612
4612
|
SubscriptionExpiryDate: undefined,
|
|
4613
4613
|
};
|
|
4614
|
-
const data =
|
|
4614
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
4615
4615
|
if (data.AccountStatus !== undefined && data.AccountStatus !== null) {
|
|
4616
|
-
contents.AccountStatus =
|
|
4616
|
+
contents.AccountStatus = smithy_client_1.expectString(data.AccountStatus);
|
|
4617
4617
|
}
|
|
4618
4618
|
if (data.ActiveSubscribedDomains !== undefined && data.ActiveSubscribedDomains !== null) {
|
|
4619
4619
|
contents.ActiveSubscribedDomains = deserializeAws_restJson1DomainDeliverabilityTrackingOptions(data.ActiveSubscribedDomains, context);
|
|
4620
4620
|
}
|
|
4621
4621
|
if (data.DashboardEnabled !== undefined && data.DashboardEnabled !== null) {
|
|
4622
|
-
contents.DashboardEnabled =
|
|
4622
|
+
contents.DashboardEnabled = smithy_client_1.expectBoolean(data.DashboardEnabled);
|
|
4623
4623
|
}
|
|
4624
4624
|
if (data.PendingExpirationSubscribedDomains !== undefined && data.PendingExpirationSubscribedDomains !== null) {
|
|
4625
4625
|
contents.PendingExpirationSubscribedDomains = deserializeAws_restJson1DomainDeliverabilityTrackingOptions(data.PendingExpirationSubscribedDomains, context);
|
|
4626
4626
|
}
|
|
4627
4627
|
if (data.SubscriptionExpiryDate !== undefined && data.SubscriptionExpiryDate !== null) {
|
|
4628
|
-
contents.SubscriptionExpiryDate =
|
|
4628
|
+
contents.SubscriptionExpiryDate = smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(data.SubscriptionExpiryDate)));
|
|
4629
4629
|
}
|
|
4630
4630
|
return Promise.resolve(contents);
|
|
4631
4631
|
};
|
|
@@ -4691,7 +4691,7 @@ const deserializeAws_restJson1GetDeliverabilityTestReportCommand = async (output
|
|
|
4691
4691
|
OverallPlacement: undefined,
|
|
4692
4692
|
Tags: undefined,
|
|
4693
4693
|
};
|
|
4694
|
-
const data =
|
|
4694
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
4695
4695
|
if (data.DeliverabilityTestReport !== undefined && data.DeliverabilityTestReport !== null) {
|
|
4696
4696
|
contents.DeliverabilityTestReport = deserializeAws_restJson1DeliverabilityTestReport(data.DeliverabilityTestReport, context);
|
|
4697
4697
|
}
|
|
@@ -4699,7 +4699,7 @@ const deserializeAws_restJson1GetDeliverabilityTestReportCommand = async (output
|
|
|
4699
4699
|
contents.IspPlacements = deserializeAws_restJson1IspPlacements(data.IspPlacements, context);
|
|
4700
4700
|
}
|
|
4701
4701
|
if (data.Message !== undefined && data.Message !== null) {
|
|
4702
|
-
contents.Message =
|
|
4702
|
+
contents.Message = smithy_client_1.expectString(data.Message);
|
|
4703
4703
|
}
|
|
4704
4704
|
if (data.OverallPlacement !== undefined && data.OverallPlacement !== null) {
|
|
4705
4705
|
contents.OverallPlacement = deserializeAws_restJson1PlacementStatistics(data.OverallPlacement, context);
|
|
@@ -4767,7 +4767,7 @@ const deserializeAws_restJson1GetDomainDeliverabilityCampaignCommand = async (ou
|
|
|
4767
4767
|
$metadata: deserializeMetadata(output),
|
|
4768
4768
|
DomainDeliverabilityCampaign: undefined,
|
|
4769
4769
|
};
|
|
4770
|
-
const data =
|
|
4770
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
4771
4771
|
if (data.DomainDeliverabilityCampaign !== undefined && data.DomainDeliverabilityCampaign !== null) {
|
|
4772
4772
|
contents.DomainDeliverabilityCampaign = deserializeAws_restJson1DomainDeliverabilityCampaign(data.DomainDeliverabilityCampaign, context);
|
|
4773
4773
|
}
|
|
@@ -4832,7 +4832,7 @@ const deserializeAws_restJson1GetDomainStatisticsReportCommand = async (output,
|
|
|
4832
4832
|
DailyVolumes: undefined,
|
|
4833
4833
|
OverallVolume: undefined,
|
|
4834
4834
|
};
|
|
4835
|
-
const data =
|
|
4835
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
4836
4836
|
if (data.DailyVolumes !== undefined && data.DailyVolumes !== null) {
|
|
4837
4837
|
contents.DailyVolumes = deserializeAws_restJson1DailyVolumes(data.DailyVolumes, context);
|
|
4838
4838
|
}
|
|
@@ -4906,18 +4906,18 @@ const deserializeAws_restJson1GetEmailIdentityCommand = async (output, context)
|
|
|
4906
4906
|
Tags: undefined,
|
|
4907
4907
|
VerifiedForSendingStatus: undefined,
|
|
4908
4908
|
};
|
|
4909
|
-
const data =
|
|
4909
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
4910
4910
|
if (data.ConfigurationSetName !== undefined && data.ConfigurationSetName !== null) {
|
|
4911
|
-
contents.ConfigurationSetName =
|
|
4911
|
+
contents.ConfigurationSetName = smithy_client_1.expectString(data.ConfigurationSetName);
|
|
4912
4912
|
}
|
|
4913
4913
|
if (data.DkimAttributes !== undefined && data.DkimAttributes !== null) {
|
|
4914
4914
|
contents.DkimAttributes = deserializeAws_restJson1DkimAttributes(data.DkimAttributes, context);
|
|
4915
4915
|
}
|
|
4916
4916
|
if (data.FeedbackForwardingStatus !== undefined && data.FeedbackForwardingStatus !== null) {
|
|
4917
|
-
contents.FeedbackForwardingStatus =
|
|
4917
|
+
contents.FeedbackForwardingStatus = smithy_client_1.expectBoolean(data.FeedbackForwardingStatus);
|
|
4918
4918
|
}
|
|
4919
4919
|
if (data.IdentityType !== undefined && data.IdentityType !== null) {
|
|
4920
|
-
contents.IdentityType =
|
|
4920
|
+
contents.IdentityType = smithy_client_1.expectString(data.IdentityType);
|
|
4921
4921
|
}
|
|
4922
4922
|
if (data.MailFromAttributes !== undefined && data.MailFromAttributes !== null) {
|
|
4923
4923
|
contents.MailFromAttributes = deserializeAws_restJson1MailFromAttributes(data.MailFromAttributes, context);
|
|
@@ -4929,7 +4929,7 @@ const deserializeAws_restJson1GetEmailIdentityCommand = async (output, context)
|
|
|
4929
4929
|
contents.Tags = deserializeAws_restJson1TagList(data.Tags, context);
|
|
4930
4930
|
}
|
|
4931
4931
|
if (data.VerifiedForSendingStatus !== undefined && data.VerifiedForSendingStatus !== null) {
|
|
4932
|
-
contents.VerifiedForSendingStatus =
|
|
4932
|
+
contents.VerifiedForSendingStatus = smithy_client_1.expectBoolean(data.VerifiedForSendingStatus);
|
|
4933
4933
|
}
|
|
4934
4934
|
return Promise.resolve(contents);
|
|
4935
4935
|
};
|
|
@@ -4991,7 +4991,7 @@ const deserializeAws_restJson1GetEmailIdentityPoliciesCommand = async (output, c
|
|
|
4991
4991
|
$metadata: deserializeMetadata(output),
|
|
4992
4992
|
Policies: undefined,
|
|
4993
4993
|
};
|
|
4994
|
-
const data =
|
|
4994
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
4995
4995
|
if (data.Policies !== undefined && data.Policies !== null) {
|
|
4996
4996
|
contents.Policies = deserializeAws_restJson1PolicyMap(data.Policies, context);
|
|
4997
4997
|
}
|
|
@@ -5056,12 +5056,12 @@ const deserializeAws_restJson1GetEmailTemplateCommand = async (output, context)
|
|
|
5056
5056
|
TemplateContent: undefined,
|
|
5057
5057
|
TemplateName: undefined,
|
|
5058
5058
|
};
|
|
5059
|
-
const data =
|
|
5059
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
5060
5060
|
if (data.TemplateContent !== undefined && data.TemplateContent !== null) {
|
|
5061
5061
|
contents.TemplateContent = deserializeAws_restJson1EmailTemplateContent(data.TemplateContent, context);
|
|
5062
5062
|
}
|
|
5063
5063
|
if (data.TemplateName !== undefined && data.TemplateName !== null) {
|
|
5064
|
-
contents.TemplateName =
|
|
5064
|
+
contents.TemplateName = smithy_client_1.expectString(data.TemplateName);
|
|
5065
5065
|
}
|
|
5066
5066
|
return Promise.resolve(contents);
|
|
5067
5067
|
};
|
|
@@ -5131,15 +5131,15 @@ const deserializeAws_restJson1GetImportJobCommand = async (output, context) => {
|
|
|
5131
5131
|
JobStatus: undefined,
|
|
5132
5132
|
ProcessedRecordsCount: undefined,
|
|
5133
5133
|
};
|
|
5134
|
-
const data =
|
|
5134
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
5135
5135
|
if (data.CompletedTimestamp !== undefined && data.CompletedTimestamp !== null) {
|
|
5136
|
-
contents.CompletedTimestamp =
|
|
5136
|
+
contents.CompletedTimestamp = smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(data.CompletedTimestamp)));
|
|
5137
5137
|
}
|
|
5138
5138
|
if (data.CreatedTimestamp !== undefined && data.CreatedTimestamp !== null) {
|
|
5139
|
-
contents.CreatedTimestamp =
|
|
5139
|
+
contents.CreatedTimestamp = smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(data.CreatedTimestamp)));
|
|
5140
5140
|
}
|
|
5141
5141
|
if (data.FailedRecordsCount !== undefined && data.FailedRecordsCount !== null) {
|
|
5142
|
-
contents.FailedRecordsCount =
|
|
5142
|
+
contents.FailedRecordsCount = smithy_client_1.expectInt32(data.FailedRecordsCount);
|
|
5143
5143
|
}
|
|
5144
5144
|
if (data.FailureInfo !== undefined && data.FailureInfo !== null) {
|
|
5145
5145
|
contents.FailureInfo = deserializeAws_restJson1FailureInfo(data.FailureInfo, context);
|
|
@@ -5151,13 +5151,13 @@ const deserializeAws_restJson1GetImportJobCommand = async (output, context) => {
|
|
|
5151
5151
|
contents.ImportDestination = deserializeAws_restJson1ImportDestination(data.ImportDestination, context);
|
|
5152
5152
|
}
|
|
5153
5153
|
if (data.JobId !== undefined && data.JobId !== null) {
|
|
5154
|
-
contents.JobId =
|
|
5154
|
+
contents.JobId = smithy_client_1.expectString(data.JobId);
|
|
5155
5155
|
}
|
|
5156
5156
|
if (data.JobStatus !== undefined && data.JobStatus !== null) {
|
|
5157
|
-
contents.JobStatus =
|
|
5157
|
+
contents.JobStatus = smithy_client_1.expectString(data.JobStatus);
|
|
5158
5158
|
}
|
|
5159
5159
|
if (data.ProcessedRecordsCount !== undefined && data.ProcessedRecordsCount !== null) {
|
|
5160
|
-
contents.ProcessedRecordsCount =
|
|
5160
|
+
contents.ProcessedRecordsCount = smithy_client_1.expectInt32(data.ProcessedRecordsCount);
|
|
5161
5161
|
}
|
|
5162
5162
|
return Promise.resolve(contents);
|
|
5163
5163
|
};
|
|
@@ -5219,7 +5219,7 @@ const deserializeAws_restJson1GetSuppressedDestinationCommand = async (output, c
|
|
|
5219
5219
|
$metadata: deserializeMetadata(output),
|
|
5220
5220
|
SuppressedDestination: undefined,
|
|
5221
5221
|
};
|
|
5222
|
-
const data =
|
|
5222
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
5223
5223
|
if (data.SuppressedDestination !== undefined && data.SuppressedDestination !== null) {
|
|
5224
5224
|
contents.SuppressedDestination = deserializeAws_restJson1SuppressedDestination(data.SuppressedDestination, context);
|
|
5225
5225
|
}
|
|
@@ -5284,12 +5284,12 @@ const deserializeAws_restJson1ListConfigurationSetsCommand = async (output, cont
|
|
|
5284
5284
|
ConfigurationSets: undefined,
|
|
5285
5285
|
NextToken: undefined,
|
|
5286
5286
|
};
|
|
5287
|
-
const data =
|
|
5287
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
5288
5288
|
if (data.ConfigurationSets !== undefined && data.ConfigurationSets !== null) {
|
|
5289
5289
|
contents.ConfigurationSets = deserializeAws_restJson1ConfigurationSetNameList(data.ConfigurationSets, context);
|
|
5290
5290
|
}
|
|
5291
5291
|
if (data.NextToken !== undefined && data.NextToken !== null) {
|
|
5292
|
-
contents.NextToken =
|
|
5292
|
+
contents.NextToken = smithy_client_1.expectString(data.NextToken);
|
|
5293
5293
|
}
|
|
5294
5294
|
return Promise.resolve(contents);
|
|
5295
5295
|
};
|
|
@@ -5344,12 +5344,12 @@ const deserializeAws_restJson1ListContactListsCommand = async (output, context)
|
|
|
5344
5344
|
ContactLists: undefined,
|
|
5345
5345
|
NextToken: undefined,
|
|
5346
5346
|
};
|
|
5347
|
-
const data =
|
|
5347
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
5348
5348
|
if (data.ContactLists !== undefined && data.ContactLists !== null) {
|
|
5349
5349
|
contents.ContactLists = deserializeAws_restJson1ListOfContactLists(data.ContactLists, context);
|
|
5350
5350
|
}
|
|
5351
5351
|
if (data.NextToken !== undefined && data.NextToken !== null) {
|
|
5352
|
-
contents.NextToken =
|
|
5352
|
+
contents.NextToken = smithy_client_1.expectString(data.NextToken);
|
|
5353
5353
|
}
|
|
5354
5354
|
return Promise.resolve(contents);
|
|
5355
5355
|
};
|
|
@@ -5404,12 +5404,12 @@ const deserializeAws_restJson1ListContactsCommand = async (output, context) => {
|
|
|
5404
5404
|
Contacts: undefined,
|
|
5405
5405
|
NextToken: undefined,
|
|
5406
5406
|
};
|
|
5407
|
-
const data =
|
|
5407
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
5408
5408
|
if (data.Contacts !== undefined && data.Contacts !== null) {
|
|
5409
5409
|
contents.Contacts = deserializeAws_restJson1ListOfContacts(data.Contacts, context);
|
|
5410
5410
|
}
|
|
5411
5411
|
if (data.NextToken !== undefined && data.NextToken !== null) {
|
|
5412
|
-
contents.NextToken =
|
|
5412
|
+
contents.NextToken = smithy_client_1.expectString(data.NextToken);
|
|
5413
5413
|
}
|
|
5414
5414
|
return Promise.resolve(contents);
|
|
5415
5415
|
};
|
|
@@ -5472,12 +5472,12 @@ const deserializeAws_restJson1ListCustomVerificationEmailTemplatesCommand = asyn
|
|
|
5472
5472
|
CustomVerificationEmailTemplates: undefined,
|
|
5473
5473
|
NextToken: undefined,
|
|
5474
5474
|
};
|
|
5475
|
-
const data =
|
|
5475
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
5476
5476
|
if (data.CustomVerificationEmailTemplates !== undefined && data.CustomVerificationEmailTemplates !== null) {
|
|
5477
5477
|
contents.CustomVerificationEmailTemplates = deserializeAws_restJson1CustomVerificationEmailTemplatesList(data.CustomVerificationEmailTemplates, context);
|
|
5478
5478
|
}
|
|
5479
5479
|
if (data.NextToken !== undefined && data.NextToken !== null) {
|
|
5480
|
-
contents.NextToken =
|
|
5480
|
+
contents.NextToken = smithy_client_1.expectString(data.NextToken);
|
|
5481
5481
|
}
|
|
5482
5482
|
return Promise.resolve(contents);
|
|
5483
5483
|
};
|
|
@@ -5532,12 +5532,12 @@ const deserializeAws_restJson1ListDedicatedIpPoolsCommand = async (output, conte
|
|
|
5532
5532
|
DedicatedIpPools: undefined,
|
|
5533
5533
|
NextToken: undefined,
|
|
5534
5534
|
};
|
|
5535
|
-
const data =
|
|
5535
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
5536
5536
|
if (data.DedicatedIpPools !== undefined && data.DedicatedIpPools !== null) {
|
|
5537
5537
|
contents.DedicatedIpPools = deserializeAws_restJson1ListOfDedicatedIpPools(data.DedicatedIpPools, context);
|
|
5538
5538
|
}
|
|
5539
5539
|
if (data.NextToken !== undefined && data.NextToken !== null) {
|
|
5540
|
-
contents.NextToken =
|
|
5540
|
+
contents.NextToken = smithy_client_1.expectString(data.NextToken);
|
|
5541
5541
|
}
|
|
5542
5542
|
return Promise.resolve(contents);
|
|
5543
5543
|
};
|
|
@@ -5592,12 +5592,12 @@ const deserializeAws_restJson1ListDeliverabilityTestReportsCommand = async (outp
|
|
|
5592
5592
|
DeliverabilityTestReports: undefined,
|
|
5593
5593
|
NextToken: undefined,
|
|
5594
5594
|
};
|
|
5595
|
-
const data =
|
|
5595
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
5596
5596
|
if (data.DeliverabilityTestReports !== undefined && data.DeliverabilityTestReports !== null) {
|
|
5597
5597
|
contents.DeliverabilityTestReports = deserializeAws_restJson1DeliverabilityTestReports(data.DeliverabilityTestReports, context);
|
|
5598
5598
|
}
|
|
5599
5599
|
if (data.NextToken !== undefined && data.NextToken !== null) {
|
|
5600
|
-
contents.NextToken =
|
|
5600
|
+
contents.NextToken = smithy_client_1.expectString(data.NextToken);
|
|
5601
5601
|
}
|
|
5602
5602
|
return Promise.resolve(contents);
|
|
5603
5603
|
};
|
|
@@ -5660,12 +5660,12 @@ const deserializeAws_restJson1ListDomainDeliverabilityCampaignsCommand = async (
|
|
|
5660
5660
|
DomainDeliverabilityCampaigns: undefined,
|
|
5661
5661
|
NextToken: undefined,
|
|
5662
5662
|
};
|
|
5663
|
-
const data =
|
|
5663
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
5664
5664
|
if (data.DomainDeliverabilityCampaigns !== undefined && data.DomainDeliverabilityCampaigns !== null) {
|
|
5665
5665
|
contents.DomainDeliverabilityCampaigns = deserializeAws_restJson1DomainDeliverabilityCampaignList(data.DomainDeliverabilityCampaigns, context);
|
|
5666
5666
|
}
|
|
5667
5667
|
if (data.NextToken !== undefined && data.NextToken !== null) {
|
|
5668
|
-
contents.NextToken =
|
|
5668
|
+
contents.NextToken = smithy_client_1.expectString(data.NextToken);
|
|
5669
5669
|
}
|
|
5670
5670
|
return Promise.resolve(contents);
|
|
5671
5671
|
};
|
|
@@ -5728,12 +5728,12 @@ const deserializeAws_restJson1ListEmailIdentitiesCommand = async (output, contex
|
|
|
5728
5728
|
EmailIdentities: undefined,
|
|
5729
5729
|
NextToken: undefined,
|
|
5730
5730
|
};
|
|
5731
|
-
const data =
|
|
5731
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
5732
5732
|
if (data.EmailIdentities !== undefined && data.EmailIdentities !== null) {
|
|
5733
5733
|
contents.EmailIdentities = deserializeAws_restJson1IdentityInfoList(data.EmailIdentities, context);
|
|
5734
5734
|
}
|
|
5735
5735
|
if (data.NextToken !== undefined && data.NextToken !== null) {
|
|
5736
|
-
contents.NextToken =
|
|
5736
|
+
contents.NextToken = smithy_client_1.expectString(data.NextToken);
|
|
5737
5737
|
}
|
|
5738
5738
|
return Promise.resolve(contents);
|
|
5739
5739
|
};
|
|
@@ -5788,9 +5788,9 @@ const deserializeAws_restJson1ListEmailTemplatesCommand = async (output, context
|
|
|
5788
5788
|
NextToken: undefined,
|
|
5789
5789
|
TemplatesMetadata: undefined,
|
|
5790
5790
|
};
|
|
5791
|
-
const data =
|
|
5791
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
5792
5792
|
if (data.NextToken !== undefined && data.NextToken !== null) {
|
|
5793
|
-
contents.NextToken =
|
|
5793
|
+
contents.NextToken = smithy_client_1.expectString(data.NextToken);
|
|
5794
5794
|
}
|
|
5795
5795
|
if (data.TemplatesMetadata !== undefined && data.TemplatesMetadata !== null) {
|
|
5796
5796
|
contents.TemplatesMetadata = deserializeAws_restJson1EmailTemplateMetadataList(data.TemplatesMetadata, context);
|
|
@@ -5848,12 +5848,12 @@ const deserializeAws_restJson1ListImportJobsCommand = async (output, context) =>
|
|
|
5848
5848
|
ImportJobs: undefined,
|
|
5849
5849
|
NextToken: undefined,
|
|
5850
5850
|
};
|
|
5851
|
-
const data =
|
|
5851
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
5852
5852
|
if (data.ImportJobs !== undefined && data.ImportJobs !== null) {
|
|
5853
5853
|
contents.ImportJobs = deserializeAws_restJson1ImportJobSummaryList(data.ImportJobs, context);
|
|
5854
5854
|
}
|
|
5855
5855
|
if (data.NextToken !== undefined && data.NextToken !== null) {
|
|
5856
|
-
contents.NextToken =
|
|
5856
|
+
contents.NextToken = smithy_client_1.expectString(data.NextToken);
|
|
5857
5857
|
}
|
|
5858
5858
|
return Promise.resolve(contents);
|
|
5859
5859
|
};
|
|
@@ -5908,9 +5908,9 @@ const deserializeAws_restJson1ListSuppressedDestinationsCommand = async (output,
|
|
|
5908
5908
|
NextToken: undefined,
|
|
5909
5909
|
SuppressedDestinationSummaries: undefined,
|
|
5910
5910
|
};
|
|
5911
|
-
const data =
|
|
5911
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
5912
5912
|
if (data.NextToken !== undefined && data.NextToken !== null) {
|
|
5913
|
-
contents.NextToken =
|
|
5913
|
+
contents.NextToken = smithy_client_1.expectString(data.NextToken);
|
|
5914
5914
|
}
|
|
5915
5915
|
if (data.SuppressedDestinationSummaries !== undefined && data.SuppressedDestinationSummaries !== null) {
|
|
5916
5916
|
contents.SuppressedDestinationSummaries = deserializeAws_restJson1SuppressedDestinationSummaries(data.SuppressedDestinationSummaries, context);
|
|
@@ -5975,7 +5975,7 @@ const deserializeAws_restJson1ListTagsForResourceCommand = async (output, contex
|
|
|
5975
5975
|
$metadata: deserializeMetadata(output),
|
|
5976
5976
|
Tags: undefined,
|
|
5977
5977
|
};
|
|
5978
|
-
const data =
|
|
5978
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
5979
5979
|
if (data.Tags !== undefined && data.Tags !== null) {
|
|
5980
5980
|
contents.Tags = deserializeAws_restJson1TagList(data.Tags, context);
|
|
5981
5981
|
}
|
|
@@ -6872,9 +6872,9 @@ const deserializeAws_restJson1PutEmailIdentityDkimSigningAttributesCommand = asy
|
|
|
6872
6872
|
DkimStatus: undefined,
|
|
6873
6873
|
DkimTokens: undefined,
|
|
6874
6874
|
};
|
|
6875
|
-
const data =
|
|
6875
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
6876
6876
|
if (data.DkimStatus !== undefined && data.DkimStatus !== null) {
|
|
6877
|
-
contents.DkimStatus =
|
|
6877
|
+
contents.DkimStatus = smithy_client_1.expectString(data.DkimStatus);
|
|
6878
6878
|
}
|
|
6879
6879
|
if (data.DkimTokens !== undefined && data.DkimTokens !== null) {
|
|
6880
6880
|
contents.DkimTokens = deserializeAws_restJson1DnsTokenList(data.DkimTokens, context);
|
|
@@ -7111,7 +7111,7 @@ const deserializeAws_restJson1SendBulkEmailCommand = async (output, context) =>
|
|
|
7111
7111
|
$metadata: deserializeMetadata(output),
|
|
7112
7112
|
BulkEmailEntryResults: undefined,
|
|
7113
7113
|
};
|
|
7114
|
-
const data =
|
|
7114
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
7115
7115
|
if (data.BulkEmailEntryResults !== undefined && data.BulkEmailEntryResults !== null) {
|
|
7116
7116
|
contents.BulkEmailEntryResults = deserializeAws_restJson1BulkEmailEntryResultList(data.BulkEmailEntryResults, context);
|
|
7117
7117
|
}
|
|
@@ -7215,9 +7215,9 @@ const deserializeAws_restJson1SendCustomVerificationEmailCommand = async (output
|
|
|
7215
7215
|
$metadata: deserializeMetadata(output),
|
|
7216
7216
|
MessageId: undefined,
|
|
7217
7217
|
};
|
|
7218
|
-
const data =
|
|
7218
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
7219
7219
|
if (data.MessageId !== undefined && data.MessageId !== null) {
|
|
7220
|
-
contents.MessageId =
|
|
7220
|
+
contents.MessageId = smithy_client_1.expectString(data.MessageId);
|
|
7221
7221
|
}
|
|
7222
7222
|
return Promise.resolve(contents);
|
|
7223
7223
|
};
|
|
@@ -7311,9 +7311,9 @@ const deserializeAws_restJson1SendEmailCommand = async (output, context) => {
|
|
|
7311
7311
|
$metadata: deserializeMetadata(output),
|
|
7312
7312
|
MessageId: undefined,
|
|
7313
7313
|
};
|
|
7314
|
-
const data =
|
|
7314
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
7315
7315
|
if (data.MessageId !== undefined && data.MessageId !== null) {
|
|
7316
|
-
contents.MessageId =
|
|
7316
|
+
contents.MessageId = smithy_client_1.expectString(data.MessageId);
|
|
7317
7317
|
}
|
|
7318
7318
|
return Promise.resolve(contents);
|
|
7319
7319
|
};
|
|
@@ -7483,9 +7483,9 @@ const deserializeAws_restJson1TestRenderEmailTemplateCommand = async (output, co
|
|
|
7483
7483
|
$metadata: deserializeMetadata(output),
|
|
7484
7484
|
RenderedTemplate: undefined,
|
|
7485
7485
|
};
|
|
7486
|
-
const data =
|
|
7486
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
7487
7487
|
if (data.RenderedTemplate !== undefined && data.RenderedTemplate !== null) {
|
|
7488
|
-
contents.RenderedTemplate =
|
|
7488
|
+
contents.RenderedTemplate = smithy_client_1.expectString(data.RenderedTemplate);
|
|
7489
7489
|
}
|
|
7490
7490
|
return Promise.resolve(contents);
|
|
7491
7491
|
};
|
|
@@ -7992,7 +7992,7 @@ const deserializeAws_restJson1AccountSuspendedExceptionResponse = async (parsedO
|
|
|
7992
7992
|
};
|
|
7993
7993
|
const data = parsedOutput.body;
|
|
7994
7994
|
if (data.message !== undefined && data.message !== null) {
|
|
7995
|
-
contents.message =
|
|
7995
|
+
contents.message = smithy_client_1.expectString(data.message);
|
|
7996
7996
|
}
|
|
7997
7997
|
return contents;
|
|
7998
7998
|
};
|
|
@@ -8005,7 +8005,7 @@ const deserializeAws_restJson1AlreadyExistsExceptionResponse = async (parsedOutp
|
|
|
8005
8005
|
};
|
|
8006
8006
|
const data = parsedOutput.body;
|
|
8007
8007
|
if (data.message !== undefined && data.message !== null) {
|
|
8008
|
-
contents.message =
|
|
8008
|
+
contents.message = smithy_client_1.expectString(data.message);
|
|
8009
8009
|
}
|
|
8010
8010
|
return contents;
|
|
8011
8011
|
};
|
|
@@ -8018,7 +8018,7 @@ const deserializeAws_restJson1BadRequestExceptionResponse = async (parsedOutput,
|
|
|
8018
8018
|
};
|
|
8019
8019
|
const data = parsedOutput.body;
|
|
8020
8020
|
if (data.message !== undefined && data.message !== null) {
|
|
8021
|
-
contents.message =
|
|
8021
|
+
contents.message = smithy_client_1.expectString(data.message);
|
|
8022
8022
|
}
|
|
8023
8023
|
return contents;
|
|
8024
8024
|
};
|
|
@@ -8031,7 +8031,7 @@ const deserializeAws_restJson1ConcurrentModificationExceptionResponse = async (p
|
|
|
8031
8031
|
};
|
|
8032
8032
|
const data = parsedOutput.body;
|
|
8033
8033
|
if (data.message !== undefined && data.message !== null) {
|
|
8034
|
-
contents.message =
|
|
8034
|
+
contents.message = smithy_client_1.expectString(data.message);
|
|
8035
8035
|
}
|
|
8036
8036
|
return contents;
|
|
8037
8037
|
};
|
|
@@ -8044,7 +8044,7 @@ const deserializeAws_restJson1ConflictExceptionResponse = async (parsedOutput, c
|
|
|
8044
8044
|
};
|
|
8045
8045
|
const data = parsedOutput.body;
|
|
8046
8046
|
if (data.message !== undefined && data.message !== null) {
|
|
8047
|
-
contents.message =
|
|
8047
|
+
contents.message = smithy_client_1.expectString(data.message);
|
|
8048
8048
|
}
|
|
8049
8049
|
return contents;
|
|
8050
8050
|
};
|
|
@@ -8057,7 +8057,7 @@ const deserializeAws_restJson1InvalidNextTokenExceptionResponse = async (parsedO
|
|
|
8057
8057
|
};
|
|
8058
8058
|
const data = parsedOutput.body;
|
|
8059
8059
|
if (data.message !== undefined && data.message !== null) {
|
|
8060
|
-
contents.message =
|
|
8060
|
+
contents.message = smithy_client_1.expectString(data.message);
|
|
8061
8061
|
}
|
|
8062
8062
|
return contents;
|
|
8063
8063
|
};
|
|
@@ -8070,7 +8070,7 @@ const deserializeAws_restJson1LimitExceededExceptionResponse = async (parsedOutp
|
|
|
8070
8070
|
};
|
|
8071
8071
|
const data = parsedOutput.body;
|
|
8072
8072
|
if (data.message !== undefined && data.message !== null) {
|
|
8073
|
-
contents.message =
|
|
8073
|
+
contents.message = smithy_client_1.expectString(data.message);
|
|
8074
8074
|
}
|
|
8075
8075
|
return contents;
|
|
8076
8076
|
};
|
|
@@ -8083,7 +8083,7 @@ const deserializeAws_restJson1MailFromDomainNotVerifiedExceptionResponse = async
|
|
|
8083
8083
|
};
|
|
8084
8084
|
const data = parsedOutput.body;
|
|
8085
8085
|
if (data.message !== undefined && data.message !== null) {
|
|
8086
|
-
contents.message =
|
|
8086
|
+
contents.message = smithy_client_1.expectString(data.message);
|
|
8087
8087
|
}
|
|
8088
8088
|
return contents;
|
|
8089
8089
|
};
|
|
@@ -8096,7 +8096,7 @@ const deserializeAws_restJson1MessageRejectedResponse = async (parsedOutput, con
|
|
|
8096
8096
|
};
|
|
8097
8097
|
const data = parsedOutput.body;
|
|
8098
8098
|
if (data.message !== undefined && data.message !== null) {
|
|
8099
|
-
contents.message =
|
|
8099
|
+
contents.message = smithy_client_1.expectString(data.message);
|
|
8100
8100
|
}
|
|
8101
8101
|
return contents;
|
|
8102
8102
|
};
|
|
@@ -8109,7 +8109,7 @@ const deserializeAws_restJson1NotFoundExceptionResponse = async (parsedOutput, c
|
|
|
8109
8109
|
};
|
|
8110
8110
|
const data = parsedOutput.body;
|
|
8111
8111
|
if (data.message !== undefined && data.message !== null) {
|
|
8112
|
-
contents.message =
|
|
8112
|
+
contents.message = smithy_client_1.expectString(data.message);
|
|
8113
8113
|
}
|
|
8114
8114
|
return contents;
|
|
8115
8115
|
};
|
|
@@ -8122,7 +8122,7 @@ const deserializeAws_restJson1SendingPausedExceptionResponse = async (parsedOutp
|
|
|
8122
8122
|
};
|
|
8123
8123
|
const data = parsedOutput.body;
|
|
8124
8124
|
if (data.message !== undefined && data.message !== null) {
|
|
8125
|
-
contents.message =
|
|
8125
|
+
contents.message = smithy_client_1.expectString(data.message);
|
|
8126
8126
|
}
|
|
8127
8127
|
return contents;
|
|
8128
8128
|
};
|
|
@@ -8135,7 +8135,7 @@ const deserializeAws_restJson1TooManyRequestsExceptionResponse = async (parsedOu
|
|
|
8135
8135
|
};
|
|
8136
8136
|
const data = parsedOutput.body;
|
|
8137
8137
|
if (data.message !== undefined && data.message !== null) {
|
|
8138
|
-
contents.message =
|
|
8138
|
+
contents.message = smithy_client_1.expectString(data.message);
|
|
8139
8139
|
}
|
|
8140
8140
|
return contents;
|
|
8141
8141
|
};
|
|
@@ -8570,13 +8570,13 @@ const deserializeAws_restJson1AccountDetails = (output, context) => {
|
|
|
8570
8570
|
AdditionalContactEmailAddresses: output.AdditionalContactEmailAddresses !== undefined && output.AdditionalContactEmailAddresses !== null
|
|
8571
8571
|
? deserializeAws_restJson1AdditionalContactEmailAddresses(output.AdditionalContactEmailAddresses, context)
|
|
8572
8572
|
: undefined,
|
|
8573
|
-
ContactLanguage:
|
|
8574
|
-
MailType:
|
|
8573
|
+
ContactLanguage: smithy_client_1.expectString(output.ContactLanguage),
|
|
8574
|
+
MailType: smithy_client_1.expectString(output.MailType),
|
|
8575
8575
|
ReviewDetails: output.ReviewDetails !== undefined && output.ReviewDetails !== null
|
|
8576
8576
|
? deserializeAws_restJson1ReviewDetails(output.ReviewDetails, context)
|
|
8577
8577
|
: undefined,
|
|
8578
|
-
UseCaseDescription:
|
|
8579
|
-
WebsiteURL:
|
|
8578
|
+
UseCaseDescription: smithy_client_1.expectString(output.UseCaseDescription),
|
|
8579
|
+
WebsiteURL: smithy_client_1.expectString(output.WebsiteURL),
|
|
8580
8580
|
};
|
|
8581
8581
|
};
|
|
8582
8582
|
const deserializeAws_restJson1AdditionalContactEmailAddresses = (output, context) => {
|
|
@@ -8586,7 +8586,7 @@ const deserializeAws_restJson1AdditionalContactEmailAddresses = (output, context
|
|
|
8586
8586
|
if (entry === null) {
|
|
8587
8587
|
return null;
|
|
8588
8588
|
}
|
|
8589
|
-
return
|
|
8589
|
+
return smithy_client_1.expectString(entry);
|
|
8590
8590
|
});
|
|
8591
8591
|
};
|
|
8592
8592
|
const deserializeAws_restJson1BlacklistEntries = (output, context) => {
|
|
@@ -8601,11 +8601,11 @@ const deserializeAws_restJson1BlacklistEntries = (output, context) => {
|
|
|
8601
8601
|
};
|
|
8602
8602
|
const deserializeAws_restJson1BlacklistEntry = (output, context) => {
|
|
8603
8603
|
return {
|
|
8604
|
-
Description:
|
|
8604
|
+
Description: smithy_client_1.expectString(output.Description),
|
|
8605
8605
|
ListingTime: output.ListingTime !== undefined && output.ListingTime !== null
|
|
8606
|
-
?
|
|
8606
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.ListingTime)))
|
|
8607
8607
|
: undefined,
|
|
8608
|
-
RblName:
|
|
8608
|
+
RblName: smithy_client_1.expectString(output.RblName),
|
|
8609
8609
|
};
|
|
8610
8610
|
};
|
|
8611
8611
|
const deserializeAws_restJson1BlacklistReport = (output, context) => {
|
|
@@ -8621,9 +8621,9 @@ const deserializeAws_restJson1BlacklistReport = (output, context) => {
|
|
|
8621
8621
|
};
|
|
8622
8622
|
const deserializeAws_restJson1BulkEmailEntryResult = (output, context) => {
|
|
8623
8623
|
return {
|
|
8624
|
-
Error:
|
|
8625
|
-
MessageId:
|
|
8626
|
-
Status:
|
|
8624
|
+
Error: smithy_client_1.expectString(output.Error),
|
|
8625
|
+
MessageId: smithy_client_1.expectString(output.MessageId),
|
|
8626
|
+
Status: smithy_client_1.expectString(output.Status),
|
|
8627
8627
|
};
|
|
8628
8628
|
};
|
|
8629
8629
|
const deserializeAws_restJson1BulkEmailEntryResultList = (output, context) => {
|
|
@@ -8645,9 +8645,9 @@ const deserializeAws_restJson1CloudWatchDestination = (output, context) => {
|
|
|
8645
8645
|
};
|
|
8646
8646
|
const deserializeAws_restJson1CloudWatchDimensionConfiguration = (output, context) => {
|
|
8647
8647
|
return {
|
|
8648
|
-
DefaultDimensionValue:
|
|
8649
|
-
DimensionName:
|
|
8650
|
-
DimensionValueSource:
|
|
8648
|
+
DefaultDimensionValue: smithy_client_1.expectString(output.DefaultDimensionValue),
|
|
8649
|
+
DimensionName: smithy_client_1.expectString(output.DimensionName),
|
|
8650
|
+
DimensionValueSource: smithy_client_1.expectString(output.DimensionValueSource),
|
|
8651
8651
|
};
|
|
8652
8652
|
};
|
|
8653
8653
|
const deserializeAws_restJson1CloudWatchDimensionConfigurations = (output, context) => {
|
|
@@ -8667,14 +8667,14 @@ const deserializeAws_restJson1ConfigurationSetNameList = (output, context) => {
|
|
|
8667
8667
|
if (entry === null) {
|
|
8668
8668
|
return null;
|
|
8669
8669
|
}
|
|
8670
|
-
return
|
|
8670
|
+
return smithy_client_1.expectString(entry);
|
|
8671
8671
|
});
|
|
8672
8672
|
};
|
|
8673
8673
|
const deserializeAws_restJson1Contact = (output, context) => {
|
|
8674
8674
|
return {
|
|
8675
|
-
EmailAddress:
|
|
8675
|
+
EmailAddress: smithy_client_1.expectString(output.EmailAddress),
|
|
8676
8676
|
LastUpdatedTimestamp: output.LastUpdatedTimestamp !== undefined && output.LastUpdatedTimestamp !== null
|
|
8677
|
-
?
|
|
8677
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.LastUpdatedTimestamp)))
|
|
8678
8678
|
: undefined,
|
|
8679
8679
|
TopicDefaultPreferences: output.TopicDefaultPreferences !== undefined && output.TopicDefaultPreferences !== null
|
|
8680
8680
|
? deserializeAws_restJson1TopicPreferenceList(output.TopicDefaultPreferences, context)
|
|
@@ -8682,30 +8682,30 @@ const deserializeAws_restJson1Contact = (output, context) => {
|
|
|
8682
8682
|
TopicPreferences: output.TopicPreferences !== undefined && output.TopicPreferences !== null
|
|
8683
8683
|
? deserializeAws_restJson1TopicPreferenceList(output.TopicPreferences, context)
|
|
8684
8684
|
: undefined,
|
|
8685
|
-
UnsubscribeAll:
|
|
8685
|
+
UnsubscribeAll: smithy_client_1.expectBoolean(output.UnsubscribeAll),
|
|
8686
8686
|
};
|
|
8687
8687
|
};
|
|
8688
8688
|
const deserializeAws_restJson1ContactList = (output, context) => {
|
|
8689
8689
|
return {
|
|
8690
|
-
ContactListName:
|
|
8690
|
+
ContactListName: smithy_client_1.expectString(output.ContactListName),
|
|
8691
8691
|
LastUpdatedTimestamp: output.LastUpdatedTimestamp !== undefined && output.LastUpdatedTimestamp !== null
|
|
8692
|
-
?
|
|
8692
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.LastUpdatedTimestamp)))
|
|
8693
8693
|
: undefined,
|
|
8694
8694
|
};
|
|
8695
8695
|
};
|
|
8696
8696
|
const deserializeAws_restJson1ContactListDestination = (output, context) => {
|
|
8697
8697
|
return {
|
|
8698
|
-
ContactListImportAction:
|
|
8699
|
-
ContactListName:
|
|
8698
|
+
ContactListImportAction: smithy_client_1.expectString(output.ContactListImportAction),
|
|
8699
|
+
ContactListName: smithy_client_1.expectString(output.ContactListName),
|
|
8700
8700
|
};
|
|
8701
8701
|
};
|
|
8702
8702
|
const deserializeAws_restJson1CustomVerificationEmailTemplateMetadata = (output, context) => {
|
|
8703
8703
|
return {
|
|
8704
|
-
FailureRedirectionURL:
|
|
8705
|
-
FromEmailAddress:
|
|
8706
|
-
SuccessRedirectionURL:
|
|
8707
|
-
TemplateName:
|
|
8708
|
-
TemplateSubject:
|
|
8704
|
+
FailureRedirectionURL: smithy_client_1.expectString(output.FailureRedirectionURL),
|
|
8705
|
+
FromEmailAddress: smithy_client_1.expectString(output.FromEmailAddress),
|
|
8706
|
+
SuccessRedirectionURL: smithy_client_1.expectString(output.SuccessRedirectionURL),
|
|
8707
|
+
TemplateName: smithy_client_1.expectString(output.TemplateName),
|
|
8708
|
+
TemplateSubject: smithy_client_1.expectString(output.TemplateSubject),
|
|
8709
8709
|
};
|
|
8710
8710
|
};
|
|
8711
8711
|
const deserializeAws_restJson1CustomVerificationEmailTemplatesList = (output, context) => {
|
|
@@ -8724,7 +8724,7 @@ const deserializeAws_restJson1DailyVolume = (output, context) => {
|
|
|
8724
8724
|
? deserializeAws_restJson1DomainIspPlacements(output.DomainIspPlacements, context)
|
|
8725
8725
|
: undefined,
|
|
8726
8726
|
StartDate: output.StartDate !== undefined && output.StartDate !== null
|
|
8727
|
-
?
|
|
8727
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.StartDate)))
|
|
8728
8728
|
: undefined,
|
|
8729
8729
|
VolumeStatistics: output.VolumeStatistics !== undefined && output.VolumeStatistics !== null
|
|
8730
8730
|
? deserializeAws_restJson1VolumeStatistics(output.VolumeStatistics, context)
|
|
@@ -8743,10 +8743,10 @@ const deserializeAws_restJson1DailyVolumes = (output, context) => {
|
|
|
8743
8743
|
};
|
|
8744
8744
|
const deserializeAws_restJson1DedicatedIp = (output, context) => {
|
|
8745
8745
|
return {
|
|
8746
|
-
Ip:
|
|
8747
|
-
PoolName:
|
|
8748
|
-
WarmupPercentage:
|
|
8749
|
-
WarmupStatus:
|
|
8746
|
+
Ip: smithy_client_1.expectString(output.Ip),
|
|
8747
|
+
PoolName: smithy_client_1.expectString(output.PoolName),
|
|
8748
|
+
WarmupPercentage: smithy_client_1.expectInt32(output.WarmupPercentage),
|
|
8749
|
+
WarmupStatus: smithy_client_1.expectString(output.WarmupStatus),
|
|
8750
8750
|
};
|
|
8751
8751
|
};
|
|
8752
8752
|
const deserializeAws_restJson1DedicatedIpList = (output, context) => {
|
|
@@ -8762,13 +8762,13 @@ const deserializeAws_restJson1DedicatedIpList = (output, context) => {
|
|
|
8762
8762
|
const deserializeAws_restJson1DeliverabilityTestReport = (output, context) => {
|
|
8763
8763
|
return {
|
|
8764
8764
|
CreateDate: output.CreateDate !== undefined && output.CreateDate !== null
|
|
8765
|
-
?
|
|
8765
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreateDate)))
|
|
8766
8766
|
: undefined,
|
|
8767
|
-
DeliverabilityTestStatus:
|
|
8768
|
-
FromEmailAddress:
|
|
8769
|
-
ReportId:
|
|
8770
|
-
ReportName:
|
|
8771
|
-
Subject:
|
|
8767
|
+
DeliverabilityTestStatus: smithy_client_1.expectString(output.DeliverabilityTestStatus),
|
|
8768
|
+
FromEmailAddress: smithy_client_1.expectString(output.FromEmailAddress),
|
|
8769
|
+
ReportId: smithy_client_1.expectString(output.ReportId),
|
|
8770
|
+
ReportName: smithy_client_1.expectString(output.ReportName),
|
|
8771
|
+
Subject: smithy_client_1.expectString(output.Subject),
|
|
8772
8772
|
};
|
|
8773
8773
|
};
|
|
8774
8774
|
const deserializeAws_restJson1DeliverabilityTestReports = (output, context) => {
|
|
@@ -8783,15 +8783,15 @@ const deserializeAws_restJson1DeliverabilityTestReports = (output, context) => {
|
|
|
8783
8783
|
};
|
|
8784
8784
|
const deserializeAws_restJson1DeliveryOptions = (output, context) => {
|
|
8785
8785
|
return {
|
|
8786
|
-
SendingPoolName:
|
|
8787
|
-
TlsPolicy:
|
|
8786
|
+
SendingPoolName: smithy_client_1.expectString(output.SendingPoolName),
|
|
8787
|
+
TlsPolicy: smithy_client_1.expectString(output.TlsPolicy),
|
|
8788
8788
|
};
|
|
8789
8789
|
};
|
|
8790
8790
|
const deserializeAws_restJson1DkimAttributes = (output, context) => {
|
|
8791
8791
|
return {
|
|
8792
|
-
SigningAttributesOrigin:
|
|
8793
|
-
SigningEnabled:
|
|
8794
|
-
Status:
|
|
8792
|
+
SigningAttributesOrigin: smithy_client_1.expectString(output.SigningAttributesOrigin),
|
|
8793
|
+
SigningEnabled: smithy_client_1.expectBoolean(output.SigningEnabled),
|
|
8794
|
+
Status: smithy_client_1.expectString(output.Status),
|
|
8795
8795
|
Tokens: output.Tokens !== undefined && output.Tokens !== null
|
|
8796
8796
|
? deserializeAws_restJson1DnsTokenList(output.Tokens, context)
|
|
8797
8797
|
: undefined,
|
|
@@ -8804,33 +8804,33 @@ const deserializeAws_restJson1DnsTokenList = (output, context) => {
|
|
|
8804
8804
|
if (entry === null) {
|
|
8805
8805
|
return null;
|
|
8806
8806
|
}
|
|
8807
|
-
return
|
|
8807
|
+
return smithy_client_1.expectString(entry);
|
|
8808
8808
|
});
|
|
8809
8809
|
};
|
|
8810
8810
|
const deserializeAws_restJson1DomainDeliverabilityCampaign = (output, context) => {
|
|
8811
8811
|
return {
|
|
8812
|
-
CampaignId:
|
|
8813
|
-
DeleteRate:
|
|
8812
|
+
CampaignId: smithy_client_1.expectString(output.CampaignId),
|
|
8813
|
+
DeleteRate: smithy_client_1.limitedParseDouble(output.DeleteRate),
|
|
8814
8814
|
Esps: output.Esps !== undefined && output.Esps !== null
|
|
8815
8815
|
? deserializeAws_restJson1Esps(output.Esps, context)
|
|
8816
8816
|
: undefined,
|
|
8817
8817
|
FirstSeenDateTime: output.FirstSeenDateTime !== undefined && output.FirstSeenDateTime !== null
|
|
8818
|
-
?
|
|
8818
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.FirstSeenDateTime)))
|
|
8819
8819
|
: undefined,
|
|
8820
|
-
FromAddress:
|
|
8821
|
-
ImageUrl:
|
|
8822
|
-
InboxCount:
|
|
8820
|
+
FromAddress: smithy_client_1.expectString(output.FromAddress),
|
|
8821
|
+
ImageUrl: smithy_client_1.expectString(output.ImageUrl),
|
|
8822
|
+
InboxCount: smithy_client_1.expectLong(output.InboxCount),
|
|
8823
8823
|
LastSeenDateTime: output.LastSeenDateTime !== undefined && output.LastSeenDateTime !== null
|
|
8824
|
-
?
|
|
8824
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.LastSeenDateTime)))
|
|
8825
8825
|
: undefined,
|
|
8826
|
-
ProjectedVolume:
|
|
8827
|
-
ReadDeleteRate:
|
|
8828
|
-
ReadRate:
|
|
8826
|
+
ProjectedVolume: smithy_client_1.expectLong(output.ProjectedVolume),
|
|
8827
|
+
ReadDeleteRate: smithy_client_1.limitedParseDouble(output.ReadDeleteRate),
|
|
8828
|
+
ReadRate: smithy_client_1.limitedParseDouble(output.ReadRate),
|
|
8829
8829
|
SendingIps: output.SendingIps !== undefined && output.SendingIps !== null
|
|
8830
8830
|
? deserializeAws_restJson1IpList(output.SendingIps, context)
|
|
8831
8831
|
: undefined,
|
|
8832
|
-
SpamCount:
|
|
8833
|
-
Subject:
|
|
8832
|
+
SpamCount: smithy_client_1.expectLong(output.SpamCount),
|
|
8833
|
+
Subject: smithy_client_1.expectString(output.Subject),
|
|
8834
8834
|
};
|
|
8835
8835
|
};
|
|
8836
8836
|
const deserializeAws_restJson1DomainDeliverabilityCampaignList = (output, context) => {
|
|
@@ -8845,12 +8845,12 @@ const deserializeAws_restJson1DomainDeliverabilityCampaignList = (output, contex
|
|
|
8845
8845
|
};
|
|
8846
8846
|
const deserializeAws_restJson1DomainDeliverabilityTrackingOption = (output, context) => {
|
|
8847
8847
|
return {
|
|
8848
|
-
Domain:
|
|
8848
|
+
Domain: smithy_client_1.expectString(output.Domain),
|
|
8849
8849
|
InboxPlacementTrackingOption: output.InboxPlacementTrackingOption !== undefined && output.InboxPlacementTrackingOption !== null
|
|
8850
8850
|
? deserializeAws_restJson1InboxPlacementTrackingOption(output.InboxPlacementTrackingOption, context)
|
|
8851
8851
|
: undefined,
|
|
8852
8852
|
SubscriptionStartDate: output.SubscriptionStartDate !== undefined && output.SubscriptionStartDate !== null
|
|
8853
|
-
?
|
|
8853
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.SubscriptionStartDate)))
|
|
8854
8854
|
: undefined,
|
|
8855
8855
|
};
|
|
8856
8856
|
};
|
|
@@ -8866,11 +8866,11 @@ const deserializeAws_restJson1DomainDeliverabilityTrackingOptions = (output, con
|
|
|
8866
8866
|
};
|
|
8867
8867
|
const deserializeAws_restJson1DomainIspPlacement = (output, context) => {
|
|
8868
8868
|
return {
|
|
8869
|
-
InboxPercentage:
|
|
8870
|
-
InboxRawCount:
|
|
8871
|
-
IspName:
|
|
8872
|
-
SpamPercentage:
|
|
8873
|
-
SpamRawCount:
|
|
8869
|
+
InboxPercentage: smithy_client_1.limitedParseDouble(output.InboxPercentage),
|
|
8870
|
+
InboxRawCount: smithy_client_1.expectLong(output.InboxRawCount),
|
|
8871
|
+
IspName: smithy_client_1.expectString(output.IspName),
|
|
8872
|
+
SpamPercentage: smithy_client_1.limitedParseDouble(output.SpamPercentage),
|
|
8873
|
+
SpamRawCount: smithy_client_1.expectLong(output.SpamRawCount),
|
|
8874
8874
|
};
|
|
8875
8875
|
};
|
|
8876
8876
|
const deserializeAws_restJson1DomainIspPlacements = (output, context) => {
|
|
@@ -8885,17 +8885,17 @@ const deserializeAws_restJson1DomainIspPlacements = (output, context) => {
|
|
|
8885
8885
|
};
|
|
8886
8886
|
const deserializeAws_restJson1EmailTemplateContent = (output, context) => {
|
|
8887
8887
|
return {
|
|
8888
|
-
Html:
|
|
8889
|
-
Subject:
|
|
8890
|
-
Text:
|
|
8888
|
+
Html: smithy_client_1.expectString(output.Html),
|
|
8889
|
+
Subject: smithy_client_1.expectString(output.Subject),
|
|
8890
|
+
Text: smithy_client_1.expectString(output.Text),
|
|
8891
8891
|
};
|
|
8892
8892
|
};
|
|
8893
8893
|
const deserializeAws_restJson1EmailTemplateMetadata = (output, context) => {
|
|
8894
8894
|
return {
|
|
8895
8895
|
CreatedTimestamp: output.CreatedTimestamp !== undefined && output.CreatedTimestamp !== null
|
|
8896
|
-
?
|
|
8896
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreatedTimestamp)))
|
|
8897
8897
|
: undefined,
|
|
8898
|
-
TemplateName:
|
|
8898
|
+
TemplateName: smithy_client_1.expectString(output.TemplateName),
|
|
8899
8899
|
};
|
|
8900
8900
|
};
|
|
8901
8901
|
const deserializeAws_restJson1EmailTemplateMetadataList = (output, context) => {
|
|
@@ -8915,7 +8915,7 @@ const deserializeAws_restJson1Esps = (output, context) => {
|
|
|
8915
8915
|
if (entry === null) {
|
|
8916
8916
|
return null;
|
|
8917
8917
|
}
|
|
8918
|
-
return
|
|
8918
|
+
return smithy_client_1.expectString(entry);
|
|
8919
8919
|
});
|
|
8920
8920
|
};
|
|
8921
8921
|
const deserializeAws_restJson1EventDestination = (output, context) => {
|
|
@@ -8923,14 +8923,14 @@ const deserializeAws_restJson1EventDestination = (output, context) => {
|
|
|
8923
8923
|
CloudWatchDestination: output.CloudWatchDestination !== undefined && output.CloudWatchDestination !== null
|
|
8924
8924
|
? deserializeAws_restJson1CloudWatchDestination(output.CloudWatchDestination, context)
|
|
8925
8925
|
: undefined,
|
|
8926
|
-
Enabled:
|
|
8926
|
+
Enabled: smithy_client_1.expectBoolean(output.Enabled),
|
|
8927
8927
|
KinesisFirehoseDestination: output.KinesisFirehoseDestination !== undefined && output.KinesisFirehoseDestination !== null
|
|
8928
8928
|
? deserializeAws_restJson1KinesisFirehoseDestination(output.KinesisFirehoseDestination, context)
|
|
8929
8929
|
: undefined,
|
|
8930
8930
|
MatchingEventTypes: output.MatchingEventTypes !== undefined && output.MatchingEventTypes !== null
|
|
8931
8931
|
? deserializeAws_restJson1EventTypes(output.MatchingEventTypes, context)
|
|
8932
8932
|
: undefined,
|
|
8933
|
-
Name:
|
|
8933
|
+
Name: smithy_client_1.expectString(output.Name),
|
|
8934
8934
|
PinpointDestination: output.PinpointDestination !== undefined && output.PinpointDestination !== null
|
|
8935
8935
|
? deserializeAws_restJson1PinpointDestination(output.PinpointDestination, context)
|
|
8936
8936
|
: undefined,
|
|
@@ -8956,20 +8956,20 @@ const deserializeAws_restJson1EventTypes = (output, context) => {
|
|
|
8956
8956
|
if (entry === null) {
|
|
8957
8957
|
return null;
|
|
8958
8958
|
}
|
|
8959
|
-
return
|
|
8959
|
+
return smithy_client_1.expectString(entry);
|
|
8960
8960
|
});
|
|
8961
8961
|
};
|
|
8962
8962
|
const deserializeAws_restJson1FailureInfo = (output, context) => {
|
|
8963
8963
|
return {
|
|
8964
|
-
ErrorMessage:
|
|
8965
|
-
FailedRecordsS3Url:
|
|
8964
|
+
ErrorMessage: smithy_client_1.expectString(output.ErrorMessage),
|
|
8965
|
+
FailedRecordsS3Url: smithy_client_1.expectString(output.FailedRecordsS3Url),
|
|
8966
8966
|
};
|
|
8967
8967
|
};
|
|
8968
8968
|
const deserializeAws_restJson1IdentityInfo = (output, context) => {
|
|
8969
8969
|
return {
|
|
8970
|
-
IdentityName:
|
|
8971
|
-
IdentityType:
|
|
8972
|
-
SendingEnabled:
|
|
8970
|
+
IdentityName: smithy_client_1.expectString(output.IdentityName),
|
|
8971
|
+
IdentityType: smithy_client_1.expectString(output.IdentityType),
|
|
8972
|
+
SendingEnabled: smithy_client_1.expectBoolean(output.SendingEnabled),
|
|
8973
8973
|
};
|
|
8974
8974
|
};
|
|
8975
8975
|
const deserializeAws_restJson1IdentityInfoList = (output, context) => {
|
|
@@ -8984,8 +8984,8 @@ const deserializeAws_restJson1IdentityInfoList = (output, context) => {
|
|
|
8984
8984
|
};
|
|
8985
8985
|
const deserializeAws_restJson1ImportDataSource = (output, context) => {
|
|
8986
8986
|
return {
|
|
8987
|
-
DataFormat:
|
|
8988
|
-
S3Url:
|
|
8987
|
+
DataFormat: smithy_client_1.expectString(output.DataFormat),
|
|
8988
|
+
S3Url: smithy_client_1.expectString(output.S3Url),
|
|
8989
8989
|
};
|
|
8990
8990
|
};
|
|
8991
8991
|
const deserializeAws_restJson1ImportDestination = (output, context) => {
|
|
@@ -9001,13 +9001,13 @@ const deserializeAws_restJson1ImportDestination = (output, context) => {
|
|
|
9001
9001
|
const deserializeAws_restJson1ImportJobSummary = (output, context) => {
|
|
9002
9002
|
return {
|
|
9003
9003
|
CreatedTimestamp: output.CreatedTimestamp !== undefined && output.CreatedTimestamp !== null
|
|
9004
|
-
?
|
|
9004
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreatedTimestamp)))
|
|
9005
9005
|
: undefined,
|
|
9006
9006
|
ImportDestination: output.ImportDestination !== undefined && output.ImportDestination !== null
|
|
9007
9007
|
? deserializeAws_restJson1ImportDestination(output.ImportDestination, context)
|
|
9008
9008
|
: undefined,
|
|
9009
|
-
JobId:
|
|
9010
|
-
JobStatus:
|
|
9009
|
+
JobId: smithy_client_1.expectString(output.JobId),
|
|
9010
|
+
JobStatus: smithy_client_1.expectString(output.JobStatus),
|
|
9011
9011
|
};
|
|
9012
9012
|
};
|
|
9013
9013
|
const deserializeAws_restJson1ImportJobSummaryList = (output, context) => {
|
|
@@ -9022,7 +9022,7 @@ const deserializeAws_restJson1ImportJobSummaryList = (output, context) => {
|
|
|
9022
9022
|
};
|
|
9023
9023
|
const deserializeAws_restJson1InboxPlacementTrackingOption = (output, context) => {
|
|
9024
9024
|
return {
|
|
9025
|
-
Global:
|
|
9025
|
+
Global: smithy_client_1.expectBoolean(output.Global),
|
|
9026
9026
|
TrackedIsps: output.TrackedIsps !== undefined && output.TrackedIsps !== null
|
|
9027
9027
|
? deserializeAws_restJson1IspNameList(output.TrackedIsps, context)
|
|
9028
9028
|
: undefined,
|
|
@@ -9035,7 +9035,7 @@ const deserializeAws_restJson1IpList = (output, context) => {
|
|
|
9035
9035
|
if (entry === null) {
|
|
9036
9036
|
return null;
|
|
9037
9037
|
}
|
|
9038
|
-
return
|
|
9038
|
+
return smithy_client_1.expectString(entry);
|
|
9039
9039
|
});
|
|
9040
9040
|
};
|
|
9041
9041
|
const deserializeAws_restJson1IspNameList = (output, context) => {
|
|
@@ -9045,12 +9045,12 @@ const deserializeAws_restJson1IspNameList = (output, context) => {
|
|
|
9045
9045
|
if (entry === null) {
|
|
9046
9046
|
return null;
|
|
9047
9047
|
}
|
|
9048
|
-
return
|
|
9048
|
+
return smithy_client_1.expectString(entry);
|
|
9049
9049
|
});
|
|
9050
9050
|
};
|
|
9051
9051
|
const deserializeAws_restJson1IspPlacement = (output, context) => {
|
|
9052
9052
|
return {
|
|
9053
|
-
IspName:
|
|
9053
|
+
IspName: smithy_client_1.expectString(output.IspName),
|
|
9054
9054
|
PlacementStatistics: output.PlacementStatistics !== undefined && output.PlacementStatistics !== null
|
|
9055
9055
|
? deserializeAws_restJson1PlacementStatistics(output.PlacementStatistics, context)
|
|
9056
9056
|
: undefined,
|
|
@@ -9068,8 +9068,8 @@ const deserializeAws_restJson1IspPlacements = (output, context) => {
|
|
|
9068
9068
|
};
|
|
9069
9069
|
const deserializeAws_restJson1KinesisFirehoseDestination = (output, context) => {
|
|
9070
9070
|
return {
|
|
9071
|
-
DeliveryStreamArn:
|
|
9072
|
-
IamRoleArn:
|
|
9071
|
+
DeliveryStreamArn: smithy_client_1.expectString(output.DeliveryStreamArn),
|
|
9072
|
+
IamRoleArn: smithy_client_1.expectString(output.IamRoleArn),
|
|
9073
9073
|
};
|
|
9074
9074
|
};
|
|
9075
9075
|
const deserializeAws_restJson1ListOfContactLists = (output, context) => {
|
|
@@ -9099,14 +9099,14 @@ const deserializeAws_restJson1ListOfDedicatedIpPools = (output, context) => {
|
|
|
9099
9099
|
if (entry === null) {
|
|
9100
9100
|
return null;
|
|
9101
9101
|
}
|
|
9102
|
-
return
|
|
9102
|
+
return smithy_client_1.expectString(entry);
|
|
9103
9103
|
});
|
|
9104
9104
|
};
|
|
9105
9105
|
const deserializeAws_restJson1MailFromAttributes = (output, context) => {
|
|
9106
9106
|
return {
|
|
9107
|
-
BehaviorOnMxFailure:
|
|
9108
|
-
MailFromDomain:
|
|
9109
|
-
MailFromDomainStatus:
|
|
9107
|
+
BehaviorOnMxFailure: smithy_client_1.expectString(output.BehaviorOnMxFailure),
|
|
9108
|
+
MailFromDomain: smithy_client_1.expectString(output.MailFromDomain),
|
|
9109
|
+
MailFromDomainStatus: smithy_client_1.expectString(output.MailFromDomainStatus),
|
|
9110
9110
|
};
|
|
9111
9111
|
};
|
|
9112
9112
|
const deserializeAws_restJson1OverallVolume = (output, context) => {
|
|
@@ -9114,7 +9114,7 @@ const deserializeAws_restJson1OverallVolume = (output, context) => {
|
|
|
9114
9114
|
DomainIspPlacements: output.DomainIspPlacements !== undefined && output.DomainIspPlacements !== null
|
|
9115
9115
|
? deserializeAws_restJson1DomainIspPlacements(output.DomainIspPlacements, context)
|
|
9116
9116
|
: undefined,
|
|
9117
|
-
ReadRatePercent:
|
|
9117
|
+
ReadRatePercent: smithy_client_1.limitedParseDouble(output.ReadRatePercent),
|
|
9118
9118
|
VolumeStatistics: output.VolumeStatistics !== undefined && output.VolumeStatistics !== null
|
|
9119
9119
|
? deserializeAws_restJson1VolumeStatistics(output.VolumeStatistics, context)
|
|
9120
9120
|
: undefined,
|
|
@@ -9122,16 +9122,16 @@ const deserializeAws_restJson1OverallVolume = (output, context) => {
|
|
|
9122
9122
|
};
|
|
9123
9123
|
const deserializeAws_restJson1PinpointDestination = (output, context) => {
|
|
9124
9124
|
return {
|
|
9125
|
-
ApplicationArn:
|
|
9125
|
+
ApplicationArn: smithy_client_1.expectString(output.ApplicationArn),
|
|
9126
9126
|
};
|
|
9127
9127
|
};
|
|
9128
9128
|
const deserializeAws_restJson1PlacementStatistics = (output, context) => {
|
|
9129
9129
|
return {
|
|
9130
|
-
DkimPercentage:
|
|
9131
|
-
InboxPercentage:
|
|
9132
|
-
MissingPercentage:
|
|
9133
|
-
SpamPercentage:
|
|
9134
|
-
SpfPercentage:
|
|
9130
|
+
DkimPercentage: smithy_client_1.limitedParseDouble(output.DkimPercentage),
|
|
9131
|
+
InboxPercentage: smithy_client_1.limitedParseDouble(output.InboxPercentage),
|
|
9132
|
+
MissingPercentage: smithy_client_1.limitedParseDouble(output.MissingPercentage),
|
|
9133
|
+
SpamPercentage: smithy_client_1.limitedParseDouble(output.SpamPercentage),
|
|
9134
|
+
SpfPercentage: smithy_client_1.limitedParseDouble(output.SpfPercentage),
|
|
9135
9135
|
};
|
|
9136
9136
|
};
|
|
9137
9137
|
const deserializeAws_restJson1PolicyMap = (output, context) => {
|
|
@@ -9141,39 +9141,39 @@ const deserializeAws_restJson1PolicyMap = (output, context) => {
|
|
|
9141
9141
|
}
|
|
9142
9142
|
return {
|
|
9143
9143
|
...acc,
|
|
9144
|
-
[key]:
|
|
9144
|
+
[key]: smithy_client_1.expectString(value),
|
|
9145
9145
|
};
|
|
9146
9146
|
}, {});
|
|
9147
9147
|
};
|
|
9148
9148
|
const deserializeAws_restJson1ReputationOptions = (output, context) => {
|
|
9149
9149
|
return {
|
|
9150
9150
|
LastFreshStart: output.LastFreshStart !== undefined && output.LastFreshStart !== null
|
|
9151
|
-
?
|
|
9151
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.LastFreshStart)))
|
|
9152
9152
|
: undefined,
|
|
9153
|
-
ReputationMetricsEnabled:
|
|
9153
|
+
ReputationMetricsEnabled: smithy_client_1.expectBoolean(output.ReputationMetricsEnabled),
|
|
9154
9154
|
};
|
|
9155
9155
|
};
|
|
9156
9156
|
const deserializeAws_restJson1ReviewDetails = (output, context) => {
|
|
9157
9157
|
return {
|
|
9158
|
-
CaseId:
|
|
9159
|
-
Status:
|
|
9158
|
+
CaseId: smithy_client_1.expectString(output.CaseId),
|
|
9159
|
+
Status: smithy_client_1.expectString(output.Status),
|
|
9160
9160
|
};
|
|
9161
9161
|
};
|
|
9162
9162
|
const deserializeAws_restJson1SendingOptions = (output, context) => {
|
|
9163
9163
|
return {
|
|
9164
|
-
SendingEnabled:
|
|
9164
|
+
SendingEnabled: smithy_client_1.expectBoolean(output.SendingEnabled),
|
|
9165
9165
|
};
|
|
9166
9166
|
};
|
|
9167
9167
|
const deserializeAws_restJson1SendQuota = (output, context) => {
|
|
9168
9168
|
return {
|
|
9169
|
-
Max24HourSend:
|
|
9170
|
-
MaxSendRate:
|
|
9171
|
-
SentLast24Hours:
|
|
9169
|
+
Max24HourSend: smithy_client_1.limitedParseDouble(output.Max24HourSend),
|
|
9170
|
+
MaxSendRate: smithy_client_1.limitedParseDouble(output.MaxSendRate),
|
|
9171
|
+
SentLast24Hours: smithy_client_1.limitedParseDouble(output.SentLast24Hours),
|
|
9172
9172
|
};
|
|
9173
9173
|
};
|
|
9174
9174
|
const deserializeAws_restJson1SnsDestination = (output, context) => {
|
|
9175
9175
|
return {
|
|
9176
|
-
TopicArn:
|
|
9176
|
+
TopicArn: smithy_client_1.expectString(output.TopicArn),
|
|
9177
9177
|
};
|
|
9178
9178
|
};
|
|
9179
9179
|
const deserializeAws_restJson1SuppressedDestination = (output, context) => {
|
|
@@ -9181,17 +9181,17 @@ const deserializeAws_restJson1SuppressedDestination = (output, context) => {
|
|
|
9181
9181
|
Attributes: output.Attributes !== undefined && output.Attributes !== null
|
|
9182
9182
|
? deserializeAws_restJson1SuppressedDestinationAttributes(output.Attributes, context)
|
|
9183
9183
|
: undefined,
|
|
9184
|
-
EmailAddress:
|
|
9184
|
+
EmailAddress: smithy_client_1.expectString(output.EmailAddress),
|
|
9185
9185
|
LastUpdateTime: output.LastUpdateTime !== undefined && output.LastUpdateTime !== null
|
|
9186
|
-
?
|
|
9186
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.LastUpdateTime)))
|
|
9187
9187
|
: undefined,
|
|
9188
|
-
Reason:
|
|
9188
|
+
Reason: smithy_client_1.expectString(output.Reason),
|
|
9189
9189
|
};
|
|
9190
9190
|
};
|
|
9191
9191
|
const deserializeAws_restJson1SuppressedDestinationAttributes = (output, context) => {
|
|
9192
9192
|
return {
|
|
9193
|
-
FeedbackId:
|
|
9194
|
-
MessageId:
|
|
9193
|
+
FeedbackId: smithy_client_1.expectString(output.FeedbackId),
|
|
9194
|
+
MessageId: smithy_client_1.expectString(output.MessageId),
|
|
9195
9195
|
};
|
|
9196
9196
|
};
|
|
9197
9197
|
const deserializeAws_restJson1SuppressedDestinationSummaries = (output, context) => {
|
|
@@ -9206,11 +9206,11 @@ const deserializeAws_restJson1SuppressedDestinationSummaries = (output, context)
|
|
|
9206
9206
|
};
|
|
9207
9207
|
const deserializeAws_restJson1SuppressedDestinationSummary = (output, context) => {
|
|
9208
9208
|
return {
|
|
9209
|
-
EmailAddress:
|
|
9209
|
+
EmailAddress: smithy_client_1.expectString(output.EmailAddress),
|
|
9210
9210
|
LastUpdateTime: output.LastUpdateTime !== undefined && output.LastUpdateTime !== null
|
|
9211
|
-
?
|
|
9211
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.LastUpdateTime)))
|
|
9212
9212
|
: undefined,
|
|
9213
|
-
Reason:
|
|
9213
|
+
Reason: smithy_client_1.expectString(output.Reason),
|
|
9214
9214
|
};
|
|
9215
9215
|
};
|
|
9216
9216
|
const deserializeAws_restJson1SuppressionAttributes = (output, context) => {
|
|
@@ -9222,7 +9222,7 @@ const deserializeAws_restJson1SuppressionAttributes = (output, context) => {
|
|
|
9222
9222
|
};
|
|
9223
9223
|
const deserializeAws_restJson1SuppressionListDestination = (output, context) => {
|
|
9224
9224
|
return {
|
|
9225
|
-
SuppressionListImportAction:
|
|
9225
|
+
SuppressionListImportAction: smithy_client_1.expectString(output.SuppressionListImportAction),
|
|
9226
9226
|
};
|
|
9227
9227
|
};
|
|
9228
9228
|
const deserializeAws_restJson1SuppressionListReasons = (output, context) => {
|
|
@@ -9232,7 +9232,7 @@ const deserializeAws_restJson1SuppressionListReasons = (output, context) => {
|
|
|
9232
9232
|
if (entry === null) {
|
|
9233
9233
|
return null;
|
|
9234
9234
|
}
|
|
9235
|
-
return
|
|
9235
|
+
return smithy_client_1.expectString(entry);
|
|
9236
9236
|
});
|
|
9237
9237
|
};
|
|
9238
9238
|
const deserializeAws_restJson1SuppressionOptions = (output, context) => {
|
|
@@ -9244,8 +9244,8 @@ const deserializeAws_restJson1SuppressionOptions = (output, context) => {
|
|
|
9244
9244
|
};
|
|
9245
9245
|
const deserializeAws_restJson1Tag = (output, context) => {
|
|
9246
9246
|
return {
|
|
9247
|
-
Key:
|
|
9248
|
-
Value:
|
|
9247
|
+
Key: smithy_client_1.expectString(output.Key),
|
|
9248
|
+
Value: smithy_client_1.expectString(output.Value),
|
|
9249
9249
|
};
|
|
9250
9250
|
};
|
|
9251
9251
|
const deserializeAws_restJson1TagList = (output, context) => {
|
|
@@ -9260,16 +9260,16 @@ const deserializeAws_restJson1TagList = (output, context) => {
|
|
|
9260
9260
|
};
|
|
9261
9261
|
const deserializeAws_restJson1Topic = (output, context) => {
|
|
9262
9262
|
return {
|
|
9263
|
-
DefaultSubscriptionStatus:
|
|
9264
|
-
Description:
|
|
9265
|
-
DisplayName:
|
|
9266
|
-
TopicName:
|
|
9263
|
+
DefaultSubscriptionStatus: smithy_client_1.expectString(output.DefaultSubscriptionStatus),
|
|
9264
|
+
Description: smithy_client_1.expectString(output.Description),
|
|
9265
|
+
DisplayName: smithy_client_1.expectString(output.DisplayName),
|
|
9266
|
+
TopicName: smithy_client_1.expectString(output.TopicName),
|
|
9267
9267
|
};
|
|
9268
9268
|
};
|
|
9269
9269
|
const deserializeAws_restJson1TopicPreference = (output, context) => {
|
|
9270
9270
|
return {
|
|
9271
|
-
SubscriptionStatus:
|
|
9272
|
-
TopicName:
|
|
9271
|
+
SubscriptionStatus: smithy_client_1.expectString(output.SubscriptionStatus),
|
|
9272
|
+
TopicName: smithy_client_1.expectString(output.TopicName),
|
|
9273
9273
|
};
|
|
9274
9274
|
};
|
|
9275
9275
|
const deserializeAws_restJson1TopicPreferenceList = (output, context) => {
|
|
@@ -9294,15 +9294,15 @@ const deserializeAws_restJson1Topics = (output, context) => {
|
|
|
9294
9294
|
};
|
|
9295
9295
|
const deserializeAws_restJson1TrackingOptions = (output, context) => {
|
|
9296
9296
|
return {
|
|
9297
|
-
CustomRedirectDomain:
|
|
9297
|
+
CustomRedirectDomain: smithy_client_1.expectString(output.CustomRedirectDomain),
|
|
9298
9298
|
};
|
|
9299
9299
|
};
|
|
9300
9300
|
const deserializeAws_restJson1VolumeStatistics = (output, context) => {
|
|
9301
9301
|
return {
|
|
9302
|
-
InboxRawCount:
|
|
9303
|
-
ProjectedInbox:
|
|
9304
|
-
ProjectedSpam:
|
|
9305
|
-
SpamRawCount:
|
|
9302
|
+
InboxRawCount: smithy_client_1.expectLong(output.InboxRawCount),
|
|
9303
|
+
ProjectedInbox: smithy_client_1.expectLong(output.ProjectedInbox),
|
|
9304
|
+
ProjectedSpam: smithy_client_1.expectLong(output.ProjectedSpam),
|
|
9305
|
+
SpamRawCount: smithy_client_1.expectLong(output.SpamRawCount),
|
|
9306
9306
|
};
|
|
9307
9307
|
};
|
|
9308
9308
|
const deserializeMetadata = (output) => {
|