@aws-amplify/auth
Version:
Auth category of aws-amplify
14 lines (13 loc) • 822 B
TypeScript
import { AmplifyContext } from '@aws-amplify/core';
import { ResendSignUpCodeInput, ResendSignUpCodeOutput } from '../types';
export declare function resendSignUpCode(ctx: AmplifyContext, input: ResendSignUpCodeInput): Promise<ResendSignUpCodeOutput>;
/**
* Resend the confirmation code while signing up
*
* @param input - The ResendSignUpCodeInput object
* @returns ResendSignUpCodeOutput
* @throws service: {@link ResendConfirmationException } - Cognito service errors thrown when resending the code.
* @throws validation: {@link AuthValidationErrorCode } - Validation errors thrown either username are not defined.
* @throws AuthTokenConfigException - Thrown when the token provider config is invalid.
*/
export declare function resendSignUpCode(input: ResendSignUpCodeInput): Promise<ResendSignUpCodeOutput>;