@aws-sdk/client-cognito-identity-provider 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 +103 -309
- package/dist-es/commands/AddCustomAttributesCommand.js +1 -3
- package/dist-es/commands/AdminAddUserToGroupCommand.js +1 -3
- package/dist-es/commands/AdminConfirmSignUpCommand.js +1 -3
- package/dist-es/commands/AdminCreateUserCommand.js +1 -3
- package/dist-es/commands/AdminDeleteUserAttributesCommand.js +1 -3
- package/dist-es/commands/AdminDeleteUserCommand.js +1 -3
- package/dist-es/commands/AdminDisableProviderForUserCommand.js +1 -3
- package/dist-es/commands/AdminDisableUserCommand.js +1 -3
- package/dist-es/commands/AdminEnableUserCommand.js +1 -3
- package/dist-es/commands/AdminForgetDeviceCommand.js +1 -3
- package/dist-es/commands/AdminGetDeviceCommand.js +1 -3
- package/dist-es/commands/AdminGetUserCommand.js +1 -3
- package/dist-es/commands/AdminInitiateAuthCommand.js +1 -3
- package/dist-es/commands/AdminLinkProviderForUserCommand.js +1 -3
- package/dist-es/commands/AdminListDevicesCommand.js +1 -3
- package/dist-es/commands/AdminListGroupsForUserCommand.js +1 -3
- package/dist-es/commands/AdminListUserAuthEventsCommand.js +1 -3
- package/dist-es/commands/AdminRemoveUserFromGroupCommand.js +1 -3
- package/dist-es/commands/AdminResetUserPasswordCommand.js +1 -3
- package/dist-es/commands/AdminRespondToAuthChallengeCommand.js +1 -3
- package/dist-es/commands/AdminSetUserMFAPreferenceCommand.js +1 -3
- package/dist-es/commands/AdminSetUserPasswordCommand.js +1 -3
- package/dist-es/commands/AdminSetUserSettingsCommand.js +1 -3
- package/dist-es/commands/AdminUpdateAuthEventFeedbackCommand.js +1 -3
- package/dist-es/commands/AdminUpdateDeviceStatusCommand.js +1 -3
- package/dist-es/commands/AdminUpdateUserAttributesCommand.js +1 -3
- package/dist-es/commands/AdminUserGlobalSignOutCommand.js +1 -3
- package/dist-es/commands/AssociateSoftwareTokenCommand.js +1 -3
- package/dist-es/commands/ChangePasswordCommand.js +1 -3
- package/dist-es/commands/ConfirmDeviceCommand.js +1 -3
- package/dist-es/commands/ConfirmForgotPasswordCommand.js +1 -3
- package/dist-es/commands/ConfirmSignUpCommand.js +1 -3
- package/dist-es/commands/CreateGroupCommand.js +1 -3
- package/dist-es/commands/CreateIdentityProviderCommand.js +1 -3
- package/dist-es/commands/CreateResourceServerCommand.js +1 -3
- package/dist-es/commands/CreateUserImportJobCommand.js +1 -3
- package/dist-es/commands/CreateUserPoolClientCommand.js +1 -3
- package/dist-es/commands/CreateUserPoolCommand.js +1 -3
- package/dist-es/commands/CreateUserPoolDomainCommand.js +1 -3
- package/dist-es/commands/DeleteGroupCommand.js +1 -3
- package/dist-es/commands/DeleteIdentityProviderCommand.js +1 -3
- package/dist-es/commands/DeleteResourceServerCommand.js +1 -3
- package/dist-es/commands/DeleteUserAttributesCommand.js +1 -3
- package/dist-es/commands/DeleteUserCommand.js +1 -3
- package/dist-es/commands/DeleteUserPoolClientCommand.js +1 -3
- package/dist-es/commands/DeleteUserPoolCommand.js +1 -3
- package/dist-es/commands/DeleteUserPoolDomainCommand.js +1 -3
- package/dist-es/commands/DescribeIdentityProviderCommand.js +1 -3
- package/dist-es/commands/DescribeResourceServerCommand.js +1 -3
- package/dist-es/commands/DescribeRiskConfigurationCommand.js +1 -3
- package/dist-es/commands/DescribeUserImportJobCommand.js +1 -3
- package/dist-es/commands/DescribeUserPoolClientCommand.js +1 -3
- package/dist-es/commands/DescribeUserPoolCommand.js +1 -3
- package/dist-es/commands/DescribeUserPoolDomainCommand.js +1 -3
- package/dist-es/commands/ForgetDeviceCommand.js +1 -3
- package/dist-es/commands/ForgotPasswordCommand.js +1 -3
- package/dist-es/commands/GetCSVHeaderCommand.js +1 -3
- package/dist-es/commands/GetDeviceCommand.js +1 -3
- package/dist-es/commands/GetGroupCommand.js +1 -3
- package/dist-es/commands/GetIdentityProviderByIdentifierCommand.js +1 -3
- package/dist-es/commands/GetLogDeliveryConfigurationCommand.js +1 -3
- package/dist-es/commands/GetSigningCertificateCommand.js +1 -3
- package/dist-es/commands/GetUICustomizationCommand.js +1 -3
- package/dist-es/commands/GetUserAttributeVerificationCodeCommand.js +1 -3
- package/dist-es/commands/GetUserCommand.js +1 -3
- package/dist-es/commands/GetUserPoolMfaConfigCommand.js +1 -3
- package/dist-es/commands/GlobalSignOutCommand.js +1 -3
- package/dist-es/commands/InitiateAuthCommand.js +1 -3
- package/dist-es/commands/ListDevicesCommand.js +1 -3
- package/dist-es/commands/ListGroupsCommand.js +1 -3
- package/dist-es/commands/ListIdentityProvidersCommand.js +1 -3
- package/dist-es/commands/ListResourceServersCommand.js +1 -3
- package/dist-es/commands/ListTagsForResourceCommand.js +1 -3
- package/dist-es/commands/ListUserImportJobsCommand.js +1 -3
- package/dist-es/commands/ListUserPoolClientsCommand.js +1 -3
- package/dist-es/commands/ListUserPoolsCommand.js +1 -3
- package/dist-es/commands/ListUsersCommand.js +1 -3
- package/dist-es/commands/ListUsersInGroupCommand.js +1 -3
- package/dist-es/commands/ResendConfirmationCodeCommand.js +1 -3
- package/dist-es/commands/RespondToAuthChallengeCommand.js +1 -3
- package/dist-es/commands/RevokeTokenCommand.js +1 -3
- package/dist-es/commands/SetLogDeliveryConfigurationCommand.js +1 -3
- package/dist-es/commands/SetRiskConfigurationCommand.js +1 -3
- package/dist-es/commands/SetUICustomizationCommand.js +1 -3
- package/dist-es/commands/SetUserMFAPreferenceCommand.js +1 -3
- package/dist-es/commands/SetUserPoolMfaConfigCommand.js +1 -3
- package/dist-es/commands/SetUserSettingsCommand.js +1 -3
- package/dist-es/commands/SignUpCommand.js +1 -3
- package/dist-es/commands/StartUserImportJobCommand.js +1 -3
- package/dist-es/commands/StopUserImportJobCommand.js +1 -3
- package/dist-es/commands/TagResourceCommand.js +1 -3
- package/dist-es/commands/UntagResourceCommand.js +1 -3
- package/dist-es/commands/UpdateAuthEventFeedbackCommand.js +1 -3
- package/dist-es/commands/UpdateDeviceStatusCommand.js +1 -3
- package/dist-es/commands/UpdateGroupCommand.js +1 -3
- package/dist-es/commands/UpdateIdentityProviderCommand.js +1 -3
- package/dist-es/commands/UpdateResourceServerCommand.js +1 -3
- package/dist-es/commands/UpdateUserAttributesCommand.js +1 -3
- package/dist-es/commands/UpdateUserPoolClientCommand.js +1 -3
- package/dist-es/commands/UpdateUserPoolCommand.js +1 -3
- package/dist-es/commands/UpdateUserPoolDomainCommand.js +1 -3
- package/dist-es/commands/VerifySoftwareTokenCommand.js +1 -3
- package/dist-es/commands/VerifyUserAttributeCommand.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;
|