@aws-sdk/client-cognito-identity-provider
Version:
AWS SDK for JavaScript Cognito Identity Provider Client for Node.js, Browser and React Native
2,292 lines • 85.8 kB
JavaScript
var __exportStar = (m, e) => { Object.assign(e, m); };
const { getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration, resolveUserAgentConfig, resolveHostHeaderConfig, getUserAgentPlugin, getHostHeaderPlugin, getLoggerPlugin, getRecursionDetectionPlugin } = require("@aws-sdk/core/client");
const { getHttpAuthSchemeEndpointRuleSetPlugin, DefaultIdentityProviderConfig, getHttpSigningPlugin, createPaginator } = require("@smithy/core");
const { getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, Command, createAggregatedClient } = require("@smithy/core/client");
exports.$Command = Command;
exports.__Client = Client;
const { resolveRegionConfig } = require("@smithy/core/config");
const { resolveEndpointConfig, getEndpointPlugin } = require("@smithy/core/endpoints");
const { getHttpHandlerExtensionConfiguration, resolveHttpHandlerRuntimeConfig, getContentLengthPlugin } = require("@smithy/core/protocols");
const { resolveRetryConfig, getRetryPlugin } = require("@smithy/core/retry");
const { getSchemaSerdePlugin } = require("@smithy/core/schema");
const { resolveHttpAuthSchemeConfig, defaultCognitoIdentityProviderHttpAuthSchemeParametersProvider } = require("./auth/httpAuthSchemeProvider");
const { getRuntimeConfig } = require("./runtimeConfig");
const { AddCustomAttributes$, AddUserPoolClientSecret$, AdminAddUserToGroup$, AdminConfirmSignUp$, AdminCreateUser$, AdminDeleteUserAttributes$, AdminDeleteUser$, AdminDisableProviderForUser$, AdminDisableUser$, AdminEnableUser$, AdminForgetDevice$, AdminGetDevice$, AdminGetUser$, AdminInitiateAuth$, AdminLinkProviderForUser$, AdminListDevices$, AdminListGroupsForUser$, AdminListUserAuthEvents$, AdminRemoveUserFromGroup$, AdminResetUserPassword$, AdminRespondToAuthChallenge$, AdminSetUserMFAPreference$, AdminSetUserPassword$, AdminSetUserSettings$, AdminUpdateAuthEventFeedback$, AdminUpdateDeviceStatus$, AdminUpdateUserAttributes$, AdminUserGlobalSignOut$, AssociateSoftwareToken$, ChangePassword$, CompleteWebAuthnRegistration$, ConfirmDevice$, ConfirmForgotPassword$, ConfirmSignUp$, CreateGroup$, CreateIdentityProvider$, CreateManagedLoginBranding$, CreateResourceServer$, CreateTerms$, CreateUserImportJob$, CreateUserPoolClient$, CreateUserPool$, CreateUserPoolDomain$, CreateUserPoolReplica$, DeleteGroup$, DeleteIdentityProvider$, DeleteManagedLoginBranding$, DeleteResourceServer$, DeleteTerms$, DeleteUserAttributes$, DeleteUser$, DeleteUserPoolClient$, DeleteUserPoolClientSecret$, DeleteUserPool$, DeleteUserPoolDomain$, DeleteUserPoolReplica$, DeleteWebAuthnCredential$, DescribeIdentityProvider$, DescribeManagedLoginBrandingByClient$, DescribeManagedLoginBranding$, DescribeResourceServer$, DescribeRiskConfiguration$, DescribeTerms$, DescribeUserImportJob$, DescribeUserPoolClient$, DescribeUserPool$, DescribeUserPoolDomain$, ForgetDevice$, ForgotPassword$, GetCSVHeader$, GetDevice$, GetGroup$, GetIdentityProviderByIdentifier$, GetLogDeliveryConfiguration$, GetSigningCertificate$, GetTokensFromRefreshToken$, GetUICustomization$, GetUserAttributeVerificationCode$, GetUserAuthFactors$, GetUser$, GetUserPoolMfaConfig$, GlobalSignOut$, InitiateAuth$, ListDevices$, ListGroups$, ListIdentityProviders$, ListResourceServers$, ListTagsForResource$, ListTerms$, ListUserImportJobs$, ListUserPoolClients$, ListUserPoolClientSecrets$, ListUserPoolReplicas$, ListUserPools$, ListUsers$, ListUsersInGroup$, ListWebAuthnCredentials$, ResendConfirmationCode$, RespondToAuthChallenge$, RevokeToken$, SetLogDeliveryConfiguration$, SetRiskConfiguration$, SetUICustomization$, SetUserMFAPreference$, SetUserPoolMfaConfig$, SetUserSettings$, SignUp$, StartUserImportJob$, StartWebAuthnRegistration$, StopUserImportJob$, TagResource$, UntagResource$, UpdateAuthEventFeedback$, UpdateDeviceStatus$, UpdateGroup$, UpdateIdentityProvider$, UpdateManagedLoginBranding$, UpdateResourceServer$, UpdateTerms$, UpdateUserAttributes$, UpdateUserPoolClient$, UpdateUserPool$, UpdateUserPoolDomain$, UpdateUserPoolReplica$, VerifySoftwareToken$, VerifyUserAttribute$ } = require("./schemas/schemas_0");
__exportStar(require("./schemas/schemas_0"), exports);
__exportStar(require("./models/errors"), exports);
const { CognitoIdentityProviderServiceException } = require("./models/CognitoIdentityProviderServiceException");
exports.CognitoIdentityProviderServiceException = CognitoIdentityProviderServiceException;
const resolveClientEndpointParameters = (options) => {
return Object.assign(options, {
useDualstackEndpoint: options.useDualstackEndpoint ?? false,
useFipsEndpoint: options.useFipsEndpoint ?? false,
defaultSigningName: "cognito-idp",
});
};
const commonParams = {
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
Endpoint: { type: "builtInParams", name: "endpoint" },
Region: { type: "builtInParams", name: "region" },
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
};
const getHttpAuthExtensionConfiguration = (runtimeConfig) => {
const _httpAuthSchemes = runtimeConfig.httpAuthSchemes;
let _httpAuthSchemeProvider = runtimeConfig.httpAuthSchemeProvider;
let _credentials = runtimeConfig.credentials;
return {
setHttpAuthScheme(httpAuthScheme) {
const index = _httpAuthSchemes.findIndex((scheme) => scheme.schemeId === httpAuthScheme.schemeId);
if (index === -1) {
_httpAuthSchemes.push(httpAuthScheme);
}
else {
_httpAuthSchemes.splice(index, 1, httpAuthScheme);
}
},
httpAuthSchemes() {
return _httpAuthSchemes;
},
setHttpAuthSchemeProvider(httpAuthSchemeProvider) {
_httpAuthSchemeProvider = httpAuthSchemeProvider;
},
httpAuthSchemeProvider() {
return _httpAuthSchemeProvider;
},
setCredentials(credentials) {
_credentials = credentials;
},
credentials() {
return _credentials;
},
};
};
const resolveHttpAuthRuntimeConfig = (config) => {
return {
httpAuthSchemes: config.httpAuthSchemes(),
httpAuthSchemeProvider: config.httpAuthSchemeProvider(),
credentials: config.credentials(),
};
};
const resolveRuntimeExtensions = (runtimeConfig, extensions) => {
const extensionConfiguration = Object.assign(getAwsRegionExtensionConfiguration(runtimeConfig), getDefaultExtensionConfiguration(runtimeConfig), getHttpHandlerExtensionConfiguration(runtimeConfig), getHttpAuthExtensionConfiguration(runtimeConfig));
extensions.forEach((extension) => extension.configure(extensionConfiguration));
return Object.assign(runtimeConfig, resolveAwsRegionExtensionConfiguration(extensionConfiguration), resolveDefaultRuntimeConfig(extensionConfiguration), resolveHttpHandlerRuntimeConfig(extensionConfiguration), resolveHttpAuthRuntimeConfig(extensionConfiguration));
};
class CognitoIdentityProviderClient extends Client {
config;
constructor(...[configuration]) {
const _config_0 = getRuntimeConfig(configuration || {});
super(_config_0);
this.initConfig = _config_0;
const _config_1 = resolveClientEndpointParameters(_config_0);
const _config_2 = resolveUserAgentConfig(_config_1);
const _config_3 = resolveRetryConfig(_config_2);
const _config_4 = resolveRegionConfig(_config_3);
const _config_5 = resolveHostHeaderConfig(_config_4);
const _config_6 = resolveEndpointConfig(_config_5);
const _config_7 = resolveHttpAuthSchemeConfig(_config_6);
const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
this.config = _config_8;
this.middlewareStack.use(getSchemaSerdePlugin(this.config));
this.middlewareStack.use(getUserAgentPlugin(this.config));
this.middlewareStack.use(getRetryPlugin(this.config));
this.middlewareStack.use(getContentLengthPlugin(this.config));
this.middlewareStack.use(getHostHeaderPlugin(this.config));
this.middlewareStack.use(getLoggerPlugin(this.config));
this.middlewareStack.use(getRecursionDetectionPlugin(this.config));
this.middlewareStack.use(getHttpAuthSchemeEndpointRuleSetPlugin(this.config, {
httpAuthSchemeParametersProvider: defaultCognitoIdentityProviderHttpAuthSchemeParametersProvider,
identityProviderConfigProvider: async (config) => new DefaultIdentityProviderConfig({
"aws.auth#sigv4": config.credentials,
}),
}));
this.middlewareStack.use(getHttpSigningPlugin(this.config));
}
destroy() {
super.destroy();
}
}
class AddCustomAttributesCommand extends Command
.classBuilder()
.ep(commonParams)
.m(function (Command, cs, config, o) {
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
})
.s("AWSCognitoIdentityProviderService", "AddCustomAttributes", {})
.n("CognitoIdentityProviderClient", "AddCustomAttributesCommand")
.sc(AddCustomAttributes$)
.build() {
}
class AddUserPoolClientSecretCommand extends Command
.classBuilder()
.ep(commonParams)
.m(function (Command, cs, config, o) {
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
})
.s("AWSCognitoIdentityProviderService", "AddUserPoolClientSecret", {})
.n("CognitoIdentityProviderClient", "AddUserPoolClientSecretCommand")
.sc(AddUserPoolClientSecret$)
.build() {
}
class AdminAddUserToGroupCommand extends Command
.classBuilder()
.ep(commonParams)
.m(function (Command, cs, config, o) {
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
})
.s("AWSCognitoIdentityProviderService", "AdminAddUserToGroup", {})
.n("CognitoIdentityProviderClient", "AdminAddUserToGroupCommand")
.sc(AdminAddUserToGroup$)
.build() {
}
class AdminConfirmSignUpCommand extends Command
.classBuilder()
.ep(commonParams)
.m(function (Command, cs, config, o) {
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
})
.s("AWSCognitoIdentityProviderService", "AdminConfirmSignUp", {})
.n("CognitoIdentityProviderClient", "AdminConfirmSignUpCommand")
.sc(AdminConfirmSignUp$)
.build() {
}
class AdminCreateUserCommand extends Command
.classBuilder()
.ep(commonParams)
.m(function (Command, cs, config, o) {
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
})
.s("AWSCognitoIdentityProviderService", "AdminCreateUser", {})
.n("CognitoIdentityProviderClient", "AdminCreateUserCommand")
.sc(AdminCreateUser$)
.build() {
}
class AdminDeleteUserAttributesCommand extends Command
.classBuilder()
.ep(commonParams)
.m(function (Command, cs, config, o) {
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
})
.s("AWSCognitoIdentityProviderService", "AdminDeleteUserAttributes", {})
.n("CognitoIdentityProviderClient", "AdminDeleteUserAttributesCommand")
.sc(AdminDeleteUserAttributes$)
.build() {
}
class AdminDeleteUserCommand extends Command
.classBuilder()
.ep(commonParams)
.m(function (Command, cs, config, o) {
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
})
.s("AWSCognitoIdentityProviderService", "AdminDeleteUser", {})
.n("CognitoIdentityProviderClient", "AdminDeleteUserCommand")
.sc(AdminDeleteUser$)
.build() {
}
class AdminDisableProviderForUserCommand extends Command
.classBuilder()
.ep(commonParams)
.m(function (Command, cs, config, o) {
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
})
.s("AWSCognitoIdentityProviderService", "AdminDisableProviderForUser", {})
.n("CognitoIdentityProviderClient", "AdminDisableProviderForUserCommand")
.sc(AdminDisableProviderForUser$)
.build() {
}
class AdminDisableUserCommand extends Command
.classBuilder()
.ep(commonParams)
.m(function (Command, cs, config, o) {
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
})
.s("AWSCognitoIdentityProviderService", "AdminDisableUser", {})
.n("CognitoIdentityProviderClient", "AdminDisableUserCommand")
.sc(AdminDisableUser$)
.build() {
}
class AdminEnableUserCommand extends Command
.classBuilder()
.ep(commonParams)
.m(function (Command, cs, config, o) {
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
})
.s("AWSCognitoIdentityProviderService", "AdminEnableUser", {})
.n("CognitoIdentityProviderClient", "AdminEnableUserCommand")
.sc(AdminEnableUser$)
.build() {
}
class AdminForgetDeviceCommand extends Command
.classBuilder()
.ep(commonParams)
.m(function (Command, cs, config, o) {
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
})
.s("AWSCognitoIdentityProviderService", "AdminForgetDevice", {})
.n("CognitoIdentityProviderClient", "AdminForgetDeviceCommand")
.sc(AdminForgetDevice$)
.build() {
}
class AdminGetDeviceCommand extends Command
.classBuilder()
.ep(commonParams)
.m(function (Command, cs, config, o) {
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
})
.s("AWSCognitoIdentityProviderService", "AdminGetDevice", {})
.n("CognitoIdentityProviderClient", "AdminGetDeviceCommand")
.sc(AdminGetDevice$)
.build() {
}
class AdminGetUserCommand extends Command
.classBuilder()
.ep(commonParams)
.m(function (Command, cs, config, o) {
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
})
.s("AWSCognitoIdentityProviderService", "AdminGetUser", {})
.n("CognitoIdentityProviderClient", "AdminGetUserCommand")
.sc(AdminGetUser$)
.build() {
}
class AdminInitiateAuthCommand extends Command
.classBuilder()
.ep(commonParams)
.m(function (Command, cs, config, o) {
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
})
.s("AWSCognitoIdentityProviderService", "AdminInitiateAuth", {})
.n("CognitoIdentityProviderClient", "AdminInitiateAuthCommand")
.sc(AdminInitiateAuth$)
.build() {
}
class AdminLinkProviderForUserCommand extends Command
.classBuilder()
.ep(commonParams)
.m(function (Command, cs, config, o) {
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
})
.s("AWSCognitoIdentityProviderService", "AdminLinkProviderForUser", {})
.n("CognitoIdentityProviderClient", "AdminLinkProviderForUserCommand")
.sc(AdminLinkProviderForUser$)
.build() {
}
class AdminListDevicesCommand extends Command
.classBuilder()
.ep(commonParams)
.m(function (Command, cs, config, o) {
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
})
.s("AWSCognitoIdentityProviderService", "AdminListDevices", {})
.n("CognitoIdentityProviderClient", "AdminListDevicesCommand")
.sc(AdminListDevices$)
.build() {
}
class AdminListGroupsForUserCommand extends Command
.classBuilder()
.ep(commonParams)
.m(function (Command, cs, config, o) {
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
})
.s("AWSCognitoIdentityProviderService", "AdminListGroupsForUser", {})
.n("CognitoIdentityProviderClient", "AdminListGroupsForUserCommand")
.sc(AdminListGroupsForUser$)
.build() {
}
class AdminListUserAuthEventsCommand extends Command
.classBuilder()
.ep(commonParams)
.m(function (Command, cs, config, o) {
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
})
.s("AWSCognitoIdentityProviderService", "AdminListUserAuthEvents", {})
.n("CognitoIdentityProviderClient", "AdminListUserAuthEventsCommand")
.sc(AdminListUserAuthEvents$)
.build() {
}
class AdminRemoveUserFromGroupCommand extends Command
.classBuilder()
.ep(commonParams)
.m(function (Command, cs, config, o) {
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
})
.s("AWSCognitoIdentityProviderService", "AdminRemoveUserFromGroup", {})
.n("CognitoIdentityProviderClient", "AdminRemoveUserFromGroupCommand")
.sc(AdminRemoveUserFromGroup$)
.build() {
}
class AdminResetUserPasswordCommand extends Command
.classBuilder()
.ep(commonParams)
.m(function (Command, cs, config, o) {
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
})
.s("AWSCognitoIdentityProviderService", "AdminResetUserPassword", {})
.n("CognitoIdentityProviderClient", "AdminResetUserPasswordCommand")
.sc(AdminResetUserPassword$)
.build() {
}
class AdminRespondToAuthChallengeCommand extends Command
.classBuilder()
.ep(commonParams)
.m(function (Command, cs, config, o) {
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
})
.s("AWSCognitoIdentityProviderService", "AdminRespondToAuthChallenge", {})
.n("CognitoIdentityProviderClient", "AdminRespondToAuthChallengeCommand")
.sc(AdminRespondToAuthChallenge$)
.build() {
}
class AdminSetUserMFAPreferenceCommand extends Command
.classBuilder()
.ep(commonParams)
.m(function (Command, cs, config, o) {
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
})
.s("AWSCognitoIdentityProviderService", "AdminSetUserMFAPreference", {})
.n("CognitoIdentityProviderClient", "AdminSetUserMFAPreferenceCommand")
.sc(AdminSetUserMFAPreference$)
.build() {
}
class AdminSetUserPasswordCommand extends Command
.classBuilder()
.ep(commonParams)
.m(function (Command, cs, config, o) {
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
})
.s("AWSCognitoIdentityProviderService", "AdminSetUserPassword", {})
.n("CognitoIdentityProviderClient", "AdminSetUserPasswordCommand")
.sc(AdminSetUserPassword$)
.build() {
}
class AdminSetUserSettingsCommand extends Command
.classBuilder()
.ep(commonParams)
.m(function (Command, cs, config, o) {
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
})
.s("AWSCognitoIdentityProviderService", "AdminSetUserSettings", {})
.n("CognitoIdentityProviderClient", "AdminSetUserSettingsCommand")
.sc(AdminSetUserSettings$)
.build() {
}
class AdminUpdateAuthEventFeedbackCommand extends Command
.classBuilder()
.ep(commonParams)
.m(function (Command, cs, config, o) {
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
})
.s("AWSCognitoIdentityProviderService", "AdminUpdateAuthEventFeedback", {})
.n("CognitoIdentityProviderClient", "AdminUpdateAuthEventFeedbackCommand")
.sc(AdminUpdateAuthEventFeedback$)
.build() {
}
class AdminUpdateDeviceStatusCommand extends Command
.classBuilder()
.ep(commonParams)
.m(function (Command, cs, config, o) {
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
})
.s("AWSCognitoIdentityProviderService", "AdminUpdateDeviceStatus", {})
.n("CognitoIdentityProviderClient", "AdminUpdateDeviceStatusCommand")
.sc(AdminUpdateDeviceStatus$)
.build() {
}
class AdminUpdateUserAttributesCommand extends Command
.classBuilder()
.ep(commonParams)
.m(function (Command, cs, config, o) {
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
})
.s("AWSCognitoIdentityProviderService", "AdminUpdateUserAttributes", {})
.n("CognitoIdentityProviderClient", "AdminUpdateUserAttributesCommand")
.sc(AdminUpdateUserAttributes$)
.build() {
}
class AdminUserGlobalSignOutCommand extends Command
.classBuilder()
.ep(commonParams)
.m(function (Command, cs, config, o) {
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
})
.s("AWSCognitoIdentityProviderService", "AdminUserGlobalSignOut", {})
.n("CognitoIdentityProviderClient", "AdminUserGlobalSignOutCommand")
.sc(AdminUserGlobalSignOut$)
.build() {
}
class AssociateSoftwareTokenCommand extends Command
.classBuilder()
.ep(commonParams)
.m(function (Command, cs, config, o) {
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
})
.s("AWSCognitoIdentityProviderService", "AssociateSoftwareToken", {})
.n("CognitoIdentityProviderClient", "AssociateSoftwareTokenCommand")
.sc(AssociateSoftwareToken$)
.build() {
}
class ChangePasswordCommand extends Command
.classBuilder()
.ep(commonParams)
.m(function (Command, cs, config, o) {
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
})
.s("AWSCognitoIdentityProviderService", "ChangePassword", {})
.n("CognitoIdentityProviderClient", "ChangePasswordCommand")
.sc(ChangePassword$)
.build() {
}
class CompleteWebAuthnRegistrationCommand extends Command
.classBuilder()
.ep(commonParams)
.m(function (Command, cs, config, o) {
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
})
.s("AWSCognitoIdentityProviderService", "CompleteWebAuthnRegistration", {})
.n("CognitoIdentityProviderClient", "CompleteWebAuthnRegistrationCommand")
.sc(CompleteWebAuthnRegistration$)
.build() {
}
class ConfirmDeviceCommand extends Command
.classBuilder()
.ep(commonParams)
.m(function (Command, cs, config, o) {
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
})
.s("AWSCognitoIdentityProviderService", "ConfirmDevice", {})
.n("CognitoIdentityProviderClient", "ConfirmDeviceCommand")
.sc(ConfirmDevice$)
.build() {
}
class ConfirmForgotPasswordCommand extends Command
.classBuilder()
.ep(commonParams)
.m(function (Command, cs, config, o) {
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
})
.s("AWSCognitoIdentityProviderService", "ConfirmForgotPassword", {})
.n("CognitoIdentityProviderClient", "ConfirmForgotPasswordCommand")
.sc(ConfirmForgotPassword$)
.build() {
}
class ConfirmSignUpCommand extends Command
.classBuilder()
.ep(commonParams)
.m(function (Command, cs, config, o) {
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
})
.s("AWSCognitoIdentityProviderService", "ConfirmSignUp", {})
.n("CognitoIdentityProviderClient", "ConfirmSignUpCommand")
.sc(ConfirmSignUp$)
.build() {
}
class CreateGroupCommand extends Command
.classBuilder()
.ep(commonParams)
.m(function (Command, cs, config, o) {
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
})
.s("AWSCognitoIdentityProviderService", "CreateGroup", {})
.n("CognitoIdentityProviderClient", "CreateGroupCommand")
.sc(CreateGroup$)
.build() {
}
class CreateIdentityProviderCommand extends Command
.classBuilder()
.ep(commonParams)
.m(function (Command, cs, config, o) {
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
})
.s("AWSCognitoIdentityProviderService", "CreateIdentityProvider", {})
.n("CognitoIdentityProviderClient", "CreateIdentityProviderCommand")
.sc(CreateIdentityProvider$)
.build() {
}
class CreateManagedLoginBrandingCommand extends Command
.classBuilder()
.ep(commonParams)
.m(function (Command, cs, config, o) {
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
})
.s("AWSCognitoIdentityProviderService", "CreateManagedLoginBranding", {})
.n("CognitoIdentityProviderClient", "CreateManagedLoginBrandingCommand")
.sc(CreateManagedLoginBranding$)
.build() {
}
class CreateResourceServerCommand extends Command
.classBuilder()
.ep(commonParams)
.m(function (Command, cs, config, o) {
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
})
.s("AWSCognitoIdentityProviderService", "CreateResourceServer", {})
.n("CognitoIdentityProviderClient", "CreateResourceServerCommand")
.sc(CreateResourceServer$)
.build() {
}
class CreateTermsCommand extends Command
.classBuilder()
.ep(commonParams)
.m(function (Command, cs, config, o) {
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
})
.s("AWSCognitoIdentityProviderService", "CreateTerms", {})
.n("CognitoIdentityProviderClient", "CreateTermsCommand")
.sc(CreateTerms$)
.build() {
}
class CreateUserImportJobCommand extends Command
.classBuilder()
.ep(commonParams)
.m(function (Command, cs, config, o) {
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
})
.s("AWSCognitoIdentityProviderService", "CreateUserImportJob", {})
.n("CognitoIdentityProviderClient", "CreateUserImportJobCommand")
.sc(CreateUserImportJob$)
.build() {
}
class CreateUserPoolClientCommand extends Command
.classBuilder()
.ep(commonParams)
.m(function (Command, cs, config, o) {
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
})
.s("AWSCognitoIdentityProviderService", "CreateUserPoolClient", {})
.n("CognitoIdentityProviderClient", "CreateUserPoolClientCommand")
.sc(CreateUserPoolClient$)
.build() {
}
class CreateUserPoolCommand extends Command
.classBuilder()
.ep(commonParams)
.m(function (Command, cs, config, o) {
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
})
.s("AWSCognitoIdentityProviderService", "CreateUserPool", {})
.n("CognitoIdentityProviderClient", "CreateUserPoolCommand")
.sc(CreateUserPool$)
.build() {
}
class CreateUserPoolDomainCommand extends Command
.classBuilder()
.ep(commonParams)
.m(function (Command, cs, config, o) {
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
})
.s("AWSCognitoIdentityProviderService", "CreateUserPoolDomain", {})
.n("CognitoIdentityProviderClient", "CreateUserPoolDomainCommand")
.sc(CreateUserPoolDomain$)
.build() {
}
class CreateUserPoolReplicaCommand extends Command
.classBuilder()
.ep(commonParams)
.m(function (Command, cs, config, o) {
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
})
.s("AWSCognitoIdentityProviderService", "CreateUserPoolReplica", {})
.n("CognitoIdentityProviderClient", "CreateUserPoolReplicaCommand")
.sc(CreateUserPoolReplica$)
.build() {
}
class DeleteGroupCommand extends Command
.classBuilder()
.ep(commonParams)
.m(function (Command, cs, config, o) {
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
})
.s("AWSCognitoIdentityProviderService", "DeleteGroup", {})
.n("CognitoIdentityProviderClient", "DeleteGroupCommand")
.sc(DeleteGroup$)
.build() {
}
class DeleteIdentityProviderCommand extends Command
.classBuilder()
.ep(commonParams)
.m(function (Command, cs, config, o) {
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
})
.s("AWSCognitoIdentityProviderService", "DeleteIdentityProvider", {})
.n("CognitoIdentityProviderClient", "DeleteIdentityProviderCommand")
.sc(DeleteIdentityProvider$)
.build() {
}
class DeleteManagedLoginBrandingCommand extends Command
.classBuilder()
.ep(commonParams)
.m(function (Command, cs, config, o) {
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
})
.s("AWSCognitoIdentityProviderService", "DeleteManagedLoginBranding", {})
.n("CognitoIdentityProviderClient", "DeleteManagedLoginBrandingCommand")
.sc(DeleteManagedLoginBranding$)
.build() {
}
class DeleteResourceServerCommand extends Command
.classBuilder()
.ep(commonParams)
.m(function (Command, cs, config, o) {
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
})
.s("AWSCognitoIdentityProviderService", "DeleteResourceServer", {})
.n("CognitoIdentityProviderClient", "DeleteResourceServerCommand")
.sc(DeleteResourceServer$)
.build() {
}
class DeleteTermsCommand extends Command
.classBuilder()
.ep(commonParams)
.m(function (Command, cs, config, o) {
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
})
.s("AWSCognitoIdentityProviderService", "DeleteTerms", {})
.n("CognitoIdentityProviderClient", "DeleteTermsCommand")
.sc(DeleteTerms$)
.build() {
}
class DeleteUserAttributesCommand extends Command
.classBuilder()
.ep(commonParams)
.m(function (Command, cs, config, o) {
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
})
.s("AWSCognitoIdentityProviderService", "DeleteUserAttributes", {})
.n("CognitoIdentityProviderClient", "DeleteUserAttributesCommand")
.sc(DeleteUserAttributes$)
.build() {
}
class DeleteUserCommand extends Command
.classBuilder()
.ep(commonParams)
.m(function (Command, cs, config, o) {
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
})
.s("AWSCognitoIdentityProviderService", "DeleteUser", {})
.n("CognitoIdentityProviderClient", "DeleteUserCommand")
.sc(DeleteUser$)
.build() {
}
class DeleteUserPoolClientCommand extends Command
.classBuilder()
.ep(commonParams)
.m(function (Command, cs, config, o) {
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
})
.s("AWSCognitoIdentityProviderService", "DeleteUserPoolClient", {})
.n("CognitoIdentityProviderClient", "DeleteUserPoolClientCommand")
.sc(DeleteUserPoolClient$)
.build() {
}
class DeleteUserPoolClientSecretCommand extends Command
.classBuilder()
.ep(commonParams)
.m(function (Command, cs, config, o) {
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
})
.s("AWSCognitoIdentityProviderService", "DeleteUserPoolClientSecret", {})
.n("CognitoIdentityProviderClient", "DeleteUserPoolClientSecretCommand")
.sc(DeleteUserPoolClientSecret$)
.build() {
}
class DeleteUserPoolCommand extends Command
.classBuilder()
.ep(commonParams)
.m(function (Command, cs, config, o) {
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
})
.s("AWSCognitoIdentityProviderService", "DeleteUserPool", {})
.n("CognitoIdentityProviderClient", "DeleteUserPoolCommand")
.sc(DeleteUserPool$)
.build() {
}
class DeleteUserPoolDomainCommand extends Command
.classBuilder()
.ep(commonParams)
.m(function (Command, cs, config, o) {
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
})
.s("AWSCognitoIdentityProviderService", "DeleteUserPoolDomain", {})
.n("CognitoIdentityProviderClient", "DeleteUserPoolDomainCommand")
.sc(DeleteUserPoolDomain$)
.build() {
}
class DeleteUserPoolReplicaCommand extends Command
.classBuilder()
.ep(commonParams)
.m(function (Command, cs, config, o) {
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
})
.s("AWSCognitoIdentityProviderService", "DeleteUserPoolReplica", {})
.n("CognitoIdentityProviderClient", "DeleteUserPoolReplicaCommand")
.sc(DeleteUserPoolReplica$)
.build() {
}
class DeleteWebAuthnCredentialCommand extends Command
.classBuilder()
.ep(commonParams)
.m(function (Command, cs, config, o) {
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
})
.s("AWSCognitoIdentityProviderService", "DeleteWebAuthnCredential", {})
.n("CognitoIdentityProviderClient", "DeleteWebAuthnCredentialCommand")
.sc(DeleteWebAuthnCredential$)
.build() {
}
class DescribeIdentityProviderCommand extends Command
.classBuilder()
.ep(commonParams)
.m(function (Command, cs, config, o) {
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
})
.s("AWSCognitoIdentityProviderService", "DescribeIdentityProvider", {})
.n("CognitoIdentityProviderClient", "DescribeIdentityProviderCommand")
.sc(DescribeIdentityProvider$)
.build() {
}
class DescribeManagedLoginBrandingByClientCommand extends Command
.classBuilder()
.ep(commonParams)
.m(function (Command, cs, config, o) {
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
})
.s("AWSCognitoIdentityProviderService", "DescribeManagedLoginBrandingByClient", {})
.n("CognitoIdentityProviderClient", "DescribeManagedLoginBrandingByClientCommand")
.sc(DescribeManagedLoginBrandingByClient$)
.build() {
}
class DescribeManagedLoginBrandingCommand extends Command
.classBuilder()
.ep(commonParams)
.m(function (Command, cs, config, o) {
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
})
.s("AWSCognitoIdentityProviderService", "DescribeManagedLoginBranding", {})
.n("CognitoIdentityProviderClient", "DescribeManagedLoginBrandingCommand")
.sc(DescribeManagedLoginBranding$)
.build() {
}
class DescribeResourceServerCommand extends Command
.classBuilder()
.ep(commonParams)
.m(function (Command, cs, config, o) {
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
})
.s("AWSCognitoIdentityProviderService", "DescribeResourceServer", {})
.n("CognitoIdentityProviderClient", "DescribeResourceServerCommand")
.sc(DescribeResourceServer$)
.build() {
}
class DescribeRiskConfigurationCommand extends Command
.classBuilder()
.ep(commonParams)
.m(function (Command, cs, config, o) {
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
})
.s("AWSCognitoIdentityProviderService", "DescribeRiskConfiguration", {})
.n("CognitoIdentityProviderClient", "DescribeRiskConfigurationCommand")
.sc(DescribeRiskConfiguration$)
.build() {
}
class DescribeTermsCommand extends Command
.classBuilder()
.ep(commonParams)
.m(function (Command, cs, config, o) {
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
})
.s("AWSCognitoIdentityProviderService", "DescribeTerms", {})
.n("CognitoIdentityProviderClient", "DescribeTermsCommand")
.sc(DescribeTerms$)
.build() {
}
class DescribeUserImportJobCommand extends Command
.classBuilder()
.ep(commonParams)
.m(function (Command, cs, config, o) {
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
})
.s("AWSCognitoIdentityProviderService", "DescribeUserImportJob", {})
.n("CognitoIdentityProviderClient", "DescribeUserImportJobCommand")
.sc(DescribeUserImportJob$)
.build() {
}
class DescribeUserPoolClientCommand extends Command
.classBuilder()
.ep(commonParams)
.m(function (Command, cs, config, o) {
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
})
.s("AWSCognitoIdentityProviderService", "DescribeUserPoolClient", {})
.n("CognitoIdentityProviderClient", "DescribeUserPoolClientCommand")
.sc(DescribeUserPoolClient$)
.build() {
}
class DescribeUserPoolCommand extends Command
.classBuilder()
.ep(commonParams)
.m(function (Command, cs, config, o) {
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
})
.s("AWSCognitoIdentityProviderService", "DescribeUserPool", {})
.n("CognitoIdentityProviderClient", "DescribeUserPoolCommand")
.sc(DescribeUserPool$)
.build() {
}
class DescribeUserPoolDomainCommand extends Command
.classBuilder()
.ep(commonParams)
.m(function (Command, cs, config, o) {
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
})
.s("AWSCognitoIdentityProviderService", "DescribeUserPoolDomain", {})
.n("CognitoIdentityProviderClient", "DescribeUserPoolDomainCommand")
.sc(DescribeUserPoolDomain$)
.build() {
}
class ForgetDeviceCommand extends Command
.classBuilder()
.ep(commonParams)
.m(function (Command, cs, config, o) {
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
})
.s("AWSCognitoIdentityProviderService", "ForgetDevice", {})
.n("CognitoIdentityProviderClient", "ForgetDeviceCommand")
.sc(ForgetDevice$)
.build() {
}
class ForgotPasswordCommand extends Command
.classBuilder()
.ep(commonParams)
.m(function (Command, cs, config, o) {
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
})
.s("AWSCognitoIdentityProviderService", "ForgotPassword", {})
.n("CognitoIdentityProviderClient", "ForgotPasswordCommand")
.sc(ForgotPassword$)
.build() {
}
class GetCSVHeaderCommand extends Command
.classBuilder()
.ep(commonParams)
.m(function (Command, cs, config, o) {
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
})
.s("AWSCognitoIdentityProviderService", "GetCSVHeader", {})
.n("CognitoIdentityProviderClient", "GetCSVHeaderCommand")
.sc(GetCSVHeader$)
.build() {
}
class GetDeviceCommand extends Command
.classBuilder()
.ep(commonParams)
.m(function (Command, cs, config, o) {
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
})
.s("AWSCognitoIdentityProviderService", "GetDevice", {})
.n("CognitoIdentityProviderClient", "GetDeviceCommand")
.sc(GetDevice$)
.build() {
}
class GetGroupCommand extends Command
.classBuilder()
.ep(commonParams)
.m(function (Command, cs, config, o) {
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
})
.s("AWSCognitoIdentityProviderService", "GetGroup", {})
.n("CognitoIdentityProviderClient", "GetGroupCommand")
.sc(GetGroup$)
.build() {
}
class GetIdentityProviderByIdentifierCommand extends Command
.classBuilder()
.ep(commonParams)
.m(function (Command, cs, config, o) {
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
})
.s("AWSCognitoIdentityProviderService", "GetIdentityProviderByIdentifier", {})
.n("CognitoIdentityProviderClient", "GetIdentityProviderByIdentifierCommand")
.sc(GetIdentityProviderByIdentifier$)
.build() {
}
class GetLogDeliveryConfigurationCommand extends Command
.classBuilder()
.ep(commonParams)
.m(function (Command, cs, config, o) {
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
})
.s("AWSCognitoIdentityProviderService", "GetLogDeliveryConfiguration", {})
.n("CognitoIdentityProviderClient", "GetLogDeliveryConfigurationCommand")
.sc(GetLogDeliveryConfiguration$)
.build() {
}
class GetSigningCertificateCommand extends Command
.classBuilder()
.ep(commonParams)
.m(function (Command, cs, config, o) {
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
})
.s("AWSCognitoIdentityProviderService", "GetSigningCertificate", {})
.n("CognitoIdentityProviderClient", "GetSigningCertificateCommand")
.sc(GetSigningCertificate$)
.build() {
}
class GetTokensFromRefreshTokenCommand extends Command
.classBuilder()
.ep(commonParams)
.m(function (Command, cs, config, o) {
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
})
.s("AWSCognitoIdentityProviderService", "GetTokensFromRefreshToken", {})
.n("CognitoIdentityProviderClient", "GetTokensFromRefreshTokenCommand")
.sc(GetTokensFromRefreshToken$)
.build() {
}
class GetUICustomizationCommand extends Command
.classBuilder()
.ep(commonParams)
.m(function (Command, cs, config, o) {
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
})
.s("AWSCognitoIdentityProviderService", "GetUICustomization", {})
.n("CognitoIdentityProviderClient", "GetUICustomizationCommand")
.sc(GetUICustomization$)
.build() {
}
class GetUserAttributeVerificationCodeCommand extends Command
.classBuilder()
.ep(commonParams)
.m(function (Command, cs, config, o) {
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
})
.s("AWSCognitoIdentityProviderService", "GetUserAttributeVerificationCode", {})
.n("CognitoIdentityProviderClient", "GetUserAttributeVerificationCodeCommand")
.sc(GetUserAttributeVerificationCode$)
.build() {
}
class GetUserAuthFactorsCommand extends Command
.classBuilder()
.ep(commonParams)
.m(function (Command, cs, config, o) {
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
})
.s("AWSCognitoIdentityProviderService", "GetUserAuthFactors", {})
.n("CognitoIdentityProviderClient", "GetUserAuthFactorsCommand")
.sc(GetUserAuthFactors$)
.build() {
}
class GetUserCommand extends Command
.classBuilder()
.ep(commonParams)
.m(function (Command, cs, config, o) {
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
})
.s("AWSCognitoIdentityProviderService", "GetUser", {})
.n("CognitoIdentityProviderClient", "GetUserCommand")
.sc(GetUser$)
.build() {
}
class GetUserPoolMfaConfigCommand extends Command
.classBuilder()
.ep(commonParams)
.m(function (Command, cs, config, o) {
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
})
.s("AWSCognitoIdentityProviderService", "GetUserPoolMfaConfig", {})
.n("CognitoIdentityProviderClient", "GetUserPoolMfaConfigCommand")
.sc(GetUserPoolMfaConfig$)
.build() {
}
class GlobalSignOutCommand extends Command
.classBuilder()
.ep(commonParams)
.m(function (Command, cs, config, o) {
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
})
.s("AWSCognitoIdentityProviderService", "GlobalSignOut", {})
.n("CognitoIdentityProviderClient", "GlobalSignOutCommand")
.sc(GlobalSignOut$)
.build() {
}
class InitiateAuthCommand extends Command
.classBuilder()
.ep(commonParams)
.m(function (Command, cs, config, o) {
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
})
.s("AWSCognitoIdentityProviderService", "InitiateAuth", {})
.n("CognitoIdentityProviderClient", "InitiateAuthCommand")
.sc(InitiateAuth$)
.build() {
}
class ListDevicesCommand extends Command
.classBuilder()
.ep(commonParams)
.m(function (Command, cs, config, o) {
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
})
.s("AWSCognitoIdentityProviderService", "ListDevices", {})
.n("CognitoIdentityProviderClient", "ListDevicesCommand")
.sc(ListDevices$)
.build() {
}
class ListGroupsCommand extends Command
.classBuilder()
.ep(commonParams)
.m(function (Command, cs, config, o) {
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
})
.s("AWSCognitoIdentityProviderService", "ListGroups", {})
.n("CognitoIdentityProviderClient", "ListGroupsCommand")
.sc(ListGroups$)
.build() {
}
class ListIdentityProvidersCommand extends Command
.classBuilder()
.ep(commonParams)
.m(function (Command, cs, config, o) {
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
})
.s("AWSCognitoIdentityProviderService", "ListIdentityProviders", {})
.n("CognitoIdentityProviderClient", "ListIdentityProvidersCommand")
.sc(ListIdentityProviders$)
.build() {
}
class ListResourceServersCommand extends Command
.classBuilder()
.ep(commonParams)
.m(function (Command, cs, config, o) {
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
})
.s("AWSCognitoIdentityProviderService", "ListResourceServers", {})
.n("CognitoIdentityProviderClient", "ListResourceServersCommand")
.sc(ListResourceServers$)
.build() {
}
class ListTagsForResourceCommand extends Command
.classBuilder()
.ep(commonParams)
.m(function (Command, cs, config, o) {
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
})
.s("AWSCognitoIdentityProviderService", "ListTagsForResource", {})
.n("CognitoIdentityProviderClient", "ListTagsForResourceCommand")
.sc(ListTagsForResource$)
.build() {
}
class ListTermsCommand extends Command
.classBuilder()
.ep(commonParams)
.m(function (Command, cs, config, o) {
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
})
.s("AWSCognitoIdentityProviderService", "ListTerms", {})
.n("CognitoIdentityProviderClient", "ListTermsCommand")
.sc(ListTerms$)
.build() {
}
class ListUserImportJobsCommand extends Command
.classBuilder()
.ep(commonParams)
.m(function (Command, cs, config, o) {
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
})
.s("AWSCognitoIdentityProviderService", "ListUserImportJobs", {})
.n("CognitoIdentityProviderClient", "ListUserImportJobsCommand")
.sc(ListUserImportJobs$)
.build() {
}
class ListUserPoolClientsCommand extends Command
.classBuilder()
.ep(commonParams)
.m(function (Command, cs, config, o) {
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
})
.s("AWSCognitoIdentityProviderService", "ListUserPoolClients", {})
.n("CognitoIdentityProviderClient", "ListUserPoolClientsCommand")
.sc(ListUserPoolClients$)
.build() {
}
class ListUserPoolClientSecretsCommand extends Command
.classBuilder()
.ep(commonParams)
.m(function (Command, cs, config, o) {
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
})
.s("AWSCognitoIdentityProviderService", "ListUserPoolClientSecrets", {})
.n("CognitoIdentityProviderClient", "ListUserPoolClientSecretsCommand")
.sc(ListUserPoolClientSecrets$)
.build() {
}
class ListUserPoolReplicasCommand extends Command
.classBuilder()
.ep(commonParams)
.m(function (Command, cs, config, o) {
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
})
.s("AWSCognitoIdentityProviderService", "ListUserPoolReplicas", {})
.n("CognitoIdentityProviderClient", "ListUserPoolReplicasCommand")
.sc(ListUserPoolReplicas$)
.build() {
}
class ListUserPoolsCommand extends Command
.classBuilder()
.ep(commonParams)
.m(function (Command, cs, config, o) {
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
})
.s("AWSCognitoIdentityProviderService", "ListUserPools", {})
.n("CognitoIdentityProviderClient", "ListUserPoolsCommand")
.sc(ListUserPools$)
.build() {
}
class ListUsersCommand extends Command
.classBuilder()
.ep(commonParams)
.m(function (Command, cs, config, o) {
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
})
.s("AWSCognitoIdentityProviderService", "ListUsers", {})
.n("CognitoIdentityProviderClient", "ListUsersCommand")
.sc(ListUsers$)
.build() {
}
class ListUsersInGroupCommand extends Command
.classBuilder()
.ep(commonParams)
.m(function (Command, cs, config, o) {
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
})
.s("AWSCognitoIdentityProviderService", "ListUsersInGroup", {})
.n("CognitoIdentityProviderClient", "ListUsersInGroupCommand")
.sc(ListUsersInGroup$)
.build() {
}
class ListWebAuthnCredentialsCommand extends Command
.classBuilder()
.ep(commonParams)
.m(function (Command, cs, config, o) {
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
})
.s("AWSCognitoIdentityProviderService", "ListWebAuthnCredentials", {})
.n("CognitoIdentityProviderClient", "ListWebAuthnCredentialsCommand")
.sc(ListWebAuthnCredentials$)
.build() {
}
class ResendConfirmationCodeCommand extends Command
.classBuilder()
.ep(commonParams)
.m(function (Command, cs, config, o) {
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
})
.s("AWSCognitoIdentityProviderService", "ResendConfirmationCode", {})
.n("CognitoIdentityProviderClient", "ResendConfirmationCodeCommand")
.sc(ResendConfirmationCode$)
.build() {
}
class RespondToAuthChallengeCommand extends Command
.classBuilder()
.ep(commonParams)
.m(function (Command, cs, config, o) {
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
})
.s("AWSCognitoIdentityProviderService", "RespondToAuthChallenge", {})
.n("CognitoIdentityProviderClient", "RespondToAuthChallengeCommand")
.sc(RespondToAuthChallenge$)
.build() {
}
class RevokeTokenCommand extends Command
.classBuilder()
.ep(commonParams)
.m(function (Command, cs, config, o) {
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
})
.s("AWSCognitoIdentityProviderService", "RevokeToken", {})
.n("CognitoIdentityProviderClient", "RevokeTokenCommand")
.sc(RevokeToken$)
.build() {
}
class SetLogDeliveryConfigurationCommand extends Command
.classBuilder()
.ep(commonParams)
.m(function (Command, cs, config, o) {
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
})
.s("AWSCognitoIdentityProviderService", "SetLogDeliveryConfiguration", {})
.n("CognitoIdentityProviderClient", "SetLogDeliveryConfigurationCommand")
.sc(SetLogDeliveryConfiguration$)
.build() {
}
class SetRiskConfigurationCommand extends Command
.classBuilder()
.ep(commonParams)
.m(function (Command, cs, config, o) {
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
})
.s("AWSCognitoIdentityProviderService", "SetRiskConfiguration", {})
.n("CognitoIdentityProviderClient", "SetRiskConfigurationCommand")
.sc(SetRiskConfiguration$)
.build() {
}
class SetUICustomizationCommand extends Command
.classBuilder()
.ep(commonParams)
.m(function (Command, cs, config, o) {
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
})
.s("AWSCognitoIdentityProviderService", "SetUICustomization", {})
.n("CognitoIdentityProviderClient", "SetUICustomizationCommand")
.sc(SetUICustomization$)
.build() {
}
class SetUserMFAPreferenceCommand extends Command
.classBuilder()
.ep(commonParams)
.m(function (Command, cs, config, o) {
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
})
.s("AWSCognitoIdentityProviderService", "SetUserMFAPreference", {})
.n("CognitoIdentityProviderClient", "SetUserMFAPreferenceCommand")
.sc(SetUserMFAPreference$)
.build() {
}
class SetUserPoolMfaConfigCommand extends Command
.classBuilder()
.ep(commonParams)
.m(function (Command, cs, config, o) {
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
})
.s("AWSCognitoIdentityProviderService", "SetUserPoolMfaConfig", {})
.n("CognitoIdentityProviderClient", "SetUserPoolMfaConfigCommand")
.sc(SetUserPoolMfaConfig$)
.build() {
}
class SetUserSettingsCommand extends Command
.classBuilder()
.ep(commonParams)
.m(function (Command, cs, config, o) {
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
})
.s("AWSCognitoIdentityProviderService", "SetUserSettings", {})
.n("CognitoIdentityProviderClient", "SetUserSettingsCommand")
.sc(SetUserSettings$)
.build() {
}
class SignUpCommand extends Command
.classBuilder()
.ep(commonParams)
.m(function (Command, cs, config, o) {
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
})
.s("AWSCognitoIdentityProviderService", "SignUp", {})
.n("CognitoIdentityProviderClient", "SignUpCommand")
.sc(SignUp$)
.build() {
}
class StartUserImportJobCommand extends Command
.classBuilder()
.ep(commonParams)
.m(function (Command, cs, config, o) {
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
})
.s("AWSCognitoIdentityProviderService", "StartUserImportJob", {})
.n("CognitoIdentityProviderClient", "StartUserImportJobCommand")
.sc(StartUserImportJob$)
.build() {
}
class StartWebAuthnRegistrationCommand extends Command
.classBuilder()
.ep(commonParams)
.m(function (Command, cs, config, o) {
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
})
.s("AWSCognitoIdentityProviderService", "StartWebAuthnRegistration", {})
.n("CognitoIdentityProviderClient", "StartWebAuthnRegistrationCommand")
.sc(StartWebAuthnRegistration$)
.build() {
}
class StopUserImportJobCommand extends Command
.classBuilder()
.ep(commonParams)
.m(function (Command, cs, config, o) {
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
})
.s("AWSCognitoIdentityProviderService", "StopUserImportJob", {})
.n("CognitoIdentityProviderClient", "StopUserImportJobCommand")
.sc(StopUserImportJob$)
.build() {
}
class TagResourceCommand extends Command
.classBuilder()
.ep(commonParams)
.m(function (Command, cs, config, o) {
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
})
.s("AWSCognitoIdentityProviderService", "TagResource", {})
.n("CognitoIdentityProviderClient", "TagResourceCommand")
.sc(TagResource$)
.build() {
}
class UntagResourceCommand extends Command
.classBuilder()
.ep(commonParams)
.m(function (Command, cs, config, o) {
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
})
.s("AWSCognitoIdentityProviderService", "UntagResource", {})
.n("CognitoIdentityProviderClient", "UntagResourceCommand")
.sc(UntagResource$)
.build() {
}
class UpdateAuthEventFeedbackCommand extends Command
.classBuilder()
.ep(commonParams)
.m(function (Command, cs, config, o) {
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
})
.s("AWSCognitoIdentityProviderService", "UpdateAuthEventFeedback", {})
.n("CognitoIdentityProviderClient", "UpdateAuthEventFeedbackCommand")
.sc(UpdateAuthEventFeedback$)
.build() {
}
class UpdateDeviceStatusCommand extends Command
.classBuilder()
.ep(commonParams)
.m(function (Command, cs, config, o) {
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
})
.s("AWSCognitoIdentityProviderService", "UpdateDeviceStatus", {})
.n("CognitoIdentityProviderClient", "UpdateDeviceStatusCommand")
.sc(UpdateDeviceStatus$)
.build() {
}
class UpdateGroupCommand extends Command
.classBuilder()
.ep(commonParams)
.m(function (Command, cs, config, o) {
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
})
.s("AWSCognitoIdentityProviderService", "UpdateGroup", {})
.n("CognitoIdentityProviderClient", "UpdateGroupCommand")
.sc(UpdateGroup$)
.build() {
}
class UpdateIdentityProviderCommand extends Command
.classBuilder()
.ep(commonParams)
.m(function (Command, cs, config, o) {
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
})
.s("AWSCognitoIdentityProviderService", "UpdateIdentityProvider", {})
.n("CognitoIdentityProviderClient", "UpdateIdentityProviderCommand")
.sc(UpdateIdentityProvider$)
.build() {
}
class UpdateManagedLoginBrandingCommand extends Command
.classBuilder()
.ep(commonParams)
.m(function (Command, cs, config, o) {
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
})
.s("AWSCognitoIdentityProviderService", "UpdateManagedLoginBranding", {})
.n("CognitoIdentityProviderClient", "UpdateManagedLoginBrandingCommand")
.sc(UpdateManagedLoginBranding$)
.build() {
}
class UpdateResourceServerCommand extends Command
.classBuilder()
.ep(commonParams)
.m(function (Command, cs, config, o) {
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
})
.s("AWSCognitoIdentityProviderService", "UpdateResourceServer", {})
.n("CognitoIdentityProviderClient", "UpdateResourceServerCommand")
.sc(UpdateResourceServer$)
.build() {
}
class UpdateTermsCommand extends Command
.classBuilder()
.ep(commonParams)
.m(function (Command, cs, config, o) {
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
})
.s("AWSCognitoIdentityProviderService", "UpdateTerms", {})
.n("CognitoIdentityProviderClient", "UpdateTermsCommand")
.sc(UpdateTerms$)
.build() {
}
class UpdateUserAttributesCommand extends Command
.classBuilder()
.ep(commonParams)
.m(function (Command, cs, config, o) {
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
})
.s("AWSCognitoIdentityProviderService", "UpdateUserAttributes", {})
.n("CognitoIdentityProviderClient", "UpdateUserAttributesCommand")
.sc(UpdateUserAttributes$)
.build() {
}
class UpdateUserPoolClientCommand extends Command
.classBuilder()
.ep(commonParams)
.m(function (Command, cs, config, o) {
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
})
.s("AWSCognitoIdentityProviderService", "UpdateUserPoolClient", {})
.n("CognitoIdentityProviderClient", "UpdateUserPoolClientCommand")
.sc(UpdateUserPoolClient$)
.build() {
}
class UpdateUserPoolCommand extends Command
.classBuilder()
.ep(commonParams)
.m(function (Command, cs, config, o) {
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
})
.s("AWSCognitoIdentityProviderService", "UpdateUserPool", {})
.n("CognitoIdentityProviderClient", "UpdateUserPoolCommand")
.sc(UpdateUserPool$)
.build() {
}
class UpdateUserPoolDomainCommand extends Command
.classBuilder()
.ep(commonParams)
.m(function (Command, cs, config, o) {
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
})
.s("AWSCognitoIdentityProviderService", "UpdateUserPoolDomain", {})
.n("CognitoIdentityProviderClient", "UpdateUserPoolDomainCommand")
.sc(UpdateUserPoolDomain$)
.build() {
}
class UpdateUserPoolReplicaCommand extends Command
.classBuilder()
.ep(commonParams)
.m(function (Command, cs, config, o) {
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
})
.s("AWSCognitoIdentityProviderService", "UpdateUserPoolReplica", {})
.n("CognitoIdentityProviderClient", "UpdateUserPoolReplicaCommand")
.sc(UpdateUserPoolReplica$)
.build() {
}
class VerifySoftwareTokenCommand extends Command
.classBuilder()
.ep(commonParams)
.m(function (Command, cs, config, o) {
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
})
.s("AWSCognitoIdentityProviderService", "VerifySoftwareToken", {})
.n("CognitoIdentityProviderClient", "VerifySoftwareTokenCommand")
.sc(VerifySoftwareToken$)
.build() {
}
class VerifyUserAttributeCommand extends Command
.classBuilder()
.ep(commonParams)
.m(function (Command, cs, config, o) {
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
})
.s("AWSCognitoIdentityProviderService", "VerifyUserAttribute", {})
.n("CognitoIdentityProviderClient", "VerifyUserAttributeCommand")
.sc(VerifyUserAttribute$)
.build() {
}
const paginateAdminListGroupsForUser = createPaginator(CognitoIdentityProviderClient, AdminListGroupsForUserCommand, "NextToken", "NextToken", "Limit");
const paginateAdminListUserAuthEvents = createPaginator(CognitoIdentityProviderClient, AdminListUserAuthEventsCommand, "NextToken", "NextToken", "MaxResults");
const paginateListGroups = createPaginator(CognitoIdentityProviderClient, ListGroupsCommand, "NextToken", "NextToken", "Limit");
const paginateListIdentityProviders = createPaginator(CognitoIdentityProviderClient, ListIdentityProvidersCommand, "NextToken", "NextToken", "MaxResults");
const paginateListResourceServers = createPaginator(CognitoIdentityProviderClient, ListResourceServersCommand, "NextToken", "NextToken", "MaxResults");
const paginateListUserPoolClients = createPaginator(CognitoIdentityProviderClient, ListUserPoolClientsCommand, "NextToken", "NextToken", "MaxResults");
const paginateListUserPools = createPaginator(CognitoIdentityProviderClient, ListUserPoolsCommand, "NextToken", "NextToken", "MaxResults");
const paginateListUsersInGroup = createPaginator(CognitoIdentityProviderClient, ListUsersInGroupCommand, "NextToken", "NextToken", "Limit");
const paginateListUsers = createPaginator(CognitoIdentityProviderClient, ListUsersCommand, "PaginationToken", "PaginationToken", "Limit");
const commands = {
AddCustomAttributesCommand,
AddUserPoolClientSecretCommand,
AdminAddUserToGroupCommand,
AdminConfirmSignUpCommand,
AdminCreateUserCommand,
AdminDeleteUserCommand,
AdminDeleteUserAttributesCommand,
AdminDisableProviderForUserCommand,
AdminDisableUserCommand,
AdminEnableUserCommand,
AdminForgetDeviceCommand,
AdminGetDeviceCommand,
AdminGetUserCommand,
AdminInitiateAuthCommand,
AdminLinkProviderForUserCommand,
AdminListDevicesCommand,
AdminListGroupsForUserCommand,
AdminListUserAuthEventsCommand,
AdminRemoveUserFromGroupCommand,
AdminResetUserPasswordCommand,
AdminRespondToAuthChallengeCommand,
AdminSetUserMFAPreferenceCommand,
AdminSetUserPasswordCommand,
AdminSetUserSettingsCommand,
AdminUpdateAuthEventFeedbackCommand,
AdminUpdateDeviceStatusCommand,
AdminUpdateUserAttributesCommand,
AdminUserGlobalSignOutCommand,
AssociateSoftwareTokenCommand,
ChangePasswordCommand,
CompleteWebAuthnRegistrationCommand,
ConfirmDeviceCommand,
ConfirmForgotPasswordCommand,
ConfirmSignUpCommand,
CreateGroupCommand,
CreateIdentityProviderCommand,
CreateManagedLoginBrandingCommand,
CreateResourceServerCommand,
CreateTermsCommand,
CreateUserImportJobCommand,
CreateUserPoolCommand,
CreateUserPoolClientCommand,
CreateUserPoolDomainCommand,
CreateUserPoolReplicaCommand,
DeleteGroupCommand,
DeleteIdentityProviderCommand,
DeleteManagedLoginBrandingCommand,
DeleteResourceServerCommand,
DeleteTermsCommand,
DeleteUserCommand,
DeleteUserAttributesCommand,
DeleteUserPoolCommand,
DeleteUserPoolClientCommand,
DeleteUserPoolClientSecretCommand,
DeleteUserPoolDomainCommand,
DeleteUserPoolReplicaCommand,
DeleteWebAuthnCredentialCommand,
DescribeIdentityProviderCommand,
DescribeManagedLoginBrandingCommand,
DescribeManagedLoginBrandingByClientCommand,
DescribeResourceServerCommand,
DescribeRiskConfigurationCommand,
DescribeTermsCommand,
DescribeUserImportJobCommand,
DescribeUserPoolCommand,
DescribeUserPoolClientCommand,
DescribeUserPoolDomainCommand,
ForgetDeviceCommand,
ForgotPasswordCommand,
GetCSVHeaderCommand,
GetDeviceCommand,
GetGroupCommand,
GetIdentityProviderByIdentifierCommand,
GetLogDeliveryConfigurationCommand,
GetSigningCertificateCommand,
GetTokensFromRefreshTokenCommand,
GetUICustomizationCommand,
GetUserCommand,
GetUserAttributeVerificationCodeCommand,
GetUserAuthFactorsCommand,
GetUserPoolMfaConfigCommand,
GlobalSignOutCommand,
InitiateAuthCommand,
ListDevicesCommand,
ListGroupsCommand,
ListIdentityProvidersCommand,
ListResourceServersCommand,
ListTagsForResourceCommand,
ListTermsCommand,
ListUserImportJobsCommand,
ListUserPoolClientsCommand,
ListUserPoolClientSecretsCommand,
ListUserPoolReplicasCommand,
ListUserPoolsCommand,
ListUsersCommand,
ListUsersInGroupCommand,
ListWebAuthnCredentialsCommand,
ResendConfirmationCodeCommand,
RespondToAuthChallengeCommand,
RevokeTokenCommand,
SetLogDeliveryConfigurationCommand,
SetRiskConfigurationCommand,
SetUICustomizationCommand,
SetUserMFAPreferenceCommand,
SetUserPoolMfaConfigCommand,
SetUserSettingsCommand,
SignUpCommand,
StartUserImportJobCommand,
StartWebAuthnRegistrationCommand,
StopUserImportJobCommand,
TagResourceCommand,
UntagResourceCommand,
UpdateAuthEventFeedbackCommand,
UpdateDeviceStatusCommand,
UpdateGroupCommand,
UpdateIdentityProviderCommand,
UpdateManagedLoginBrandingCommand,
UpdateResourceServerCommand,
UpdateTermsCommand,
UpdateUserAttributesCommand,
UpdateUserPoolCommand,
UpdateUserPoolClientCommand,
UpdateUserPoolDomainCommand,
UpdateUserPoolReplicaCommand,
VerifySoftwareTokenCommand,
VerifyUserAttributeCommand,
};
const paginators = {
paginateAdminListGroupsForUser,
paginateAdminListUserAuthEvents,
paginateListGroups,
paginateListIdentityProviders,
paginateListResourceServers,
paginateListUserPoolClients,
paginateListUserPools,
paginateListUsers,
paginateListUsersInGroup,
};
class CognitoIdentityProvider extends CognitoIdentityProviderClient {
}
createAggregatedClient(commands, CognitoIdentityProvider, { paginators });
const RecoveryOptionNameType = {
ADMIN_ONLY: "admin_only",
VERIFIED_EMAIL: "verified_email",
VERIFIED_PHONE_NUMBER: "verified_phone_number",
};
const AccountTakeoverEventActionType = {
BLOCK: "BLOCK",
MFA_IF_CONFIGURED: "MFA_IF_CONFIGURED",
MFA_REQUIRED: "MFA_REQUIRED",
NO_ACTION: "NO_ACTION",
};
const AttributeDataType = {
BOOLEAN: "Boolean",
DATETIME: "DateTime",
NUMBER: "Number",
STRING: "String",
};
const DeliveryMediumType = {
EMAIL: "EMAIL",
SMS: "SMS",
};
const MessageActionType = {
RESEND: "RESEND",
SUPPRESS: "SUPPRESS",
};
const UserStatusType = {
ARCHIVED: "ARCHIVED",
COMPROMISED: "COMPROMISED",
CONFIRMED: "CONFIRMED",
EXTERNAL_PROVIDER: "EXTERNAL_PROVIDER",
FORCE_CHANGE_PASSWORD: "FORCE_CHANGE_PASSWORD",
RESET_REQUIRED: "RESET_REQUIRED",
UNCONFIRMED: "UNCONFIRMED",
UNKNOWN: "UNKNOWN",
};
const AuthFlowType = {
ADMIN_NO_SRP_AUTH: "ADMIN_NO_SRP_AUTH",
ADMIN_USER_PASSWORD_AUTH: "ADMIN_USER_PASSWORD_AUTH",
CUSTOM_AUTH: "CUSTOM_AUTH",
REFRESH_TOKEN: "REFRESH_TOKEN",
REFRESH_TOKEN_AUTH: "REFRESH_TOKEN_AUTH",
USER_AUTH: "USER_AUTH",
USER_PASSWORD_AUTH: "USER_PASSWORD_AUTH",
USER_SRP_AUTH: "USER_SRP_AUTH",
};
const ChallengeNameType = {
ADMIN_NO_SRP_AUTH: "ADMIN_NO_SRP_AUTH",
CUSTOM_CHALLENGE: "CUSTOM_CHALLENGE",
DEVICE_PASSWORD_VERIFIER: "DEVICE_PASSWORD_VERIFIER",
DEVICE_SRP_AUTH: "DEVICE_SRP_AUTH",
EMAIL_OTP: "EMAIL_OTP",
MFA_SETUP: "MFA_SETUP",
NEW_PASSWORD_REQUIRED: "NEW_PASSWORD_REQUIRED",
PASSWORD: "PASSWORD",
PASSWORD_SRP: "PASSWORD_SRP",
PASSWORD_VERIFIER: "PASSWORD_VERIFIER",
SELECT_CHALLENGE: "SELECT_CHALLENGE",
SELECT_MFA_TYPE: "SELECT_MFA_TYPE",
SMS_MFA: "SMS_MFA",
SMS_OTP: "SMS_OTP",
SOFTWARE_TOKEN_MFA: "SOFTWARE_TOKEN_MFA",
WEB_AUTHN: "WEB_AUTHN",
};
const ChallengeName = {
Mfa: "Mfa",
Password: "Password",
};
const ChallengeResponse = {
Failure: "Failure",
Success: "Success",
};
const FeedbackValueType = {
INVALID: "Invalid",
VALID: "Valid",
};
const EventResponseType = {
Fail: "Fail",
InProgress: "InProgress",
Pass: "Pass",
};
const RiskDecisionType = {
AccountTakeover: "AccountTakeover",
Block: "Block",
NoRisk: "NoRisk",
};
const RiskLevelType = {
High: "High",
Low: "Low",
Medium: "Medium",
};
const EventType = {
ForgotPassword: "ForgotPassword",
PasswordChange: "PasswordChange",
ResendCode: "ResendCode",
SignIn: "SignIn",
SignUp: "SignUp",
};
const DeviceRememberedStatusType = {
NOT_REMEMBERED: "not_remembered",
REMEMBERED: "remembered",
};
const AdvancedSecurityEnabledModeType = {
AUDIT: "AUDIT",
ENFORCED: "ENFORCED",
};
const AdvancedSecurityModeType = {
AUDIT: "AUDIT",
ENFORCED: "ENFORCED",
OFF: "OFF",
};
const AliasAttributeType = {
EMAIL: "email",
PHONE_NUMBER: "phone_number",
PREFERRED_USERNAME: "preferred_username",
};
const AuthFactorType = {
EMAIL_OTP: "EMAIL_OTP",
PASSWORD: "PASSWORD",
SMS_OTP: "SMS_OTP",
WEB_AUTHN: "WEB_AUTHN",
};
const AssetCategoryType = {
AUTH_APP_GRAPHIC: "AUTH_APP_GRAPHIC",
EMAIL_GRAPHIC: "EMAIL_GRAPHIC",
FAVICON_ICO: "FAVICON_ICO",
FAVICON_SVG: "FAVICON_SVG",
FORM_BACKGROUND: "FORM_BACKGROUND",
FORM_LOGO: "FORM_LOGO",
IDP_BUTTON_ICON: "IDP_BUTTON_ICON",
PAGE_BACKGROUND: "PAGE_BACKGROUND",
PAGE_FOOTER_BACKGROUND: "PAGE_FOOTER_BACKGROUND",
PAGE_FOOTER_LOGO: "PAGE_FOOTER_LOGO",
PAGE_HEADER_BACKGROUND: "PAGE_HEADER_BACKGROUND",
PAGE_HEADER_LOGO: "PAGE_HEADER_LOGO",
PASSKEY_GRAPHIC: "PASSKEY_GRAPHIC",
PASSWORD_GRAPHIC: "PASSWORD_GRAPHIC",
SMS_GRAPHIC: "SMS_GRAPHIC",
};
const AssetExtensionType = {
ICO: "ICO",
JPEG: "JPEG",
PNG: "PNG",
SVG: "SVG",
WEBP: "WEBP",
};
const ColorSchemeModeType = {
DARK: "DARK",
DYNAMIC: "DYNAMIC",
LIGHT: "LIGHT",
};
const VerifiedAttributeType = {
EMAIL: "email",
PHONE_NUMBER: "phone_number",
};
const IdentityProviderTypeType = {
Facebook: "Facebook",
Google: "Google",
LoginWithAmazon: "LoginWithAmazon",
OIDC: "OIDC",
SAML: "SAML",
SignInWithApple: "SignInWithApple",
};
const TermsEnforcementType = {
NONE: "NONE",
};
const TermsSourceType = {
LINK: "LINK",
};
const UserImportJobStatusType = {
Created: "Created",
Expired: "Expired",
Failed: "Failed",
InProgress: "InProgress",
Pending: "Pending",
Stopped: "Stopped",
Stopping: "Stopping",
Succeeded: "Succeeded",
};
const DeletionProtectionType = {
ACTIVE: "ACTIVE",
INACTIVE: "INACTIVE",
};
const EmailSendingAccountType = {
COGNITO_DEFAULT: "COGNITO_DEFAULT",
DEVELOPER: "DEVELOPER",
};
const IssuerType = {
ORIGINAL: "ORIGINAL",
UPDATED: "UPDATED",
};
const EncryptionKeyType = {
AWS_OWNED_KEY: "AWS_OWNED_KEY",
CUSTOMER_MANAGED_KEY: "CUSTOMER_MANAGED_KEY",
};
const CustomEmailSenderLambdaVersionType = {
V1_0: "V1_0",
};
const CustomSMSSenderLambdaVersionType = {
V1_0: "V1_0",
};
const InboundFederationLambdaVersionType = {
V1_0: "V1_0",
};
const PreTokenGenerationLambdaVersionType = {
V1_0: "V1_0",
V2_0: "V2_0",
V3_0: "V3_0",
};
const UserPoolMfaType = {
OFF: "OFF",
ON: "ON",
OPTIONAL: "OPTIONAL",
};
const UsernameAttributeType = {
EMAIL: "email",
PHONE_NUMBER: "phone_number",
};
const UserPoolTierType = {
ESSENTIALS: "ESSENTIALS",
LITE: "LITE",
PLUS: "PLUS",
};
const DefaultEmailOptionType = {
CONFIRM_WITH_CODE: "CONFIRM_WITH_CODE",
CONFIRM_WITH_LINK: "CONFIRM_WITH_LINK",
};
const StatusType = {
Disabled: "Disabled",
Enabled: "Enabled",
};
const OAuthFlowType = {
client_credentials: "client_credentials",
code: "code",
implicit: "implicit",
};
const ExplicitAuthFlowsType = {
ADMIN_NO_SRP_AUTH: "ADMIN_NO_SRP_AUTH",
ALLOW_ADMIN_USER_PASSWORD_AUTH: "ALLOW_ADMIN_USER_PASSWORD_AUTH",
ALLOW_CUSTOM_AUTH: "ALLOW_CUSTOM_AUTH",
ALLOW_REFRESH_TOKEN_AUTH: "ALLOW_REFRESH_TOKEN_AUTH",
ALLOW_USER_AUTH: "ALLOW_USER_AUTH",
ALLOW_USER_PASSWORD_AUTH: "ALLOW_USER_PASSWORD_AUTH",
ALLOW_USER_SRP_AUTH: "ALLOW_USER_SRP_AUTH",
CUSTOM_AUTH_FLOW_ONLY: "CUSTOM_AUTH_FLOW_ONLY",
USER_PASSWORD_AUTH: "USER_PASSWORD_AUTH",
};
const PreventUserExistenceErrorTypes = {
ENABLED: "ENABLED",
LEGACY: "LEGACY",
};
const FeatureType = {
DISABLED: "DISABLED",
ENABLED: "ENABLED",
};
const TimeUnitsType = {
DAYS: "days",
HOURS: "hours",
MINUTES: "minutes",
SECONDS: "seconds",
};
const ReplicaRoleType = {
PRIMARY: "PRIMARY",
SECONDARY: "SECONDARY",
};
const ReplicaStatusType = {
ACTIVE: "ACTIVE",
CREATING: "CREATING",
DELETING: "DELETING",
INACTIVE: "INACTIVE",
};
const CompromisedCredentialsEventActionType = {
BLOCK: "BLOCK",
NO_ACTION: "NO_ACTION",
};
const EventFilterType = {
PASSWORD_CHANGE: "PASSWORD_CHANGE",
SIGN_IN: "SIGN_IN",
SIGN_UP: "SIGN_UP",
};
const DomainStatusType = {
ACTIVE: "ACTIVE",
CREATING: "CREATING",
DELETING: "DELETING",
FAILED: "FAILED",
UPDATING: "UPDATING",
};
const EventSourceName = {
USER_AUTH_EVENTS: "userAuthEvents",
USER_NOTIFICATION: "userNotification",
};
const LogLevel = {
ERROR: "ERROR",
INFO: "INFO",
};
const WebAuthnFactorConfigurationType = {
MULTI_FACTOR_WITH_USER_VERIFICATION: "MULTI_FACTOR_WITH_USER_VERIFICATION",
SINGLE_FACTOR: "SINGLE_FACTOR",
};
const UserVerificationType = {
PREFERRED: "preferred",
REQUIRED: "required",
};
const UpdateReplicaStatusType = {
ACTIVE: "ACTIVE",
INACTIVE: "INACTIVE",
};
const VerifySoftwareTokenResponseType = {
ERROR: "ERROR",
SUCCESS: "SUCCESS",
};
exports.AccountTakeoverEventActionType = AccountTakeoverEventActionType;
exports.AddCustomAttributesCommand = AddCustomAttributesCommand;
exports.AddUserPoolClientSecretCommand = AddUserPoolClientSecretCommand;
exports.AdminAddUserToGroupCommand = AdminAddUserToGroupCommand;
exports.AdminConfirmSignUpCommand = AdminConfirmSignUpCommand;
exports.AdminCreateUserCommand = AdminCreateUserCommand;
exports.AdminDeleteUserAttributesCommand = AdminDeleteUserAttributesCommand;
exports.AdminDeleteUserCommand = AdminDeleteUserCommand;
exports.AdminDisableProviderForUserCommand = AdminDisableProviderForUserCommand;
exports.AdminDisableUserCommand = AdminDisableUserCommand;
exports.AdminEnableUserCommand = AdminEnableUserCommand;
exports.AdminForgetDeviceCommand = AdminForgetDeviceCommand;
exports.AdminGetDeviceCommand = AdminGetDeviceCommand;
exports.AdminGetUserCommand = AdminGetUserCommand;
exports.AdminInitiateAuthCommand = AdminInitiateAuthCommand;
exports.AdminLinkProviderForUserCommand = AdminLinkProviderForUserCommand;
exports.AdminListDevicesCommand = AdminListDevicesCommand;
exports.AdminListGroupsForUserCommand = AdminListGroupsForUserCommand;
exports.AdminListUserAuthEventsCommand = AdminListUserAuthEventsCommand;
exports.AdminRemoveUserFromGroupCommand = AdminRemoveUserFromGroupCommand;
exports.AdminResetUserPasswordCommand = AdminResetUserPasswordCommand;
exports.AdminRespondToAuthChallengeCommand = AdminRespondToAuthChallengeCommand;
exports.AdminSetUserMFAPreferenceCommand = AdminSetUserMFAPreferenceCommand;
exports.AdminSetUserPasswordCommand = AdminSetUserPasswordCommand;
exports.AdminSetUserSettingsCommand = AdminSetUserSettingsCommand;
exports.AdminUpdateAuthEventFeedbackCommand = AdminUpdateAuthEventFeedbackCommand;
exports.AdminUpdateDeviceStatusCommand = AdminUpdateDeviceStatusCommand;
exports.AdminUpdateUserAttributesCommand = AdminUpdateUserAttributesCommand;
exports.AdminUserGlobalSignOutCommand = AdminUserGlobalSignOutCommand;
exports.AdvancedSecurityEnabledModeType = AdvancedSecurityEnabledModeType;
exports.AdvancedSecurityModeType = AdvancedSecurityModeType;
exports.AliasAttributeType = AliasAttributeType;
exports.AssetCategoryType = AssetCategoryType;
exports.AssetExtensionType = AssetExtensionType;
exports.AssociateSoftwareTokenCommand = AssociateSoftwareTokenCommand;
exports.AttributeDataType = AttributeDataType;
exports.AuthFactorType = AuthFactorType;
exports.AuthFlowType = AuthFlowType;
exports.ChallengeName = ChallengeName;
exports.ChallengeNameType = ChallengeNameType;
exports.ChallengeResponse = ChallengeResponse;
exports.ChangePasswordCommand = ChangePasswordCommand;
exports.CognitoIdentityProvider = CognitoIdentityProvider;
exports.CognitoIdentityProviderClient = CognitoIdentityProviderClient;
exports.ColorSchemeModeType = ColorSchemeModeType;
exports.CompleteWebAuthnRegistrationCommand = CompleteWebAuthnRegistrationCommand;
exports.CompromisedCredentialsEventActionType = CompromisedCredentialsEventActionType;
exports.ConfirmDeviceCommand = ConfirmDeviceCommand;
exports.ConfirmForgotPasswordCommand = ConfirmForgotPasswordCommand;
exports.ConfirmSignUpCommand = ConfirmSignUpCommand;
exports.CreateGroupCommand = CreateGroupCommand;
exports.CreateIdentityProviderCommand = CreateIdentityProviderCommand;
exports.CreateManagedLoginBrandingCommand = CreateManagedLoginBrandingCommand;
exports.CreateResourceServerCommand = CreateResourceServerCommand;
exports.CreateTermsCommand = CreateTermsCommand;
exports.CreateUserImportJobCommand = CreateUserImportJobCommand;
exports.CreateUserPoolClientCommand = CreateUserPoolClientCommand;
exports.CreateUserPoolCommand = CreateUserPoolCommand;
exports.CreateUserPoolDomainCommand = CreateUserPoolDomainCommand;
exports.CreateUserPoolReplicaCommand = CreateUserPoolReplicaCommand;
exports.CustomEmailSenderLambdaVersionType = CustomEmailSenderLambdaVersionType;
exports.CustomSMSSenderLambdaVersionType = CustomSMSSenderLambdaVersionType;
exports.DefaultEmailOptionType = DefaultEmailOptionType;
exports.DeleteGroupCommand = DeleteGroupCommand;
exports.DeleteIdentityProviderCommand = DeleteIdentityProviderCommand;
exports.DeleteManagedLoginBrandingCommand = DeleteManagedLoginBrandingCommand;
exports.DeleteResourceServerCommand = DeleteResourceServerCommand;
exports.DeleteTermsCommand = DeleteTermsCommand;
exports.DeleteUserAttributesCommand = DeleteUserAttributesCommand;
exports.DeleteUserCommand = DeleteUserCommand;
exports.DeleteUserPoolClientCommand = DeleteUserPoolClientCommand;
exports.DeleteUserPoolClientSecretCommand = DeleteUserPoolClientSecretCommand;
exports.DeleteUserPoolCommand = DeleteUserPoolCommand;
exports.DeleteUserPoolDomainCommand = DeleteUserPoolDomainCommand;
exports.DeleteUserPoolReplicaCommand = DeleteUserPoolReplicaCommand;
exports.DeleteWebAuthnCredentialCommand = DeleteWebAuthnCredentialCommand;
exports.DeletionProtectionType = DeletionProtectionType;
exports.DeliveryMediumType = DeliveryMediumType;
exports.DescribeIdentityProviderCommand = DescribeIdentityProviderCommand;
exports.DescribeManagedLoginBrandingByClientCommand = DescribeManagedLoginBrandingByClientCommand;
exports.DescribeManagedLoginBrandingCommand = DescribeManagedLoginBrandingCommand;
exports.DescribeResourceServerCommand = DescribeResourceServerCommand;
exports.DescribeRiskConfigurationCommand = DescribeRiskConfigurationCommand;
exports.DescribeTermsCommand = DescribeTermsCommand;
exports.DescribeUserImportJobCommand = DescribeUserImportJobCommand;
exports.DescribeUserPoolClientCommand = DescribeUserPoolClientCommand;
exports.DescribeUserPoolCommand = DescribeUserPoolCommand;
exports.DescribeUserPoolDomainCommand = DescribeUserPoolDomainCommand;
exports.DeviceRememberedStatusType = DeviceRememberedStatusType;
exports.DomainStatusType = DomainStatusType;
exports.EmailSendingAccountType = EmailSendingAccountType;
exports.EncryptionKeyType = EncryptionKeyType;
exports.EventFilterType = EventFilterType;
exports.EventResponseType = EventResponseType;
exports.EventSourceName = EventSourceName;
exports.EventType = EventType;
exports.ExplicitAuthFlowsType = ExplicitAuthFlowsType;
exports.FeatureType = FeatureType;
exports.FeedbackValueType = FeedbackValueType;
exports.ForgetDeviceCommand = ForgetDeviceCommand;
exports.ForgotPasswordCommand = ForgotPasswordCommand;
exports.GetCSVHeaderCommand = GetCSVHeaderCommand;
exports.GetDeviceCommand = GetDeviceCommand;
exports.GetGroupCommand = GetGroupCommand;
exports.GetIdentityProviderByIdentifierCommand = GetIdentityProviderByIdentifierCommand;
exports.GetLogDeliveryConfigurationCommand = GetLogDeliveryConfigurationCommand;
exports.GetSigningCertificateCommand = GetSigningCertificateCommand;
exports.GetTokensFromRefreshTokenCommand = GetTokensFromRefreshTokenCommand;
exports.GetUICustomizationCommand = GetUICustomizationCommand;
exports.GetUserAttributeVerificationCodeCommand = GetUserAttributeVerificationCodeCommand;
exports.GetUserAuthFactorsCommand = GetUserAuthFactorsCommand;
exports.GetUserCommand = GetUserCommand;
exports.GetUserPoolMfaConfigCommand = GetUserPoolMfaConfigCommand;
exports.GlobalSignOutCommand = GlobalSignOutCommand;
exports.IdentityProviderTypeType = IdentityProviderTypeType;
exports.InboundFederationLambdaVersionType = InboundFederationLambdaVersionType;
exports.InitiateAuthCommand = InitiateAuthCommand;
exports.IssuerType = IssuerType;
exports.ListDevicesCommand = ListDevicesCommand;
exports.ListGroupsCommand = ListGroupsCommand;
exports.ListIdentityProvidersCommand = ListIdentityProvidersCommand;
exports.ListResourceServersCommand = ListResourceServersCommand;
exports.ListTagsForResourceCommand = ListTagsForResourceCommand;
exports.ListTermsCommand = ListTermsCommand;
exports.ListUserImportJobsCommand = ListUserImportJobsCommand;
exports.ListUserPoolClientSecretsCommand = ListUserPoolClientSecretsCommand;
exports.ListUserPoolClientsCommand = ListUserPoolClientsCommand;
exports.ListUserPoolReplicasCommand = ListUserPoolReplicasCommand;
exports.ListUserPoolsCommand = ListUserPoolsCommand;
exports.ListUsersCommand = ListUsersCommand;
exports.ListUsersInGroupCommand = ListUsersInGroupCommand;
exports.ListWebAuthnCredentialsCommand = ListWebAuthnCredentialsCommand;
exports.LogLevel = LogLevel;
exports.MessageActionType = MessageActionType;
exports.OAuthFlowType = OAuthFlowType;
exports.PreTokenGenerationLambdaVersionType = PreTokenGenerationLambdaVersionType;
exports.PreventUserExistenceErrorTypes = PreventUserExistenceErrorTypes;
exports.RecoveryOptionNameType = RecoveryOptionNameType;
exports.ReplicaRoleType = ReplicaRoleType;
exports.ReplicaStatusType = ReplicaStatusType;
exports.ResendConfirmationCodeCommand = ResendConfirmationCodeCommand;
exports.RespondToAuthChallengeCommand = RespondToAuthChallengeCommand;
exports.RevokeTokenCommand = RevokeTokenCommand;
exports.RiskDecisionType = RiskDecisionType;
exports.RiskLevelType = RiskLevelType;
exports.SetLogDeliveryConfigurationCommand = SetLogDeliveryConfigurationCommand;
exports.SetRiskConfigurationCommand = SetRiskConfigurationCommand;
exports.SetUICustomizationCommand = SetUICustomizationCommand;
exports.SetUserMFAPreferenceCommand = SetUserMFAPreferenceCommand;
exports.SetUserPoolMfaConfigCommand = SetUserPoolMfaConfigCommand;
exports.SetUserSettingsCommand = SetUserSettingsCommand;
exports.SignUpCommand = SignUpCommand;
exports.StartUserImportJobCommand = StartUserImportJobCommand;
exports.StartWebAuthnRegistrationCommand = StartWebAuthnRegistrationCommand;
exports.StatusType = StatusType;
exports.StopUserImportJobCommand = StopUserImportJobCommand;
exports.TagResourceCommand = TagResourceCommand;
exports.TermsEnforcementType = TermsEnforcementType;
exports.TermsSourceType = TermsSourceType;
exports.TimeUnitsType = TimeUnitsType;
exports.UntagResourceCommand = UntagResourceCommand;
exports.UpdateAuthEventFeedbackCommand = UpdateAuthEventFeedbackCommand;
exports.UpdateDeviceStatusCommand = UpdateDeviceStatusCommand;
exports.UpdateGroupCommand = UpdateGroupCommand;
exports.UpdateIdentityProviderCommand = UpdateIdentityProviderCommand;
exports.UpdateManagedLoginBrandingCommand = UpdateManagedLoginBrandingCommand;
exports.UpdateReplicaStatusType = UpdateReplicaStatusType;
exports.UpdateResourceServerCommand = UpdateResourceServerCommand;
exports.UpdateTermsCommand = UpdateTermsCommand;
exports.UpdateUserAttributesCommand = UpdateUserAttributesCommand;
exports.UpdateUserPoolClientCommand = UpdateUserPoolClientCommand;
exports.UpdateUserPoolCommand = UpdateUserPoolCommand;
exports.UpdateUserPoolDomainCommand = UpdateUserPoolDomainCommand;
exports.UpdateUserPoolReplicaCommand = UpdateUserPoolReplicaCommand;
exports.UserImportJobStatusType = UserImportJobStatusType;
exports.UserPoolMfaType = UserPoolMfaType;
exports.UserPoolTierType = UserPoolTierType;
exports.UserStatusType = UserStatusType;
exports.UserVerificationType = UserVerificationType;
exports.UsernameAttributeType = UsernameAttributeType;
exports.VerifiedAttributeType = VerifiedAttributeType;
exports.VerifySoftwareTokenCommand = VerifySoftwareTokenCommand;
exports.VerifySoftwareTokenResponseType = VerifySoftwareTokenResponseType;
exports.VerifyUserAttributeCommand = VerifyUserAttributeCommand;
exports.WebAuthnFactorConfigurationType = WebAuthnFactorConfigurationType;
exports.paginateAdminListGroupsForUser = paginateAdminListGroupsForUser;
exports.paginateAdminListUserAuthEvents = paginateAdminListUserAuthEvents;
exports.paginateListGroups = paginateListGroups;
exports.paginateListIdentityProviders = paginateListIdentityProviders;
exports.paginateListResourceServers = paginateListResourceServers;
exports.paginateListUserPoolClients = paginateListUserPoolClients;
exports.paginateListUserPools = paginateListUserPools;
exports.paginateListUsers = paginateListUsers;
exports.paginateListUsersInGroup = paginateListUsersInGroup;