@aws-sdk/client-ses 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/SESClient.js +13 -13
- package/dist/cjs/SESClient.js.map +1 -1
- package/dist/cjs/commands/CloneReceiptRuleSetCommand.js +3 -3
- package/dist/cjs/commands/CloneReceiptRuleSetCommand.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/CreateConfigurationSetTrackingOptionsCommand.js +3 -3
- package/dist/cjs/commands/CreateConfigurationSetTrackingOptionsCommand.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/CreateReceiptFilterCommand.js +3 -3
- package/dist/cjs/commands/CreateReceiptFilterCommand.js.map +1 -1
- package/dist/cjs/commands/CreateReceiptRuleCommand.js +3 -3
- package/dist/cjs/commands/CreateReceiptRuleCommand.js.map +1 -1
- package/dist/cjs/commands/CreateReceiptRuleSetCommand.js +3 -3
- package/dist/cjs/commands/CreateReceiptRuleSetCommand.js.map +1 -1
- package/dist/cjs/commands/CreateTemplateCommand.js +3 -3
- package/dist/cjs/commands/CreateTemplateCommand.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/DeleteConfigurationSetTrackingOptionsCommand.js +3 -3
- package/dist/cjs/commands/DeleteConfigurationSetTrackingOptionsCommand.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/DeleteIdentityCommand.js +3 -3
- package/dist/cjs/commands/DeleteIdentityCommand.js.map +1 -1
- package/dist/cjs/commands/DeleteIdentityPolicyCommand.js +3 -3
- package/dist/cjs/commands/DeleteIdentityPolicyCommand.js.map +1 -1
- package/dist/cjs/commands/DeleteReceiptFilterCommand.js +3 -3
- package/dist/cjs/commands/DeleteReceiptFilterCommand.js.map +1 -1
- package/dist/cjs/commands/DeleteReceiptRuleCommand.js +3 -3
- package/dist/cjs/commands/DeleteReceiptRuleCommand.js.map +1 -1
- package/dist/cjs/commands/DeleteReceiptRuleSetCommand.js +3 -3
- package/dist/cjs/commands/DeleteReceiptRuleSetCommand.js.map +1 -1
- package/dist/cjs/commands/DeleteTemplateCommand.js +3 -3
- package/dist/cjs/commands/DeleteTemplateCommand.js.map +1 -1
- package/dist/cjs/commands/DeleteVerifiedEmailAddressCommand.js +3 -3
- package/dist/cjs/commands/DeleteVerifiedEmailAddressCommand.js.map +1 -1
- package/dist/cjs/commands/DescribeActiveReceiptRuleSetCommand.js +3 -3
- package/dist/cjs/commands/DescribeActiveReceiptRuleSetCommand.js.map +1 -1
- package/dist/cjs/commands/DescribeConfigurationSetCommand.js +3 -3
- package/dist/cjs/commands/DescribeConfigurationSetCommand.js.map +1 -1
- package/dist/cjs/commands/DescribeReceiptRuleCommand.js +3 -3
- package/dist/cjs/commands/DescribeReceiptRuleCommand.js.map +1 -1
- package/dist/cjs/commands/DescribeReceiptRuleSetCommand.js +3 -3
- package/dist/cjs/commands/DescribeReceiptRuleSetCommand.js.map +1 -1
- package/dist/cjs/commands/GetAccountSendingEnabledCommand.js +3 -3
- package/dist/cjs/commands/GetAccountSendingEnabledCommand.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/GetIdentityDkimAttributesCommand.js +3 -3
- package/dist/cjs/commands/GetIdentityDkimAttributesCommand.js.map +1 -1
- package/dist/cjs/commands/GetIdentityMailFromDomainAttributesCommand.js +3 -3
- package/dist/cjs/commands/GetIdentityMailFromDomainAttributesCommand.js.map +1 -1
- package/dist/cjs/commands/GetIdentityNotificationAttributesCommand.js +3 -3
- package/dist/cjs/commands/GetIdentityNotificationAttributesCommand.js.map +1 -1
- package/dist/cjs/commands/GetIdentityPoliciesCommand.js +3 -3
- package/dist/cjs/commands/GetIdentityPoliciesCommand.js.map +1 -1
- package/dist/cjs/commands/GetIdentityVerificationAttributesCommand.js +3 -3
- package/dist/cjs/commands/GetIdentityVerificationAttributesCommand.js.map +1 -1
- package/dist/cjs/commands/GetSendQuotaCommand.js +3 -3
- package/dist/cjs/commands/GetSendQuotaCommand.js.map +1 -1
- package/dist/cjs/commands/GetSendStatisticsCommand.js +3 -3
- package/dist/cjs/commands/GetSendStatisticsCommand.js.map +1 -1
- package/dist/cjs/commands/GetTemplateCommand.js +3 -3
- package/dist/cjs/commands/GetTemplateCommand.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/ListCustomVerificationEmailTemplatesCommand.js +3 -3
- package/dist/cjs/commands/ListCustomVerificationEmailTemplatesCommand.js.map +1 -1
- package/dist/cjs/commands/ListIdentitiesCommand.js +3 -3
- package/dist/cjs/commands/ListIdentitiesCommand.js.map +1 -1
- package/dist/cjs/commands/ListIdentityPoliciesCommand.js +3 -3
- package/dist/cjs/commands/ListIdentityPoliciesCommand.js.map +1 -1
- package/dist/cjs/commands/ListReceiptFiltersCommand.js +3 -3
- package/dist/cjs/commands/ListReceiptFiltersCommand.js.map +1 -1
- package/dist/cjs/commands/ListReceiptRuleSetsCommand.js +3 -3
- package/dist/cjs/commands/ListReceiptRuleSetsCommand.js.map +1 -1
- package/dist/cjs/commands/ListTemplatesCommand.js +3 -3
- package/dist/cjs/commands/ListTemplatesCommand.js.map +1 -1
- package/dist/cjs/commands/ListVerifiedEmailAddressesCommand.js +3 -3
- package/dist/cjs/commands/ListVerifiedEmailAddressesCommand.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/PutIdentityPolicyCommand.js +3 -3
- package/dist/cjs/commands/PutIdentityPolicyCommand.js.map +1 -1
- package/dist/cjs/commands/ReorderReceiptRuleSetCommand.js +3 -3
- package/dist/cjs/commands/ReorderReceiptRuleSetCommand.js.map +1 -1
- package/dist/cjs/commands/SendBounceCommand.js +3 -3
- package/dist/cjs/commands/SendBounceCommand.js.map +1 -1
- package/dist/cjs/commands/SendBulkTemplatedEmailCommand.js +3 -3
- package/dist/cjs/commands/SendBulkTemplatedEmailCommand.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/SendRawEmailCommand.js +3 -3
- package/dist/cjs/commands/SendRawEmailCommand.js.map +1 -1
- package/dist/cjs/commands/SendTemplatedEmailCommand.js +3 -3
- package/dist/cjs/commands/SendTemplatedEmailCommand.js.map +1 -1
- package/dist/cjs/commands/SetActiveReceiptRuleSetCommand.js +3 -3
- package/dist/cjs/commands/SetActiveReceiptRuleSetCommand.js.map +1 -1
- package/dist/cjs/commands/SetIdentityDkimEnabledCommand.js +3 -3
- package/dist/cjs/commands/SetIdentityDkimEnabledCommand.js.map +1 -1
- package/dist/cjs/commands/SetIdentityFeedbackForwardingEnabledCommand.js +3 -3
- package/dist/cjs/commands/SetIdentityFeedbackForwardingEnabledCommand.js.map +1 -1
- package/dist/cjs/commands/SetIdentityHeadersInNotificationsEnabledCommand.js +3 -3
- package/dist/cjs/commands/SetIdentityHeadersInNotificationsEnabledCommand.js.map +1 -1
- package/dist/cjs/commands/SetIdentityMailFromDomainCommand.js +3 -3
- package/dist/cjs/commands/SetIdentityMailFromDomainCommand.js.map +1 -1
- package/dist/cjs/commands/SetIdentityNotificationTopicCommand.js +3 -3
- package/dist/cjs/commands/SetIdentityNotificationTopicCommand.js.map +1 -1
- package/dist/cjs/commands/SetReceiptRulePositionCommand.js +3 -3
- package/dist/cjs/commands/SetReceiptRulePositionCommand.js.map +1 -1
- package/dist/cjs/commands/TestRenderTemplateCommand.js +3 -3
- package/dist/cjs/commands/TestRenderTemplateCommand.js.map +1 -1
- package/dist/cjs/commands/UpdateAccountSendingEnabledCommand.js +3 -3
- package/dist/cjs/commands/UpdateAccountSendingEnabledCommand.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/UpdateConfigurationSetReputationMetricsEnabledCommand.js +3 -3
- package/dist/cjs/commands/UpdateConfigurationSetReputationMetricsEnabledCommand.js.map +1 -1
- package/dist/cjs/commands/UpdateConfigurationSetSendingEnabledCommand.js +3 -3
- package/dist/cjs/commands/UpdateConfigurationSetSendingEnabledCommand.js.map +1 -1
- package/dist/cjs/commands/UpdateConfigurationSetTrackingOptionsCommand.js +3 -3
- package/dist/cjs/commands/UpdateConfigurationSetTrackingOptionsCommand.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/UpdateReceiptRuleCommand.js +3 -3
- package/dist/cjs/commands/UpdateReceiptRuleCommand.js.map +1 -1
- package/dist/cjs/commands/UpdateTemplateCommand.js +3 -3
- package/dist/cjs/commands/UpdateTemplateCommand.js.map +1 -1
- package/dist/cjs/commands/VerifyDomainDkimCommand.js +3 -3
- package/dist/cjs/commands/VerifyDomainDkimCommand.js.map +1 -1
- package/dist/cjs/commands/VerifyDomainIdentityCommand.js +3 -3
- package/dist/cjs/commands/VerifyDomainIdentityCommand.js.map +1 -1
- package/dist/cjs/commands/VerifyEmailAddressCommand.js +3 -3
- package/dist/cjs/commands/VerifyEmailAddressCommand.js.map +1 -1
- package/dist/cjs/commands/VerifyEmailIdentityCommand.js +3 -3
- package/dist/cjs/commands/VerifyEmailIdentityCommand.js.map +1 -1
- package/dist/cjs/endpoints.js +1 -1
- package/dist/cjs/endpoints.js.map +1 -1
- package/dist/cjs/index.js +78 -78
- 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 +32 -32
- package/dist/cjs/protocols/Aws_query.js +196 -196
- package/dist/cjs/protocols/Aws_query.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/cjs/waiters/waitForIdentityExists.js +3 -3
- package/dist/cjs/waiters/waitForIdentityExists.js.map +1 -1
- package/dist/es/package.json +32 -32
- package/dist/es/pagination/ListCustomVerificationEmailTemplatesPaginator.js +4 -4
- package/dist/es/pagination/ListCustomVerificationEmailTemplatesPaginator.js.map +1 -1
- package/dist/es/pagination/ListIdentitiesPaginator.js +4 -4
- package/dist/es/pagination/ListIdentitiesPaginator.js.map +1 -1
- package/package.json +32 -32
- package/tsconfig.json +1 -2
|
@@ -6423,7 +6423,7 @@ const deserializeAws_queryAccountSendingPausedException = (output, context) => {
|
|
|
6423
6423
|
message: undefined,
|
|
6424
6424
|
};
|
|
6425
6425
|
if (output["message"] !== undefined) {
|
|
6426
|
-
contents.message =
|
|
6426
|
+
contents.message = smithy_client_1.expectString(output["message"]);
|
|
6427
6427
|
}
|
|
6428
6428
|
return contents;
|
|
6429
6429
|
};
|
|
@@ -6433,10 +6433,10 @@ const deserializeAws_queryAddHeaderAction = (output, context) => {
|
|
|
6433
6433
|
HeaderValue: undefined,
|
|
6434
6434
|
};
|
|
6435
6435
|
if (output["HeaderName"] !== undefined) {
|
|
6436
|
-
contents.HeaderName =
|
|
6436
|
+
contents.HeaderName = smithy_client_1.expectString(output["HeaderName"]);
|
|
6437
6437
|
}
|
|
6438
6438
|
if (output["HeaderValue"] !== undefined) {
|
|
6439
|
-
contents.HeaderValue =
|
|
6439
|
+
contents.HeaderValue = smithy_client_1.expectString(output["HeaderValue"]);
|
|
6440
6440
|
}
|
|
6441
6441
|
return contents;
|
|
6442
6442
|
};
|
|
@@ -6447,7 +6447,7 @@ const deserializeAws_queryAddressList = (output, context) => {
|
|
|
6447
6447
|
if (entry === null) {
|
|
6448
6448
|
return null;
|
|
6449
6449
|
}
|
|
6450
|
-
return
|
|
6450
|
+
return smithy_client_1.expectString(entry);
|
|
6451
6451
|
});
|
|
6452
6452
|
};
|
|
6453
6453
|
const deserializeAws_queryAlreadyExistsException = (output, context) => {
|
|
@@ -6456,10 +6456,10 @@ const deserializeAws_queryAlreadyExistsException = (output, context) => {
|
|
|
6456
6456
|
message: undefined,
|
|
6457
6457
|
};
|
|
6458
6458
|
if (output["Name"] !== undefined) {
|
|
6459
|
-
contents.Name =
|
|
6459
|
+
contents.Name = smithy_client_1.expectString(output["Name"]);
|
|
6460
6460
|
}
|
|
6461
6461
|
if (output["message"] !== undefined) {
|
|
6462
|
-
contents.message =
|
|
6462
|
+
contents.message = smithy_client_1.expectString(output["message"]);
|
|
6463
6463
|
}
|
|
6464
6464
|
return contents;
|
|
6465
6465
|
};
|
|
@@ -6472,19 +6472,19 @@ const deserializeAws_queryBounceAction = (output, context) => {
|
|
|
6472
6472
|
Sender: undefined,
|
|
6473
6473
|
};
|
|
6474
6474
|
if (output["TopicArn"] !== undefined) {
|
|
6475
|
-
contents.TopicArn =
|
|
6475
|
+
contents.TopicArn = smithy_client_1.expectString(output["TopicArn"]);
|
|
6476
6476
|
}
|
|
6477
6477
|
if (output["SmtpReplyCode"] !== undefined) {
|
|
6478
|
-
contents.SmtpReplyCode =
|
|
6478
|
+
contents.SmtpReplyCode = smithy_client_1.expectString(output["SmtpReplyCode"]);
|
|
6479
6479
|
}
|
|
6480
6480
|
if (output["StatusCode"] !== undefined) {
|
|
6481
|
-
contents.StatusCode =
|
|
6481
|
+
contents.StatusCode = smithy_client_1.expectString(output["StatusCode"]);
|
|
6482
6482
|
}
|
|
6483
6483
|
if (output["Message"] !== undefined) {
|
|
6484
|
-
contents.Message =
|
|
6484
|
+
contents.Message = smithy_client_1.expectString(output["Message"]);
|
|
6485
6485
|
}
|
|
6486
6486
|
if (output["Sender"] !== undefined) {
|
|
6487
|
-
contents.Sender =
|
|
6487
|
+
contents.Sender = smithy_client_1.expectString(output["Sender"]);
|
|
6488
6488
|
}
|
|
6489
6489
|
return contents;
|
|
6490
6490
|
};
|
|
@@ -6495,13 +6495,13 @@ const deserializeAws_queryBulkEmailDestinationStatus = (output, context) => {
|
|
|
6495
6495
|
MessageId: undefined,
|
|
6496
6496
|
};
|
|
6497
6497
|
if (output["Status"] !== undefined) {
|
|
6498
|
-
contents.Status =
|
|
6498
|
+
contents.Status = smithy_client_1.expectString(output["Status"]);
|
|
6499
6499
|
}
|
|
6500
6500
|
if (output["Error"] !== undefined) {
|
|
6501
|
-
contents.Error =
|
|
6501
|
+
contents.Error = smithy_client_1.expectString(output["Error"]);
|
|
6502
6502
|
}
|
|
6503
6503
|
if (output["MessageId"] !== undefined) {
|
|
6504
|
-
contents.MessageId =
|
|
6504
|
+
contents.MessageId = smithy_client_1.expectString(output["MessageId"]);
|
|
6505
6505
|
}
|
|
6506
6506
|
return contents;
|
|
6507
6507
|
};
|
|
@@ -6521,10 +6521,10 @@ const deserializeAws_queryCannotDeleteException = (output, context) => {
|
|
|
6521
6521
|
message: undefined,
|
|
6522
6522
|
};
|
|
6523
6523
|
if (output["Name"] !== undefined) {
|
|
6524
|
-
contents.Name =
|
|
6524
|
+
contents.Name = smithy_client_1.expectString(output["Name"]);
|
|
6525
6525
|
}
|
|
6526
6526
|
if (output["message"] !== undefined) {
|
|
6527
|
-
contents.message =
|
|
6527
|
+
contents.message = smithy_client_1.expectString(output["message"]);
|
|
6528
6528
|
}
|
|
6529
6529
|
return contents;
|
|
6530
6530
|
};
|
|
@@ -6540,7 +6540,7 @@ const deserializeAws_queryCloudWatchDestination = (output, context) => {
|
|
|
6540
6540
|
contents.DimensionConfigurations = [];
|
|
6541
6541
|
}
|
|
6542
6542
|
if (output["DimensionConfigurations"] !== undefined && output["DimensionConfigurations"]["member"] !== undefined) {
|
|
6543
|
-
contents.DimensionConfigurations = deserializeAws_queryCloudWatchDimensionConfigurations(
|
|
6543
|
+
contents.DimensionConfigurations = deserializeAws_queryCloudWatchDimensionConfigurations(smithy_client_1.getArrayIfSingleItem(output["DimensionConfigurations"]["member"]), context);
|
|
6544
6544
|
}
|
|
6545
6545
|
return contents;
|
|
6546
6546
|
};
|
|
@@ -6551,13 +6551,13 @@ const deserializeAws_queryCloudWatchDimensionConfiguration = (output, context) =
|
|
|
6551
6551
|
DefaultDimensionValue: undefined,
|
|
6552
6552
|
};
|
|
6553
6553
|
if (output["DimensionName"] !== undefined) {
|
|
6554
|
-
contents.DimensionName =
|
|
6554
|
+
contents.DimensionName = smithy_client_1.expectString(output["DimensionName"]);
|
|
6555
6555
|
}
|
|
6556
6556
|
if (output["DimensionValueSource"] !== undefined) {
|
|
6557
|
-
contents.DimensionValueSource =
|
|
6557
|
+
contents.DimensionValueSource = smithy_client_1.expectString(output["DimensionValueSource"]);
|
|
6558
6558
|
}
|
|
6559
6559
|
if (output["DefaultDimensionValue"] !== undefined) {
|
|
6560
|
-
contents.DefaultDimensionValue =
|
|
6560
|
+
contents.DefaultDimensionValue = smithy_client_1.expectString(output["DefaultDimensionValue"]);
|
|
6561
6561
|
}
|
|
6562
6562
|
return contents;
|
|
6563
6563
|
};
|
|
@@ -6576,7 +6576,7 @@ const deserializeAws_queryConfigurationSet = (output, context) => {
|
|
|
6576
6576
|
Name: undefined,
|
|
6577
6577
|
};
|
|
6578
6578
|
if (output["Name"] !== undefined) {
|
|
6579
|
-
contents.Name =
|
|
6579
|
+
contents.Name = smithy_client_1.expectString(output["Name"]);
|
|
6580
6580
|
}
|
|
6581
6581
|
return contents;
|
|
6582
6582
|
};
|
|
@@ -6586,10 +6586,10 @@ const deserializeAws_queryConfigurationSetAlreadyExistsException = (output, cont
|
|
|
6586
6586
|
message: undefined,
|
|
6587
6587
|
};
|
|
6588
6588
|
if (output["ConfigurationSetName"] !== undefined) {
|
|
6589
|
-
contents.ConfigurationSetName =
|
|
6589
|
+
contents.ConfigurationSetName = smithy_client_1.expectString(output["ConfigurationSetName"]);
|
|
6590
6590
|
}
|
|
6591
6591
|
if (output["message"] !== undefined) {
|
|
6592
|
-
contents.message =
|
|
6592
|
+
contents.message = smithy_client_1.expectString(output["message"]);
|
|
6593
6593
|
}
|
|
6594
6594
|
return contents;
|
|
6595
6595
|
};
|
|
@@ -6599,10 +6599,10 @@ const deserializeAws_queryConfigurationSetDoesNotExistException = (output, conte
|
|
|
6599
6599
|
message: undefined,
|
|
6600
6600
|
};
|
|
6601
6601
|
if (output["ConfigurationSetName"] !== undefined) {
|
|
6602
|
-
contents.ConfigurationSetName =
|
|
6602
|
+
contents.ConfigurationSetName = smithy_client_1.expectString(output["ConfigurationSetName"]);
|
|
6603
6603
|
}
|
|
6604
6604
|
if (output["message"] !== undefined) {
|
|
6605
|
-
contents.message =
|
|
6605
|
+
contents.message = smithy_client_1.expectString(output["message"]);
|
|
6606
6606
|
}
|
|
6607
6607
|
return contents;
|
|
6608
6608
|
};
|
|
@@ -6622,10 +6622,10 @@ const deserializeAws_queryConfigurationSetSendingPausedException = (output, cont
|
|
|
6622
6622
|
message: undefined,
|
|
6623
6623
|
};
|
|
6624
6624
|
if (output["ConfigurationSetName"] !== undefined) {
|
|
6625
|
-
contents.ConfigurationSetName =
|
|
6625
|
+
contents.ConfigurationSetName = smithy_client_1.expectString(output["ConfigurationSetName"]);
|
|
6626
6626
|
}
|
|
6627
6627
|
if (output["message"] !== undefined) {
|
|
6628
|
-
contents.message =
|
|
6628
|
+
contents.message = smithy_client_1.expectString(output["message"]);
|
|
6629
6629
|
}
|
|
6630
6630
|
return contents;
|
|
6631
6631
|
};
|
|
@@ -6662,7 +6662,7 @@ const deserializeAws_queryCustomVerificationEmailInvalidContentException = (outp
|
|
|
6662
6662
|
message: undefined,
|
|
6663
6663
|
};
|
|
6664
6664
|
if (output["message"] !== undefined) {
|
|
6665
|
-
contents.message =
|
|
6665
|
+
contents.message = smithy_client_1.expectString(output["message"]);
|
|
6666
6666
|
}
|
|
6667
6667
|
return contents;
|
|
6668
6668
|
};
|
|
@@ -6675,19 +6675,19 @@ const deserializeAws_queryCustomVerificationEmailTemplate = (output, context) =>
|
|
|
6675
6675
|
FailureRedirectionURL: undefined,
|
|
6676
6676
|
};
|
|
6677
6677
|
if (output["TemplateName"] !== undefined) {
|
|
6678
|
-
contents.TemplateName =
|
|
6678
|
+
contents.TemplateName = smithy_client_1.expectString(output["TemplateName"]);
|
|
6679
6679
|
}
|
|
6680
6680
|
if (output["FromEmailAddress"] !== undefined) {
|
|
6681
|
-
contents.FromEmailAddress =
|
|
6681
|
+
contents.FromEmailAddress = smithy_client_1.expectString(output["FromEmailAddress"]);
|
|
6682
6682
|
}
|
|
6683
6683
|
if (output["TemplateSubject"] !== undefined) {
|
|
6684
|
-
contents.TemplateSubject =
|
|
6684
|
+
contents.TemplateSubject = smithy_client_1.expectString(output["TemplateSubject"]);
|
|
6685
6685
|
}
|
|
6686
6686
|
if (output["SuccessRedirectionURL"] !== undefined) {
|
|
6687
|
-
contents.SuccessRedirectionURL =
|
|
6687
|
+
contents.SuccessRedirectionURL = smithy_client_1.expectString(output["SuccessRedirectionURL"]);
|
|
6688
6688
|
}
|
|
6689
6689
|
if (output["FailureRedirectionURL"] !== undefined) {
|
|
6690
|
-
contents.FailureRedirectionURL =
|
|
6690
|
+
contents.FailureRedirectionURL = smithy_client_1.expectString(output["FailureRedirectionURL"]);
|
|
6691
6691
|
}
|
|
6692
6692
|
return contents;
|
|
6693
6693
|
};
|
|
@@ -6697,10 +6697,10 @@ const deserializeAws_queryCustomVerificationEmailTemplateAlreadyExistsException
|
|
|
6697
6697
|
message: undefined,
|
|
6698
6698
|
};
|
|
6699
6699
|
if (output["CustomVerificationEmailTemplateName"] !== undefined) {
|
|
6700
|
-
contents.CustomVerificationEmailTemplateName =
|
|
6700
|
+
contents.CustomVerificationEmailTemplateName = smithy_client_1.expectString(output["CustomVerificationEmailTemplateName"]);
|
|
6701
6701
|
}
|
|
6702
6702
|
if (output["message"] !== undefined) {
|
|
6703
|
-
contents.message =
|
|
6703
|
+
contents.message = smithy_client_1.expectString(output["message"]);
|
|
6704
6704
|
}
|
|
6705
6705
|
return contents;
|
|
6706
6706
|
};
|
|
@@ -6710,10 +6710,10 @@ const deserializeAws_queryCustomVerificationEmailTemplateDoesNotExistException =
|
|
|
6710
6710
|
message: undefined,
|
|
6711
6711
|
};
|
|
6712
6712
|
if (output["CustomVerificationEmailTemplateName"] !== undefined) {
|
|
6713
|
-
contents.CustomVerificationEmailTemplateName =
|
|
6713
|
+
contents.CustomVerificationEmailTemplateName = smithy_client_1.expectString(output["CustomVerificationEmailTemplateName"]);
|
|
6714
6714
|
}
|
|
6715
6715
|
if (output["message"] !== undefined) {
|
|
6716
|
-
contents.message =
|
|
6716
|
+
contents.message = smithy_client_1.expectString(output["message"]);
|
|
6717
6717
|
}
|
|
6718
6718
|
return contents;
|
|
6719
6719
|
};
|
|
@@ -6768,7 +6768,7 @@ const deserializeAws_queryDeliveryOptions = (output, context) => {
|
|
|
6768
6768
|
TlsPolicy: undefined,
|
|
6769
6769
|
};
|
|
6770
6770
|
if (output["TlsPolicy"] !== undefined) {
|
|
6771
|
-
contents.TlsPolicy =
|
|
6771
|
+
contents.TlsPolicy = smithy_client_1.expectString(output["TlsPolicy"]);
|
|
6772
6772
|
}
|
|
6773
6773
|
return contents;
|
|
6774
6774
|
};
|
|
@@ -6784,7 +6784,7 @@ const deserializeAws_queryDescribeActiveReceiptRuleSetResponse = (output, contex
|
|
|
6784
6784
|
contents.Rules = [];
|
|
6785
6785
|
}
|
|
6786
6786
|
if (output["Rules"] !== undefined && output["Rules"]["member"] !== undefined) {
|
|
6787
|
-
contents.Rules = deserializeAws_queryReceiptRulesList(
|
|
6787
|
+
contents.Rules = deserializeAws_queryReceiptRulesList(smithy_client_1.getArrayIfSingleItem(output["Rules"]["member"]), context);
|
|
6788
6788
|
}
|
|
6789
6789
|
return contents;
|
|
6790
6790
|
};
|
|
@@ -6803,7 +6803,7 @@ const deserializeAws_queryDescribeConfigurationSetResponse = (output, context) =
|
|
|
6803
6803
|
contents.EventDestinations = [];
|
|
6804
6804
|
}
|
|
6805
6805
|
if (output["EventDestinations"] !== undefined && output["EventDestinations"]["member"] !== undefined) {
|
|
6806
|
-
contents.EventDestinations = deserializeAws_queryEventDestinations(
|
|
6806
|
+
contents.EventDestinations = deserializeAws_queryEventDestinations(smithy_client_1.getArrayIfSingleItem(output["EventDestinations"]["member"]), context);
|
|
6807
6807
|
}
|
|
6808
6808
|
if (output["TrackingOptions"] !== undefined) {
|
|
6809
6809
|
contents.TrackingOptions = deserializeAws_queryTrackingOptions(output["TrackingOptions"], context);
|
|
@@ -6837,7 +6837,7 @@ const deserializeAws_queryDescribeReceiptRuleSetResponse = (output, context) =>
|
|
|
6837
6837
|
contents.Rules = [];
|
|
6838
6838
|
}
|
|
6839
6839
|
if (output["Rules"] !== undefined && output["Rules"]["member"] !== undefined) {
|
|
6840
|
-
contents.Rules = deserializeAws_queryReceiptRulesList(
|
|
6840
|
+
contents.Rules = deserializeAws_queryReceiptRulesList(smithy_client_1.getArrayIfSingleItem(output["Rules"]["member"]), context);
|
|
6841
6841
|
}
|
|
6842
6842
|
return contents;
|
|
6843
6843
|
};
|
|
@@ -6862,16 +6862,16 @@ const deserializeAws_queryEventDestination = (output, context) => {
|
|
|
6862
6862
|
SNSDestination: undefined,
|
|
6863
6863
|
};
|
|
6864
6864
|
if (output["Name"] !== undefined) {
|
|
6865
|
-
contents.Name =
|
|
6865
|
+
contents.Name = smithy_client_1.expectString(output["Name"]);
|
|
6866
6866
|
}
|
|
6867
6867
|
if (output["Enabled"] !== undefined) {
|
|
6868
|
-
contents.Enabled =
|
|
6868
|
+
contents.Enabled = smithy_client_1.parseBoolean(output["Enabled"]);
|
|
6869
6869
|
}
|
|
6870
6870
|
if (output.MatchingEventTypes === "") {
|
|
6871
6871
|
contents.MatchingEventTypes = [];
|
|
6872
6872
|
}
|
|
6873
6873
|
if (output["MatchingEventTypes"] !== undefined && output["MatchingEventTypes"]["member"] !== undefined) {
|
|
6874
|
-
contents.MatchingEventTypes = deserializeAws_queryEventTypes(
|
|
6874
|
+
contents.MatchingEventTypes = deserializeAws_queryEventTypes(smithy_client_1.getArrayIfSingleItem(output["MatchingEventTypes"]["member"]), context);
|
|
6875
6875
|
}
|
|
6876
6876
|
if (output["KinesisFirehoseDestination"] !== undefined) {
|
|
6877
6877
|
contents.KinesisFirehoseDestination = deserializeAws_queryKinesisFirehoseDestination(output["KinesisFirehoseDestination"], context);
|
|
@@ -6891,13 +6891,13 @@ const deserializeAws_queryEventDestinationAlreadyExistsException = (output, cont
|
|
|
6891
6891
|
message: undefined,
|
|
6892
6892
|
};
|
|
6893
6893
|
if (output["ConfigurationSetName"] !== undefined) {
|
|
6894
|
-
contents.ConfigurationSetName =
|
|
6894
|
+
contents.ConfigurationSetName = smithy_client_1.expectString(output["ConfigurationSetName"]);
|
|
6895
6895
|
}
|
|
6896
6896
|
if (output["EventDestinationName"] !== undefined) {
|
|
6897
|
-
contents.EventDestinationName =
|
|
6897
|
+
contents.EventDestinationName = smithy_client_1.expectString(output["EventDestinationName"]);
|
|
6898
6898
|
}
|
|
6899
6899
|
if (output["message"] !== undefined) {
|
|
6900
|
-
contents.message =
|
|
6900
|
+
contents.message = smithy_client_1.expectString(output["message"]);
|
|
6901
6901
|
}
|
|
6902
6902
|
return contents;
|
|
6903
6903
|
};
|
|
@@ -6908,13 +6908,13 @@ const deserializeAws_queryEventDestinationDoesNotExistException = (output, conte
|
|
|
6908
6908
|
message: undefined,
|
|
6909
6909
|
};
|
|
6910
6910
|
if (output["ConfigurationSetName"] !== undefined) {
|
|
6911
|
-
contents.ConfigurationSetName =
|
|
6911
|
+
contents.ConfigurationSetName = smithy_client_1.expectString(output["ConfigurationSetName"]);
|
|
6912
6912
|
}
|
|
6913
6913
|
if (output["EventDestinationName"] !== undefined) {
|
|
6914
|
-
contents.EventDestinationName =
|
|
6914
|
+
contents.EventDestinationName = smithy_client_1.expectString(output["EventDestinationName"]);
|
|
6915
6915
|
}
|
|
6916
6916
|
if (output["message"] !== undefined) {
|
|
6917
|
-
contents.message =
|
|
6917
|
+
contents.message = smithy_client_1.expectString(output["message"]);
|
|
6918
6918
|
}
|
|
6919
6919
|
return contents;
|
|
6920
6920
|
};
|
|
@@ -6935,7 +6935,7 @@ const deserializeAws_queryEventTypes = (output, context) => {
|
|
|
6935
6935
|
if (entry === null) {
|
|
6936
6936
|
return null;
|
|
6937
6937
|
}
|
|
6938
|
-
return
|
|
6938
|
+
return smithy_client_1.expectString(entry);
|
|
6939
6939
|
});
|
|
6940
6940
|
};
|
|
6941
6941
|
const deserializeAws_queryFromEmailAddressNotVerifiedException = (output, context) => {
|
|
@@ -6944,10 +6944,10 @@ const deserializeAws_queryFromEmailAddressNotVerifiedException = (output, contex
|
|
|
6944
6944
|
message: undefined,
|
|
6945
6945
|
};
|
|
6946
6946
|
if (output["FromEmailAddress"] !== undefined) {
|
|
6947
|
-
contents.FromEmailAddress =
|
|
6947
|
+
contents.FromEmailAddress = smithy_client_1.expectString(output["FromEmailAddress"]);
|
|
6948
6948
|
}
|
|
6949
6949
|
if (output["message"] !== undefined) {
|
|
6950
|
-
contents.message =
|
|
6950
|
+
contents.message = smithy_client_1.expectString(output["message"]);
|
|
6951
6951
|
}
|
|
6952
6952
|
return contents;
|
|
6953
6953
|
};
|
|
@@ -6956,7 +6956,7 @@ const deserializeAws_queryGetAccountSendingEnabledResponse = (output, context) =
|
|
|
6956
6956
|
Enabled: undefined,
|
|
6957
6957
|
};
|
|
6958
6958
|
if (output["Enabled"] !== undefined) {
|
|
6959
|
-
contents.Enabled =
|
|
6959
|
+
contents.Enabled = smithy_client_1.parseBoolean(output["Enabled"]);
|
|
6960
6960
|
}
|
|
6961
6961
|
return contents;
|
|
6962
6962
|
};
|
|
@@ -6970,22 +6970,22 @@ const deserializeAws_queryGetCustomVerificationEmailTemplateResponse = (output,
|
|
|
6970
6970
|
FailureRedirectionURL: undefined,
|
|
6971
6971
|
};
|
|
6972
6972
|
if (output["TemplateName"] !== undefined) {
|
|
6973
|
-
contents.TemplateName =
|
|
6973
|
+
contents.TemplateName = smithy_client_1.expectString(output["TemplateName"]);
|
|
6974
6974
|
}
|
|
6975
6975
|
if (output["FromEmailAddress"] !== undefined) {
|
|
6976
|
-
contents.FromEmailAddress =
|
|
6976
|
+
contents.FromEmailAddress = smithy_client_1.expectString(output["FromEmailAddress"]);
|
|
6977
6977
|
}
|
|
6978
6978
|
if (output["TemplateSubject"] !== undefined) {
|
|
6979
|
-
contents.TemplateSubject =
|
|
6979
|
+
contents.TemplateSubject = smithy_client_1.expectString(output["TemplateSubject"]);
|
|
6980
6980
|
}
|
|
6981
6981
|
if (output["TemplateContent"] !== undefined) {
|
|
6982
|
-
contents.TemplateContent =
|
|
6982
|
+
contents.TemplateContent = smithy_client_1.expectString(output["TemplateContent"]);
|
|
6983
6983
|
}
|
|
6984
6984
|
if (output["SuccessRedirectionURL"] !== undefined) {
|
|
6985
|
-
contents.SuccessRedirectionURL =
|
|
6985
|
+
contents.SuccessRedirectionURL = smithy_client_1.expectString(output["SuccessRedirectionURL"]);
|
|
6986
6986
|
}
|
|
6987
6987
|
if (output["FailureRedirectionURL"] !== undefined) {
|
|
6988
|
-
contents.FailureRedirectionURL =
|
|
6988
|
+
contents.FailureRedirectionURL = smithy_client_1.expectString(output["FailureRedirectionURL"]);
|
|
6989
6989
|
}
|
|
6990
6990
|
return contents;
|
|
6991
6991
|
};
|
|
@@ -6997,7 +6997,7 @@ const deserializeAws_queryGetIdentityDkimAttributesResponse = (output, context)
|
|
|
6997
6997
|
contents.DkimAttributes = {};
|
|
6998
6998
|
}
|
|
6999
6999
|
if (output["DkimAttributes"] !== undefined && output["DkimAttributes"]["entry"] !== undefined) {
|
|
7000
|
-
contents.DkimAttributes = deserializeAws_queryDkimAttributes(
|
|
7000
|
+
contents.DkimAttributes = deserializeAws_queryDkimAttributes(smithy_client_1.getArrayIfSingleItem(output["DkimAttributes"]["entry"]), context);
|
|
7001
7001
|
}
|
|
7002
7002
|
return contents;
|
|
7003
7003
|
};
|
|
@@ -7009,7 +7009,7 @@ const deserializeAws_queryGetIdentityMailFromDomainAttributesResponse = (output,
|
|
|
7009
7009
|
contents.MailFromDomainAttributes = {};
|
|
7010
7010
|
}
|
|
7011
7011
|
if (output["MailFromDomainAttributes"] !== undefined && output["MailFromDomainAttributes"]["entry"] !== undefined) {
|
|
7012
|
-
contents.MailFromDomainAttributes = deserializeAws_queryMailFromDomainAttributes(
|
|
7012
|
+
contents.MailFromDomainAttributes = deserializeAws_queryMailFromDomainAttributes(smithy_client_1.getArrayIfSingleItem(output["MailFromDomainAttributes"]["entry"]), context);
|
|
7013
7013
|
}
|
|
7014
7014
|
return contents;
|
|
7015
7015
|
};
|
|
@@ -7021,7 +7021,7 @@ const deserializeAws_queryGetIdentityNotificationAttributesResponse = (output, c
|
|
|
7021
7021
|
contents.NotificationAttributes = {};
|
|
7022
7022
|
}
|
|
7023
7023
|
if (output["NotificationAttributes"] !== undefined && output["NotificationAttributes"]["entry"] !== undefined) {
|
|
7024
|
-
contents.NotificationAttributes = deserializeAws_queryNotificationAttributes(
|
|
7024
|
+
contents.NotificationAttributes = deserializeAws_queryNotificationAttributes(smithy_client_1.getArrayIfSingleItem(output["NotificationAttributes"]["entry"]), context);
|
|
7025
7025
|
}
|
|
7026
7026
|
return contents;
|
|
7027
7027
|
};
|
|
@@ -7033,7 +7033,7 @@ const deserializeAws_queryGetIdentityPoliciesResponse = (output, context) => {
|
|
|
7033
7033
|
contents.Policies = {};
|
|
7034
7034
|
}
|
|
7035
7035
|
if (output["Policies"] !== undefined && output["Policies"]["entry"] !== undefined) {
|
|
7036
|
-
contents.Policies = deserializeAws_queryPolicyMap(
|
|
7036
|
+
contents.Policies = deserializeAws_queryPolicyMap(smithy_client_1.getArrayIfSingleItem(output["Policies"]["entry"]), context);
|
|
7037
7037
|
}
|
|
7038
7038
|
return contents;
|
|
7039
7039
|
};
|
|
@@ -7045,7 +7045,7 @@ const deserializeAws_queryGetIdentityVerificationAttributesResponse = (output, c
|
|
|
7045
7045
|
contents.VerificationAttributes = {};
|
|
7046
7046
|
}
|
|
7047
7047
|
if (output["VerificationAttributes"] !== undefined && output["VerificationAttributes"]["entry"] !== undefined) {
|
|
7048
|
-
contents.VerificationAttributes = deserializeAws_queryVerificationAttributes(
|
|
7048
|
+
contents.VerificationAttributes = deserializeAws_queryVerificationAttributes(smithy_client_1.getArrayIfSingleItem(output["VerificationAttributes"]["entry"]), context);
|
|
7049
7049
|
}
|
|
7050
7050
|
return contents;
|
|
7051
7051
|
};
|
|
@@ -7056,13 +7056,13 @@ const deserializeAws_queryGetSendQuotaResponse = (output, context) => {
|
|
|
7056
7056
|
SentLast24Hours: undefined,
|
|
7057
7057
|
};
|
|
7058
7058
|
if (output["Max24HourSend"] !== undefined) {
|
|
7059
|
-
contents.Max24HourSend =
|
|
7059
|
+
contents.Max24HourSend = smithy_client_1.strictParseFloat(output["Max24HourSend"]);
|
|
7060
7060
|
}
|
|
7061
7061
|
if (output["MaxSendRate"] !== undefined) {
|
|
7062
|
-
contents.MaxSendRate =
|
|
7062
|
+
contents.MaxSendRate = smithy_client_1.strictParseFloat(output["MaxSendRate"]);
|
|
7063
7063
|
}
|
|
7064
7064
|
if (output["SentLast24Hours"] !== undefined) {
|
|
7065
|
-
contents.SentLast24Hours =
|
|
7065
|
+
contents.SentLast24Hours = smithy_client_1.strictParseFloat(output["SentLast24Hours"]);
|
|
7066
7066
|
}
|
|
7067
7067
|
return contents;
|
|
7068
7068
|
};
|
|
@@ -7074,7 +7074,7 @@ const deserializeAws_queryGetSendStatisticsResponse = (output, context) => {
|
|
|
7074
7074
|
contents.SendDataPoints = [];
|
|
7075
7075
|
}
|
|
7076
7076
|
if (output["SendDataPoints"] !== undefined && output["SendDataPoints"]["member"] !== undefined) {
|
|
7077
|
-
contents.SendDataPoints = deserializeAws_querySendDataPointList(
|
|
7077
|
+
contents.SendDataPoints = deserializeAws_querySendDataPointList(smithy_client_1.getArrayIfSingleItem(output["SendDataPoints"]["member"]), context);
|
|
7078
7078
|
}
|
|
7079
7079
|
return contents;
|
|
7080
7080
|
};
|
|
@@ -7094,16 +7094,16 @@ const deserializeAws_queryIdentityDkimAttributes = (output, context) => {
|
|
|
7094
7094
|
DkimTokens: undefined,
|
|
7095
7095
|
};
|
|
7096
7096
|
if (output["DkimEnabled"] !== undefined) {
|
|
7097
|
-
contents.DkimEnabled =
|
|
7097
|
+
contents.DkimEnabled = smithy_client_1.parseBoolean(output["DkimEnabled"]);
|
|
7098
7098
|
}
|
|
7099
7099
|
if (output["DkimVerificationStatus"] !== undefined) {
|
|
7100
|
-
contents.DkimVerificationStatus =
|
|
7100
|
+
contents.DkimVerificationStatus = smithy_client_1.expectString(output["DkimVerificationStatus"]);
|
|
7101
7101
|
}
|
|
7102
7102
|
if (output.DkimTokens === "") {
|
|
7103
7103
|
contents.DkimTokens = [];
|
|
7104
7104
|
}
|
|
7105
7105
|
if (output["DkimTokens"] !== undefined && output["DkimTokens"]["member"] !== undefined) {
|
|
7106
|
-
contents.DkimTokens = deserializeAws_queryVerificationTokenList(
|
|
7106
|
+
contents.DkimTokens = deserializeAws_queryVerificationTokenList(smithy_client_1.getArrayIfSingleItem(output["DkimTokens"]["member"]), context);
|
|
7107
7107
|
}
|
|
7108
7108
|
return contents;
|
|
7109
7109
|
};
|
|
@@ -7114,7 +7114,7 @@ const deserializeAws_queryIdentityList = (output, context) => {
|
|
|
7114
7114
|
if (entry === null) {
|
|
7115
7115
|
return null;
|
|
7116
7116
|
}
|
|
7117
|
-
return
|
|
7117
|
+
return smithy_client_1.expectString(entry);
|
|
7118
7118
|
});
|
|
7119
7119
|
};
|
|
7120
7120
|
const deserializeAws_queryIdentityMailFromDomainAttributes = (output, context) => {
|
|
@@ -7124,13 +7124,13 @@ const deserializeAws_queryIdentityMailFromDomainAttributes = (output, context) =
|
|
|
7124
7124
|
BehaviorOnMXFailure: undefined,
|
|
7125
7125
|
};
|
|
7126
7126
|
if (output["MailFromDomain"] !== undefined) {
|
|
7127
|
-
contents.MailFromDomain =
|
|
7127
|
+
contents.MailFromDomain = smithy_client_1.expectString(output["MailFromDomain"]);
|
|
7128
7128
|
}
|
|
7129
7129
|
if (output["MailFromDomainStatus"] !== undefined) {
|
|
7130
|
-
contents.MailFromDomainStatus =
|
|
7130
|
+
contents.MailFromDomainStatus = smithy_client_1.expectString(output["MailFromDomainStatus"]);
|
|
7131
7131
|
}
|
|
7132
7132
|
if (output["BehaviorOnMXFailure"] !== undefined) {
|
|
7133
|
-
contents.BehaviorOnMXFailure =
|
|
7133
|
+
contents.BehaviorOnMXFailure = smithy_client_1.expectString(output["BehaviorOnMXFailure"]);
|
|
7134
7134
|
}
|
|
7135
7135
|
return contents;
|
|
7136
7136
|
};
|
|
@@ -7145,25 +7145,25 @@ const deserializeAws_queryIdentityNotificationAttributes = (output, context) =>
|
|
|
7145
7145
|
HeadersInDeliveryNotificationsEnabled: undefined,
|
|
7146
7146
|
};
|
|
7147
7147
|
if (output["BounceTopic"] !== undefined) {
|
|
7148
|
-
contents.BounceTopic =
|
|
7148
|
+
contents.BounceTopic = smithy_client_1.expectString(output["BounceTopic"]);
|
|
7149
7149
|
}
|
|
7150
7150
|
if (output["ComplaintTopic"] !== undefined) {
|
|
7151
|
-
contents.ComplaintTopic =
|
|
7151
|
+
contents.ComplaintTopic = smithy_client_1.expectString(output["ComplaintTopic"]);
|
|
7152
7152
|
}
|
|
7153
7153
|
if (output["DeliveryTopic"] !== undefined) {
|
|
7154
|
-
contents.DeliveryTopic =
|
|
7154
|
+
contents.DeliveryTopic = smithy_client_1.expectString(output["DeliveryTopic"]);
|
|
7155
7155
|
}
|
|
7156
7156
|
if (output["ForwardingEnabled"] !== undefined) {
|
|
7157
|
-
contents.ForwardingEnabled =
|
|
7157
|
+
contents.ForwardingEnabled = smithy_client_1.parseBoolean(output["ForwardingEnabled"]);
|
|
7158
7158
|
}
|
|
7159
7159
|
if (output["HeadersInBounceNotificationsEnabled"] !== undefined) {
|
|
7160
|
-
contents.HeadersInBounceNotificationsEnabled =
|
|
7160
|
+
contents.HeadersInBounceNotificationsEnabled = smithy_client_1.parseBoolean(output["HeadersInBounceNotificationsEnabled"]);
|
|
7161
7161
|
}
|
|
7162
7162
|
if (output["HeadersInComplaintNotificationsEnabled"] !== undefined) {
|
|
7163
|
-
contents.HeadersInComplaintNotificationsEnabled =
|
|
7163
|
+
contents.HeadersInComplaintNotificationsEnabled = smithy_client_1.parseBoolean(output["HeadersInComplaintNotificationsEnabled"]);
|
|
7164
7164
|
}
|
|
7165
7165
|
if (output["HeadersInDeliveryNotificationsEnabled"] !== undefined) {
|
|
7166
|
-
contents.HeadersInDeliveryNotificationsEnabled =
|
|
7166
|
+
contents.HeadersInDeliveryNotificationsEnabled = smithy_client_1.parseBoolean(output["HeadersInDeliveryNotificationsEnabled"]);
|
|
7167
7167
|
}
|
|
7168
7168
|
return contents;
|
|
7169
7169
|
};
|
|
@@ -7173,10 +7173,10 @@ const deserializeAws_queryIdentityVerificationAttributes = (output, context) =>
|
|
|
7173
7173
|
VerificationToken: undefined,
|
|
7174
7174
|
};
|
|
7175
7175
|
if (output["VerificationStatus"] !== undefined) {
|
|
7176
|
-
contents.VerificationStatus =
|
|
7176
|
+
contents.VerificationStatus = smithy_client_1.expectString(output["VerificationStatus"]);
|
|
7177
7177
|
}
|
|
7178
7178
|
if (output["VerificationToken"] !== undefined) {
|
|
7179
|
-
contents.VerificationToken =
|
|
7179
|
+
contents.VerificationToken = smithy_client_1.expectString(output["VerificationToken"]);
|
|
7180
7180
|
}
|
|
7181
7181
|
return contents;
|
|
7182
7182
|
};
|
|
@@ -7187,13 +7187,13 @@ const deserializeAws_queryInvalidCloudWatchDestinationException = (output, conte
|
|
|
7187
7187
|
message: undefined,
|
|
7188
7188
|
};
|
|
7189
7189
|
if (output["ConfigurationSetName"] !== undefined) {
|
|
7190
|
-
contents.ConfigurationSetName =
|
|
7190
|
+
contents.ConfigurationSetName = smithy_client_1.expectString(output["ConfigurationSetName"]);
|
|
7191
7191
|
}
|
|
7192
7192
|
if (output["EventDestinationName"] !== undefined) {
|
|
7193
|
-
contents.EventDestinationName =
|
|
7193
|
+
contents.EventDestinationName = smithy_client_1.expectString(output["EventDestinationName"]);
|
|
7194
7194
|
}
|
|
7195
7195
|
if (output["message"] !== undefined) {
|
|
7196
|
-
contents.message =
|
|
7196
|
+
contents.message = smithy_client_1.expectString(output["message"]);
|
|
7197
7197
|
}
|
|
7198
7198
|
return contents;
|
|
7199
7199
|
};
|
|
@@ -7202,7 +7202,7 @@ const deserializeAws_queryInvalidConfigurationSetException = (output, context) =
|
|
|
7202
7202
|
message: undefined,
|
|
7203
7203
|
};
|
|
7204
7204
|
if (output["message"] !== undefined) {
|
|
7205
|
-
contents.message =
|
|
7205
|
+
contents.message = smithy_client_1.expectString(output["message"]);
|
|
7206
7206
|
}
|
|
7207
7207
|
return contents;
|
|
7208
7208
|
};
|
|
@@ -7211,7 +7211,7 @@ const deserializeAws_queryInvalidDeliveryOptionsException = (output, context) =>
|
|
|
7211
7211
|
message: undefined,
|
|
7212
7212
|
};
|
|
7213
7213
|
if (output["message"] !== undefined) {
|
|
7214
|
-
contents.message =
|
|
7214
|
+
contents.message = smithy_client_1.expectString(output["message"]);
|
|
7215
7215
|
}
|
|
7216
7216
|
return contents;
|
|
7217
7217
|
};
|
|
@@ -7222,13 +7222,13 @@ const deserializeAws_queryInvalidFirehoseDestinationException = (output, context
|
|
|
7222
7222
|
message: undefined,
|
|
7223
7223
|
};
|
|
7224
7224
|
if (output["ConfigurationSetName"] !== undefined) {
|
|
7225
|
-
contents.ConfigurationSetName =
|
|
7225
|
+
contents.ConfigurationSetName = smithy_client_1.expectString(output["ConfigurationSetName"]);
|
|
7226
7226
|
}
|
|
7227
7227
|
if (output["EventDestinationName"] !== undefined) {
|
|
7228
|
-
contents.EventDestinationName =
|
|
7228
|
+
contents.EventDestinationName = smithy_client_1.expectString(output["EventDestinationName"]);
|
|
7229
7229
|
}
|
|
7230
7230
|
if (output["message"] !== undefined) {
|
|
7231
|
-
contents.message =
|
|
7231
|
+
contents.message = smithy_client_1.expectString(output["message"]);
|
|
7232
7232
|
}
|
|
7233
7233
|
return contents;
|
|
7234
7234
|
};
|
|
@@ -7238,10 +7238,10 @@ const deserializeAws_queryInvalidLambdaFunctionException = (output, context) =>
|
|
|
7238
7238
|
message: undefined,
|
|
7239
7239
|
};
|
|
7240
7240
|
if (output["FunctionArn"] !== undefined) {
|
|
7241
|
-
contents.FunctionArn =
|
|
7241
|
+
contents.FunctionArn = smithy_client_1.expectString(output["FunctionArn"]);
|
|
7242
7242
|
}
|
|
7243
7243
|
if (output["message"] !== undefined) {
|
|
7244
|
-
contents.message =
|
|
7244
|
+
contents.message = smithy_client_1.expectString(output["message"]);
|
|
7245
7245
|
}
|
|
7246
7246
|
return contents;
|
|
7247
7247
|
};
|
|
@@ -7250,7 +7250,7 @@ const deserializeAws_queryInvalidPolicyException = (output, context) => {
|
|
|
7250
7250
|
message: undefined,
|
|
7251
7251
|
};
|
|
7252
7252
|
if (output["message"] !== undefined) {
|
|
7253
|
-
contents.message =
|
|
7253
|
+
contents.message = smithy_client_1.expectString(output["message"]);
|
|
7254
7254
|
}
|
|
7255
7255
|
return contents;
|
|
7256
7256
|
};
|
|
@@ -7260,10 +7260,10 @@ const deserializeAws_queryInvalidRenderingParameterException = (output, context)
|
|
|
7260
7260
|
message: undefined,
|
|
7261
7261
|
};
|
|
7262
7262
|
if (output["TemplateName"] !== undefined) {
|
|
7263
|
-
contents.TemplateName =
|
|
7263
|
+
contents.TemplateName = smithy_client_1.expectString(output["TemplateName"]);
|
|
7264
7264
|
}
|
|
7265
7265
|
if (output["message"] !== undefined) {
|
|
7266
|
-
contents.message =
|
|
7266
|
+
contents.message = smithy_client_1.expectString(output["message"]);
|
|
7267
7267
|
}
|
|
7268
7268
|
return contents;
|
|
7269
7269
|
};
|
|
@@ -7273,10 +7273,10 @@ const deserializeAws_queryInvalidS3ConfigurationException = (output, context) =>
|
|
|
7273
7273
|
message: undefined,
|
|
7274
7274
|
};
|
|
7275
7275
|
if (output["Bucket"] !== undefined) {
|
|
7276
|
-
contents.Bucket =
|
|
7276
|
+
contents.Bucket = smithy_client_1.expectString(output["Bucket"]);
|
|
7277
7277
|
}
|
|
7278
7278
|
if (output["message"] !== undefined) {
|
|
7279
|
-
contents.message =
|
|
7279
|
+
contents.message = smithy_client_1.expectString(output["message"]);
|
|
7280
7280
|
}
|
|
7281
7281
|
return contents;
|
|
7282
7282
|
};
|
|
@@ -7287,13 +7287,13 @@ const deserializeAws_queryInvalidSNSDestinationException = (output, context) =>
|
|
|
7287
7287
|
message: undefined,
|
|
7288
7288
|
};
|
|
7289
7289
|
if (output["ConfigurationSetName"] !== undefined) {
|
|
7290
|
-
contents.ConfigurationSetName =
|
|
7290
|
+
contents.ConfigurationSetName = smithy_client_1.expectString(output["ConfigurationSetName"]);
|
|
7291
7291
|
}
|
|
7292
7292
|
if (output["EventDestinationName"] !== undefined) {
|
|
7293
|
-
contents.EventDestinationName =
|
|
7293
|
+
contents.EventDestinationName = smithy_client_1.expectString(output["EventDestinationName"]);
|
|
7294
7294
|
}
|
|
7295
7295
|
if (output["message"] !== undefined) {
|
|
7296
|
-
contents.message =
|
|
7296
|
+
contents.message = smithy_client_1.expectString(output["message"]);
|
|
7297
7297
|
}
|
|
7298
7298
|
return contents;
|
|
7299
7299
|
};
|
|
@@ -7303,10 +7303,10 @@ const deserializeAws_queryInvalidSnsTopicException = (output, context) => {
|
|
|
7303
7303
|
message: undefined,
|
|
7304
7304
|
};
|
|
7305
7305
|
if (output["Topic"] !== undefined) {
|
|
7306
|
-
contents.Topic =
|
|
7306
|
+
contents.Topic = smithy_client_1.expectString(output["Topic"]);
|
|
7307
7307
|
}
|
|
7308
7308
|
if (output["message"] !== undefined) {
|
|
7309
|
-
contents.message =
|
|
7309
|
+
contents.message = smithy_client_1.expectString(output["message"]);
|
|
7310
7310
|
}
|
|
7311
7311
|
return contents;
|
|
7312
7312
|
};
|
|
@@ -7316,10 +7316,10 @@ const deserializeAws_queryInvalidTemplateException = (output, context) => {
|
|
|
7316
7316
|
message: undefined,
|
|
7317
7317
|
};
|
|
7318
7318
|
if (output["TemplateName"] !== undefined) {
|
|
7319
|
-
contents.TemplateName =
|
|
7319
|
+
contents.TemplateName = smithy_client_1.expectString(output["TemplateName"]);
|
|
7320
7320
|
}
|
|
7321
7321
|
if (output["message"] !== undefined) {
|
|
7322
|
-
contents.message =
|
|
7322
|
+
contents.message = smithy_client_1.expectString(output["message"]);
|
|
7323
7323
|
}
|
|
7324
7324
|
return contents;
|
|
7325
7325
|
};
|
|
@@ -7328,7 +7328,7 @@ const deserializeAws_queryInvalidTrackingOptionsException = (output, context) =>
|
|
|
7328
7328
|
message: undefined,
|
|
7329
7329
|
};
|
|
7330
7330
|
if (output["message"] !== undefined) {
|
|
7331
|
-
contents.message =
|
|
7331
|
+
contents.message = smithy_client_1.expectString(output["message"]);
|
|
7332
7332
|
}
|
|
7333
7333
|
return contents;
|
|
7334
7334
|
};
|
|
@@ -7338,10 +7338,10 @@ const deserializeAws_queryKinesisFirehoseDestination = (output, context) => {
|
|
|
7338
7338
|
DeliveryStreamARN: undefined,
|
|
7339
7339
|
};
|
|
7340
7340
|
if (output["IAMRoleARN"] !== undefined) {
|
|
7341
|
-
contents.IAMRoleARN =
|
|
7341
|
+
contents.IAMRoleARN = smithy_client_1.expectString(output["IAMRoleARN"]);
|
|
7342
7342
|
}
|
|
7343
7343
|
if (output["DeliveryStreamARN"] !== undefined) {
|
|
7344
|
-
contents.DeliveryStreamARN =
|
|
7344
|
+
contents.DeliveryStreamARN = smithy_client_1.expectString(output["DeliveryStreamARN"]);
|
|
7345
7345
|
}
|
|
7346
7346
|
return contents;
|
|
7347
7347
|
};
|
|
@@ -7352,13 +7352,13 @@ const deserializeAws_queryLambdaAction = (output, context) => {
|
|
|
7352
7352
|
InvocationType: undefined,
|
|
7353
7353
|
};
|
|
7354
7354
|
if (output["TopicArn"] !== undefined) {
|
|
7355
|
-
contents.TopicArn =
|
|
7355
|
+
contents.TopicArn = smithy_client_1.expectString(output["TopicArn"]);
|
|
7356
7356
|
}
|
|
7357
7357
|
if (output["FunctionArn"] !== undefined) {
|
|
7358
|
-
contents.FunctionArn =
|
|
7358
|
+
contents.FunctionArn = smithy_client_1.expectString(output["FunctionArn"]);
|
|
7359
7359
|
}
|
|
7360
7360
|
if (output["InvocationType"] !== undefined) {
|
|
7361
|
-
contents.InvocationType =
|
|
7361
|
+
contents.InvocationType = smithy_client_1.expectString(output["InvocationType"]);
|
|
7362
7362
|
}
|
|
7363
7363
|
return contents;
|
|
7364
7364
|
};
|
|
@@ -7367,7 +7367,7 @@ const deserializeAws_queryLimitExceededException = (output, context) => {
|
|
|
7367
7367
|
message: undefined,
|
|
7368
7368
|
};
|
|
7369
7369
|
if (output["message"] !== undefined) {
|
|
7370
|
-
contents.message =
|
|
7370
|
+
contents.message = smithy_client_1.expectString(output["message"]);
|
|
7371
7371
|
}
|
|
7372
7372
|
return contents;
|
|
7373
7373
|
};
|
|
@@ -7380,10 +7380,10 @@ const deserializeAws_queryListConfigurationSetsResponse = (output, context) => {
|
|
|
7380
7380
|
contents.ConfigurationSets = [];
|
|
7381
7381
|
}
|
|
7382
7382
|
if (output["ConfigurationSets"] !== undefined && output["ConfigurationSets"]["member"] !== undefined) {
|
|
7383
|
-
contents.ConfigurationSets = deserializeAws_queryConfigurationSets(
|
|
7383
|
+
contents.ConfigurationSets = deserializeAws_queryConfigurationSets(smithy_client_1.getArrayIfSingleItem(output["ConfigurationSets"]["member"]), context);
|
|
7384
7384
|
}
|
|
7385
7385
|
if (output["NextToken"] !== undefined) {
|
|
7386
|
-
contents.NextToken =
|
|
7386
|
+
contents.NextToken = smithy_client_1.expectString(output["NextToken"]);
|
|
7387
7387
|
}
|
|
7388
7388
|
return contents;
|
|
7389
7389
|
};
|
|
@@ -7397,10 +7397,10 @@ const deserializeAws_queryListCustomVerificationEmailTemplatesResponse = (output
|
|
|
7397
7397
|
}
|
|
7398
7398
|
if (output["CustomVerificationEmailTemplates"] !== undefined &&
|
|
7399
7399
|
output["CustomVerificationEmailTemplates"]["member"] !== undefined) {
|
|
7400
|
-
contents.CustomVerificationEmailTemplates = deserializeAws_queryCustomVerificationEmailTemplates(
|
|
7400
|
+
contents.CustomVerificationEmailTemplates = deserializeAws_queryCustomVerificationEmailTemplates(smithy_client_1.getArrayIfSingleItem(output["CustomVerificationEmailTemplates"]["member"]), context);
|
|
7401
7401
|
}
|
|
7402
7402
|
if (output["NextToken"] !== undefined) {
|
|
7403
|
-
contents.NextToken =
|
|
7403
|
+
contents.NextToken = smithy_client_1.expectString(output["NextToken"]);
|
|
7404
7404
|
}
|
|
7405
7405
|
return contents;
|
|
7406
7406
|
};
|
|
@@ -7413,10 +7413,10 @@ const deserializeAws_queryListIdentitiesResponse = (output, context) => {
|
|
|
7413
7413
|
contents.Identities = [];
|
|
7414
7414
|
}
|
|
7415
7415
|
if (output["Identities"] !== undefined && output["Identities"]["member"] !== undefined) {
|
|
7416
|
-
contents.Identities = deserializeAws_queryIdentityList(
|
|
7416
|
+
contents.Identities = deserializeAws_queryIdentityList(smithy_client_1.getArrayIfSingleItem(output["Identities"]["member"]), context);
|
|
7417
7417
|
}
|
|
7418
7418
|
if (output["NextToken"] !== undefined) {
|
|
7419
|
-
contents.NextToken =
|
|
7419
|
+
contents.NextToken = smithy_client_1.expectString(output["NextToken"]);
|
|
7420
7420
|
}
|
|
7421
7421
|
return contents;
|
|
7422
7422
|
};
|
|
@@ -7428,7 +7428,7 @@ const deserializeAws_queryListIdentityPoliciesResponse = (output, context) => {
|
|
|
7428
7428
|
contents.PolicyNames = [];
|
|
7429
7429
|
}
|
|
7430
7430
|
if (output["PolicyNames"] !== undefined && output["PolicyNames"]["member"] !== undefined) {
|
|
7431
|
-
contents.PolicyNames = deserializeAws_queryPolicyNameList(
|
|
7431
|
+
contents.PolicyNames = deserializeAws_queryPolicyNameList(smithy_client_1.getArrayIfSingleItem(output["PolicyNames"]["member"]), context);
|
|
7432
7432
|
}
|
|
7433
7433
|
return contents;
|
|
7434
7434
|
};
|
|
@@ -7440,7 +7440,7 @@ const deserializeAws_queryListReceiptFiltersResponse = (output, context) => {
|
|
|
7440
7440
|
contents.Filters = [];
|
|
7441
7441
|
}
|
|
7442
7442
|
if (output["Filters"] !== undefined && output["Filters"]["member"] !== undefined) {
|
|
7443
|
-
contents.Filters = deserializeAws_queryReceiptFilterList(
|
|
7443
|
+
contents.Filters = deserializeAws_queryReceiptFilterList(smithy_client_1.getArrayIfSingleItem(output["Filters"]["member"]), context);
|
|
7444
7444
|
}
|
|
7445
7445
|
return contents;
|
|
7446
7446
|
};
|
|
@@ -7453,10 +7453,10 @@ const deserializeAws_queryListReceiptRuleSetsResponse = (output, context) => {
|
|
|
7453
7453
|
contents.RuleSets = [];
|
|
7454
7454
|
}
|
|
7455
7455
|
if (output["RuleSets"] !== undefined && output["RuleSets"]["member"] !== undefined) {
|
|
7456
|
-
contents.RuleSets = deserializeAws_queryReceiptRuleSetsLists(
|
|
7456
|
+
contents.RuleSets = deserializeAws_queryReceiptRuleSetsLists(smithy_client_1.getArrayIfSingleItem(output["RuleSets"]["member"]), context);
|
|
7457
7457
|
}
|
|
7458
7458
|
if (output["NextToken"] !== undefined) {
|
|
7459
|
-
contents.NextToken =
|
|
7459
|
+
contents.NextToken = smithy_client_1.expectString(output["NextToken"]);
|
|
7460
7460
|
}
|
|
7461
7461
|
return contents;
|
|
7462
7462
|
};
|
|
@@ -7469,10 +7469,10 @@ const deserializeAws_queryListTemplatesResponse = (output, context) => {
|
|
|
7469
7469
|
contents.TemplatesMetadata = [];
|
|
7470
7470
|
}
|
|
7471
7471
|
if (output["TemplatesMetadata"] !== undefined && output["TemplatesMetadata"]["member"] !== undefined) {
|
|
7472
|
-
contents.TemplatesMetadata = deserializeAws_queryTemplateMetadataList(
|
|
7472
|
+
contents.TemplatesMetadata = deserializeAws_queryTemplateMetadataList(smithy_client_1.getArrayIfSingleItem(output["TemplatesMetadata"]["member"]), context);
|
|
7473
7473
|
}
|
|
7474
7474
|
if (output["NextToken"] !== undefined) {
|
|
7475
|
-
contents.NextToken =
|
|
7475
|
+
contents.NextToken = smithy_client_1.expectString(output["NextToken"]);
|
|
7476
7476
|
}
|
|
7477
7477
|
return contents;
|
|
7478
7478
|
};
|
|
@@ -7484,7 +7484,7 @@ const deserializeAws_queryListVerifiedEmailAddressesResponse = (output, context)
|
|
|
7484
7484
|
contents.VerifiedEmailAddresses = [];
|
|
7485
7485
|
}
|
|
7486
7486
|
if (output["VerifiedEmailAddresses"] !== undefined && output["VerifiedEmailAddresses"]["member"] !== undefined) {
|
|
7487
|
-
contents.VerifiedEmailAddresses = deserializeAws_queryAddressList(
|
|
7487
|
+
contents.VerifiedEmailAddresses = deserializeAws_queryAddressList(smithy_client_1.getArrayIfSingleItem(output["VerifiedEmailAddresses"]["member"]), context);
|
|
7488
7488
|
}
|
|
7489
7489
|
return contents;
|
|
7490
7490
|
};
|
|
@@ -7504,7 +7504,7 @@ const deserializeAws_queryMailFromDomainNotVerifiedException = (output, context)
|
|
|
7504
7504
|
message: undefined,
|
|
7505
7505
|
};
|
|
7506
7506
|
if (output["message"] !== undefined) {
|
|
7507
|
-
contents.message =
|
|
7507
|
+
contents.message = smithy_client_1.expectString(output["message"]);
|
|
7508
7508
|
}
|
|
7509
7509
|
return contents;
|
|
7510
7510
|
};
|
|
@@ -7513,7 +7513,7 @@ const deserializeAws_queryMessageRejected = (output, context) => {
|
|
|
7513
7513
|
message: undefined,
|
|
7514
7514
|
};
|
|
7515
7515
|
if (output["message"] !== undefined) {
|
|
7516
|
-
contents.message =
|
|
7516
|
+
contents.message = smithy_client_1.expectString(output["message"]);
|
|
7517
7517
|
}
|
|
7518
7518
|
return contents;
|
|
7519
7519
|
};
|
|
@@ -7523,10 +7523,10 @@ const deserializeAws_queryMissingRenderingAttributeException = (output, context)
|
|
|
7523
7523
|
message: undefined,
|
|
7524
7524
|
};
|
|
7525
7525
|
if (output["TemplateName"] !== undefined) {
|
|
7526
|
-
contents.TemplateName =
|
|
7526
|
+
contents.TemplateName = smithy_client_1.expectString(output["TemplateName"]);
|
|
7527
7527
|
}
|
|
7528
7528
|
if (output["message"] !== undefined) {
|
|
7529
|
-
contents.message =
|
|
7529
|
+
contents.message = smithy_client_1.expectString(output["message"]);
|
|
7530
7530
|
}
|
|
7531
7531
|
return contents;
|
|
7532
7532
|
};
|
|
@@ -7548,7 +7548,7 @@ const deserializeAws_queryPolicyMap = (output, context) => {
|
|
|
7548
7548
|
}
|
|
7549
7549
|
return {
|
|
7550
7550
|
...acc,
|
|
7551
|
-
[pair["key"]]:
|
|
7551
|
+
[pair["key"]]: smithy_client_1.expectString(pair["value"]),
|
|
7552
7552
|
};
|
|
7553
7553
|
}, {});
|
|
7554
7554
|
};
|
|
@@ -7559,7 +7559,7 @@ const deserializeAws_queryPolicyNameList = (output, context) => {
|
|
|
7559
7559
|
if (entry === null) {
|
|
7560
7560
|
return null;
|
|
7561
7561
|
}
|
|
7562
|
-
return
|
|
7562
|
+
return smithy_client_1.expectString(entry);
|
|
7563
7563
|
});
|
|
7564
7564
|
};
|
|
7565
7565
|
const deserializeAws_queryProductionAccessNotGrantedException = (output, context) => {
|
|
@@ -7567,7 +7567,7 @@ const deserializeAws_queryProductionAccessNotGrantedException = (output, context
|
|
|
7567
7567
|
message: undefined,
|
|
7568
7568
|
};
|
|
7569
7569
|
if (output["message"] !== undefined) {
|
|
7570
|
-
contents.message =
|
|
7570
|
+
contents.message = smithy_client_1.expectString(output["message"]);
|
|
7571
7571
|
}
|
|
7572
7572
|
return contents;
|
|
7573
7573
|
};
|
|
@@ -7628,7 +7628,7 @@ const deserializeAws_queryReceiptFilter = (output, context) => {
|
|
|
7628
7628
|
IpFilter: undefined,
|
|
7629
7629
|
};
|
|
7630
7630
|
if (output["Name"] !== undefined) {
|
|
7631
|
-
contents.Name =
|
|
7631
|
+
contents.Name = smithy_client_1.expectString(output["Name"]);
|
|
7632
7632
|
}
|
|
7633
7633
|
if (output["IpFilter"] !== undefined) {
|
|
7634
7634
|
contents.IpFilter = deserializeAws_queryReceiptIpFilter(output["IpFilter"], context);
|
|
@@ -7651,10 +7651,10 @@ const deserializeAws_queryReceiptIpFilter = (output, context) => {
|
|
|
7651
7651
|
Cidr: undefined,
|
|
7652
7652
|
};
|
|
7653
7653
|
if (output["Policy"] !== undefined) {
|
|
7654
|
-
contents.Policy =
|
|
7654
|
+
contents.Policy = smithy_client_1.expectString(output["Policy"]);
|
|
7655
7655
|
}
|
|
7656
7656
|
if (output["Cidr"] !== undefined) {
|
|
7657
|
-
contents.Cidr =
|
|
7657
|
+
contents.Cidr = smithy_client_1.expectString(output["Cidr"]);
|
|
7658
7658
|
}
|
|
7659
7659
|
return contents;
|
|
7660
7660
|
};
|
|
@@ -7668,28 +7668,28 @@ const deserializeAws_queryReceiptRule = (output, context) => {
|
|
|
7668
7668
|
ScanEnabled: undefined,
|
|
7669
7669
|
};
|
|
7670
7670
|
if (output["Name"] !== undefined) {
|
|
7671
|
-
contents.Name =
|
|
7671
|
+
contents.Name = smithy_client_1.expectString(output["Name"]);
|
|
7672
7672
|
}
|
|
7673
7673
|
if (output["Enabled"] !== undefined) {
|
|
7674
|
-
contents.Enabled =
|
|
7674
|
+
contents.Enabled = smithy_client_1.parseBoolean(output["Enabled"]);
|
|
7675
7675
|
}
|
|
7676
7676
|
if (output["TlsPolicy"] !== undefined) {
|
|
7677
|
-
contents.TlsPolicy =
|
|
7677
|
+
contents.TlsPolicy = smithy_client_1.expectString(output["TlsPolicy"]);
|
|
7678
7678
|
}
|
|
7679
7679
|
if (output.Recipients === "") {
|
|
7680
7680
|
contents.Recipients = [];
|
|
7681
7681
|
}
|
|
7682
7682
|
if (output["Recipients"] !== undefined && output["Recipients"]["member"] !== undefined) {
|
|
7683
|
-
contents.Recipients = deserializeAws_queryRecipientsList(
|
|
7683
|
+
contents.Recipients = deserializeAws_queryRecipientsList(smithy_client_1.getArrayIfSingleItem(output["Recipients"]["member"]), context);
|
|
7684
7684
|
}
|
|
7685
7685
|
if (output.Actions === "") {
|
|
7686
7686
|
contents.Actions = [];
|
|
7687
7687
|
}
|
|
7688
7688
|
if (output["Actions"] !== undefined && output["Actions"]["member"] !== undefined) {
|
|
7689
|
-
contents.Actions = deserializeAws_queryReceiptActionsList(
|
|
7689
|
+
contents.Actions = deserializeAws_queryReceiptActionsList(smithy_client_1.getArrayIfSingleItem(output["Actions"]["member"]), context);
|
|
7690
7690
|
}
|
|
7691
7691
|
if (output["ScanEnabled"] !== undefined) {
|
|
7692
|
-
contents.ScanEnabled =
|
|
7692
|
+
contents.ScanEnabled = smithy_client_1.parseBoolean(output["ScanEnabled"]);
|
|
7693
7693
|
}
|
|
7694
7694
|
return contents;
|
|
7695
7695
|
};
|
|
@@ -7699,10 +7699,10 @@ const deserializeAws_queryReceiptRuleSetMetadata = (output, context) => {
|
|
|
7699
7699
|
CreatedTimestamp: undefined,
|
|
7700
7700
|
};
|
|
7701
7701
|
if (output["Name"] !== undefined) {
|
|
7702
|
-
contents.Name =
|
|
7702
|
+
contents.Name = smithy_client_1.expectString(output["Name"]);
|
|
7703
7703
|
}
|
|
7704
7704
|
if (output["CreatedTimestamp"] !== undefined) {
|
|
7705
|
-
contents.CreatedTimestamp =
|
|
7705
|
+
contents.CreatedTimestamp = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["CreatedTimestamp"]));
|
|
7706
7706
|
}
|
|
7707
7707
|
return contents;
|
|
7708
7708
|
};
|
|
@@ -7733,7 +7733,7 @@ const deserializeAws_queryRecipientsList = (output, context) => {
|
|
|
7733
7733
|
if (entry === null) {
|
|
7734
7734
|
return null;
|
|
7735
7735
|
}
|
|
7736
|
-
return
|
|
7736
|
+
return smithy_client_1.expectString(entry);
|
|
7737
7737
|
});
|
|
7738
7738
|
};
|
|
7739
7739
|
const deserializeAws_queryReorderReceiptRuleSetResponse = (output, context) => {
|
|
@@ -7747,13 +7747,13 @@ const deserializeAws_queryReputationOptions = (output, context) => {
|
|
|
7747
7747
|
LastFreshStart: undefined,
|
|
7748
7748
|
};
|
|
7749
7749
|
if (output["SendingEnabled"] !== undefined) {
|
|
7750
|
-
contents.SendingEnabled =
|
|
7750
|
+
contents.SendingEnabled = smithy_client_1.parseBoolean(output["SendingEnabled"]);
|
|
7751
7751
|
}
|
|
7752
7752
|
if (output["ReputationMetricsEnabled"] !== undefined) {
|
|
7753
|
-
contents.ReputationMetricsEnabled =
|
|
7753
|
+
contents.ReputationMetricsEnabled = smithy_client_1.parseBoolean(output["ReputationMetricsEnabled"]);
|
|
7754
7754
|
}
|
|
7755
7755
|
if (output["LastFreshStart"] !== undefined) {
|
|
7756
|
-
contents.LastFreshStart =
|
|
7756
|
+
contents.LastFreshStart = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["LastFreshStart"]));
|
|
7757
7757
|
}
|
|
7758
7758
|
return contents;
|
|
7759
7759
|
};
|
|
@@ -7763,10 +7763,10 @@ const deserializeAws_queryRuleDoesNotExistException = (output, context) => {
|
|
|
7763
7763
|
message: undefined,
|
|
7764
7764
|
};
|
|
7765
7765
|
if (output["Name"] !== undefined) {
|
|
7766
|
-
contents.Name =
|
|
7766
|
+
contents.Name = smithy_client_1.expectString(output["Name"]);
|
|
7767
7767
|
}
|
|
7768
7768
|
if (output["message"] !== undefined) {
|
|
7769
|
-
contents.message =
|
|
7769
|
+
contents.message = smithy_client_1.expectString(output["message"]);
|
|
7770
7770
|
}
|
|
7771
7771
|
return contents;
|
|
7772
7772
|
};
|
|
@@ -7776,10 +7776,10 @@ const deserializeAws_queryRuleSetDoesNotExistException = (output, context) => {
|
|
|
7776
7776
|
message: undefined,
|
|
7777
7777
|
};
|
|
7778
7778
|
if (output["Name"] !== undefined) {
|
|
7779
|
-
contents.Name =
|
|
7779
|
+
contents.Name = smithy_client_1.expectString(output["Name"]);
|
|
7780
7780
|
}
|
|
7781
7781
|
if (output["message"] !== undefined) {
|
|
7782
|
-
contents.message =
|
|
7782
|
+
contents.message = smithy_client_1.expectString(output["message"]);
|
|
7783
7783
|
}
|
|
7784
7784
|
return contents;
|
|
7785
7785
|
};
|
|
@@ -7791,16 +7791,16 @@ const deserializeAws_queryS3Action = (output, context) => {
|
|
|
7791
7791
|
KmsKeyArn: undefined,
|
|
7792
7792
|
};
|
|
7793
7793
|
if (output["TopicArn"] !== undefined) {
|
|
7794
|
-
contents.TopicArn =
|
|
7794
|
+
contents.TopicArn = smithy_client_1.expectString(output["TopicArn"]);
|
|
7795
7795
|
}
|
|
7796
7796
|
if (output["BucketName"] !== undefined) {
|
|
7797
|
-
contents.BucketName =
|
|
7797
|
+
contents.BucketName = smithy_client_1.expectString(output["BucketName"]);
|
|
7798
7798
|
}
|
|
7799
7799
|
if (output["ObjectKeyPrefix"] !== undefined) {
|
|
7800
|
-
contents.ObjectKeyPrefix =
|
|
7800
|
+
contents.ObjectKeyPrefix = smithy_client_1.expectString(output["ObjectKeyPrefix"]);
|
|
7801
7801
|
}
|
|
7802
7802
|
if (output["KmsKeyArn"] !== undefined) {
|
|
7803
|
-
contents.KmsKeyArn =
|
|
7803
|
+
contents.KmsKeyArn = smithy_client_1.expectString(output["KmsKeyArn"]);
|
|
7804
7804
|
}
|
|
7805
7805
|
return contents;
|
|
7806
7806
|
};
|
|
@@ -7809,7 +7809,7 @@ const deserializeAws_querySendBounceResponse = (output, context) => {
|
|
|
7809
7809
|
MessageId: undefined,
|
|
7810
7810
|
};
|
|
7811
7811
|
if (output["MessageId"] !== undefined) {
|
|
7812
|
-
contents.MessageId =
|
|
7812
|
+
contents.MessageId = smithy_client_1.expectString(output["MessageId"]);
|
|
7813
7813
|
}
|
|
7814
7814
|
return contents;
|
|
7815
7815
|
};
|
|
@@ -7821,7 +7821,7 @@ const deserializeAws_querySendBulkTemplatedEmailResponse = (output, context) =>
|
|
|
7821
7821
|
contents.Status = [];
|
|
7822
7822
|
}
|
|
7823
7823
|
if (output["Status"] !== undefined && output["Status"]["member"] !== undefined) {
|
|
7824
|
-
contents.Status = deserializeAws_queryBulkEmailDestinationStatusList(
|
|
7824
|
+
contents.Status = deserializeAws_queryBulkEmailDestinationStatusList(smithy_client_1.getArrayIfSingleItem(output["Status"]["member"]), context);
|
|
7825
7825
|
}
|
|
7826
7826
|
return contents;
|
|
7827
7827
|
};
|
|
@@ -7830,7 +7830,7 @@ const deserializeAws_querySendCustomVerificationEmailResponse = (output, context
|
|
|
7830
7830
|
MessageId: undefined,
|
|
7831
7831
|
};
|
|
7832
7832
|
if (output["MessageId"] !== undefined) {
|
|
7833
|
-
contents.MessageId =
|
|
7833
|
+
contents.MessageId = smithy_client_1.expectString(output["MessageId"]);
|
|
7834
7834
|
}
|
|
7835
7835
|
return contents;
|
|
7836
7836
|
};
|
|
@@ -7843,19 +7843,19 @@ const deserializeAws_querySendDataPoint = (output, context) => {
|
|
|
7843
7843
|
Rejects: undefined,
|
|
7844
7844
|
};
|
|
7845
7845
|
if (output["Timestamp"] !== undefined) {
|
|
7846
|
-
contents.Timestamp =
|
|
7846
|
+
contents.Timestamp = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["Timestamp"]));
|
|
7847
7847
|
}
|
|
7848
7848
|
if (output["DeliveryAttempts"] !== undefined) {
|
|
7849
|
-
contents.DeliveryAttempts =
|
|
7849
|
+
contents.DeliveryAttempts = smithy_client_1.strictParseLong(output["DeliveryAttempts"]);
|
|
7850
7850
|
}
|
|
7851
7851
|
if (output["Bounces"] !== undefined) {
|
|
7852
|
-
contents.Bounces =
|
|
7852
|
+
contents.Bounces = smithy_client_1.strictParseLong(output["Bounces"]);
|
|
7853
7853
|
}
|
|
7854
7854
|
if (output["Complaints"] !== undefined) {
|
|
7855
|
-
contents.Complaints =
|
|
7855
|
+
contents.Complaints = smithy_client_1.strictParseLong(output["Complaints"]);
|
|
7856
7856
|
}
|
|
7857
7857
|
if (output["Rejects"] !== undefined) {
|
|
7858
|
-
contents.Rejects =
|
|
7858
|
+
contents.Rejects = smithy_client_1.strictParseLong(output["Rejects"]);
|
|
7859
7859
|
}
|
|
7860
7860
|
return contents;
|
|
7861
7861
|
};
|
|
@@ -7874,7 +7874,7 @@ const deserializeAws_querySendEmailResponse = (output, context) => {
|
|
|
7874
7874
|
MessageId: undefined,
|
|
7875
7875
|
};
|
|
7876
7876
|
if (output["MessageId"] !== undefined) {
|
|
7877
|
-
contents.MessageId =
|
|
7877
|
+
contents.MessageId = smithy_client_1.expectString(output["MessageId"]);
|
|
7878
7878
|
}
|
|
7879
7879
|
return contents;
|
|
7880
7880
|
};
|
|
@@ -7883,7 +7883,7 @@ const deserializeAws_querySendRawEmailResponse = (output, context) => {
|
|
|
7883
7883
|
MessageId: undefined,
|
|
7884
7884
|
};
|
|
7885
7885
|
if (output["MessageId"] !== undefined) {
|
|
7886
|
-
contents.MessageId =
|
|
7886
|
+
contents.MessageId = smithy_client_1.expectString(output["MessageId"]);
|
|
7887
7887
|
}
|
|
7888
7888
|
return contents;
|
|
7889
7889
|
};
|
|
@@ -7892,7 +7892,7 @@ const deserializeAws_querySendTemplatedEmailResponse = (output, context) => {
|
|
|
7892
7892
|
MessageId: undefined,
|
|
7893
7893
|
};
|
|
7894
7894
|
if (output["MessageId"] !== undefined) {
|
|
7895
|
-
contents.MessageId =
|
|
7895
|
+
contents.MessageId = smithy_client_1.expectString(output["MessageId"]);
|
|
7896
7896
|
}
|
|
7897
7897
|
return contents;
|
|
7898
7898
|
};
|
|
@@ -7930,10 +7930,10 @@ const deserializeAws_querySNSAction = (output, context) => {
|
|
|
7930
7930
|
Encoding: undefined,
|
|
7931
7931
|
};
|
|
7932
7932
|
if (output["TopicArn"] !== undefined) {
|
|
7933
|
-
contents.TopicArn =
|
|
7933
|
+
contents.TopicArn = smithy_client_1.expectString(output["TopicArn"]);
|
|
7934
7934
|
}
|
|
7935
7935
|
if (output["Encoding"] !== undefined) {
|
|
7936
|
-
contents.Encoding =
|
|
7936
|
+
contents.Encoding = smithy_client_1.expectString(output["Encoding"]);
|
|
7937
7937
|
}
|
|
7938
7938
|
return contents;
|
|
7939
7939
|
};
|
|
@@ -7942,7 +7942,7 @@ const deserializeAws_querySNSDestination = (output, context) => {
|
|
|
7942
7942
|
TopicARN: undefined,
|
|
7943
7943
|
};
|
|
7944
7944
|
if (output["TopicARN"] !== undefined) {
|
|
7945
|
-
contents.TopicARN =
|
|
7945
|
+
contents.TopicARN = smithy_client_1.expectString(output["TopicARN"]);
|
|
7946
7946
|
}
|
|
7947
7947
|
return contents;
|
|
7948
7948
|
};
|
|
@@ -7952,10 +7952,10 @@ const deserializeAws_queryStopAction = (output, context) => {
|
|
|
7952
7952
|
TopicArn: undefined,
|
|
7953
7953
|
};
|
|
7954
7954
|
if (output["Scope"] !== undefined) {
|
|
7955
|
-
contents.Scope =
|
|
7955
|
+
contents.Scope = smithy_client_1.expectString(output["Scope"]);
|
|
7956
7956
|
}
|
|
7957
7957
|
if (output["TopicArn"] !== undefined) {
|
|
7958
|
-
contents.TopicArn =
|
|
7958
|
+
contents.TopicArn = smithy_client_1.expectString(output["TopicArn"]);
|
|
7959
7959
|
}
|
|
7960
7960
|
return contents;
|
|
7961
7961
|
};
|
|
@@ -7967,16 +7967,16 @@ const deserializeAws_queryTemplate = (output, context) => {
|
|
|
7967
7967
|
HtmlPart: undefined,
|
|
7968
7968
|
};
|
|
7969
7969
|
if (output["TemplateName"] !== undefined) {
|
|
7970
|
-
contents.TemplateName =
|
|
7970
|
+
contents.TemplateName = smithy_client_1.expectString(output["TemplateName"]);
|
|
7971
7971
|
}
|
|
7972
7972
|
if (output["SubjectPart"] !== undefined) {
|
|
7973
|
-
contents.SubjectPart =
|
|
7973
|
+
contents.SubjectPart = smithy_client_1.expectString(output["SubjectPart"]);
|
|
7974
7974
|
}
|
|
7975
7975
|
if (output["TextPart"] !== undefined) {
|
|
7976
|
-
contents.TextPart =
|
|
7976
|
+
contents.TextPart = smithy_client_1.expectString(output["TextPart"]);
|
|
7977
7977
|
}
|
|
7978
7978
|
if (output["HtmlPart"] !== undefined) {
|
|
7979
|
-
contents.HtmlPart =
|
|
7979
|
+
contents.HtmlPart = smithy_client_1.expectString(output["HtmlPart"]);
|
|
7980
7980
|
}
|
|
7981
7981
|
return contents;
|
|
7982
7982
|
};
|
|
@@ -7986,10 +7986,10 @@ const deserializeAws_queryTemplateDoesNotExistException = (output, context) => {
|
|
|
7986
7986
|
message: undefined,
|
|
7987
7987
|
};
|
|
7988
7988
|
if (output["TemplateName"] !== undefined) {
|
|
7989
|
-
contents.TemplateName =
|
|
7989
|
+
contents.TemplateName = smithy_client_1.expectString(output["TemplateName"]);
|
|
7990
7990
|
}
|
|
7991
7991
|
if (output["message"] !== undefined) {
|
|
7992
|
-
contents.message =
|
|
7992
|
+
contents.message = smithy_client_1.expectString(output["message"]);
|
|
7993
7993
|
}
|
|
7994
7994
|
return contents;
|
|
7995
7995
|
};
|
|
@@ -7999,10 +7999,10 @@ const deserializeAws_queryTemplateMetadata = (output, context) => {
|
|
|
7999
7999
|
CreatedTimestamp: undefined,
|
|
8000
8000
|
};
|
|
8001
8001
|
if (output["Name"] !== undefined) {
|
|
8002
|
-
contents.Name =
|
|
8002
|
+
contents.Name = smithy_client_1.expectString(output["Name"]);
|
|
8003
8003
|
}
|
|
8004
8004
|
if (output["CreatedTimestamp"] !== undefined) {
|
|
8005
|
-
contents.CreatedTimestamp =
|
|
8005
|
+
contents.CreatedTimestamp = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["CreatedTimestamp"]));
|
|
8006
8006
|
}
|
|
8007
8007
|
return contents;
|
|
8008
8008
|
};
|
|
@@ -8021,7 +8021,7 @@ const deserializeAws_queryTestRenderTemplateResponse = (output, context) => {
|
|
|
8021
8021
|
RenderedTemplate: undefined,
|
|
8022
8022
|
};
|
|
8023
8023
|
if (output["RenderedTemplate"] !== undefined) {
|
|
8024
|
-
contents.RenderedTemplate =
|
|
8024
|
+
contents.RenderedTemplate = smithy_client_1.expectString(output["RenderedTemplate"]);
|
|
8025
8025
|
}
|
|
8026
8026
|
return contents;
|
|
8027
8027
|
};
|
|
@@ -8030,7 +8030,7 @@ const deserializeAws_queryTrackingOptions = (output, context) => {
|
|
|
8030
8030
|
CustomRedirectDomain: undefined,
|
|
8031
8031
|
};
|
|
8032
8032
|
if (output["CustomRedirectDomain"] !== undefined) {
|
|
8033
|
-
contents.CustomRedirectDomain =
|
|
8033
|
+
contents.CustomRedirectDomain = smithy_client_1.expectString(output["CustomRedirectDomain"]);
|
|
8034
8034
|
}
|
|
8035
8035
|
return contents;
|
|
8036
8036
|
};
|
|
@@ -8040,10 +8040,10 @@ const deserializeAws_queryTrackingOptionsAlreadyExistsException = (output, conte
|
|
|
8040
8040
|
message: undefined,
|
|
8041
8041
|
};
|
|
8042
8042
|
if (output["ConfigurationSetName"] !== undefined) {
|
|
8043
|
-
contents.ConfigurationSetName =
|
|
8043
|
+
contents.ConfigurationSetName = smithy_client_1.expectString(output["ConfigurationSetName"]);
|
|
8044
8044
|
}
|
|
8045
8045
|
if (output["message"] !== undefined) {
|
|
8046
|
-
contents.message =
|
|
8046
|
+
contents.message = smithy_client_1.expectString(output["message"]);
|
|
8047
8047
|
}
|
|
8048
8048
|
return contents;
|
|
8049
8049
|
};
|
|
@@ -8053,10 +8053,10 @@ const deserializeAws_queryTrackingOptionsDoesNotExistException = (output, contex
|
|
|
8053
8053
|
message: undefined,
|
|
8054
8054
|
};
|
|
8055
8055
|
if (output["ConfigurationSetName"] !== undefined) {
|
|
8056
|
-
contents.ConfigurationSetName =
|
|
8056
|
+
contents.ConfigurationSetName = smithy_client_1.expectString(output["ConfigurationSetName"]);
|
|
8057
8057
|
}
|
|
8058
8058
|
if (output["message"] !== undefined) {
|
|
8059
|
-
contents.message =
|
|
8059
|
+
contents.message = smithy_client_1.expectString(output["message"]);
|
|
8060
8060
|
}
|
|
8061
8061
|
return contents;
|
|
8062
8062
|
};
|
|
@@ -8094,7 +8094,7 @@ const deserializeAws_queryVerificationTokenList = (output, context) => {
|
|
|
8094
8094
|
if (entry === null) {
|
|
8095
8095
|
return null;
|
|
8096
8096
|
}
|
|
8097
|
-
return
|
|
8097
|
+
return smithy_client_1.expectString(entry);
|
|
8098
8098
|
});
|
|
8099
8099
|
};
|
|
8100
8100
|
const deserializeAws_queryVerifyDomainDkimResponse = (output, context) => {
|
|
@@ -8105,7 +8105,7 @@ const deserializeAws_queryVerifyDomainDkimResponse = (output, context) => {
|
|
|
8105
8105
|
contents.DkimTokens = [];
|
|
8106
8106
|
}
|
|
8107
8107
|
if (output["DkimTokens"] !== undefined && output["DkimTokens"]["member"] !== undefined) {
|
|
8108
|
-
contents.DkimTokens = deserializeAws_queryVerificationTokenList(
|
|
8108
|
+
contents.DkimTokens = deserializeAws_queryVerificationTokenList(smithy_client_1.getArrayIfSingleItem(output["DkimTokens"]["member"]), context);
|
|
8109
8109
|
}
|
|
8110
8110
|
return contents;
|
|
8111
8111
|
};
|
|
@@ -8114,7 +8114,7 @@ const deserializeAws_queryVerifyDomainIdentityResponse = (output, context) => {
|
|
|
8114
8114
|
VerificationToken: undefined,
|
|
8115
8115
|
};
|
|
8116
8116
|
if (output["VerificationToken"] !== undefined) {
|
|
8117
|
-
contents.VerificationToken =
|
|
8117
|
+
contents.VerificationToken = smithy_client_1.expectString(output["VerificationToken"]);
|
|
8118
8118
|
}
|
|
8119
8119
|
return contents;
|
|
8120
8120
|
};
|
|
@@ -8128,10 +8128,10 @@ const deserializeAws_queryWorkmailAction = (output, context) => {
|
|
|
8128
8128
|
OrganizationArn: undefined,
|
|
8129
8129
|
};
|
|
8130
8130
|
if (output["TopicArn"] !== undefined) {
|
|
8131
|
-
contents.TopicArn =
|
|
8131
|
+
contents.TopicArn = smithy_client_1.expectString(output["TopicArn"]);
|
|
8132
8132
|
}
|
|
8133
8133
|
if (output["OrganizationArn"] !== undefined) {
|
|
8134
|
-
contents.OrganizationArn =
|
|
8134
|
+
contents.OrganizationArn = smithy_client_1.expectString(output["OrganizationArn"]);
|
|
8135
8135
|
}
|
|
8136
8136
|
return contents;
|
|
8137
8137
|
};
|
|
@@ -8173,12 +8173,12 @@ const buildHttpRpcRequest = async (context, headers, path, resolvedHostname, bod
|
|
|
8173
8173
|
};
|
|
8174
8174
|
const parseBody = (streamBody, context) => collectBodyString(streamBody, context).then((encoded) => {
|
|
8175
8175
|
if (encoded.length) {
|
|
8176
|
-
const parsedObj =
|
|
8176
|
+
const parsedObj = fast_xml_parser_1.parse(encoded, {
|
|
8177
8177
|
attributeNamePrefix: "",
|
|
8178
8178
|
ignoreAttributes: false,
|
|
8179
8179
|
parseNodeValue: false,
|
|
8180
8180
|
trimValues: false,
|
|
8181
|
-
tagValueProcessor: (val) => (val.trim() === "" && val.includes("\n") ? "" :
|
|
8181
|
+
tagValueProcessor: (val) => (val.trim() === "" && val.includes("\n") ? "" : entities_1.decodeHTML(val)),
|
|
8182
8182
|
});
|
|
8183
8183
|
const textNodeName = "#text";
|
|
8184
8184
|
const key = Object.keys(parsedObj)[0];
|
|
@@ -8187,12 +8187,12 @@ const parseBody = (streamBody, context) => collectBodyString(streamBody, context
|
|
|
8187
8187
|
parsedObjToReturn[key] = parsedObjToReturn[textNodeName];
|
|
8188
8188
|
delete parsedObjToReturn[textNodeName];
|
|
8189
8189
|
}
|
|
8190
|
-
return
|
|
8190
|
+
return smithy_client_1.getValueFromTextNode(parsedObjToReturn);
|
|
8191
8191
|
}
|
|
8192
8192
|
return {};
|
|
8193
8193
|
});
|
|
8194
8194
|
const buildFormUrlencodedString = (formEntries) => Object.entries(formEntries)
|
|
8195
|
-
.map(([key, value]) =>
|
|
8195
|
+
.map(([key, value]) => smithy_client_1.extendedEncodeURIComponent(key) + "=" + smithy_client_1.extendedEncodeURIComponent(value))
|
|
8196
8196
|
.join("&");
|
|
8197
8197
|
const loadQueryErrorCode = (output, data) => {
|
|
8198
8198
|
if (data.Error.Code !== undefined) {
|