@aws-amplify/auth
Version:
Auth category of aws-amplify
11 lines (10 loc) • 486 B
TypeScript
import { UpdateUserAttributeInput, UpdateUserAttributeOutput } from '../types';
/**
* Updates user's attribute while authenticated.
*
* @param input - The UpdateUserAttributeInput object
* @returns UpdateUserAttributeOutput
* @throws - {@link UpdateUserAttributesException}
* @throws AuthTokenConfigException - Thrown when the token provider config is invalid.
*/
export declare const updateUserAttribute: (input: UpdateUserAttributeInput) => Promise<UpdateUserAttributeOutput>;