AWS code-library documentation change
Summary
Changed Swift package name from 'cognito-scenario' to 'http-config' and replaced AWSCognitoIdentityProvider dependency with AWSS3
Security assessment
The change appears to be a code example refactor rather than addressing security issues. While Cognito MFA is security-related, the modification shows a switch from authentication service (Cognito) to storage service (S3) dependencies without any security context or vulnerability fixes mentioned.
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 36ea1db9f..e26e5595b 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: "cognito-scenario", + name: "http-config", @@ -2641 +2641 @@ The `Package.swift` file. - .product(name: "AWSCognitoIdentityProvider", package: "aws-sdk-swift"), + .product(name: "AWSS3", package: "aws-sdk-swift"),