Invoke AWS lambda function from slack channel | Slash Command Webhook

Описание к видео Invoke AWS lambda function from slack channel | Slash Command Webhook

Function as a Service(FaaS) is the new era of cloud development which allows us to run code without provisioning or managing any servers. AWS provides lambda functions to build Serverless applications.
These applications require a trigger for execution, and once the execution is complete, they go back to sleep.
In this video we are going to explore how to trigger AWS Lambda Function using Slack Slash Command .

Prerequisite:
-----------------------
In-depth intuition on Webhooks-Push-Styled API with Hands-On Demo
   • In-depth intuition on Webhooks-Push-S...  
How to Use GitHub Actions to Notify Slack on Push
   • How to Use GitHub Actions to Notify S...  

Code:
----------
import json
import base64
from urllib.parse import unquote_plus

def lambda_handler(event, context):
TODO implement
print(event)
message=((base64.b64decode(event['body']).decode('utf-8')).split("text=")[1]).split("&")[0]
print(unquote_plus(message))
return {
'statusCode': 200,
'body': json.dumps('Hello from Lambda!')
}

Check this playlist for more Data Engineering related videos:
   • Demystifying Data Engineering with Cl...  

Apache Kafka form scratch
   • Apache Kafka for Python Developers  

Messaging Made Easy: AWS SQS Playlist
   • Messaging Made Easy: AWS SQS Playlist  

Snowflake Complete Course from scratch with End-to-End Project with in-depth explanation--
https://doc.clickup.com/37466271/d/h/...

Explore our vlog channel:
https://www.youtube.com/@funwithourfa...

Your Queries -
=============
Build Your Own Slack Commands with Lambda Function URL
Slack Slash Command Integration with AWS Lambda
Building Slack /slash commands with AWS Lambda
Slack Slash Command Integration with AWS Lambda
Invoke AWS lambda function from slack channel
Connect your AWS Lambda to Slack integration
How do I invoke an AWS lambda from my slack app
Using AWS Lambda Function URL to build a Serverless backend for Slack
Invoke Amazon Lambda function for new Slack message

🙏🙏🙏🙏🙏🙏🙏🙏
YOU JUST NEED TO DO
3 THINGS to support my channel
LIKE
SHARE
&
SUBSCRIBE
TO MY YOUTUBE CHANNEL

Комментарии

Информация по комментариям в разработке