AWS Security ChangesHomeSearch

AWS code-library documentation change

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

File: code-library/latest/ug/swift_1_cognito-identity-provider_code_examples.md

Summary

Updated Swift package configuration to use AWSCognitoIdentityProvider instead of AWSS3

Security assessment

Fixes package dependencies in MFA example code, ensuring proper security-related SDK usage is documented

Diff

diff --git a/code-library/latest/ug/swift_1_cognito-identity-provider_code_examples.md b/code-library/latest/ug/swift_1_cognito-identity-provider_code_examples.md
index 8c4898992..ea101f307 100644
--- a//code-library/latest/ug/swift_1_cognito-identity-provider_code_examples.md
+++ b//code-library/latest/ug/swift_1_cognito-identity-provider_code_examples.md
@@ -589 +589 @@ The `Package.swift` file.
-        name: "http-config",
+        name: "cognito-scenario",
@@ -612 +612 @@ The `Package.swift` file.
-                    .product(name: "AWSS3", package: "aws-sdk-swift"),
+                    .product(name: "AWSCognitoIdentityProvider", package: "aws-sdk-swift"),