UNPKG

549 BTypeScriptView Raw
1import { SignUpInput, SignUpOutput } from '../types';
2/**
3 * Creates a user
4 *
5 * @param input - The SignUpInput object
6 * @returns SignUpOutput
7 * @throws service: {@link SignUpException } - Cognito service errors thrown during the sign-up process.
8 * @throws validation: {@link AuthValidationErrorCode } - Validation errors thrown either username or password
9 * are not defined.
10 * @throws AuthTokenConfigException - Thrown when the token provider config is invalid.
11 */
12export declare function signUp(input: SignUpInput): Promise<SignUpOutput>;