AWS Security ChangesHomeSearch

AWS cli documentation change

Service: cli · 2026-02-28 · Documentation low

File: cli/latest/reference/cognito-idp/admin-set-user-mfa-preference.md

Summary

Updated MFA preference documentation with CLI error format additions and version bump to 2.34.0

Security assessment

Changes include routine version updates and error formatting options. The MFA documentation clarification maintains existing security functionality but doesn't introduce new security features or address vulnerabilities. Removal of 'before registration' phrasing appears to be documentation refinement rather than security fix.

Diff

diff --git a/cli/latest/reference/cognito-idp/admin-set-user-mfa-preference.md b/cli/latest/reference/cognito-idp/admin-set-user-mfa-preference.md
index 14f58f0ce..54dee597c 100644
--- a//cli/latest/reference/cognito-idp/admin-set-user-mfa-preference.md
+++ b//cli/latest/reference/cognito-idp/admin-set-user-mfa-preference.md
@@ -15 +15 @@
-  * [AWS CLI 2.33.29 Command Reference](../../index.html) »
+  * [AWS CLI 2.34.0 Command Reference](../../index.html) »
@@ -103,0 +104 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/cognit
+    [--cli-error-format <value>]
@@ -137 +138 @@ JSON Syntax:
-> User preferences for time-based one-time password (TOTP) MFA. Activates or deactivates TOTP MFA and sets it as the preferred MFA method when multiple methods are available. This operation can set TOTP as a user’s preferred MFA method before they register a TOTP authenticator.
+> User preferences for time-based one-time password (TOTP) MFA. Activates or deactivates TOTP MFA and sets it as the preferred MFA method when multiple methods are available.
@@ -243,0 +245 @@ The formatting style for command output.
+  * off
@@ -309,0 +312,13 @@ Disable automatically prompt for CLI input parameters.
+`--cli-error-format` (string)
+
+The formatting style for error output. By default, errors are displayed in enhanced format.
+
+  * legacy
+  * json
+  * yaml
+  * text
+  * table
+  * enhanced
+
+
+
@@ -342 +357 @@ None
-  * [AWS CLI 2.33.29 Command Reference](../../index.html) »
+  * [AWS CLI 2.34.0 Command Reference](../../index.html) »