Тёмный

AWS SQS + Lambda + DynamoDb Step by Step 

LoveToCode
Подписаться 2,9 тыс.
Просмотров 8 тыс.
50% 1

AWS SQS + Lambda + DynamoDb
- Step by step tutorial for SQS, Lambda, DynomoDB
- AWS SQS tutorial
- Integrate SQS, Lambda with DynamoDB table
Source: github.com/CodeSam621/AWS_SQS...
#sqs #awslambda #dynamodb

Опубликовано:

 

3 ноя 2022

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 29   
@yekohein1528
@yekohein1528 5 месяцев назад
Thank you so much sir. Your way of explaining is very simple and easy to learn. I hope to learn more AWS knowledge from you.
@lovetocode4486
@lovetocode4486 5 месяцев назад
Thanks mate. Glad that you enjoyed
@oscarjesusresendiz100
@oscarjesusresendiz100 Год назад
Beautiful!, Thanks for sharing the knowledge.
@lovetocode4486
@lovetocode4486 Год назад
Glad you enjoyed it!
@rukevweojigbo3037
@rukevweojigbo3037 10 месяцев назад
thanks... simple and straight to the point
@lovetocode4486
@lovetocode4486 10 месяцев назад
Thanks mate for the comment.
@nishchin8393
@nishchin8393 Год назад
Excellent Details. Thank you for the detailed videos.
@lovetocode4486
@lovetocode4486 Год назад
Thanks for the comment. Glad that you like it. :)
@PrasanthiKoduri
@PrasanthiKoduri Год назад
Your way of explanation was awesome. I have seen many videos related to SQS and Lambda but you have explained everything step by step very clearly. Thank you very much. I have a doubt while connecting to DynamoDB you have given the apiVersion from where can you get that? If you give me replay it's a great help for me.
@lovetocode4486
@lovetocode4486 Год назад
Hi Prasanthi, Thanks for you comments. Love it. There are two ways you can deal with DynamoDB tables. One way is using "new AWS.DynamoDB()" and other way is "new AWS.DynamoDB.DocumentClient();" The "DocumentClient" is wrapper for "AWS.DynamoDB()". The "DocumentClient" is working as more natural way. To your question regarding "apiVersion", you don't necessarily provide the `apiVersion`. Honestly I can't remember where is the apiVersion is mentioned. BTW you can still use DocumentClient without specifying the apiVersion. Furthermore I have put some code to understand the different. Hope this helps // using "DynamoDB client": var params = { Item: { "AlbumTitle": { S: "AAAA }, "Artist": { S: "John" }, "SongTitle": { S: "Cheap Trills" } }, TableName: "Music" }; dynamodb.putItem(params, function (err, data) { if (err) console.log(err) else console.log(data); }); // Using "DocumentClient" var params = { Item: { "AlbumTitle": "AAAAA", "Artist": "John", "SongTitle": "Cheap Trills" }, TableName: "Music" }; var documentClient = new AWS.DynamoDB.DocumentClient(); documentClient.put(params, function (err, data) { if (err) console.log(err); else console.log(data); });
@PrasanthiKoduri
@PrasanthiKoduri Год назад
@@lovetocode4486 Thank you ...🙂
@waxkemo
@waxkemo Год назад
Thanks. Great one
@lovetocode4486
@lovetocode4486 Год назад
Thanks @user-wy2px9dh8d
@Shanwalk-fm9wq
@Shanwalk-fm9wq Год назад
Great demo. Thanks.
@lovetocode4486
@lovetocode4486 Год назад
Thanks for watching!
@elClubdelas7Cifras
@elClubdelas7Cifras 3 месяца назад
completed
@lovetocode4486
@lovetocode4486 3 месяца назад
Thanks mate 👍👍
@krishnarao3740
@krishnarao3740 Месяц назад
hi there i am new to aws and cloud computing and i was wondering whether this same application can be done with the lambda function based on python?
@lovetocode4486
@lovetocode4486 Месяц назад
Hi mate, Yes, obviously you can do with most of languages. Python is one of them.
@nishchin8393
@nishchin8393 Год назад
Do you have any tutorial with DLQ setup from this tutorial?
@lovetocode4486
@lovetocode4486 Год назад
Hi @Nish, At the moment, no. I am doing a few videos and one of contains DLQ. Stay in touch. Thanks
@nishchin8393
@nishchin8393 Год назад
@@lovetocode4486 Thank you.
@muttineni03
@muttineni03 5 месяцев назад
Thanks for the video but i'm getting this error in cloudwatch logs, not sure what did i miss, do i need to make any changes in demo-event? 2024-01-24T16:23:32.852+05:30 Copy 2024-01-24T10:53:32.852Z 07d6413e-053e-5a45-9983-1f14eb593d03 ERROR Error in executing lambda: SyntaxError: Unexpected token ( in JSON at position 0 at JSON.parse () at Runtime.exports.handler (/var/task/index.js:18:25) at Runtime.handleOnceNonStreaming (file:///var/runtime/index.mjs:1173:29) 2024-01-24T10:53:32.852Z 07d6413e-053e-5a45-9983-1f14eb593d03 ERROR Error in executing lambda: SyntaxError: Unexpected token ( in JSON at position 0 at JSON.parse () at Runtime.exports.handler (/var/task/index.js:18:25) at Runtime.handleOnceNonStreaming (file:///var/runtime/index.mjs:1173:29)
@lovetocode4486
@lovetocode4486 5 месяцев назад
Hey mate, seems the event is not valid. Could you pls validate the payload. It should be a valid json.
@LuvxJacqu4li8e
@LuvxJacqu4li8e Год назад
Sorry I'm python
@lovetocode4486
@lovetocode4486 Год назад
The concept is similar even for the Python. Pls let me if you find it difficult in Python, I can help you. Thanks
@AbhishekRoy
@AbhishekRoy Год назад
@@lovetocode4486 finding it a little diffiult as the syntax(s) are creating little confusion, if you could help me with this, it would help me a lot
@lovetocode4486
@lovetocode4486 Год назад
@@AbhishekRoy Sure, Happy to help. Are you looking the same code in Python?
Далее
AWS SQS + Lambda + SES
16:11
Просмотров 3,4 тыс.
Отец Проводит Тест с Сыном 😂
00:48
AWS SQS vs SNS vs EventBridge - When to Use What?
22:37
Webhooks Processing: HTTP API Gateway + SQS +Lambda
13:02
AWS Lambda Python functions with a database (DynamoDB)
25:12
Secure API Gateway using Lambda Authorizer (NEW)
33:32
SQS Using Node Js -  Send, Receive And Delete data
11:32