AWS Security ChangesHomeSearch

AWS code-library documentation change

Service: code-library · 2025-06-28 · Documentation low

File: code-library/latest/ug/cognito-identity-provider_example_cognito-identity-provider_Scenario_SignUpUserWithMfa_section.md

Summary

Updated package dependencies and imports in Swift MFA signup example

Security assessment

Configuration changes to dependencies without modifying security-related MFA implementation details

Diff

diff --git a/code-library/latest/ug/cognito-identity-provider_example_cognito-identity-provider_Scenario_SignUpUserWithMfa_section.md b/code-library/latest/ug/cognito-identity-provider_example_cognito-identity-provider_Scenario_SignUpUserWithMfa_section.md
index e26e5595b..1a9de9d79 100644
--- a//code-library/latest/ug/cognito-identity-provider_example_cognito-identity-provider_Scenario_SignUpUserWithMfa_section.md
+++ b//code-library/latest/ug/cognito-identity-provider_example_cognito-identity-provider_Scenario_SignUpUserWithMfa_section.md
@@ -2618 +2618 @@ The `Package.swift` file.
-        name: "http-config",
+        name: "listusers",
@@ -2639 +2639 @@ The `Package.swift` file.
-                name: "cognito-scenario",
+                name: "listusers",
@@ -2641 +2641 @@ The `Package.swift` file.
-                    .product(name: "AWSS3", package: "aws-sdk-swift"),
+                    .product(name: "AWSCognitoIdentityProvider", package: "aws-sdk-swift"),
@@ -2685 +2684,0 @@ The Swift code file.
-    import AWSClientRuntime
@@ -2687,0 +2687 @@ The Swift code file.
+    import AWSClientRuntime