@aws-sdk/client-ses 3.186.0 → 3.188.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/protocols/Aws_query.js +8 -4
- package/dist-es/SES.js +286 -293
- package/dist-es/SESClient.js +22 -28
- package/dist-es/commands/CloneReceiptRuleSetCommand.js +21 -28
- package/dist-es/commands/CreateConfigurationSetCommand.js +21 -28
- package/dist-es/commands/CreateConfigurationSetEventDestinationCommand.js +21 -28
- package/dist-es/commands/CreateConfigurationSetTrackingOptionsCommand.js +21 -28
- package/dist-es/commands/CreateCustomVerificationEmailTemplateCommand.js +22 -29
- package/dist-es/commands/CreateReceiptFilterCommand.js +21 -28
- package/dist-es/commands/CreateReceiptRuleCommand.js +21 -28
- package/dist-es/commands/CreateReceiptRuleSetCommand.js +21 -28
- package/dist-es/commands/CreateTemplateCommand.js +21 -28
- package/dist-es/commands/DeleteConfigurationSetCommand.js +21 -28
- package/dist-es/commands/DeleteConfigurationSetEventDestinationCommand.js +21 -28
- package/dist-es/commands/DeleteConfigurationSetTrackingOptionsCommand.js +21 -28
- package/dist-es/commands/DeleteCustomVerificationEmailTemplateCommand.js +22 -29
- package/dist-es/commands/DeleteIdentityCommand.js +21 -28
- package/dist-es/commands/DeleteIdentityPolicyCommand.js +21 -28
- package/dist-es/commands/DeleteReceiptFilterCommand.js +21 -28
- package/dist-es/commands/DeleteReceiptRuleCommand.js +21 -28
- package/dist-es/commands/DeleteReceiptRuleSetCommand.js +21 -28
- package/dist-es/commands/DeleteTemplateCommand.js +21 -28
- package/dist-es/commands/DeleteVerifiedEmailAddressCommand.js +22 -29
- package/dist-es/commands/DescribeActiveReceiptRuleSetCommand.js +21 -28
- package/dist-es/commands/DescribeConfigurationSetCommand.js +21 -28
- package/dist-es/commands/DescribeReceiptRuleCommand.js +21 -28
- package/dist-es/commands/DescribeReceiptRuleSetCommand.js +21 -28
- package/dist-es/commands/GetAccountSendingEnabledCommand.js +22 -29
- package/dist-es/commands/GetCustomVerificationEmailTemplateCommand.js +21 -28
- package/dist-es/commands/GetIdentityDkimAttributesCommand.js +21 -28
- package/dist-es/commands/GetIdentityMailFromDomainAttributesCommand.js +21 -28
- package/dist-es/commands/GetIdentityNotificationAttributesCommand.js +21 -28
- package/dist-es/commands/GetIdentityPoliciesCommand.js +21 -28
- package/dist-es/commands/GetIdentityVerificationAttributesCommand.js +21 -28
- package/dist-es/commands/GetSendQuotaCommand.js +22 -29
- package/dist-es/commands/GetSendStatisticsCommand.js +22 -29
- package/dist-es/commands/GetTemplateCommand.js +21 -28
- package/dist-es/commands/ListConfigurationSetsCommand.js +21 -28
- package/dist-es/commands/ListCustomVerificationEmailTemplatesCommand.js +21 -28
- package/dist-es/commands/ListIdentitiesCommand.js +21 -28
- package/dist-es/commands/ListIdentityPoliciesCommand.js +21 -28
- package/dist-es/commands/ListReceiptFiltersCommand.js +21 -28
- package/dist-es/commands/ListReceiptRuleSetsCommand.js +21 -28
- package/dist-es/commands/ListTemplatesCommand.js +21 -28
- package/dist-es/commands/ListVerifiedEmailAddressesCommand.js +22 -29
- package/dist-es/commands/PutConfigurationSetDeliveryOptionsCommand.js +21 -28
- package/dist-es/commands/PutIdentityPolicyCommand.js +21 -28
- package/dist-es/commands/ReorderReceiptRuleSetCommand.js +21 -28
- package/dist-es/commands/SendBounceCommand.js +21 -28
- package/dist-es/commands/SendBulkTemplatedEmailCommand.js +21 -28
- package/dist-es/commands/SendCustomVerificationEmailCommand.js +21 -28
- package/dist-es/commands/SendEmailCommand.js +21 -28
- package/dist-es/commands/SendRawEmailCommand.js +21 -28
- package/dist-es/commands/SendTemplatedEmailCommand.js +21 -28
- package/dist-es/commands/SetActiveReceiptRuleSetCommand.js +21 -28
- package/dist-es/commands/SetIdentityDkimEnabledCommand.js +21 -28
- package/dist-es/commands/SetIdentityFeedbackForwardingEnabledCommand.js +21 -28
- package/dist-es/commands/SetIdentityHeadersInNotificationsEnabledCommand.js +21 -28
- package/dist-es/commands/SetIdentityMailFromDomainCommand.js +21 -28
- package/dist-es/commands/SetIdentityNotificationTopicCommand.js +21 -28
- package/dist-es/commands/SetReceiptRulePositionCommand.js +21 -28
- package/dist-es/commands/TestRenderTemplateCommand.js +21 -28
- package/dist-es/commands/UpdateAccountSendingEnabledCommand.js +22 -29
- package/dist-es/commands/UpdateConfigurationSetEventDestinationCommand.js +21 -28
- package/dist-es/commands/UpdateConfigurationSetReputationMetricsEnabledCommand.js +22 -29
- package/dist-es/commands/UpdateConfigurationSetSendingEnabledCommand.js +22 -29
- package/dist-es/commands/UpdateConfigurationSetTrackingOptionsCommand.js +21 -28
- package/dist-es/commands/UpdateCustomVerificationEmailTemplateCommand.js +22 -29
- package/dist-es/commands/UpdateReceiptRuleCommand.js +21 -28
- package/dist-es/commands/UpdateTemplateCommand.js +21 -28
- package/dist-es/commands/VerifyDomainDkimCommand.js +21 -28
- package/dist-es/commands/VerifyDomainIdentityCommand.js +21 -28
- package/dist-es/commands/VerifyEmailAddressCommand.js +22 -29
- package/dist-es/commands/VerifyEmailIdentityCommand.js +21 -28
- package/dist-es/endpoints.js +8 -8
- package/dist-es/models/SESServiceException.js +5 -10
- package/dist-es/models/models_0.js +950 -609
- package/dist-es/pagination/ListCustomVerificationEmailTemplatesPaginator.js +25 -68
- package/dist-es/pagination/ListIdentitiesPaginator.js +25 -68
- package/dist-es/protocols/Aws_query.js +4301 -5641
- package/dist-es/runtimeConfig.browser.js +26 -12
- package/dist-es/runtimeConfig.js +30 -12
- package/dist-es/runtimeConfig.native.js +8 -5
- package/dist-es/runtimeConfig.shared.js +8 -11
- package/dist-es/waiters/waitForIdentityExists.js +35 -66
- package/package.json +35 -36
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,14 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [3.188.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.187.0...v3.188.0) (2022-10-13)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @aws-sdk/client-ses
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
6
14
|
# [3.186.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.185.0...v3.186.0) (2022-10-06)
|
|
7
15
|
|
|
8
16
|
**Note:** Version bump only for package @aws-sdk/client-ses
|
|
@@ -5,7 +5,6 @@ exports.deserializeAws_queryGetIdentityNotificationAttributesCommand = exports.d
|
|
|
5
5
|
exports.deserializeAws_queryVerifyEmailIdentityCommand = exports.deserializeAws_queryVerifyEmailAddressCommand = exports.deserializeAws_queryVerifyDomainIdentityCommand = exports.deserializeAws_queryVerifyDomainDkimCommand = exports.deserializeAws_queryUpdateTemplateCommand = exports.deserializeAws_queryUpdateReceiptRuleCommand = exports.deserializeAws_queryUpdateCustomVerificationEmailTemplateCommand = exports.deserializeAws_queryUpdateConfigurationSetTrackingOptionsCommand = exports.deserializeAws_queryUpdateConfigurationSetSendingEnabledCommand = exports.deserializeAws_queryUpdateConfigurationSetReputationMetricsEnabledCommand = exports.deserializeAws_queryUpdateConfigurationSetEventDestinationCommand = exports.deserializeAws_queryUpdateAccountSendingEnabledCommand = exports.deserializeAws_queryTestRenderTemplateCommand = exports.deserializeAws_querySetReceiptRulePositionCommand = exports.deserializeAws_querySetIdentityNotificationTopicCommand = exports.deserializeAws_querySetIdentityMailFromDomainCommand = exports.deserializeAws_querySetIdentityHeadersInNotificationsEnabledCommand = exports.deserializeAws_querySetIdentityFeedbackForwardingEnabledCommand = exports.deserializeAws_querySetIdentityDkimEnabledCommand = exports.deserializeAws_querySetActiveReceiptRuleSetCommand = exports.deserializeAws_querySendTemplatedEmailCommand = exports.deserializeAws_querySendRawEmailCommand = exports.deserializeAws_querySendEmailCommand = exports.deserializeAws_querySendCustomVerificationEmailCommand = exports.deserializeAws_querySendBulkTemplatedEmailCommand = exports.deserializeAws_querySendBounceCommand = exports.deserializeAws_queryReorderReceiptRuleSetCommand = exports.deserializeAws_queryPutIdentityPolicyCommand = exports.deserializeAws_queryPutConfigurationSetDeliveryOptionsCommand = exports.deserializeAws_queryListVerifiedEmailAddressesCommand = exports.deserializeAws_queryListTemplatesCommand = exports.deserializeAws_queryListReceiptRuleSetsCommand = exports.deserializeAws_queryListReceiptFiltersCommand = exports.deserializeAws_queryListIdentityPoliciesCommand = exports.deserializeAws_queryListIdentitiesCommand = exports.deserializeAws_queryListCustomVerificationEmailTemplatesCommand = exports.deserializeAws_queryListConfigurationSetsCommand = exports.deserializeAws_queryGetTemplateCommand = exports.deserializeAws_queryGetSendStatisticsCommand = exports.deserializeAws_queryGetSendQuotaCommand = exports.deserializeAws_queryGetIdentityVerificationAttributesCommand = exports.deserializeAws_queryGetIdentityPoliciesCommand = void 0;
|
|
6
6
|
const protocol_http_1 = require("@aws-sdk/protocol-http");
|
|
7
7
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
8
|
-
const entities_1 = require("entities");
|
|
9
8
|
const fast_xml_parser_1 = require("fast-xml-parser");
|
|
10
9
|
const models_0_1 = require("../models/models_0");
|
|
11
10
|
const SESServiceException_1 = require("../models/SESServiceException");
|
|
@@ -6862,13 +6861,18 @@ const buildHttpRpcRequest = async (context, headers, path, resolvedHostname, bod
|
|
|
6862
6861
|
};
|
|
6863
6862
|
const parseBody = (streamBody, context) => collectBodyString(streamBody, context).then((encoded) => {
|
|
6864
6863
|
if (encoded.length) {
|
|
6865
|
-
const
|
|
6864
|
+
const parser = new fast_xml_parser_1.XMLParser({
|
|
6866
6865
|
attributeNamePrefix: "",
|
|
6866
|
+
htmlEntities: true,
|
|
6867
6867
|
ignoreAttributes: false,
|
|
6868
|
-
|
|
6868
|
+
ignoreDeclaration: true,
|
|
6869
|
+
parseTagValue: false,
|
|
6869
6870
|
trimValues: false,
|
|
6870
|
-
tagValueProcessor: (val) => (val.trim() === "" && val.includes("\n") ? "" :
|
|
6871
|
+
tagValueProcessor: (_, val) => (val.trim() === "" && val.includes("\n") ? "" : undefined),
|
|
6871
6872
|
});
|
|
6873
|
+
parser.addEntity("#xD", "\r");
|
|
6874
|
+
parser.addEntity("#10", "\n");
|
|
6875
|
+
const parsedObj = parser.parse(encoded);
|
|
6872
6876
|
const textNodeName = "#text";
|
|
6873
6877
|
const key = Object.keys(parsedObj)[0];
|
|
6874
6878
|
const parsedObjToReturn = parsedObj[key];
|