Learn R Programming

paws.security.identity (version 0.1.0)

cognitoidentityprovider_admin_update_user_attributes: Updates the specified user's attributes, including developer attributes, as an administrator

Description

Updates the specified user's attributes, including developer attributes, as an administrator. Works on any user.

Usage

cognitoidentityprovider_admin_update_user_attributes(UserPoolId,
  Username, UserAttributes)

Arguments

UserPoolId

[required] The user pool ID for the user pool where you want to update user attributes.

Username

[required] The user name of the user for whom you want to update user attributes.

UserAttributes

[required] An array of name-value pairs representing user attributes.

For custom attributes, you must prepend the custom: prefix to the attribute name.

Request syntax

svc$admin_update_user_attributes(
  UserPoolId = "string",
  Username = "string",
  UserAttributes = list(
    list(
      Name = "string",
      Value = "string"
    )
  )
)

Details

For custom attributes, you must prepend the custom: prefix to the attribute name.

In addition to updating user attributes, this API can also be used to mark phone and email as verified.

Requires developer credentials.