AWS Security ChangesHomeSearch

AWS code-library documentation change

Service: code-library · 2025-08-10 · Documentation medium

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

Summary

Updated Swift package configuration to use AWSCognitoIdentityProvider instead of AWSS3

Security assessment

Corrects package dependencies for MFA implementation example, improving documentation accuracy for security-related feature (MFA)

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 53a32347e..f8e23fe3b 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: "cognito-scenario",
@@ -2641 +2641 @@ The `Package.swift` file.
-                    .product(name: "AWSS3", package: "aws-sdk-swift"),
+                    .product(name: "AWSCognitoIdentityProvider", package: "aws-sdk-swift"),