Amazon.CognitoIdentityProvider.AmazonCognitoIdentityProviderClient.SetUserSettings C# (CSharp) Method

SetUserSettings() public method

Sets the user settings like multi-factor authentication (MFA). If MFA is to be removed for a particular attribute pass the attribute with code delivery as null. If null list is passed, all MFA options are removed.
/// This exception is thrown when Amazon Cognito encounters an internal error. /// /// This exception is thrown when the Amazon Cognito service encounters an invalid parameter. /// /// This exception gets thrown when a user is not authorized. /// /// This exception is thrown when a password reset is required. /// /// This exception is thrown when the Amazon Cognito service cannot find the requested /// resource. /// /// This exception is thrown when a user is not confirmed successfully. /// /// This exception is thrown when a user is not found. ///
public SetUserSettings ( SetUserSettingsRequest request ) : SetUserSettingsResponse
request Amazon.CognitoIdentityProvider.Model.SetUserSettingsRequest Container for the necessary parameters to execute the SetUserSettings service method.
return SetUserSettingsResponse
        public SetUserSettingsResponse SetUserSettings(SetUserSettingsRequest request)
        {
            var marshaller = new SetUserSettingsRequestMarshaller();
            var unmarshaller = SetUserSettingsResponseUnmarshaller.Instance;

            return Invoke<SetUserSettingsRequest,SetUserSettingsResponse>(request, marshaller, unmarshaller);
        }
AmazonCognitoIdentityProviderClient