import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types" ; import { CognitoIdentityProviderClient } from "./CognitoIdentityProviderClient" ; import { AddCustomAttributesCommand , AddCustomAttributesCommandInput , AddCustomAttributesCommandOutput , } from "./commands/AddCustomAttributesCommand" ; import { AdminAddUserToGroupCommand , AdminAddUserToGroupCommandInput , AdminAddUserToGroupCommandOutput , } from "./commands/AdminAddUserToGroupCommand" ; import { AdminConfirmSignUpCommand , AdminConfirmSignUpCommandInput , AdminConfirmSignUpCommandOutput , } from "./commands/AdminConfirmSignUpCommand" ; import { AdminCreateUserCommand , AdminCreateUserCommandInput , AdminCreateUserCommandOutput , } from "./commands/AdminCreateUserCommand" ; import { AdminDeleteUserAttributesCommand , AdminDeleteUserAttributesCommandInput , AdminDeleteUserAttributesCommandOutput , } from "./commands/AdminDeleteUserAttributesCommand" ; import { AdminDeleteUserCommand , AdminDeleteUserCommandInput , AdminDeleteUserCommandOutput , } from "./commands/AdminDeleteUserCommand" ; import { AdminDisableProviderForUserCommand , AdminDisableProviderForUserCommandInput , AdminDisableProviderForUserCommandOutput , } from "./commands/AdminDisableProviderForUserCommand" ; import { AdminDisableUserCommand , AdminDisableUserCommandInput , AdminDisableUserCommandOutput , } from "./commands/AdminDisableUserCommand" ; import { AdminEnableUserCommand , AdminEnableUserCommandInput , AdminEnableUserCommandOutput , } from "./commands/AdminEnableUserCommand" ; import { AdminForgetDeviceCommand , AdminForgetDeviceCommandInput , AdminForgetDeviceCommandOutput , } from "./commands/AdminForgetDeviceCommand" ; import { AdminGetDeviceCommand , AdminGetDeviceCommandInput , AdminGetDeviceCommandOutput , } from "./commands/AdminGetDeviceCommand" ; import { AdminGetUserCommand , AdminGetUserCommandInput , AdminGetUserCommandOutput , } from "./commands/AdminGetUserCommand" ; import { AdminInitiateAuthCommand , AdminInitiateAuthCommandInput , AdminInitiateAuthCommandOutput , } from "./commands/AdminInitiateAuthCommand" ; import { AdminLinkProviderForUserCommand , AdminLinkProviderForUserCommandInput , AdminLinkProviderForUserCommandOutput , } from "./commands/AdminLinkProviderForUserCommand" ; import { AdminListDevicesCommand , AdminListDevicesCommandInput , AdminListDevicesCommandOutput , } from "./commands/AdminListDevicesCommand" ; import { AdminListGroupsForUserCommand , AdminListGroupsForUserCommandInput , AdminListGroupsForUserCommandOutput , } from "./commands/AdminListGroupsForUserCommand" ; import { AdminListUserAuthEventsCommand , AdminListUserAuthEventsCommandInput , AdminListUserAuthEventsCommandOutput , } from "./commands/AdminListUserAuthEventsCommand" ; import { AdminRemoveUserFromGroupCommand , AdminRemoveUserFromGroupCommandInput , AdminRemoveUserFromGroupCommandOutput , } from "./commands/AdminRemoveUserFromGroupCommand" ; import { AdminResetUserPasswordCommand , AdminResetUserPasswordCommandInput , AdminResetUserPasswordCommandOutput , } from "./commands/AdminResetUserPasswordCommand" ; import { AdminRespondToAuthChallengeCommand , AdminRespondToAuthChallengeCommandInput , AdminRespondToAuthChallengeCommandOutput , } from "./commands/AdminRespondToAuthChallengeCommand" ; import { AdminSetUserMFAPreferenceCommand , AdminSetUserMFAPreferenceCommandInput , AdminSetUserMFAPreferenceCommandOutput , } from "./commands/AdminSetUserMFAPreferenceCommand" ; import { AdminSetUserPasswordCommand , AdminSetUserPasswordCommandInput , AdminSetUserPasswordCommandOutput , } from "./commands/AdminSetUserPasswordCommand" ; import { AdminSetUserSettingsCommand , AdminSetUserSettingsCommandInput , AdminSetUserSettingsCommandOutput , } from "./commands/AdminSetUserSettingsCommand" ; import { AdminUpdateAuthEventFeedbackCommand , AdminUpdateAuthEventFeedbackCommandInput , AdminUpdateAuthEventFeedbackCommandOutput , } from "./commands/AdminUpdateAuthEventFeedbackCommand" ; import { AdminUpdateDeviceStatusCommand , AdminUpdateDeviceStatusCommandInput , AdminUpdateDeviceStatusCommandOutput , } from "./commands/AdminUpdateDeviceStatusCommand" ; import { AdminUpdateUserAttributesCommand , AdminUpdateUserAttributesCommandInput , AdminUpdateUserAttributesCommandOutput , } from "./commands/AdminUpdateUserAttributesCommand" ; import { AdminUserGlobalSignOutCommand , AdminUserGlobalSignOutCommandInput , AdminUserGlobalSignOutCommandOutput , } from "./commands/AdminUserGlobalSignOutCommand" ; import { AssociateSoftwareTokenCommand , AssociateSoftwareTokenCommandInput , AssociateSoftwareTokenCommandOutput , } from "./commands/AssociateSoftwareTokenCommand" ; import { ChangePasswordCommand , ChangePasswordCommandInput , ChangePasswordCommandOutput , } from "./commands/ChangePasswordCommand" ; import { ConfirmDeviceCommand , ConfirmDeviceCommandInput , ConfirmDeviceCommandOutput , } from "./commands/ConfirmDeviceCommand" ; import { ConfirmForgotPasswordCommand , ConfirmForgotPasswordCommandInput , ConfirmForgotPasswordCommandOutput , } from "./commands/ConfirmForgotPasswordCommand" ; import { ConfirmSignUpCommand , ConfirmSignUpCommandInput , ConfirmSignUpCommandOutput , } from "./commands/ConfirmSignUpCommand" ; import { CreateGroupCommand , CreateGroupCommandInput , CreateGroupCommandOutput } from "./commands/CreateGroupCommand" ; import { CreateIdentityProviderCommand , CreateIdentityProviderCommandInput , CreateIdentityProviderCommandOutput , } from "./commands/CreateIdentityProviderCommand" ; import { CreateResourceServerCommand , CreateResourceServerCommandInput , CreateResourceServerCommandOutput , } from "./commands/CreateResourceServerCommand" ; import { CreateUserImportJobCommand , CreateUserImportJobCommandInput , CreateUserImportJobCommandOutput , } from "./commands/CreateUserImportJobCommand" ; import { CreateUserPoolClientCommand , CreateUserPoolClientCommandInput , CreateUserPoolClientCommandOutput , } from "./commands/CreateUserPoolClientCommand" ; import { CreateUserPoolCommand , CreateUserPoolCommandInput , CreateUserPoolCommandOutput , } from "./commands/CreateUserPoolCommand" ; import { CreateUserPoolDomainCommand , CreateUserPoolDomainCommandInput , CreateUserPoolDomainCommandOutput , } from "./commands/CreateUserPoolDomainCommand" ; import { DeleteGroupCommand , DeleteGroupCommandInput , DeleteGroupCommandOutput } from "./commands/DeleteGroupCommand" ; import { DeleteIdentityProviderCommand , DeleteIdentityProviderCommandInput , DeleteIdentityProviderCommandOutput , } from "./commands/DeleteIdentityProviderCommand" ; import { DeleteResourceServerCommand , DeleteResourceServerCommandInput , DeleteResourceServerCommandOutput , } from "./commands/DeleteResourceServerCommand" ; import { DeleteUserAttributesCommand , DeleteUserAttributesCommandInput , DeleteUserAttributesCommandOutput , } from "./commands/DeleteUserAttributesCommand" ; import { DeleteUserCommand , DeleteUserCommandInput , DeleteUserCommandOutput } from "./commands/DeleteUserCommand" ; import { DeleteUserPoolClientCommand , DeleteUserPoolClientCommandInput , DeleteUserPoolClientCommandOutput , } from "./commands/DeleteUserPoolClientCommand" ; import { DeleteUserPoolCommand , DeleteUserPoolCommandInput , DeleteUserPoolCommandOutput , } from "./commands/DeleteUserPoolCommand" ; import { DeleteUserPoolDomainCommand , DeleteUserPoolDomainCommandInput , DeleteUserPoolDomainCommandOutput , } from "./commands/DeleteUserPoolDomainCommand" ; import { DescribeIdentityProviderCommand , DescribeIdentityProviderCommandInput , DescribeIdentityProviderCommandOutput , } from "./commands/DescribeIdentityProviderCommand" ; import { DescribeResourceServerCommand , DescribeResourceServerCommandInput , DescribeResourceServerCommandOutput , } from "./commands/DescribeResourceServerCommand" ; import { DescribeRiskConfigurationCommand , DescribeRiskConfigurationCommandInput , DescribeRiskConfigurationCommandOutput , } from "./commands/DescribeRiskConfigurationCommand" ; import { DescribeUserImportJobCommand , DescribeUserImportJobCommandInput , DescribeUserImportJobCommandOutput , } from "./commands/DescribeUserImportJobCommand" ; import { DescribeUserPoolClientCommand , DescribeUserPoolClientCommandInput , DescribeUserPoolClientCommandOutput , } from "./commands/DescribeUserPoolClientCommand" ; import { DescribeUserPoolCommand , DescribeUserPoolCommandInput , DescribeUserPoolCommandOutput , } from "./commands/DescribeUserPoolCommand" ; import { DescribeUserPoolDomainCommand , DescribeUserPoolDomainCommandInput , DescribeUserPoolDomainCommandOutput , } from "./commands/DescribeUserPoolDomainCommand" ; import { ForgetDeviceCommand , ForgetDeviceCommandInput , ForgetDeviceCommandOutput , } from "./commands/ForgetDeviceCommand" ; import { ForgotPasswordCommand , ForgotPasswordCommandInput , ForgotPasswordCommandOutput , } from "./commands/ForgotPasswordCommand" ; import { GetCSVHeaderCommand , GetCSVHeaderCommandInput , GetCSVHeaderCommandOutput , } from "./commands/GetCSVHeaderCommand" ; import { GetDeviceCommand , GetDeviceCommandInput , GetDeviceCommandOutput } from "./commands/GetDeviceCommand" ; import { GetGroupCommand , GetGroupCommandInput , GetGroupCommandOutput } from "./commands/GetGroupCommand" ; import { GetIdentityProviderByIdentifierCommand , GetIdentityProviderByIdentifierCommandInput , GetIdentityProviderByIdentifierCommandOutput , } from "./commands/GetIdentityProviderByIdentifierCommand" ; import { GetSigningCertificateCommand , GetSigningCertificateCommandInput , GetSigningCertificateCommandOutput , } from "./commands/GetSigningCertificateCommand" ; import { GetUICustomizationCommand , GetUICustomizationCommandInput , GetUICustomizationCommandOutput , } from "./commands/GetUICustomizationCommand" ; import { GetUserAttributeVerificationCodeCommand , GetUserAttributeVerificationCodeCommandInput , GetUserAttributeVerificationCodeCommandOutput , } from "./commands/GetUserAttributeVerificationCodeCommand" ; import { GetUserCommand , GetUserCommandInput , GetUserCommandOutput } from "./commands/GetUserCommand" ; import { GetUserPoolMfaConfigCommand , GetUserPoolMfaConfigCommandInput , GetUserPoolMfaConfigCommandOutput , } from "./commands/GetUserPoolMfaConfigCommand" ; import { GlobalSignOutCommand , GlobalSignOutCommandInput , GlobalSignOutCommandOutput , } from "./commands/GlobalSignOutCommand" ; import { InitiateAuthCommand , InitiateAuthCommandInput , InitiateAuthCommandOutput , } from "./commands/InitiateAuthCommand" ; import { ListDevicesCommand , ListDevicesCommandInput , ListDevicesCommandOutput } from "./commands/ListDevicesCommand" ; import { ListGroupsCommand , ListGroupsCommandInput , ListGroupsCommandOutput } from "./commands/ListGroupsCommand" ; import { ListIdentityProvidersCommand , ListIdentityProvidersCommandInput , ListIdentityProvidersCommandOutput , } from "./commands/ListIdentityProvidersCommand" ; import { ListResourceServersCommand , ListResourceServersCommandInput , ListResourceServersCommandOutput , } from "./commands/ListResourceServersCommand" ; import { ListTagsForResourceCommand , ListTagsForResourceCommandInput , ListTagsForResourceCommandOutput , } from "./commands/ListTagsForResourceCommand" ; import { ListUserImportJobsCommand , ListUserImportJobsCommandInput , ListUserImportJobsCommandOutput , } from "./commands/ListUserImportJobsCommand" ; import { ListUserPoolClientsCommand , ListUserPoolClientsCommandInput , ListUserPoolClientsCommandOutput , } from "./commands/ListUserPoolClientsCommand" ; import { ListUserPoolsCommand , ListUserPoolsCommandInput , ListUserPoolsCommandOutput , } from "./commands/ListUserPoolsCommand" ; import { ListUsersCommand , ListUsersCommandInput , ListUsersCommandOutput } from "./commands/ListUsersCommand" ; import { ListUsersInGroupCommand , ListUsersInGroupCommandInput , ListUsersInGroupCommandOutput , } from "./commands/ListUsersInGroupCommand" ; import { ResendConfirmationCodeCommand , ResendConfirmationCodeCommandInput , ResendConfirmationCodeCommandOutput , } from "./commands/ResendConfirmationCodeCommand" ; import { RespondToAuthChallengeCommand , RespondToAuthChallengeCommandInput , RespondToAuthChallengeCommandOutput , } from "./commands/RespondToAuthChallengeCommand" ; import { RevokeTokenCommand , RevokeTokenCommandInput , RevokeTokenCommandOutput } from "./commands/RevokeTokenCommand" ; import { SetRiskConfigurationCommand , SetRiskConfigurationCommandInput , SetRiskConfigurationCommandOutput , } from "./commands/SetRiskConfigurationCommand" ; import { SetUICustomizationCommand , SetUICustomizationCommandInput , SetUICustomizationCommandOutput , } from "./commands/SetUICustomizationCommand" ; import { SetUserMFAPreferenceCommand , SetUserMFAPreferenceCommandInput , SetUserMFAPreferenceCommandOutput , } from "./commands/SetUserMFAPreferenceCommand" ; import { SetUserPoolMfaConfigCommand , SetUserPoolMfaConfigCommandInput , SetUserPoolMfaConfigCommandOutput , } from "./commands/SetUserPoolMfaConfigCommand" ; import { SetUserSettingsCommand , SetUserSettingsCommandInput , SetUserSettingsCommandOutput , } from "./commands/SetUserSettingsCommand" ; import { SignUpCommand , SignUpCommandInput , SignUpCommandOutput } from "./commands/SignUpCommand" ; import { StartUserImportJobCommand , StartUserImportJobCommandInput , StartUserImportJobCommandOutput , } from "./commands/StartUserImportJobCommand" ; import { StopUserImportJobCommand , StopUserImportJobCommandInput , StopUserImportJobCommandOutput , } from "./commands/StopUserImportJobCommand" ; import { TagResourceCommand , TagResourceCommandInput , TagResourceCommandOutput } from "./commands/TagResourceCommand" ; import { UntagResourceCommand , UntagResourceCommandInput , UntagResourceCommandOutput , } from "./commands/UntagResourceCommand" ; import { UpdateAuthEventFeedbackCommand , UpdateAuthEventFeedbackCommandInput , UpdateAuthEventFeedbackCommandOutput , } from "./commands/UpdateAuthEventFeedbackCommand" ; import { UpdateDeviceStatusCommand , UpdateDeviceStatusCommandInput , UpdateDeviceStatusCommandOutput , } from "./commands/UpdateDeviceStatusCommand" ; import { UpdateGroupCommand , UpdateGroupCommandInput , UpdateGroupCommandOutput } from "./commands/UpdateGroupCommand" ; import { UpdateIdentityProviderCommand , UpdateIdentityProviderCommandInput , UpdateIdentityProviderCommandOutput , } from "./commands/UpdateIdentityProviderCommand" ; import { UpdateResourceServerCommand , UpdateResourceServerCommandInput , UpdateResourceServerCommandOutput , } from "./commands/UpdateResourceServerCommand" ; import { UpdateUserAttributesCommand , UpdateUserAttributesCommandInput , UpdateUserAttributesCommandOutput , } from "./commands/UpdateUserAttributesCommand" ; import { UpdateUserPoolClientCommand , UpdateUserPoolClientCommandInput , UpdateUserPoolClientCommandOutput , } from "./commands/UpdateUserPoolClientCommand" ; import { UpdateUserPoolCommand , UpdateUserPoolCommandInput , UpdateUserPoolCommandOutput , } from "./commands/UpdateUserPoolCommand" ; import { UpdateUserPoolDomainCommand , UpdateUserPoolDomainCommandInput , UpdateUserPoolDomainCommandOutput , } from "./commands/UpdateUserPoolDomainCommand" ; import { VerifySoftwareTokenCommand , VerifySoftwareTokenCommandInput , VerifySoftwareTokenCommandOutput , } from "./commands/VerifySoftwareTokenCommand" ; import { VerifyUserAttributeCommand , VerifyUserAttributeCommandInput , VerifyUserAttributeCommandOutput , } from "./commands/VerifyUserAttributeCommand" ; /**
 * <p>Using the Amazon Cognito User Pools API, you can create a user pool to manage
 *             directories and users. You can authenticate a user to obtain tokens related to user
 *             identity and access policies.</p>
 *         <p>This API reference provides information about user pools in Amazon Cognito User
 *             Pools.</p>
 *         <p>For more information, see the <a href="https://docs.aws.amazon.com/cognito/latest/developerguide/what-is-amazon-cognito.html">Amazon Cognito
 *                 Documentation</a>.</p>
 */ export class CognitoIdentityProvider extends CognitoIdentityProviderClient { /**
     * <p>Adds additional user attributes to the user pool schema.</p>
     */ public addCustomAttributes ( args , options ? ) ; public addCustomAttributes ( args , cb ) ; public addCustomAttributes ( args , options , cb ) ; public addCustomAttributes ( args , optionsOrCb ? , cb ? ) { const command = new AddCustomAttributesCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Adds the specified user to the specified group.</p>
     *         <p>Calling this action requires developer credentials.</p>
     */ public adminAddUserToGroup ( args , options ? ) ; public adminAddUserToGroup ( args , cb ) ; public adminAddUserToGroup ( args , options , cb ) ; public adminAddUserToGroup ( args , optionsOrCb ? , cb ? ) { const command = new AdminAddUserToGroupCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Confirms user registration as an admin without using a confirmation code. Works on any
     *             user.</p>
     *         <p>Calling this action requires developer credentials.</p>
     */ public adminConfirmSignUp ( args , options ? ) ; public adminConfirmSignUp ( args , cb ) ; public adminConfirmSignUp ( args , options , cb ) ; public adminConfirmSignUp ( args , optionsOrCb ? , cb ? ) { const command = new AdminConfirmSignUpCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Creates a new user in the specified user pool.</p>
     *         <p>If <code>MessageAction</code> is not set, the default is to send a welcome message via
     *             email or phone (SMS).</p>
     *
     *         <note>
     *             <p>This action might generate an SMS text message. Starting June 1, 2021, U.S.
     *                 telecom carriers require that you register an origination phone number before you can
     *                 send SMS messages to U.S. phone numbers. If you use SMS text messages in Amazon Cognito,
     *                 you must register a phone number with <a href="https://console.aws.amazon.com/pinpoint/home/">Amazon Pinpoint</a>.
     *                 Cognito  will use the the registered number automatically. Otherwise, Cognito users that must
     *                 receive SMS messages might be unable to sign up, activate their accounts, or sign
     *                 in.</p>
     *             <p>If you have never used SMS text messages with Amazon Cognito or any other Amazon Web Service, Amazon SNS might place your account in SMS sandbox. In <i>
     *                   <a href="https://docs.aws.amazon.com/sns/latest/dg/sns-sms-sandbox.html">sandbox
     *                     mode</a>
     *                </i>, you’ll have limitations, such as sending messages
     *                 to only verified phone numbers. After testing in the sandbox environment, you can
     *                 move out of the SMS sandbox and into production. For more information, see <a href="https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-identity-pools-sms-userpool-settings.html"> SMS message settings for Cognito User Pools</a> in the <i>Amazon
     *                         Cognito Developer Guide</i>. </p>
     *         </note>
     *
     *         <p>This message is based on a template that you configured in your call to create or
     *             update a user pool. This template includes your custom sign-up instructions and
     *             placeholders for user name and temporary password.</p>
     *         <p>Alternatively, you can call <code>AdminCreateUser</code> with “SUPPRESS” for the
     *                 <code>MessageAction</code> parameter, and Amazon Cognito will not send any email. </p>
     *         <p>In either case, the user will be in the <code>FORCE_CHANGE_PASSWORD</code> state until
     *             they sign in and change their password.</p>
     *         <p>
     *             <code>AdminCreateUser</code> requires developer credentials.</p>
     */ public adminCreateUser ( args , options ? ) ; public adminCreateUser ( args , cb ) ; public adminCreateUser ( args , options , cb ) ; public adminCreateUser ( args , optionsOrCb ? , cb ? ) { const command = new AdminCreateUserCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Deletes a user as an administrator. Works on any user.</p>
     *         <p>Calling this action requires developer credentials.</p>
     */ public adminDeleteUser ( args , options ? ) ; public adminDeleteUser ( args , cb ) ; public adminDeleteUser ( args , options , cb ) ; public adminDeleteUser ( args , optionsOrCb ? , cb ? ) { const command = new AdminDeleteUserCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Deletes the user attributes in a user pool as an administrator. Works on any
     *             user.</p>
     *         <p>Calling this action requires developer credentials.</p>
     */ public adminDeleteUserAttributes ( args , options ? ) ; public adminDeleteUserAttributes ( args , cb ) ; public adminDeleteUserAttributes ( args , options , cb ) ; public adminDeleteUserAttributes ( args , optionsOrCb ? , cb ? ) { const command = new AdminDeleteUserAttributesCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Disables the user from signing in with the specified external (SAML or social)
     *             identity provider. If the user to disable is a Cognito User Pools native username +
     *             password user, they are not permitted to use their password to sign-in. If the user to
     *             disable is a linked external IdP user, any link between that user and an existing user
     *             is removed. The next time the external user (no longer attached to the previously linked
     *                 <code>DestinationUser</code>) signs in, they must create a new user account. See
     *                 <a href="https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_AdminLinkProviderForUser.html">AdminLinkProviderForUser</a>.</p>
     *         <p>This action is enabled only for admin access and requires developer
     *             credentials.</p>
     *         <p>The <code>ProviderName</code> must match the value specified when creating an IdP for
     *             the pool. </p>
     *         <p>To disable a native username + password user, the <code>ProviderName</code> value must
     *             be <code>Cognito</code> and the <code>ProviderAttributeName</code> must be
     *                 <code>Cognito_Subject</code>, with the <code>ProviderAttributeValue</code> being the
     *             name that is used in the user pool for the user.</p>
     *         <p>The <code>ProviderAttributeName</code> must always be <code>Cognito_Subject</code> for
     *             social identity providers. The <code>ProviderAttributeValue</code> must always be the
     *             exact subject that was used when the user was originally linked as a source user.</p>
     *         <p>For de-linking a SAML identity, there are two scenarios. If the linked identity has
     *             not yet been used to sign-in, the <code>ProviderAttributeName</code> and
     *                 <code>ProviderAttributeValue</code> must be the same values that were used for the
     *                 <code>SourceUser</code> when the identities were originally linked using <code>
     *                 AdminLinkProviderForUser</code> call. (If the linking was done with
     *                 <code>ProviderAttributeName</code> set to <code>Cognito_Subject</code>, the same
     *             applies here). However, if the user has already signed in, the
     *                 <code>ProviderAttributeName</code> must be <code>Cognito_Subject</code> and
     *                 <code>ProviderAttributeValue</code> must be the subject of the SAML
     *             assertion.</p>
     */ public adminDisableProviderForUser ( args , options ? ) ; public adminDisableProviderForUser ( args , cb ) ; public adminDisableProviderForUser ( args , options , cb ) ; public adminDisableProviderForUser ( args , optionsOrCb ? , cb ? ) { const command = new AdminDisableProviderForUserCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Disables the specified user.</p>
     *         <p>Calling this action requires developer credentials.</p>
     */ public adminDisableUser ( args , options ? ) ; public adminDisableUser ( args , cb ) ; public adminDisableUser ( args , options , cb ) ; public adminDisableUser ( args , optionsOrCb ? , cb ? ) { const command = new AdminDisableUserCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Enables the specified user as an administrator. Works on any user.</p>
     *         <p>Calling this action requires developer credentials.</p>
     */ public adminEnableUser ( args , options ? ) ; public adminEnableUser ( args , cb ) ; public adminEnableUser ( args , options , cb ) ; public adminEnableUser ( args , optionsOrCb ? , cb ? ) { const command = new AdminEnableUserCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Forgets the device, as an administrator.</p>
     *         <p>Calling this action requires developer credentials.</p>
     */ public adminForgetDevice ( args , options ? ) ; public adminForgetDevice ( args , cb ) ; public adminForgetDevice ( args , options , cb ) ; public adminForgetDevice ( args , optionsOrCb ? , cb ? ) { const command = new AdminForgetDeviceCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Gets the device, as an administrator.</p>
     *         <p>Calling this action requires developer credentials.</p>
     */ public adminGetDevice ( args , options ? ) ; public adminGetDevice ( args , cb ) ; public adminGetDevice ( args , options , cb ) ; public adminGetDevice ( args , optionsOrCb ? , cb ? ) { const command = new AdminGetDeviceCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Gets the specified user by user name in a user pool as an administrator. Works on any
     *             user.</p>
     *         <p>Calling this action requires developer credentials.</p>
     */ public adminGetUser ( args , options ? ) ; public adminGetUser ( args , cb ) ; public adminGetUser ( args , options , cb ) ; public adminGetUser ( args , optionsOrCb ? , cb ? ) { const command = new AdminGetUserCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Initiates the authentication flow, as an administrator.</p>
     *
     *
     *         <note>
     *             <p>This action might generate an SMS text message. Starting June 1, 2021, U.S.
     *                 telecom carriers require that you register an origination phone number before you can
     *                 send SMS messages to U.S. phone numbers. If you use SMS text messages in Amazon Cognito,
     *                 you must register a phone number with <a href="https://console.aws.amazon.com/pinpoint/home/">Amazon Pinpoint</a>.
     *                 Cognito  will use the the registered number automatically. Otherwise, Cognito users that must
     *                 receive SMS messages might be unable to sign up, activate their accounts, or sign
     *                 in.</p>
     *             <p>If you have never used SMS text messages with Amazon Cognito or any other Amazon Web Service, Amazon SNS might place your account in SMS sandbox. In <i>
     *                   <a href="https://docs.aws.amazon.com/sns/latest/dg/sns-sms-sandbox.html">sandbox
     *                     mode</a>
     *                </i>, you’ll have limitations, such as sending messages
     *                 to only verified phone numbers. After testing in the sandbox environment, you can
     *                 move out of the SMS sandbox and into production. For more information, see <a href="https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-identity-pools-sms-userpool-settings.html"> SMS message settings for Cognito User Pools</a> in the <i>Amazon
     *                         Cognito Developer Guide</i>. </p>
     *         </note>
     *
     *         <p>Calling this action requires developer credentials.</p>
     */ public adminInitiateAuth ( args , options ? ) ; public adminInitiateAuth ( args , cb ) ; public adminInitiateAuth ( args , options , cb ) ; public adminInitiateAuth ( args , optionsOrCb ? , cb ? ) { const command = new AdminInitiateAuthCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Links an existing user account in a user pool (<code>DestinationUser</code>) to an
     *             identity from an external identity provider (<code>SourceUser</code>) based on a
     *             specified attribute name and value from the external identity provider. This allows you
     *             to create a link from the existing user account to an external federated user identity
     *             that has not yet been used to sign in, so that the federated user identity can be used
     *             to sign in as the existing user account. </p>
     *         <p> For example, if there is an existing user with a username and password, this API
     *             links that user to a federated user identity, so that when the federated user identity
     *             is used, the user signs in as the existing user account. </p>
     *         <note>
     *             <p>The maximum number of federated identities linked to a user is 5.</p>
     *         </note>
     *         <important>
     *             <p>Because this API allows a user with an external federated identity to sign in as
     *                 an existing user in the user pool, it is critical that it only be used with external
     *                 identity providers and provider attributes that have been trusted by the application
     *                 owner.</p>
     *         </important>
     *
     *         <p>This action is enabled only for admin access and requires developer
     *             credentials.</p>
     */ public adminLinkProviderForUser ( args , options ? ) ; public adminLinkProviderForUser ( args , cb ) ; public adminLinkProviderForUser ( args , options , cb ) ; public adminLinkProviderForUser ( args , optionsOrCb ? , cb ? ) { const command = new AdminLinkProviderForUserCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Lists devices, as an administrator.</p>
     *         <p>Calling this action requires developer credentials.</p>
     */ public adminListDevices ( args , options ? ) ; public adminListDevices ( args , cb ) ; public adminListDevices ( args , options , cb ) ; public adminListDevices ( args , optionsOrCb ? , cb ? ) { const command = new AdminListDevicesCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Lists the groups that the user belongs to.</p>
     *         <p>Calling this action requires developer credentials.</p>
     */ public adminListGroupsForUser ( args , options ? ) ; public adminListGroupsForUser ( args , cb ) ; public adminListGroupsForUser ( args , options , cb ) ; public adminListGroupsForUser ( args , optionsOrCb ? , cb ? ) { const command = new AdminListGroupsForUserCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Lists a history of user activity and any risks detected as part of Amazon Cognito
     *             advanced security.</p>
     */ public adminListUserAuthEvents ( args , options ? ) ; public adminListUserAuthEvents ( args , cb ) ; public adminListUserAuthEvents ( args , options , cb ) ; public adminListUserAuthEvents ( args , optionsOrCb ? , cb ? ) { const command = new AdminListUserAuthEventsCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Removes the specified user from the specified group.</p>
     *         <p>Calling this action requires developer credentials.</p>
     */ public adminRemoveUserFromGroup ( args , options ? ) ; public adminRemoveUserFromGroup ( args , cb ) ; public adminRemoveUserFromGroup ( args , options , cb ) ; public adminRemoveUserFromGroup ( args , optionsOrCb ? , cb ? ) { const command = new AdminRemoveUserFromGroupCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Resets the specified user's password in a user pool as an administrator. Works on any
     *             user.</p>
     *         <p>When a developer calls this API, the current password is invalidated, so it must be
     *             changed. If a user tries to sign in after the API is called, the app will get a
     *             PasswordResetRequiredException exception back and should direct the user down the flow
     *             to reset the password, which is the same as the forgot password flow. In addition, if
     *             the user pool has phone verification selected and a verified phone number exists for the
     *             user, or if email verification is selected and a verified email exists for the user,
     *             calling this API will also result in sending a message to the end user with the code to
     *             change their password.</p>
     *
     *
     *         <note>
     *             <p>This action might generate an SMS text message. Starting June 1, 2021, U.S.
     *                 telecom carriers require that you register an origination phone number before you can
     *                 send SMS messages to U.S. phone numbers. If you use SMS text messages in Amazon Cognito,
     *                 you must register a phone number with <a href="https://console.aws.amazon.com/pinpoint/home/">Amazon Pinpoint</a>.
     *                 Cognito  will use the the registered number automatically. Otherwise, Cognito users that must
     *                 receive SMS messages might be unable to sign up, activate their accounts, or sign
     *                 in.</p>
     *             <p>If you have never used SMS text messages with Amazon Cognito or any other Amazon Web Service, Amazon SNS might place your account in SMS sandbox. In <i>
     *                   <a href="https://docs.aws.amazon.com/sns/latest/dg/sns-sms-sandbox.html">sandbox
     *                     mode</a>
     *                </i>, you’ll have limitations, such as sending messages
     *                 to only verified phone numbers. After testing in the sandbox environment, you can
     *                 move out of the SMS sandbox and into production. For more information, see <a href="https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-identity-pools-sms-userpool-settings.html"> SMS message settings for Cognito User Pools</a> in the <i>Amazon
     *                         Cognito Developer Guide</i>. </p>
     *         </note>
     *
     *         <p>Calling this action requires developer credentials.</p>
     */ public adminResetUserPassword ( args , options ? ) ; public adminResetUserPassword ( args , cb ) ; public adminResetUserPassword ( args , options , cb ) ; public adminResetUserPassword ( args , optionsOrCb ? , cb ? ) { const command = new AdminResetUserPasswordCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Responds to an authentication challenge, as an administrator.</p>
     *
     *         <note>
     *             <p>This action might generate an SMS text message. Starting June 1, 2021, U.S.
     *                 telecom carriers require that you register an origination phone number before you can
     *                 send SMS messages to U.S. phone numbers. If you use SMS text messages in Amazon Cognito,
     *                 you must register a phone number with <a href="https://console.aws.amazon.com/pinpoint/home/">Amazon Pinpoint</a>.
     *                 Cognito  will use the the registered number automatically. Otherwise, Cognito users that must
     *                 receive SMS messages might be unable to sign up, activate their accounts, or sign
     *                 in.</p>
     *             <p>If you have never used SMS text messages with Amazon Cognito or any other Amazon Web Service, Amazon SNS might place your account in SMS sandbox. In <i>
     *                   <a href="https://docs.aws.amazon.com/sns/latest/dg/sns-sms-sandbox.html">sandbox
     *                     mode</a>
     *                </i>, you’ll have limitations, such as sending messages
     *                 to only verified phone numbers. After testing in the sandbox environment, you can
     *                 move out of the SMS sandbox and into production. For more information, see <a href="https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-identity-pools-sms-userpool-settings.html"> SMS message settings for Cognito User Pools</a> in the <i>Amazon
     *                         Cognito Developer Guide</i>. </p>
     *         </note>
     *
     *         <p>Calling this action requires developer credentials.</p>
     */ public adminRespondToAuthChallenge ( args , options ? ) ; public adminRespondToAuthChallenge ( args , cb ) ; public adminRespondToAuthChallenge ( args , options , cb ) ; public adminRespondToAuthChallenge ( args , optionsOrCb ? , cb ? ) { const command = new AdminRespondToAuthChallengeCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Sets the user's multi-factor authentication (MFA) preference, including which MFA
     *             options are enabled and if any are preferred. Only one factor can be set as preferred.
     *             The preferred MFA factor will be used to authenticate a user if multiple factors are
     *             enabled. If multiple options are enabled and no preference is set, a challenge to choose
     *             an MFA option will be returned during sign in.</p>
     */ public adminSetUserMFAPreference ( args , options ? ) ; public adminSetUserMFAPreference ( args , cb ) ; public adminSetUserMFAPreference ( args , options , cb ) ; public adminSetUserMFAPreference ( args , optionsOrCb ? , cb ? ) { const command = new AdminSetUserMFAPreferenceCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Sets the specified user's password in a user pool as an administrator. Works on any
     *             user. </p>
     *         <p>The password can be temporary or permanent. If it is temporary, the user status will
     *             be placed into the <code>FORCE_CHANGE_PASSWORD</code> state. When the user next tries to
     *             sign in, the InitiateAuth/AdminInitiateAuth response will contain the
     *                 <code>NEW_PASSWORD_REQUIRED</code> challenge. If the user does not sign in before it
     *             expires, the user will not be able to sign in and their password will need to be reset
     *             by an administrator. </p>
     *         <p>Once the user has set a new password, or the password is permanent, the user status
     *             will be set to <code>Confirmed</code>.</p>
     */ public adminSetUserPassword ( args , options ? ) ; public adminSetUserPassword ( args , cb ) ; public adminSetUserPassword ( args , options , cb ) ; public adminSetUserPassword ( args , optionsOrCb ? , cb ? ) { const command = new AdminSetUserPasswordCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>
     *             <i>This action is no longer supported.</i> You can use it to configure
     *             only SMS MFA. You can't use it to configure TOTP software token MFA. To configure either
     *             type of MFA, use <a href="https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_AdminSetUserMFAPreference.html">AdminSetUserMFAPreference</a> instead.</p>
     */ public adminSetUserSettings ( args , options ? ) ; public adminSetUserSettings ( args , cb ) ; public adminSetUserSettings ( args , options , cb ) ; public adminSetUserSettings ( args , optionsOrCb ? , cb ? ) { const command = new AdminSetUserSettingsCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Provides feedback for an authentication event as to whether it was from a valid user.
     *             This feedback is used for improving the risk evaluation decision for the user pool as
     *             part of Amazon Cognito advanced security.</p>
     */ public adminUpdateAuthEventFeedback ( args , options ? ) ; public adminUpdateAuthEventFeedback ( args , cb ) ; public adminUpdateAuthEventFeedback ( args , options , cb ) ; public adminUpdateAuthEventFeedback ( args , optionsOrCb ? , cb ? ) { const command = new AdminUpdateAuthEventFeedbackCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Updates the device status as an administrator.</p>
     *         <p>Calling this action requires developer credentials.</p>
     */ public adminUpdateDeviceStatus ( args , options ? ) ; public adminUpdateDeviceStatus ( args , cb ) ; public adminUpdateDeviceStatus ( args , options , cb ) ; public adminUpdateDeviceStatus ( args , optionsOrCb ? , cb ? ) { const command = new AdminUpdateDeviceStatusCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Updates the specified user's attributes, including developer attributes, as an
     *             administrator. Works on any user.</p>
     *         <p>For custom attributes, you must prepend the <code>custom:</code> prefix to the
     *             attribute name.</p>
     *         <p>In addition to updating user attributes, this API can also be used to mark phone and
     *             email as verified.</p>
     *
     *         <note>
     *             <p>This action might generate an SMS text message. Starting June 1, 2021, U.S.
     *                 telecom carriers require that you register an origination phone number before you can
     *                 send SMS messages to U.S. phone numbers. If you use SMS text messages in Amazon Cognito,
     *                 you must register a phone number with <a href="https://console.aws.amazon.com/pinpoint/home/">Amazon Pinpoint</a>.
     *                 Cognito  will use the the registered number automatically. Otherwise, Cognito users that must
     *                 receive SMS messages might be unable to sign up, activate their accounts, or sign
     *                 in.</p>
     *             <p>If you have never used SMS text messages with Amazon Cognito or any other Amazon Web Service, Amazon SNS might place your account in SMS sandbox. In <i>
     *                   <a href="https://docs.aws.amazon.com/sns/latest/dg/sns-sms-sandbox.html">sandbox
     *                     mode</a>
     *                </i>, you’ll have limitations, such as sending messages
     *                 to only verified phone numbers. After testing in the sandbox environment, you can
     *                 move out of the SMS sandbox and into production. For more information, see <a href="https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-identity-pools-sms-userpool-settings.html"> SMS message settings for Cognito User Pools</a> in the <i>Amazon
     *                         Cognito Developer Guide</i>. </p>
     *         </note>
     *
     *         <p>Calling this action requires developer credentials.</p>
     */ public adminUpdateUserAttributes ( args , options ? ) ; public adminUpdateUserAttributes ( args , cb ) ; public adminUpdateUserAttributes ( args , options , cb ) ; public adminUpdateUserAttributes ( args , optionsOrCb ? , cb ? ) { const command = new AdminUpdateUserAttributesCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Signs out users from all devices, as an administrator. It also invalidates all refresh
     *             tokens issued to a user. The user's current access and Id tokens remain valid until
     *             their expiry. Access and Id tokens expire one hour after they are issued.</p>
     *         <p>Calling this action requires developer credentials.</p>
     */ public adminUserGlobalSignOut ( args , options ? ) ; public adminUserGlobalSignOut ( args , cb ) ; public adminUserGlobalSignOut ( args , options , cb ) ; public adminUserGlobalSignOut ( args , optionsOrCb ? , cb ? ) { const command = new AdminUserGlobalSignOutCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Returns a unique generated shared secret key code for the user account. The request
     *             takes an access token or a session string, but not both.</p>
     *         <note>
     *             <p>Calling AssociateSoftwareToken immediately disassociates the existing software
     *                 token from the user account. If the user doesn't subsequently verify the software
     *                 token, their account is essentially set up to authenticate without MFA. If MFA
     *                 config is set to Optional at the user pool level, the user can then login without
     *                 MFA. However, if MFA is set to Required for the user pool, the user will be asked to
     *                 setup a new software token MFA during sign in.</p>
     *         </note>
     */ public associateSoftwareToken ( args , options ? ) ; public associateSoftwareToken ( args , cb ) ; public associateSoftwareToken ( args , options , cb ) ; public associateSoftwareToken ( args , optionsOrCb ? , cb ? ) { const command = new AssociateSoftwareTokenCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Changes the password for a specified user in a user pool.</p>
     */ public changePassword ( args , options ? ) ; public changePassword ( args , cb ) ; public changePassword ( args , options , cb ) ; public changePassword ( args , optionsOrCb ? , cb ? ) { const command = new ChangePasswordCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Confirms tracking of the device. This API call is the call that begins device
     *             tracking.</p>
     */ public confirmDevice ( args , options ? ) ; public confirmDevice ( args , cb ) ; public confirmDevice ( args , options , cb ) ; public confirmDevice ( args , optionsOrCb ? , cb ? ) { const command = new ConfirmDeviceCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Allows a user to enter a confirmation code to reset a forgotten password.</p>
     */ public confirmForgotPassword ( args , options ? ) ; public confirmForgotPassword ( args , cb ) ; public confirmForgotPassword ( args , options , cb ) ; public confirmForgotPassword ( args , optionsOrCb ? , cb ? ) { const command = new ConfirmForgotPasswordCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Confirms registration of a user and handles the existing alias from a previous
     *             user.</p>
     */ public confirmSignUp ( args , options ? ) ; public confirmSignUp ( args , cb ) ; public confirmSignUp ( args , options , cb ) ; public confirmSignUp ( args , optionsOrCb ? , cb ? ) { const command = new ConfirmSignUpCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Creates a new group in the specified user pool.</p>
     *         <p>Calling this action requires developer credentials.</p>
     */ public createGroup ( args , options ? ) ; public createGroup ( args , cb ) ; public createGroup ( args , options , cb ) ; public createGroup ( args , optionsOrCb ? , cb ? ) { const command = new CreateGroupCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Creates an identity provider for a user pool.</p>
     */ public createIdentityProvider ( args , options ? ) ; public createIdentityProvider ( args , cb ) ; public createIdentityProvider ( args , options , cb ) ; public createIdentityProvider ( args , optionsOrCb ? , cb ? ) { const command = new CreateIdentityProviderCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Creates a new OAuth2.0 resource server and defines custom scopes in it.</p>
     */ public createResourceServer ( args , options ? ) ; public createResourceServer ( args , cb ) ; public createResourceServer ( args , options , cb ) ; public createResourceServer ( args , optionsOrCb ? , cb ? ) { const command = new CreateResourceServerCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Creates the user import job.</p>
     */ public createUserImportJob ( args , options ? ) ; public createUserImportJob ( args , cb ) ; public createUserImportJob ( args , options , cb ) ; public createUserImportJob ( args , optionsOrCb ? , cb ? ) { const command = new CreateUserImportJobCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Creates a new Amazon Cognito user pool and sets the password policy for the
     *             pool.</p>
     *
     *         <note>
     *             <p>This action might generate an SMS text message. Starting June 1, 2021, U.S.
     *                 telecom carriers require that you register an origination phone number before you can
     *                 send SMS messages to U.S. phone numbers. If you use SMS text messages in Amazon Cognito,
     *                 you must register a phone number with <a href="https://console.aws.amazon.com/pinpoint/home/">Amazon Pinpoint</a>.
     *                 Cognito  will use the the registered number automatically. Otherwise, Cognito users that must
     *                 receive SMS messages might be unable to sign up, activate their accounts, or sign
     *                 in.</p>
     *             <p>If you have never used SMS text messages with Amazon Cognito or any other Amazon Web Service, Amazon SNS might place your account in SMS sandbox. In <i>
     *                   <a href="https://docs.aws.amazon.com/sns/latest/dg/sns-sms-sandbox.html">sandbox
     *                     mode</a>
     *                </i>, you’ll have limitations, such as sending messages
     *                 to only verified phone numbers. After testing in the sandbox environment, you can
     *                 move out of the SMS sandbox and into production. For more information, see <a href="https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-identity-pools-sms-userpool-settings.html"> SMS message settings for Cognito User Pools</a> in the <i>Amazon
     *                         Cognito Developer Guide</i>. </p>
     *         </note>
     */ public createUserPool ( args , options ? ) ; public createUserPool ( args , cb ) ; public createUserPool ( args , options , cb ) ; public createUserPool ( args , optionsOrCb ? , cb ? ) { const command = new CreateUserPoolCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Creates the user pool client.</p>
     *         <p>When you create a new user pool client, token revocation is automatically enabled. For more information
     *             about revoking tokens, see <a href="https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_RevokeToken.html">RevokeToken</a>.</p>
     */ public createUserPoolClient ( args , options ? ) ; public createUserPoolClient ( args , cb ) ; public createUserPoolClient ( args , options , cb ) ; public createUserPoolClient ( args , optionsOrCb ? , cb ? ) { const command = new CreateUserPoolClientCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Creates a new domain for a user pool.</p>
     */ public createUserPoolDomain ( args , options ? ) ; public createUserPoolDomain ( args , cb ) ; public createUserPoolDomain ( args , options , cb ) ; public createUserPoolDomain ( args , optionsOrCb ? , cb ? ) { const command = new CreateUserPoolDomainCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Deletes a group.</p>
     *         <p>Calling this action requires developer credentials.</p>
     */ public deleteGroup ( args , options ? ) ; public deleteGroup ( args , cb ) ; public deleteGroup ( args , options , cb ) ; public deleteGroup ( args , optionsOrCb ? , cb ? ) { const command = new DeleteGroupCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Deletes an identity provider for a user pool.</p>
     */ public deleteIdentityProvider ( args , options ? ) ; public deleteIdentityProvider ( args , cb ) ; public deleteIdentityProvider ( args , options , cb ) ; public deleteIdentityProvider ( args , optionsOrCb ? , cb ? ) { const command = new DeleteIdentityProviderCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Deletes a resource server.</p>
     */ public deleteResourceServer ( args , options ? ) ; public deleteResourceServer ( args , cb ) ; public deleteResourceServer ( args , options , cb ) ; public deleteResourceServer ( args , optionsOrCb ? , cb ? ) { const command = new DeleteResourceServerCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Allows a user to delete himself or herself.</p>
     */ public deleteUser ( args , options ? ) ; public deleteUser ( args , cb ) ; public deleteUser ( args , options , cb ) ; public deleteUser ( args , optionsOrCb ? , cb ? ) { const command = new DeleteUserCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Deletes the attributes for a user.</p>
     */ public deleteUserAttributes ( args , options ? ) ; public deleteUserAttributes ( args , cb ) ; public deleteUserAttributes ( args , options , cb ) ; public deleteUserAttributes ( args , optionsOrCb ? , cb ? ) { const command = new DeleteUserAttributesCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Deletes the specified Amazon Cognito user pool.</p>
     */ public deleteUserPool ( args , options ? ) ; public deleteUserPool ( args , cb ) ; public deleteUserPool ( args , options , cb ) ; public deleteUserPool ( args , optionsOrCb ? , cb ? ) { const command = new DeleteUserPoolCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Allows the developer to delete the user pool client.</p>
     */ public deleteUserPoolClient ( args , options ? ) ; public deleteUserPoolClient ( args , cb ) ; public deleteUserPoolClient ( args , options , cb ) ; public deleteUserPoolClient ( args , optionsOrCb ? , cb ? ) { const command = new DeleteUserPoolClientCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Deletes a domain for a user pool.</p>
     */ public deleteUserPoolDomain ( args , options ? ) ; public deleteUserPoolDomain ( args , cb ) ; public deleteUserPoolDomain ( args , options , cb ) ; public deleteUserPoolDomain ( args , optionsOrCb ? , cb ? ) { const command = new DeleteUserPoolDomainCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Gets information about a specific identity provider.</p>
     */ public describeIdentityProvider ( args , options ? ) ; public describeIdentityProvider ( args , cb ) ; public describeIdentityProvider ( args , options , cb ) ; public describeIdentityProvider ( args , optionsOrCb ? , cb ? ) { const command = new DescribeIdentityProviderCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Describes a resource server.</p>
     */ public describeResourceServer ( args , options ? ) ; public describeResourceServer ( args , cb ) ; public describeResourceServer ( args , options , cb ) ; public describeResourceServer ( args , optionsOrCb ? , cb ? ) { const command = new DescribeResourceServerCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Describes the risk configuration.</p>
     */ public describeRiskConfiguration ( args , options ? ) ; public describeRiskConfiguration ( args , cb ) ; public describeRiskConfiguration ( args , options , cb ) ; public describeRiskConfiguration ( args , optionsOrCb ? , cb ? ) { const command = new DescribeRiskConfigurationCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Describes the user import job.</p>
     */ public describeUserImportJob ( args , options ? ) ; public describeUserImportJob ( args , cb ) ; public describeUserImportJob ( args , options , cb ) ; public describeUserImportJob ( args , optionsOrCb ? , cb ? ) { const command = new DescribeUserImportJobCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Returns the configuration information and metadata of the specified user pool.</p>
     */ public describeUserPool ( args , options ? ) ; public describeUserPool ( args , cb ) ; public describeUserPool ( args , options , cb ) ; public describeUserPool ( args , optionsOrCb ? , cb ? ) { const command = new DescribeUserPoolCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Client method for returning the configuration information and metadata of the
     *             specified user pool app client.</p>
     */ public describeUserPoolClient ( args , options ? ) ; public describeUserPoolClient ( args , cb ) ; public describeUserPoolClient ( args , options , cb ) ; public describeUserPoolClient ( args , optionsOrCb ? , cb ? ) { const command = new DescribeUserPoolClientCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Gets information about a domain.</p>
     */ public describeUserPoolDomain ( args , options ? ) ; public describeUserPoolDomain ( args , cb ) ; public describeUserPoolDomain ( args , options , cb ) ; public describeUserPoolDomain ( args , optionsOrCb ? , cb ? ) { const command = new DescribeUserPoolDomainCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Forgets the specified device.</p>
     */ public forgetDevice ( args , options ? ) ; public forgetDevice ( args , cb ) ; public forgetDevice ( args , options , cb ) ; public forgetDevice ( args , optionsOrCb ? , cb ? ) { const command = new ForgetDeviceCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Calling this API causes a message to be sent to the end user with a confirmation code
     *             that is required to change the user's password. For the <code>Username</code> parameter,
     *             you can use the username or user alias. The method used to send the confirmation code is
     *             sent according to the specified AccountRecoverySetting. For more information, see <a href="https://docs.aws.amazon.com/cognito/latest/developerguide/how-to-recover-a-user-account.html">Recovering
     *                 User Accounts</a> in the <i>Amazon Cognito Developer Guide</i>. If
     *             neither a verified phone number nor a verified email exists, an
     *                 <code>InvalidParameterException</code> is thrown. To use the confirmation code for
     *             resetting the password, call <a href="https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_ConfirmForgotPassword.html">ConfirmForgotPassword</a>.</p>
     *
     *         <note>
     *             <p>This action might generate an SMS text message. Starting June 1, 2021, U.S.
     *                 telecom carriers require that you register an origination phone number before you can
     *                 send SMS messages to U.S. phone numbers. If you use SMS text messages in Amazon Cognito,
     *                 you must register a phone number with <a href="https://console.aws.amazon.com/pinpoint/home/">Amazon Pinpoint</a>.
     *                 Cognito  will use the the registered number automatically. Otherwise, Cognito users that must
     *                 receive SMS messages might be unable to sign up, activate their accounts, or sign
     *                 in.</p>
     *             <p>If you have never used SMS text messages with Amazon Cognito or any other Amazon Web Service, Amazon SNS might place your account in SMS sandbox. In <i>
     *                   <a href="https://docs.aws.amazon.com/sns/latest/dg/sns-sms-sandbox.html">sandbox
     *                     mode</a>
     *                </i>, you’ll have limitations, such as sending messages
     *                 to only verified phone numbers. After testing in the sandbox environment, you can
     *                 move out of the SMS sandbox and into production. For more information, see <a href="https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-identity-pools-sms-userpool-settings.html"> SMS message settings for Cognito User Pools</a> in the <i>Amazon
     *                         Cognito Developer Guide</i>. </p>
     *         </note>
     */ public forgotPassword ( args , options ? ) ; public forgotPassword ( args , cb ) ; public forgotPassword ( args , options , cb ) ; public forgotPassword ( args , optionsOrCb ? , cb ? ) { const command = new ForgotPasswordCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Gets the header information for the .csv file to be used as input for the user import
     *             job.</p>
     */ public getCSVHeader ( args , options ? ) ; public getCSVHeader ( args , cb ) ; public getCSVHeader ( args , options , cb ) ; public getCSVHeader ( args , optionsOrCb ? , cb ? ) { const command = new GetCSVHeaderCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Gets the device.</p>
     */ public getDevice ( args , options ? ) ; public getDevice ( args , cb ) ; public getDevice ( args , options , cb ) ; public getDevice ( args , optionsOrCb ? , cb ? ) { const command = new GetDeviceCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Gets a group.</p>
     *         <p>Calling this action requires developer credentials.</p>
     */ public getGroup ( args , options ? ) ; public getGroup ( args , cb ) ; public getGroup ( args , options , cb ) ; public getGroup ( args , optionsOrCb ? , cb ? ) { const command = new GetGroupCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Gets the specified identity provider.</p>
     */ public getIdentityProviderByIdentifier ( args , options ? ) ; public getIdentityProviderByIdentifier ( args , cb ) ; public getIdentityProviderByIdentifier ( args , options , cb ) ; public getIdentityProviderByIdentifier ( args , optionsOrCb ? , cb ? ) { const command = new GetIdentityProviderByIdentifierCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>This method takes a user pool ID, and returns the signing certificate.</p>
     */ public getSigningCertificate ( args , options ? ) ; public getSigningCertificate ( args , cb ) ; public getSigningCertificate ( args , options , cb ) ; public getSigningCertificate ( args , optionsOrCb ? , cb ? ) { const command = new GetSigningCertificateCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Gets the UI Customization information for a particular app client's app UI, if there
     *             is something set. If nothing is set for the particular client, but there is an existing
     *             pool level customization (app <code>clientId</code> will be <code>ALL</code>), then that
     *             is returned. If nothing is present, then an empty shape is returned.</p>
     */ public getUICustomization ( args , options ? ) ; public getUICustomization ( args , cb ) ; public getUICustomization ( args , options , cb ) ; public getUICustomization ( args , optionsOrCb ? , cb ? ) { const command = new GetUICustomizationCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Gets the user attributes and metadata for a user.</p>
     */ public getUser ( args , options ? ) ; public getUser ( args , cb ) ; public getUser ( args , options , cb ) ; public getUser ( args , optionsOrCb ? , cb ? ) { const command = new GetUserCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Gets the user attribute verification code for the specified attribute name.</p>
     *
     *         <note>
     *             <p>This action might generate an SMS text message. Starting June 1, 2021, U.S.
     *                 telecom carriers require that you register an origination phone number before you can
     *                 send SMS messages to U.S. phone numbers. If you use SMS text messages in Amazon Cognito,
     *                 you must register a phone number with <a href="https://console.aws.amazon.com/pinpoint/home/">Amazon Pinpoint</a>.
     *                 Cognito  will use the the registered number automatically. Otherwise, Cognito users that must
     *                 receive SMS messages might be unable to sign up, activate their accounts, or sign
     *                 in.</p>
     *             <p>If you have never used SMS text messages with Amazon Cognito or any other Amazon Web Service, Amazon SNS might place your account in SMS sandbox. In <i>
     *                   <a href="https://docs.aws.amazon.com/sns/latest/dg/sns-sms-sandbox.html">sandbox
     *                     mode</a>
     *                </i>, you’ll have limitations, such as sending messages
     *                 to only verified phone numbers. After testing in the sandbox environment, you can
     *                 move out of the SMS sandbox and into production. For more information, see <a href="https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-identity-pools-sms-userpool-settings.html"> SMS message settings for Cognito User Pools</a> in the <i>Amazon
     *                         Cognito Developer Guide</i>. </p>
     *         </note>
     */ public getUserAttributeVerificationCode ( args , options ? ) ; public getUserAttributeVerificationCode ( args , cb ) ; public getUserAttributeVerificationCode ( args , options , cb ) ; public getUserAttributeVerificationCode ( args , optionsOrCb ? , cb ? ) { const command = new GetUserAttributeVerificationCodeCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Gets the user pool multi-factor authentication (MFA) configuration.</p>
     */ public getUserPoolMfaConfig ( args , options ? ) ; public getUserPoolMfaConfig ( args , cb ) ; public getUserPoolMfaConfig ( args , options , cb ) ; public getUserPoolMfaConfig ( args , optionsOrCb ? , cb ? ) { const command = new GetUserPoolMfaConfigCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Signs out users from all devices. It also invalidates all refresh tokens issued to a
     *             user. The user's current access and Id tokens remain valid until their expiry. Access
     *             and Id tokens expire one hour after they are issued.</p>
     */ public globalSignOut ( args , options ? ) ; public globalSignOut ( args , cb ) ; public globalSignOut ( args , options , cb ) ; public globalSignOut ( args , optionsOrCb ? , cb ? ) { const command = new GlobalSignOutCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Initiates the authentication flow.</p>
     *
     *         <note>
     *             <p>This action might generate an SMS text message. Starting June 1, 2021, U.S.
     *                 telecom carriers require that you register an origination phone number before you can
     *                 send SMS messages to U.S. phone numbers. If you use SMS text messages in Amazon Cognito,
     *                 you must register a phone number with <a href="https://console.aws.amazon.com/pinpoint/home/">Amazon Pinpoint</a>.
     *                 Cognito  will use the the registered number automatically. Otherwise, Cognito users that must
     *                 receive SMS messages might be unable to sign up, activate their accounts, or sign
     *                 in.</p>
     *             <p>If you have never used SMS text messages with Amazon Cognito or any other Amazon Web Service, Amazon SNS might place your account in SMS sandbox. In <i>
     *                   <a href="https://docs.aws.amazon.com/sns/latest/dg/sns-sms-sandbox.html">sandbox
     *                     mode</a>
     *                </i>, you’ll have limitations, such as sending messages
     *                 to only verified phone numbers. After testing in the sandbox environment, you can
     *                 move out of the SMS sandbox and into production. For more information, see <a href="https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-identity-pools-sms-userpool-settings.html"> SMS message settings for Cognito User Pools</a> in the <i>Amazon
     *                         Cognito Developer Guide</i>. </p>
     *         </note>
     */ public initiateAuth ( args , options ? ) ; public initiateAuth ( args , cb ) ; public initiateAuth ( args , options , cb ) ; public initiateAuth ( args , optionsOrCb ? , cb ? ) { const command = new InitiateAuthCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Lists the devices.</p>
     */ public listDevices ( args , options ? ) ; public listDevices ( args , cb ) ; public listDevices ( args , options , cb ) ; public listDevices ( args , optionsOrCb ? , cb ? ) { const command = new ListDevicesCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Lists the groups associated with a user pool.</p>
     *         <p>Calling this action requires developer credentials.</p>
     */ public listGroups ( args , options ? ) ; public listGroups ( args , cb ) ; public listGroups ( args , options , cb ) ; public listGroups ( args , optionsOrCb ? , cb ? ) { const command = new ListGroupsCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Lists information about all identity providers for a user pool.</p>
     */ public listIdentityProviders ( args , options ? ) ; public listIdentityProviders ( args , cb ) ; public listIdentityProviders ( args , options , cb ) ; public listIdentityProviders ( args , optionsOrCb ? , cb ? ) { const command = new ListIdentityProvidersCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Lists the resource servers for a user pool.</p>
     */ public listResourceServers ( args , options ? ) ; public listResourceServers ( args , cb ) ; public listResourceServers ( args , options , cb ) ; public listResourceServers ( args , optionsOrCb ? , cb ? ) { const command = new ListResourceServersCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Lists the tags that are assigned to an Amazon Cognito user pool.</p>
     *         <p>A tag is a label that you can apply to user pools to categorize and manage them in
     *             different ways, such as by purpose, owner, environment, or other criteria.</p>
     *         <p>You can use this action up to 10 times per second, per account.</p>
     */ public listTagsForResource ( args , options ? ) ; public listTagsForResource ( args , cb ) ; public listTagsForResource ( args , options , cb ) ; public listTagsForResource ( args , optionsOrCb ? , cb ? ) { const command = new ListTagsForResourceCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Lists the user import jobs.</p>
     */ public listUserImportJobs ( args , options ? ) ; public listUserImportJobs ( args , cb ) ; public listUserImportJobs ( args , options , cb ) ; public listUserImportJobs ( args , optionsOrCb ? , cb ? ) { const command = new ListUserImportJobsCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Lists the clients that have been created for the specified user pool.</p>
     */ public listUserPoolClients ( args , options ? ) ; public listUserPoolClients ( args , cb ) ; public listUserPoolClients ( args , options , cb ) ; public listUserPoolClients ( args , optionsOrCb ? , cb ? ) { const command = new ListUserPoolClientsCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Lists the user pools associated with an account.</p>
     */ public listUserPools ( args , options ? ) ; public listUserPools ( args , cb ) ; public listUserPools ( args , options , cb ) ; public listUserPools ( args , optionsOrCb ? , cb ? ) { const command = new ListUserPoolsCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Lists the users in the Amazon Cognito user pool.</p>
     */ public listUsers ( args , options ? ) ; public listUsers ( args , cb ) ; public listUsers ( args , options , cb ) ; public listUsers ( args , optionsOrCb ? , cb ? ) { const command = new ListUsersCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Lists the users in the specified group.</p>
     *         <p>Calling this action requires developer credentials.</p>
     */ public listUsersInGroup ( args , options ? ) ; public listUsersInGroup ( args , cb ) ; public listUsersInGroup ( args , options , cb ) ; public listUsersInGroup ( args , optionsOrCb ? , cb ? ) { const command = new ListUsersInGroupCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Resends the confirmation (for confirmation of registration) to a specific user in the
     *             user pool.</p>
     *
     *         <note>
     *             <p>This action might generate an SMS text message. Starting June 1, 2021, U.S.
     *                 telecom carriers require that you register an origination phone number before you can
     *                 send SMS messages to U.S. phone numbers. If you use SMS text messages in Amazon Cognito,
     *                 you must register a phone number with <a href="https://console.aws.amazon.com/pinpoint/home/">Amazon Pinpoint</a>.
     *                 Cognito  will use the the registered number automatically. Otherwise, Cognito users that must
     *                 receive SMS messages might be unable to sign up, activate their accounts, or sign
     *                 in.</p>
     *             <p>If you have never used SMS text messages with Amazon Cognito or any other Amazon Web Service, Amazon SNS might place your account in SMS sandbox. In <i>
     *                   <a href="https://docs.aws.amazon.com/sns/latest/dg/sns-sms-sandbox.html">sandbox
     *                     mode</a>
     *                </i>, you’ll have limitations, such as sending messages
     *                 to only verified phone numbers. After testing in the sandbox environment, you can
     *                 move out of the SMS sandbox and into production. For more information, see <a href="https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-identity-pools-sms-userpool-settings.html"> SMS message settings for Cognito User Pools</a> in the <i>Amazon
     *                         Cognito Developer Guide</i>. </p>
     *         </note>
     */ public resendConfirmationCode ( args , options ? ) ; public resendConfirmationCode ( args , cb ) ; public resendConfirmationCode ( args , options , cb ) ; public resendConfirmationCode ( args , optionsOrCb ? , cb ? ) { const command = new ResendConfirmationCodeCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Responds to the authentication challenge.</p>
     *
     *         <note>
     *             <p>This action might generate an SMS text message. Starting June 1, 2021, U.S.
     *                 telecom carriers require that you register an origination phone number before you can
     *                 send SMS messages to U.S. phone numbers. If you use SMS text messages in Amazon Cognito,
     *                 you must register a phone number with <a href="https://console.aws.amazon.com/pinpoint/home/">Amazon Pinpoint</a>.
     *                 Cognito  will use the the registered number automatically. Otherwise, Cognito users that must
     *                 receive SMS messages might be unable to sign up, activate their accounts, or sign
     *                 in.</p>
     *             <p>If you have never used SMS text messages with Amazon Cognito or any other Amazon Web Service, Amazon SNS might place your account in SMS sandbox. In <i>
     *                   <a href="https://docs.aws.amazon.com/sns/latest/dg/sns-sms-sandbox.html">sandbox
     *                     mode</a>
     *                </i>, you’ll have limitations, such as sending messages
     *                 to only verified phone numbers. After testing in the sandbox environment, you can
     *                 move out of the SMS sandbox and into production. For more information, see <a href="https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-identity-pools-sms-userpool-settings.html"> SMS message settings for Cognito User Pools</a> in the <i>Amazon
     *                         Cognito Developer Guide</i>. </p>
     *         </note>
     */ public respondToAuthChallenge ( args , options ? ) ; public respondToAuthChallenge ( args , cb ) ; public respondToAuthChallenge ( args , options , cb ) ; public respondToAuthChallenge ( args , optionsOrCb ? , cb ? ) { const command = new RespondToAuthChallengeCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Revokes all of the access tokens generated by the specified refresh token. After the token is revoked, you can not
     *             use the revoked token to access Cognito authenticated APIs.</p>
     */ public revokeToken ( args , options ? ) ; public revokeToken ( args , cb ) ; public revokeToken ( args , options , cb ) ; public revokeToken ( args , optionsOrCb ? , cb ? ) { const command = new RevokeTokenCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Configures actions on detected risks. To delete the risk configuration for
     *                 <code>UserPoolId</code> or <code>ClientId</code>, pass null values for all four
     *             configuration types.</p>
     *         <p>To enable Amazon Cognito advanced security features, update the user pool to include
     *             the <code>UserPoolAddOns</code> key<code>AdvancedSecurityMode</code>.</p>
     */ public setRiskConfiguration ( args , options ? ) ; public setRiskConfiguration ( args , cb ) ; public setRiskConfiguration ( args , options , cb ) ; public setRiskConfiguration ( args , optionsOrCb ? , cb ? ) { const command = new SetRiskConfigurationCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Sets the UI customization information for a user pool's built-in app UI.</p>
     *         <p>You can specify app UI customization settings for a single client (with a specific
     *                 <code>clientId</code>) or for all clients (by setting the <code>clientId</code> to
     *                 <code>ALL</code>). If you specify <code>ALL</code>, the default configuration will
     *             be used for every client that has no UI customization set previously. If you specify UI
     *             customization settings for a particular client, it will no longer fall back to the
     *                 <code>ALL</code> configuration. </p>
     *         <note>
     *             <p>To use this API, your user pool must have a domain associated with it. Otherwise,
     *                 there is no place to host the app's pages, and the service will throw an
     *                 error.</p>
     *         </note>
     */ public setUICustomization ( args , options ? ) ; public setUICustomization ( args , cb ) ; public setUICustomization ( args , options , cb ) ; public setUICustomization ( args , optionsOrCb ? , cb ? ) { const command = new SetUICustomizationCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Set the user's multi-factor authentication (MFA) method preference, including which
     *             MFA factors are enabled and if any are preferred. Only one factor can be set as
     *             preferred. The preferred MFA factor will be used to authenticate a user if multiple
     *             factors are enabled. If multiple options are enabled and no preference is set, a
     *             challenge to choose an MFA option will be returned during sign in. If an MFA type is
     *             enabled for a user, the user will be prompted for MFA during all sign in attempts,
     *             unless device tracking is turned on and the device has been trusted. If you would like
     *             MFA to be applied selectively based on the assessed risk level of sign in attempts,
     *             disable MFA for users and turn on Adaptive Authentication for the user pool.</p>
     */ public setUserMFAPreference ( args , options ? ) ; public setUserMFAPreference ( args , cb ) ; public setUserMFAPreference ( args , options , cb ) ; public setUserMFAPreference ( args , optionsOrCb ? , cb ? ) { const command = new SetUserMFAPreferenceCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Set the user pool multi-factor authentication (MFA) configuration.</p>
     *
     *         <note>
     *             <p>This action might generate an SMS text message. Starting June 1, 2021, U.S.
     *                 telecom carriers require that you register an origination phone number before you can
     *                 send SMS messages to U.S. phone numbers. If you use SMS text messages in Amazon Cognito,
     *                 you must register a phone number with <a href="https://console.aws.amazon.com/pinpoint/home/">Amazon Pinpoint</a>.
     *                 Cognito  will use the the registered number automatically. Otherwise, Cognito users that must
     *                 receive SMS messages might be unable to sign up, activate their accounts, or sign
     *                 in.</p>
     *             <p>If you have never used SMS text messages with Amazon Cognito or any other Amazon Web Service, Amazon SNS might place your account in SMS sandbox. In <i>
     *                   <a href="https://docs.aws.amazon.com/sns/latest/dg/sns-sms-sandbox.html">sandbox
     *                     mode</a>
     *                </i>, you’ll have limitations, such as sending messages
     *                 to only verified phone numbers. After testing in the sandbox environment, you can
     *                 move out of the SMS sandbox and into production. For more information, see <a href="https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-identity-pools-sms-userpool-settings.html"> SMS message settings for Cognito User Pools</a> in the <i>Amazon
     *                         Cognito Developer Guide</i>. </p>
     *         </note>
     */ public setUserPoolMfaConfig ( args , options ? ) ; public setUserPoolMfaConfig ( args , cb ) ; public setUserPoolMfaConfig ( args , options , cb ) ; public setUserPoolMfaConfig ( args , optionsOrCb ? , cb ? ) { const command = new SetUserPoolMfaConfigCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>
     *             <i>This action is no longer supported.</i> You can use it to configure
     *             only SMS MFA. You can't use it to configure TOTP software token MFA. To configure either
     *             type of MFA, use <a href="https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_SetUserMFAPreference.html">SetUserMFAPreference</a> instead.</p>
     */ public setUserSettings ( args , options ? ) ; public setUserSettings ( args , cb ) ; public setUserSettings ( args , options , cb ) ; public setUserSettings ( args , optionsOrCb ? , cb ? ) { const command = new SetUserSettingsCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Registers the user in the specified user pool and creates a user name, password, and
     *             user attributes.</p>
     *
     *         <note>
     *             <p>This action might generate an SMS text message. Starting June 1, 2021, U.S.
     *                 telecom carriers require that you register an origination phone number before you can
     *                 send SMS messages to U.S. phone numbers. If you use SMS text messages in Amazon Cognito,
     *                 you must register a phone number with <a href="https://console.aws.amazon.com/pinpoint/home/">Amazon Pinpoint</a>.
     *                 Cognito  will use the the registered number automatically. Otherwise, Cognito users that must
     *                 receive SMS messages might be unable to sign up, activate their accounts, or sign
     *                 in.</p>
     *             <p>If you have never used SMS text messages with Amazon Cognito or any other Amazon Web Service, Amazon SNS might place your account in SMS sandbox. In <i>
     *                   <a href="https://docs.aws.amazon.com/sns/latest/dg/sns-sms-sandbox.html">sandbox
     *                     mode</a>
     *                </i>, you’ll have limitations, such as sending messages
     *                 to only verified phone numbers. After testing in the sandbox environment, you can
     *                 move out of the SMS sandbox and into production. For more information, see <a href="https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-identity-pools-sms-userpool-settings.html"> SMS message settings for Cognito User Pools</a> in the <i>Amazon
     *                         Cognito Developer Guide</i>. </p>
     *         </note>
     */ public signUp ( args , options ? ) ; public signUp ( args , cb ) ; public signUp ( args , options , cb ) ; public signUp ( args , optionsOrCb ? , cb ? ) { const command = new SignUpCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Starts the user import.</p>
     */ public startUserImportJob ( args , options ? ) ; public startUserImportJob ( args , cb ) ; public startUserImportJob ( args , options , cb ) ; public startUserImportJob ( args , optionsOrCb ? , cb ? ) { const command = new StartUserImportJobCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Stops the user import job.</p>
     */ public stopUserImportJob ( args , options ? ) ; public stopUserImportJob ( args , cb ) ; public stopUserImportJob ( args , options , cb ) ; public stopUserImportJob ( args , optionsOrCb ? , cb ? ) { const command = new StopUserImportJobCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Assigns a set of tags to an Amazon Cognito user pool. A tag is a label that you can
     *             use to categorize and manage user pools in different ways, such as by purpose, owner,
     *             environment, or other criteria.</p>
     *         <p>Each tag consists of a key and value, both of which you define. A key is a general
     *             category for more specific values. For example, if you have two versions of a user pool,
     *             one for testing and another for production, you might assign an <code>Environment</code>
     *             tag key to both user pools. The value of this key might be <code>Test</code> for one
     *             user pool and <code>Production</code> for the other.</p>
     *         <p>Tags are useful for cost tracking and access control. You can activate your tags so
     *             that they appear on the Billing and Cost Management console, where you can track the
     *             costs associated with your user pools. In an IAM policy, you can constrain permissions
     *             for user pools based on specific tags or tag values.</p>
     *         <p>You can use this action up to 5 times per second, per account. A user pool can have as
     *             many as 50 tags.</p>
     */ public tagResource ( args , options ? ) ; public tagResource ( args , cb ) ; public tagResource ( args , options , cb ) ; public tagResource ( args , optionsOrCb ? , cb ? ) { const command = new TagResourceCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Removes the specified tags from an Amazon Cognito user pool. You can use this action
     *             up to 5 times per second, per account</p>
     */ public untagResource ( args , options ? ) ; public untagResource ( args , cb ) ; public untagResource ( args , options , cb ) ; public untagResource ( args , optionsOrCb ? , cb ? ) { const command = new UntagResourceCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Provides the feedback for an authentication event whether it was from a valid user or
     *             not. This feedback is used for improving the risk evaluation decision for the user pool
     *             as part of Amazon Cognito advanced security.</p>
     */ public updateAuthEventFeedback ( args , options ? ) ; public updateAuthEventFeedback ( args , cb ) ; public updateAuthEventFeedback ( args , options , cb ) ; public updateAuthEventFeedback ( args , optionsOrCb ? , cb ? ) { const command = new UpdateAuthEventFeedbackCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Updates the device status.</p>
     */ public updateDeviceStatus ( args , options ? ) ; public updateDeviceStatus ( args , cb ) ; public updateDeviceStatus ( args , options , cb ) ; public updateDeviceStatus ( args , optionsOrCb ? , cb ? ) { const command = new UpdateDeviceStatusCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Updates the specified group with the specified attributes.</p>
     *         <p>Calling this action requires developer credentials.</p>
     */ public updateGroup ( args , options ? ) ; public updateGroup ( args , cb ) ; public updateGroup ( args , options , cb ) ; public updateGroup ( args , optionsOrCb ? , cb ? ) { const command = new UpdateGroupCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Updates identity provider information for a user pool.</p>
     */ public updateIdentityProvider ( args , options ? ) ; public updateIdentityProvider ( args , cb ) ; public updateIdentityProvider ( args , options , cb ) ; public updateIdentityProvider ( args , optionsOrCb ? , cb ? ) { const command = new UpdateIdentityProviderCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Updates the name and scopes of resource server. All other fields are read-only.</p>
     *         <important>
     *             <p>If you don't provide a value for an attribute, it will be set to the default
     *                 value.</p>
     *         </important>
     */ public updateResourceServer ( args , options ? ) ; public updateResourceServer ( args , cb ) ; public updateResourceServer ( args , options , cb ) ; public updateResourceServer ( args , optionsOrCb ? , cb ? ) { const command = new UpdateResourceServerCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Allows a user to update a specific attribute (one at a time).</p>
     *
     *         <note>
     *             <p>This action might generate an SMS text message. Starting June 1, 2021, U.S.
     *                 telecom carriers require that you register an origination phone number before you can
     *                 send SMS messages to U.S. phone numbers. If you use SMS text messages in Amazon Cognito,
     *                 you must register a phone number with <a href="https://console.aws.amazon.com/pinpoint/home/">Amazon Pinpoint</a>.
     *                 Cognito  will use the the registered number automatically. Otherwise, Cognito users that must
     *                 receive SMS messages might be unable to sign up, activate their accounts, or sign
     *                 in.</p>
     *             <p>If you have never used SMS text messages with Amazon Cognito or any other Amazon Web Service, Amazon SNS might place your account in SMS sandbox. In <i>
     *                   <a href="https://docs.aws.amazon.com/sns/latest/dg/sns-sms-sandbox.html">sandbox
     *                     mode</a>
     *                </i>, you’ll have limitations, such as sending messages
     *                 to only verified phone numbers. After testing in the sandbox environment, you can
     *                 move out of the SMS sandbox and into production. For more information, see <a href="https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-identity-pools-sms-userpool-settings.html"> SMS message settings for Cognito User Pools</a> in the <i>Amazon
     *                         Cognito Developer Guide</i>. </p>
     *         </note>
     */ public updateUserAttributes ( args , options ? ) ; public updateUserAttributes ( args , cb ) ; public updateUserAttributes ( args , options , cb ) ; public updateUserAttributes ( args , optionsOrCb ? , cb ? ) { const command = new UpdateUserAttributesCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Updates the specified user pool with the specified attributes. You can get a list of
     *             the current user pool settings using <a href="https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_DescribeUserPool.html">DescribeUserPool</a>. If you don't provide a value for an attribute, it will be set to the default
     *             value.</p>
     *
     *         <note>
     *             <p>This action might generate an SMS text message. Starting June 1, 2021, U.S.
     *                 telecom carriers require that you register an origination phone number before you can
     *                 send SMS messages to U.S. phone numbers. If you use SMS text messages in Amazon Cognito,
     *                 you must register a phone number with <a href="https://console.aws.amazon.com/pinpoint/home/">Amazon Pinpoint</a>.
     *                 Cognito  will use the the registered number automatically. Otherwise, Cognito users that must
     *                 receive SMS messages might be unable to sign up, activate their accounts, or sign
     *                 in.</p>
     *             <p>If you have never used SMS text messages with Amazon Cognito or any other Amazon Web Service, Amazon SNS might place your account in SMS sandbox. In <i>
     *                   <a href="https://docs.aws.amazon.com/sns/latest/dg/sns-sms-sandbox.html">sandbox
     *                     mode</a>
     *                </i>, you’ll have limitations, such as sending messages
     *                 to only verified phone numbers. After testing in the sandbox environment, you can
     *                 move out of the SMS sandbox and into production. For more information, see <a href="https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-identity-pools-sms-userpool-settings.html"> SMS message settings for Cognito User Pools</a> in the <i>Amazon
     *                         Cognito Developer Guide</i>. </p>
     *         </note>
     */ public updateUserPool ( args , options ? ) ; public updateUserPool ( args , cb ) ; public updateUserPool ( args , options , cb ) ; public updateUserPool ( args , optionsOrCb ? , cb ? ) { const command = new UpdateUserPoolCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Updates the specified user pool app client with the specified attributes. You can get
     *             a list of the current user pool app client settings using <a href="https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_DescribeUserPoolClient.html">DescribeUserPoolClient</a>.</p>
     *         <important>
     *             <p>If you don't provide a value for an attribute, it will be set to the default
     *                 value.</p>
     *         </important>
     *         <p>You can also use this operation to enable token revocation for user pool clients. For more information
     *         about revoking tokens, see <a href="https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_RevokeToken.html">RevokeToken</a>.</p>
     */ public updateUserPoolClient ( args , options ? ) ; public updateUserPoolClient ( args , cb ) ; public updateUserPoolClient ( args , options , cb ) ; public updateUserPoolClient ( args , optionsOrCb ? , cb ? ) { const command = new UpdateUserPoolClientCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Updates the Secure Sockets Layer (SSL) certificate for the custom domain for your user
     *             pool.</p>
     *         <p>You can use this operation to provide the Amazon Resource Name (ARN) of a new
     *             certificate to Amazon Cognito. You cannot use it to change the domain for a user
     *             pool.</p>
     *         <p>A custom domain is used to host the Amazon Cognito hosted UI, which provides sign-up
     *             and sign-in pages for your application. When you set up a custom domain, you provide a
     *             certificate that you manage with Certificate Manager (ACM). When necessary, you can
     *             use this operation to change the certificate that you applied to your custom
     *             domain.</p>
     *         <p>Usually, this is unnecessary following routine certificate renewal with ACM. When you
     *             renew your existing certificate in ACM, the ARN for your certificate remains the same,
     *             and your custom domain uses the new certificate automatically.</p>
     *         <p>However, if you replace your existing certificate with a new one, ACM gives the new
     *             certificate a new ARN. To apply the new certificate to your custom domain, you must
     *             provide this ARN to Amazon Cognito.</p>
     *         <p>When you add your new certificate in ACM, you must choose US East (N. Virginia) as the
     *             Region.</p>
     *         <p>After you submit your request, Amazon Cognito requires up to 1 hour to distribute your
     *             new certificate to your custom domain.</p>
     *         <p>For more information about adding a custom domain to your user pool, see <a href="https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-pools-add-custom-domain.html">Using Your Own Domain for the Hosted UI</a>.</p>
     */ public updateUserPoolDomain ( args , options ? ) ; public updateUserPoolDomain ( args , cb ) ; public updateUserPoolDomain ( args , options , cb ) ; public updateUserPoolDomain ( args , optionsOrCb ? , cb ? ) { const command = new UpdateUserPoolDomainCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Use this API to register a user's entered TOTP code and mark the user's software token
     *             MFA status as "verified" if successful. The request takes an access token or a session
     *             string, but not both.</p>
     */ public verifySoftwareToken ( args , options ? ) ; public verifySoftwareToken ( args , cb ) ; public verifySoftwareToken ( args , options , cb ) ; public verifySoftwareToken ( args , optionsOrCb ? , cb ? ) { const command = new VerifySoftwareTokenCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Verifies the specified user attributes in the user pool.</p>
     */ public verifyUserAttribute ( args , options ? ) ; public verifyUserAttribute ( args , cb ) ; public verifyUserAttribute ( args , options , cb ) ; public verifyUserAttribute ( args , optionsOrCb ? , cb ? ) { const command = new VerifyUserAttributeCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } }