This is a dedicated watch page for a single video.
A start-up company has created a new serverless application which includes an AWS Lambda function which sits behind an Amazon API gateway and an Amazon CloudFront CDN. The development team is currently using AWS CLI scripts to update the versions of Lambda functions. In case an error is detected, a different CLI script is used to roll back the version to the previous stable one. A solutions architect needs to optimize this process and reduce the time taken to switch versions and detect the error in Lambda functions. How can this be accomplished?