[{"data":1,"prerenderedAt":58},["ShallowReactive",2],{"pattern-lambda-comprehend-language-sam":3},{"id":4,"title":5,"architectureURL":6,"cleanup":7,"contributors":10,"deploy":12,"description":15,"extension":16,"framework":17,"gitHub":18,"highlight":6,"introBox":23,"language":27,"level":28,"meta":29,"patternArch":30,"resources":44,"s3URL":6,"services":50,"stem":53,"testing":54,"videoId":6,"__hash__":57},"patterns\u002Fpatterns\u002Flambda-comprehend-language-sam.json","Using AWS Lambda and Amazon Comprehend to detect text language",null,{"text":8},[9],"Delete the stack:  sam delete --stack-name {StackName}",[11],"content\u002Fcontributors\u002Fabilashkumar-p-c.json",{"text":13},[14],"sam deploy","AWS Lambda function that calls Amazon Comprehend service to detect text language using Boto3 SDK.","json","AWS SAM",{"template":19},{"repoURL":20,"templateURL":21,"projectFolder":21,"templateFile":22},"https:\u002F\u002Fgithub.com\u002Faws-samples\u002Fserverless-patterns\u002Ftree\u002Fmain\u002Flambda-comprehend-language-sam","lambda-comprehend-language-sam","template.yaml",{"headline":24,"text":25},"How it works",[26],"This pattern shows how to deploy a SAM template that builds a Lambda function which calls Amazon Comprehend for detecting the dominant language in a text.","Python","200",{},{"icon1":31,"icon2":36,"line1":40},{"x":32,"y":33,"service":34,"label":35},20,50,"lambda","AWS Lambda",{"x":37,"y":33,"service":38,"label":39},80,"comprehend","Amazon Comprehend",{"from":41,"to":42,"label":43},"icon1","icon2","",{"headline":45,"bullets":46},"Additional resources",[47],{"text":48,"link":49},"Scale Up Language Detection with Amazon Comprehend and S3 Batch Operations","https:\u002F\u002Faws.amazon.com\u002Fblogs\u002Farchitecture\u002Fscale-up-language-detection-with-amazon-comprehend-and-s3-batch-operations\u002F",{"from":51,"to":52},"Lambda","Comprehend","patterns\u002Flambda-comprehend-language-sam",{"text":55},[56],"See the GitHub repo for detailed testing instructions.","wbK9Ffi92PSPLpg9tWFIi1xUx1ewvnmUGbwgGuiZNOo",1778846885912]