text: Serverless 
  
  initialization duration, and other details. If your function throws an error, the runtime returns that 
  
  error to the invoker. 
  
  To help simplify troubleshooting, the AWS Serverless Application Model CLI (AWS SAM CLI) has 
  
  a command called sam logs which will show you CloudWatch Logs generated by your Lambda 
  
  function. 
  
  For example, the following terminal command would show the live tail of logs generated by the 
  
  *YourLambdaFunctionName*Lambda function: 