AWS Security ChangesHomeSearch

AWS code-library documentation change

Service: code-library · 2025-05-31 · Documentation low

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

Summary

Updated Swift package dependencies - renamed target and changed dependency from AWSS3 to AWSCognitoIdentityProvider

Security assessment

This is a dependency correction/optimization for a code example. No security context is provided in the changes, and switching to the correct service SDK (Cognito) doesn't inherently indicate security improvements.

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 8f088b704..204f70c04 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
@@ -537 +537 @@ The `Package.swift` file.
-        name: "http-config",
+        name: "cognito-scenario",
@@ -560 +560 @@ The `Package.swift` file.
-                    .product(name: "AWSS3", package: "aws-sdk-swift"),
+                    .product(name: "AWSCognitoIdentityProvider", package: "aws-sdk-swift"),