UNPKG

@aws-amplify/auth

Version:

Auth category of aws-amplify

13 lines (12 loc) • 683 B
import { AmplifyContext } from '@aws-amplify/core'; import { UpdateUserAttributesInput, UpdateUserAttributesOutput } from '../types'; export declare function updateUserAttributes(ctx: AmplifyContext, input: UpdateUserAttributesInput): Promise<UpdateUserAttributesOutput>; /** * Updates user's attributes while authenticated. * * @param input - The UpdateUserAttributesInput object * @returns UpdateUserAttributesOutput * @throws - {@link UpdateUserAttributesException} * @throws AuthTokenConfigException - Thrown when the token provider config is invalid. */ export declare function updateUserAttributes(input: UpdateUserAttributesInput): Promise<UpdateUserAttributesOutput>;