@aws-amplify/auth
Version:
Auth category of aws-amplify
13 lines (12 loc) • 549 B
TypeScript
import { SignUpInput, SignUpOutput } from '../types';
/**
* Creates a user
*
* @param input - The SignUpInput object
* @returns SignUpOutput
* @throws service: {@link SignUpException } - Cognito service errors thrown during the sign-up process.
* @throws validation: {@link AuthValidationErrorCode } - Validation errors thrown either username or password
* are not defined.
* @throws AuthTokenConfigException - Thrown when the token provider config is invalid.
*/
export declare function signUp(input: SignUpInput): Promise<SignUpOutput>;