@aws-sdk/client-ses 3.1045.0 → 3.1046.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/auth/httpAuthSchemeProvider.js +4 -4
- package/dist-cjs/endpoint/bdd.js +2 -2
- package/dist-cjs/endpoint/endpointResolver.js +4 -4
- package/dist-cjs/index.js +165 -167
- package/dist-cjs/models/SESServiceException.js +3 -3
- package/dist-cjs/runtimeConfig.browser.js +12 -14
- package/dist-cjs/runtimeConfig.js +18 -22
- package/dist-cjs/runtimeConfig.shared.js +9 -10
- package/dist-es/SES.js +1 -1
- package/dist-es/SESClient.js +5 -5
- package/dist-es/auth/httpAuthSchemeProvider.js +1 -1
- package/dist-es/commands/CloneReceiptRuleSetCommand.js +2 -2
- package/dist-es/commands/CreateConfigurationSetCommand.js +2 -2
- package/dist-es/commands/CreateConfigurationSetEventDestinationCommand.js +2 -2
- package/dist-es/commands/CreateConfigurationSetTrackingOptionsCommand.js +2 -2
- package/dist-es/commands/CreateCustomVerificationEmailTemplateCommand.js +2 -2
- package/dist-es/commands/CreateReceiptFilterCommand.js +2 -2
- package/dist-es/commands/CreateReceiptRuleCommand.js +2 -2
- package/dist-es/commands/CreateReceiptRuleSetCommand.js +2 -2
- package/dist-es/commands/CreateTemplateCommand.js +2 -2
- package/dist-es/commands/DeleteConfigurationSetCommand.js +2 -2
- package/dist-es/commands/DeleteConfigurationSetEventDestinationCommand.js +2 -2
- package/dist-es/commands/DeleteConfigurationSetTrackingOptionsCommand.js +2 -2
- package/dist-es/commands/DeleteCustomVerificationEmailTemplateCommand.js +2 -2
- package/dist-es/commands/DeleteIdentityCommand.js +2 -2
- package/dist-es/commands/DeleteIdentityPolicyCommand.js +2 -2
- package/dist-es/commands/DeleteReceiptFilterCommand.js +2 -2
- package/dist-es/commands/DeleteReceiptRuleCommand.js +2 -2
- package/dist-es/commands/DeleteReceiptRuleSetCommand.js +2 -2
- package/dist-es/commands/DeleteTemplateCommand.js +2 -2
- package/dist-es/commands/DeleteVerifiedEmailAddressCommand.js +2 -2
- package/dist-es/commands/DescribeActiveReceiptRuleSetCommand.js +2 -2
- package/dist-es/commands/DescribeConfigurationSetCommand.js +2 -2
- package/dist-es/commands/DescribeReceiptRuleCommand.js +2 -2
- package/dist-es/commands/DescribeReceiptRuleSetCommand.js +2 -2
- package/dist-es/commands/GetAccountSendingEnabledCommand.js +2 -2
- package/dist-es/commands/GetCustomVerificationEmailTemplateCommand.js +2 -2
- package/dist-es/commands/GetIdentityDkimAttributesCommand.js +2 -2
- package/dist-es/commands/GetIdentityMailFromDomainAttributesCommand.js +2 -2
- package/dist-es/commands/GetIdentityNotificationAttributesCommand.js +2 -2
- package/dist-es/commands/GetIdentityPoliciesCommand.js +2 -2
- package/dist-es/commands/GetIdentityVerificationAttributesCommand.js +2 -2
- package/dist-es/commands/GetSendQuotaCommand.js +2 -2
- package/dist-es/commands/GetSendStatisticsCommand.js +2 -2
- package/dist-es/commands/GetTemplateCommand.js +2 -2
- package/dist-es/commands/ListConfigurationSetsCommand.js +2 -2
- package/dist-es/commands/ListCustomVerificationEmailTemplatesCommand.js +2 -2
- package/dist-es/commands/ListIdentitiesCommand.js +2 -2
- package/dist-es/commands/ListIdentityPoliciesCommand.js +2 -2
- package/dist-es/commands/ListReceiptFiltersCommand.js +2 -2
- package/dist-es/commands/ListReceiptRuleSetsCommand.js +2 -2
- package/dist-es/commands/ListTemplatesCommand.js +2 -2
- package/dist-es/commands/ListVerifiedEmailAddressesCommand.js +2 -2
- package/dist-es/commands/PutConfigurationSetDeliveryOptionsCommand.js +2 -2
- package/dist-es/commands/PutIdentityPolicyCommand.js +2 -2
- package/dist-es/commands/ReorderReceiptRuleSetCommand.js +2 -2
- package/dist-es/commands/SendBounceCommand.js +2 -2
- package/dist-es/commands/SendBulkTemplatedEmailCommand.js +2 -2
- package/dist-es/commands/SendCustomVerificationEmailCommand.js +2 -2
- package/dist-es/commands/SendEmailCommand.js +2 -2
- package/dist-es/commands/SendRawEmailCommand.js +2 -2
- package/dist-es/commands/SendTemplatedEmailCommand.js +2 -2
- package/dist-es/commands/SetActiveReceiptRuleSetCommand.js +2 -2
- package/dist-es/commands/SetIdentityDkimEnabledCommand.js +2 -2
- package/dist-es/commands/SetIdentityFeedbackForwardingEnabledCommand.js +2 -2
- package/dist-es/commands/SetIdentityHeadersInNotificationsEnabledCommand.js +2 -2
- package/dist-es/commands/SetIdentityMailFromDomainCommand.js +2 -2
- package/dist-es/commands/SetIdentityNotificationTopicCommand.js +2 -2
- package/dist-es/commands/SetReceiptRulePositionCommand.js +2 -2
- package/dist-es/commands/TestRenderTemplateCommand.js +2 -2
- package/dist-es/commands/UpdateAccountSendingEnabledCommand.js +2 -2
- package/dist-es/commands/UpdateConfigurationSetEventDestinationCommand.js +2 -2
- package/dist-es/commands/UpdateConfigurationSetReputationMetricsEnabledCommand.js +2 -2
- package/dist-es/commands/UpdateConfigurationSetSendingEnabledCommand.js +2 -2
- package/dist-es/commands/UpdateConfigurationSetTrackingOptionsCommand.js +2 -2
- package/dist-es/commands/UpdateCustomVerificationEmailTemplateCommand.js +2 -2
- package/dist-es/commands/UpdateReceiptRuleCommand.js +2 -2
- package/dist-es/commands/UpdateTemplateCommand.js +2 -2
- package/dist-es/commands/VerifyDomainDkimCommand.js +2 -2
- package/dist-es/commands/VerifyDomainIdentityCommand.js +2 -2
- package/dist-es/commands/VerifyEmailAddressCommand.js +2 -2
- package/dist-es/commands/VerifyEmailIdentityCommand.js +2 -2
- package/dist-es/endpoint/bdd.js +1 -1
- package/dist-es/endpoint/endpointResolver.js +1 -1
- package/dist-es/models/SESServiceException.js +1 -1
- package/dist-es/runtimeConfig.browser.js +4 -6
- package/dist-es/runtimeConfig.js +4 -8
- package/dist-es/runtimeConfig.shared.js +3 -4
- package/dist-es/runtimeExtensions.js +2 -2
- package/dist-es/waiters/waitForIdentityExists.js +1 -1
- package/dist-types/SES.d.ts +1 -1
- package/dist-types/SESClient.d.ts +5 -5
- package/dist-types/commands/CloneReceiptRuleSetCommand.d.ts +6 -4
- package/dist-types/commands/CreateConfigurationSetCommand.d.ts +6 -4
- package/dist-types/commands/CreateConfigurationSetEventDestinationCommand.d.ts +6 -4
- package/dist-types/commands/CreateConfigurationSetTrackingOptionsCommand.d.ts +6 -4
- package/dist-types/commands/CreateCustomVerificationEmailTemplateCommand.d.ts +6 -4
- package/dist-types/commands/CreateReceiptFilterCommand.d.ts +6 -4
- package/dist-types/commands/CreateReceiptRuleCommand.d.ts +6 -4
- package/dist-types/commands/CreateReceiptRuleSetCommand.d.ts +6 -4
- package/dist-types/commands/CreateTemplateCommand.d.ts +6 -4
- package/dist-types/commands/DeleteConfigurationSetCommand.d.ts +6 -4
- package/dist-types/commands/DeleteConfigurationSetEventDestinationCommand.d.ts +6 -4
- package/dist-types/commands/DeleteConfigurationSetTrackingOptionsCommand.d.ts +6 -4
- package/dist-types/commands/DeleteCustomVerificationEmailTemplateCommand.d.ts +6 -4
- package/dist-types/commands/DeleteIdentityCommand.d.ts +6 -4
- package/dist-types/commands/DeleteIdentityPolicyCommand.d.ts +6 -4
- package/dist-types/commands/DeleteReceiptFilterCommand.d.ts +6 -4
- package/dist-types/commands/DeleteReceiptRuleCommand.d.ts +6 -4
- package/dist-types/commands/DeleteReceiptRuleSetCommand.d.ts +6 -4
- package/dist-types/commands/DeleteTemplateCommand.d.ts +6 -4
- package/dist-types/commands/DeleteVerifiedEmailAddressCommand.d.ts +6 -4
- package/dist-types/commands/DescribeActiveReceiptRuleSetCommand.d.ts +6 -4
- package/dist-types/commands/DescribeConfigurationSetCommand.d.ts +6 -4
- package/dist-types/commands/DescribeReceiptRuleCommand.d.ts +6 -4
- package/dist-types/commands/DescribeReceiptRuleSetCommand.d.ts +6 -4
- package/dist-types/commands/GetAccountSendingEnabledCommand.d.ts +6 -4
- package/dist-types/commands/GetCustomVerificationEmailTemplateCommand.d.ts +6 -4
- package/dist-types/commands/GetIdentityDkimAttributesCommand.d.ts +6 -4
- package/dist-types/commands/GetIdentityMailFromDomainAttributesCommand.d.ts +6 -4
- package/dist-types/commands/GetIdentityNotificationAttributesCommand.d.ts +6 -4
- package/dist-types/commands/GetIdentityPoliciesCommand.d.ts +6 -4
- package/dist-types/commands/GetIdentityVerificationAttributesCommand.d.ts +6 -4
- package/dist-types/commands/GetSendQuotaCommand.d.ts +6 -4
- package/dist-types/commands/GetSendStatisticsCommand.d.ts +6 -4
- package/dist-types/commands/GetTemplateCommand.d.ts +6 -4
- package/dist-types/commands/ListConfigurationSetsCommand.d.ts +6 -4
- package/dist-types/commands/ListCustomVerificationEmailTemplatesCommand.d.ts +6 -4
- package/dist-types/commands/ListIdentitiesCommand.d.ts +6 -4
- package/dist-types/commands/ListIdentityPoliciesCommand.d.ts +6 -4
- package/dist-types/commands/ListReceiptFiltersCommand.d.ts +6 -4
- package/dist-types/commands/ListReceiptRuleSetsCommand.d.ts +6 -4
- package/dist-types/commands/ListTemplatesCommand.d.ts +6 -4
- package/dist-types/commands/ListVerifiedEmailAddressesCommand.d.ts +6 -4
- package/dist-types/commands/PutConfigurationSetDeliveryOptionsCommand.d.ts +6 -4
- package/dist-types/commands/PutIdentityPolicyCommand.d.ts +6 -4
- package/dist-types/commands/ReorderReceiptRuleSetCommand.d.ts +6 -4
- package/dist-types/commands/SendBounceCommand.d.ts +6 -4
- package/dist-types/commands/SendBulkTemplatedEmailCommand.d.ts +6 -4
- package/dist-types/commands/SendCustomVerificationEmailCommand.d.ts +6 -4
- package/dist-types/commands/SendEmailCommand.d.ts +6 -4
- package/dist-types/commands/SendRawEmailCommand.d.ts +6 -4
- package/dist-types/commands/SendTemplatedEmailCommand.d.ts +6 -4
- package/dist-types/commands/SetActiveReceiptRuleSetCommand.d.ts +6 -4
- package/dist-types/commands/SetIdentityDkimEnabledCommand.d.ts +6 -4
- package/dist-types/commands/SetIdentityFeedbackForwardingEnabledCommand.d.ts +6 -4
- package/dist-types/commands/SetIdentityHeadersInNotificationsEnabledCommand.d.ts +6 -4
- package/dist-types/commands/SetIdentityMailFromDomainCommand.d.ts +6 -4
- package/dist-types/commands/SetIdentityNotificationTopicCommand.d.ts +6 -4
- package/dist-types/commands/SetReceiptRulePositionCommand.d.ts +6 -4
- package/dist-types/commands/TestRenderTemplateCommand.d.ts +6 -4
- package/dist-types/commands/UpdateAccountSendingEnabledCommand.d.ts +6 -4
- package/dist-types/commands/UpdateConfigurationSetEventDestinationCommand.d.ts +6 -4
- package/dist-types/commands/UpdateConfigurationSetReputationMetricsEnabledCommand.d.ts +6 -4
- package/dist-types/commands/UpdateConfigurationSetSendingEnabledCommand.d.ts +6 -4
- package/dist-types/commands/UpdateConfigurationSetTrackingOptionsCommand.d.ts +6 -4
- package/dist-types/commands/UpdateCustomVerificationEmailTemplateCommand.d.ts +6 -4
- package/dist-types/commands/UpdateReceiptRuleCommand.d.ts +6 -4
- package/dist-types/commands/UpdateTemplateCommand.d.ts +6 -4
- package/dist-types/commands/VerifyDomainDkimCommand.d.ts +6 -4
- package/dist-types/commands/VerifyDomainIdentityCommand.d.ts +6 -4
- package/dist-types/commands/VerifyEmailAddressCommand.d.ts +6 -4
- package/dist-types/commands/VerifyEmailIdentityCommand.d.ts +6 -4
- package/dist-types/endpoint/bdd.d.ts +1 -1
- package/dist-types/extensionConfiguration.d.ts +1 -1
- package/dist-types/models/SESServiceException.d.ts +1 -1
- package/dist-types/models/errors.d.ts +1 -1
- package/dist-types/runtimeConfig.browser.d.ts +2 -2
- package/dist-types/runtimeConfig.d.ts +2 -2
- package/dist-types/runtimeConfig.native.d.ts +2 -2
- package/dist-types/ts3.4/SES.d.ts +1 -1
- package/dist-types/ts3.4/SESClient.d.ts +8 -14
- package/dist-types/ts3.4/commands/CloneReceiptRuleSetCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/CreateConfigurationSetCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/CreateConfigurationSetEventDestinationCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/CreateConfigurationSetTrackingOptionsCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/CreateCustomVerificationEmailTemplateCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/CreateReceiptFilterCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/CreateReceiptRuleCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/CreateReceiptRuleSetCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/CreateTemplateCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/DeleteConfigurationSetCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/DeleteConfigurationSetEventDestinationCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/DeleteConfigurationSetTrackingOptionsCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/DeleteCustomVerificationEmailTemplateCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/DeleteIdentityCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/DeleteIdentityPolicyCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/DeleteReceiptFilterCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/DeleteReceiptRuleCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/DeleteReceiptRuleSetCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/DeleteTemplateCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/DeleteVerifiedEmailAddressCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/DescribeActiveReceiptRuleSetCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/DescribeConfigurationSetCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/DescribeReceiptRuleCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/DescribeReceiptRuleSetCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/GetAccountSendingEnabledCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/GetCustomVerificationEmailTemplateCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/GetIdentityDkimAttributesCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/GetIdentityMailFromDomainAttributesCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/GetIdentityNotificationAttributesCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/GetIdentityPoliciesCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/GetIdentityVerificationAttributesCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/GetSendQuotaCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/GetSendStatisticsCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/GetTemplateCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ListConfigurationSetsCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ListCustomVerificationEmailTemplatesCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ListIdentitiesCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ListIdentityPoliciesCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ListReceiptFiltersCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ListReceiptRuleSetsCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ListTemplatesCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ListVerifiedEmailAddressesCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/PutConfigurationSetDeliveryOptionsCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/PutIdentityPolicyCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ReorderReceiptRuleSetCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/SendBounceCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/SendBulkTemplatedEmailCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/SendCustomVerificationEmailCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/SendEmailCommand.d.ts +6 -8
- package/dist-types/ts3.4/commands/SendRawEmailCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/SendTemplatedEmailCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/SetActiveReceiptRuleSetCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/SetIdentityDkimEnabledCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/SetIdentityFeedbackForwardingEnabledCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/SetIdentityHeadersInNotificationsEnabledCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/SetIdentityMailFromDomainCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/SetIdentityNotificationTopicCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/SetReceiptRulePositionCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/TestRenderTemplateCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/UpdateAccountSendingEnabledCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/UpdateConfigurationSetEventDestinationCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/UpdateConfigurationSetReputationMetricsEnabledCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/UpdateConfigurationSetSendingEnabledCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/UpdateConfigurationSetTrackingOptionsCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/UpdateCustomVerificationEmailTemplateCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/UpdateReceiptRuleCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/UpdateTemplateCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/VerifyDomainDkimCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/VerifyDomainIdentityCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/VerifyEmailAddressCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/VerifyEmailIdentityCommand.d.ts +6 -4
- package/dist-types/ts3.4/endpoint/bdd.d.ts +1 -1
- package/dist-types/ts3.4/extensionConfiguration.d.ts +1 -1
- package/dist-types/ts3.4/models/SESServiceException.d.ts +1 -1
- package/dist-types/ts3.4/models/errors.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +2 -2
- package/dist-types/ts3.4/runtimeConfig.d.ts +2 -2
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +3 -3
- package/dist-types/ts3.4/waiters/waitForIdentityExists.d.ts +1 -1
- package/dist-types/waiters/waitForIdentityExists.d.ts +1 -1
- package/package.json +14 -36
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.resolveHttpAuthSchemeConfig = exports.defaultSESHttpAuthSchemeProvider = exports.defaultSESHttpAuthSchemeParametersProvider = void 0;
|
|
4
4
|
const httpAuthSchemes_1 = require("@aws-sdk/core/httpAuthSchemes");
|
|
5
|
-
const
|
|
5
|
+
const client_1 = require("@smithy/core/client");
|
|
6
6
|
const defaultSESHttpAuthSchemeParametersProvider = async (config, context, input) => {
|
|
7
7
|
return {
|
|
8
|
-
operation: (0,
|
|
9
|
-
region: await (0,
|
|
8
|
+
operation: (0, client_1.getSmithyContext)(context).operation,
|
|
9
|
+
region: await (0, client_1.normalizeProvider)(config.region)() || (() => {
|
|
10
10
|
throw new Error("expected `region` to be configured for `aws.auth#sigv4`");
|
|
11
11
|
})(),
|
|
12
12
|
};
|
|
@@ -40,7 +40,7 @@ exports.defaultSESHttpAuthSchemeProvider = defaultSESHttpAuthSchemeProvider;
|
|
|
40
40
|
const resolveHttpAuthSchemeConfig = (config) => {
|
|
41
41
|
const config_0 = (0, httpAuthSchemes_1.resolveAwsSdkSigV4Config)(config);
|
|
42
42
|
return Object.assign(config_0, {
|
|
43
|
-
authSchemePreference: (0,
|
|
43
|
+
authSchemePreference: (0, client_1.normalizeProvider)(config.authSchemePreference ?? []),
|
|
44
44
|
});
|
|
45
45
|
};
|
|
46
46
|
exports.resolveHttpAuthSchemeConfig = resolveHttpAuthSchemeConfig;
|
package/dist-cjs/endpoint/bdd.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.bdd = void 0;
|
|
4
|
-
const
|
|
4
|
+
const endpoints_1 = require("@smithy/core/endpoints");
|
|
5
5
|
const k = "ref";
|
|
6
6
|
const a = -1, b = true, c = "isSet", d = "PartitionResult", e = "booleanEquals", f = "getAttr", g = { [k]: "Endpoint" }, h = { [k]: d }, i = {}, j = [{ [k]: "Region" }];
|
|
7
7
|
const _data = {
|
|
@@ -46,4 +46,4 @@ const nodes = new Int32Array([
|
|
|
46
46
|
3, r + 1, 13,
|
|
47
47
|
4, r + 2, r + 3,
|
|
48
48
|
]);
|
|
49
|
-
exports.bdd =
|
|
49
|
+
exports.bdd = endpoints_1.BinaryDecisionDiagram.from(nodes, root, _data.conditions, _data.results);
|
|
@@ -2,17 +2,17 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.defaultEndpointResolver = void 0;
|
|
4
4
|
const util_endpoints_1 = require("@aws-sdk/util-endpoints");
|
|
5
|
-
const
|
|
5
|
+
const endpoints_1 = require("@smithy/core/endpoints");
|
|
6
6
|
const bdd_1 = require("./bdd");
|
|
7
|
-
const cache = new
|
|
7
|
+
const cache = new endpoints_1.EndpointCache({
|
|
8
8
|
size: 50,
|
|
9
9
|
params: ["Endpoint", "Region", "UseDualStack", "UseFIPS"],
|
|
10
10
|
});
|
|
11
11
|
const defaultEndpointResolver = (endpointParams, context = {}) => {
|
|
12
|
-
return cache.get(endpointParams, () => (0,
|
|
12
|
+
return cache.get(endpointParams, () => (0, endpoints_1.decideEndpoint)(bdd_1.bdd, {
|
|
13
13
|
endpointParams: endpointParams,
|
|
14
14
|
logger: context.logger,
|
|
15
15
|
}));
|
|
16
16
|
};
|
|
17
17
|
exports.defaultEndpointResolver = defaultEndpointResolver;
|
|
18
|
-
|
|
18
|
+
endpoints_1.customEndpointFunctions.aws = util_endpoints_1.awsEndpointFunctions;
|