AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
The settings for updates to user attributes. These settings include the property AttributesRequireVerificationBeforeUpdate
,
a user-pool setting that tells Amazon Cognito how to handle changes to the value of
your users' email address and phone number attributes. For more information, see
Verifying updates to email addresses and phone numbers.
Namespace: Amazon.CognitoIdentityProvider.Model
Assembly: AWSSDK.CognitoIdentityProvider.dll
Version: 3.x.y.z
public class UserAttributeUpdateSettingsType
The UserAttributeUpdateSettingsType type exposes the following members
Name | Description | |
---|---|---|
UserAttributeUpdateSettingsType() |
Name | Type | Description | |
---|---|---|---|
AttributesRequireVerificationBeforeUpdate | System.Collections.Generic.List<System.String> |
Gets and sets the property AttributesRequireVerificationBeforeUpdate. Requires that your user verifies their email address, phone number, or both before Amazon Cognito updates the value of that attribute. When you update a user attribute that has this option activated, Amazon Cognito sends a verification message to the new phone number or email address. Amazon Cognito doesn’t change the value of the attribute until your user responds to the verification message and confirms the new value.
You can verify an updated email address or phone number with a VerifyUserAttribute
API request. You can also call the AdminUpdateUserAttributes
API and set
When |
.NET Core App:
Supported in: 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.5, 4.0, 3.5