aws.lambda.invoke
This command is used to invoke an AWS Lambda function.
TR50 Request
{ 
   "1":{ 
      "command":"aws.lambda.invoke", 
      "params":{ 
         "functionName":"TelitTest", 
         "replyType":"string", 
         "region":"us-east-1", 
         "async":false
      } 
   } 
}     
    Request Parameters
| 
                 Name  | 
              
                 Type  | 
              
                 Required  | 
              
                 Description  | 
            
|---|---|---|---|
| 
                 functionName  | 
              
                 String  | 
              
                 Yes  | 
              
                 The name of the AWS Lambda function that needs to be invoked.  | 
            
| 
                 replyType  | 
              
                 Object, String or base64  | 
              
                 The request must return any of the following three types to get
                    processed: 
              
  | 
            |
| 
                 region  | 
              
                 String  | 
              
                 Region of the AWS instance, For example, us-east-1.  | 
            |
| 
                 async  | 
              
                 bool  | 
              
                 When set to False, the function will block until the response is received and then it continues execution. If set to True, there will be no reply.  | 
            
TR50 Response
If the command is sent successfully a success message is returned. Otherwise, an error and error message will be returned.
                        {
  "cmd": {
    "success": true
  }
}
      
    