@aws-sdk/client-sesv2 3.645.0 → 3.650.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/dist-cjs/endpoint/endpointResolver.js +6 -2
- package/dist-cjs/index.js +92 -276
- package/dist-es/commands/BatchGetMetricDataCommand.js +1 -3
- package/dist-es/commands/CancelExportJobCommand.js +1 -3
- package/dist-es/commands/CreateConfigurationSetCommand.js +1 -3
- package/dist-es/commands/CreateConfigurationSetEventDestinationCommand.js +1 -3
- package/dist-es/commands/CreateContactCommand.js +1 -3
- package/dist-es/commands/CreateContactListCommand.js +1 -3
- package/dist-es/commands/CreateCustomVerificationEmailTemplateCommand.js +1 -3
- package/dist-es/commands/CreateDedicatedIpPoolCommand.js +1 -3
- package/dist-es/commands/CreateDeliverabilityTestReportCommand.js +1 -3
- package/dist-es/commands/CreateEmailIdentityCommand.js +1 -3
- package/dist-es/commands/CreateEmailIdentityPolicyCommand.js +1 -3
- package/dist-es/commands/CreateEmailTemplateCommand.js +1 -3
- package/dist-es/commands/CreateExportJobCommand.js +1 -3
- package/dist-es/commands/CreateImportJobCommand.js +1 -3
- package/dist-es/commands/DeleteConfigurationSetCommand.js +1 -3
- package/dist-es/commands/DeleteConfigurationSetEventDestinationCommand.js +1 -3
- package/dist-es/commands/DeleteContactCommand.js +1 -3
- package/dist-es/commands/DeleteContactListCommand.js +1 -3
- package/dist-es/commands/DeleteCustomVerificationEmailTemplateCommand.js +1 -3
- package/dist-es/commands/DeleteDedicatedIpPoolCommand.js +1 -3
- package/dist-es/commands/DeleteEmailIdentityCommand.js +1 -3
- package/dist-es/commands/DeleteEmailIdentityPolicyCommand.js +1 -3
- package/dist-es/commands/DeleteEmailTemplateCommand.js +1 -3
- package/dist-es/commands/DeleteSuppressedDestinationCommand.js +1 -3
- package/dist-es/commands/GetAccountCommand.js +1 -3
- package/dist-es/commands/GetBlacklistReportsCommand.js +1 -3
- package/dist-es/commands/GetConfigurationSetCommand.js +1 -3
- package/dist-es/commands/GetConfigurationSetEventDestinationsCommand.js +1 -3
- package/dist-es/commands/GetContactCommand.js +1 -3
- package/dist-es/commands/GetContactListCommand.js +1 -3
- package/dist-es/commands/GetCustomVerificationEmailTemplateCommand.js +1 -3
- package/dist-es/commands/GetDedicatedIpCommand.js +1 -3
- package/dist-es/commands/GetDedicatedIpPoolCommand.js +1 -3
- package/dist-es/commands/GetDedicatedIpsCommand.js +1 -3
- package/dist-es/commands/GetDeliverabilityDashboardOptionsCommand.js +1 -3
- package/dist-es/commands/GetDeliverabilityTestReportCommand.js +1 -3
- package/dist-es/commands/GetDomainDeliverabilityCampaignCommand.js +1 -3
- package/dist-es/commands/GetDomainStatisticsReportCommand.js +1 -3
- package/dist-es/commands/GetEmailIdentityCommand.js +1 -3
- package/dist-es/commands/GetEmailIdentityPoliciesCommand.js +1 -3
- package/dist-es/commands/GetEmailTemplateCommand.js +1 -3
- package/dist-es/commands/GetExportJobCommand.js +1 -3
- package/dist-es/commands/GetImportJobCommand.js +1 -3
- package/dist-es/commands/GetMessageInsightsCommand.js +1 -3
- package/dist-es/commands/GetSuppressedDestinationCommand.js +1 -3
- package/dist-es/commands/ListConfigurationSetsCommand.js +1 -3
- package/dist-es/commands/ListContactListsCommand.js +1 -3
- package/dist-es/commands/ListContactsCommand.js +1 -3
- package/dist-es/commands/ListCustomVerificationEmailTemplatesCommand.js +1 -3
- package/dist-es/commands/ListDedicatedIpPoolsCommand.js +1 -3
- package/dist-es/commands/ListDeliverabilityTestReportsCommand.js +1 -3
- package/dist-es/commands/ListDomainDeliverabilityCampaignsCommand.js +1 -3
- package/dist-es/commands/ListEmailIdentitiesCommand.js +1 -3
- package/dist-es/commands/ListEmailTemplatesCommand.js +1 -3
- package/dist-es/commands/ListExportJobsCommand.js +1 -3
- package/dist-es/commands/ListImportJobsCommand.js +1 -3
- package/dist-es/commands/ListRecommendationsCommand.js +1 -3
- package/dist-es/commands/ListSuppressedDestinationsCommand.js +1 -3
- package/dist-es/commands/ListTagsForResourceCommand.js +1 -3
- package/dist-es/commands/PutAccountDedicatedIpWarmupAttributesCommand.js +1 -3
- package/dist-es/commands/PutAccountDetailsCommand.js +1 -3
- package/dist-es/commands/PutAccountSendingAttributesCommand.js +1 -3
- package/dist-es/commands/PutAccountSuppressionAttributesCommand.js +1 -3
- package/dist-es/commands/PutAccountVdmAttributesCommand.js +1 -3
- package/dist-es/commands/PutConfigurationSetDeliveryOptionsCommand.js +1 -3
- package/dist-es/commands/PutConfigurationSetReputationOptionsCommand.js +1 -3
- package/dist-es/commands/PutConfigurationSetSendingOptionsCommand.js +1 -3
- package/dist-es/commands/PutConfigurationSetSuppressionOptionsCommand.js +1 -3
- package/dist-es/commands/PutConfigurationSetTrackingOptionsCommand.js +1 -3
- package/dist-es/commands/PutConfigurationSetVdmOptionsCommand.js +1 -3
- package/dist-es/commands/PutDedicatedIpInPoolCommand.js +1 -3
- package/dist-es/commands/PutDedicatedIpPoolScalingAttributesCommand.js +1 -3
- package/dist-es/commands/PutDedicatedIpWarmupAttributesCommand.js +1 -3
- package/dist-es/commands/PutDeliverabilityDashboardOptionCommand.js +1 -3
- package/dist-es/commands/PutEmailIdentityConfigurationSetAttributesCommand.js +1 -3
- package/dist-es/commands/PutEmailIdentityDkimAttributesCommand.js +1 -3
- package/dist-es/commands/PutEmailIdentityDkimSigningAttributesCommand.js +1 -3
- package/dist-es/commands/PutEmailIdentityFeedbackAttributesCommand.js +1 -3
- package/dist-es/commands/PutEmailIdentityMailFromAttributesCommand.js +1 -3
- package/dist-es/commands/PutSuppressedDestinationCommand.js +1 -3
- package/dist-es/commands/SendBulkEmailCommand.js +1 -3
- package/dist-es/commands/SendCustomVerificationEmailCommand.js +1 -3
- package/dist-es/commands/SendEmailCommand.js +1 -3
- package/dist-es/commands/TagResourceCommand.js +1 -3
- package/dist-es/commands/TestRenderEmailTemplateCommand.js +1 -3
- package/dist-es/commands/UntagResourceCommand.js +1 -3
- package/dist-es/commands/UpdateConfigurationSetEventDestinationCommand.js +1 -3
- package/dist-es/commands/UpdateContactCommand.js +1 -3
- package/dist-es/commands/UpdateContactListCommand.js +1 -3
- package/dist-es/commands/UpdateCustomVerificationEmailTemplateCommand.js +1 -3
- package/dist-es/commands/UpdateEmailIdentityPolicyCommand.js +1 -3
- package/dist-es/commands/UpdateEmailTemplateCommand.js +1 -3
- package/dist-es/endpoint/endpointResolver.js +7 -3
- package/dist-types/runtimeConfig.browser.d.ts +2 -0
- package/dist-types/runtimeConfig.d.ts +2 -0
- package/dist-types/runtimeConfig.native.d.ts +2 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +2 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +2 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +2 -0
- package/package.json +35 -35
|
@@ -4,11 +4,15 @@ exports.defaultEndpointResolver = void 0;
|
|
|
4
4
|
const util_endpoints_1 = require("@aws-sdk/util-endpoints");
|
|
5
5
|
const util_endpoints_2 = require("@smithy/util-endpoints");
|
|
6
6
|
const ruleset_1 = require("./ruleset");
|
|
7
|
+
const cache = new util_endpoints_2.EndpointCache({
|
|
8
|
+
size: 50,
|
|
9
|
+
params: ["Endpoint", "Region", "UseDualStack", "UseFIPS"],
|
|
10
|
+
});
|
|
7
11
|
const defaultEndpointResolver = (endpointParams, context = {}) => {
|
|
8
|
-
return (0, util_endpoints_2.resolveEndpoint)(ruleset_1.ruleSet, {
|
|
12
|
+
return cache.get(endpointParams, () => (0, util_endpoints_2.resolveEndpoint)(ruleset_1.ruleSet, {
|
|
9
13
|
endpointParams: endpointParams,
|
|
10
14
|
logger: context.logger,
|
|
11
|
-
});
|
|
15
|
+
}));
|
|
12
16
|
};
|
|
13
17
|
exports.defaultEndpointResolver = defaultEndpointResolver;
|
|
14
18
|
util_endpoints_2.customEndpointFunctions.aws = util_endpoints_1.awsEndpointFunctions;
|