@aws-amplify/auth
Version:
Auth category of aws-amplify
13 lines (12 loc) • 853 B
TypeScript
import { AmplifyContext } from '@aws-amplify/core';
import { SendUserAttributeVerificationCodeInput, SendUserAttributeVerificationCodeOutput } from '../types';
export declare function sendUserAttributeVerificationCode(ctx: AmplifyContext, input: SendUserAttributeVerificationCodeInput): Promise<SendUserAttributeVerificationCodeOutput>;
/**
* Resends user's confirmation code when updating attributes while authenticated.
*
* @param input - The SendUserAttributeVerificationCodeInput object
* @returns SendUserAttributeVerificationCodeOutput
* @throws - {@link GetUserAttributeVerificationException}
* @throws AuthTokenConfigException - Thrown when the token provider config is invalid.
*/
export declare function sendUserAttributeVerificationCode(input: SendUserAttributeVerificationCodeInput): Promise<SendUserAttributeVerificationCodeOutput>;