AWS cognito documentation change
Summary
Updated Swift package dependencies - renamed target and changed dependency from AWSS3 to AWSCognitoIdentityProvider
Security assessment
Same dependency correction as in other Swift examples. While MFA scenarios involve security, the specific changes here are about package configuration rather than modifying security documentation or addressing vulnerabilities.
Diff
diff --git a/cognito/latest/developerguide/cognito-identity-provider_example_cognito-identity-provider_Scenario_SignUpUserWithMfa_section.md b/cognito/latest/developerguide/cognito-identity-provider_example_cognito-identity-provider_Scenario_SignUpUserWithMfa_section.md index 34a21c634..7730dd08e 100644 --- a//cognito/latest/developerguide/cognito-identity-provider_example_cognito-identity-provider_Scenario_SignUpUserWithMfa_section.md +++ b//cognito/latest/developerguide/cognito-identity-provider_example_cognito-identity-provider_Scenario_SignUpUserWithMfa_section.md @@ -2616 +2616 @@ The `Package.swift` file. - name: "http-config", + name: "cognito-scenario", @@ -2639 +2639 @@ The `Package.swift` file. - .product(name: "AWSS3", package: "aws-sdk-swift"), + .product(name: "AWSCognitoIdentityProvider", package: "aws-sdk-swift"),