AWS API GateWay | AWS Serverless | Post Data to DynamoDB Using Api Gateway Lambda Python

Поделиться
HTML-код
  • Опубликовано: 17 окт 2024

Комментарии • 43

  • @JavaHomeCloud
    @JavaHomeCloud  6 лет назад +2

    contact us online classroom training's & project support please contact phone number +919886611117

  • @sanjaymondal703
    @sanjaymondal703 4 года назад

    Your video representations not only this , but others tutorials also are one of the best, very clear and elaborate Thanks very much.

  • @premaseemjain
    @premaseemjain 4 года назад +4

    It was to the point, short and simple. Thanks for creating this content.

  • @benitoelwerito
    @benitoelwerito 5 лет назад +2

    This is the best tutorial I've seen using these services. Thank you very much!

  • @cbttjm
    @cbttjm 2 года назад

    Just what I needed. Great explanation

  • @yurishephard8873
    @yurishephard8873 5 лет назад

    Been looking all over the internet for this. Like for three days or so. You broke it down in the cloud based lambda form, what I was looking for. Thank you very much and take care.

  • @akashmanna2099
    @akashmanna2099 4 года назад +2

    Content is awesome

  • @kapilkaushal6178
    @kapilkaushal6178 4 года назад

    Hi Sir , I need some advise in one of my use case. I have a website which is based on html, css, javascript. Also there is one form and when user fill the form and submit then the details are recorded on DB. Hence i need to deploy the website using serverless method. As per my understanding i could use s3 to host the static part of the website and could use the lambda function with Api integration for the Dynamic functionality. But how to use s3 with lambda and api gateway. Please guide. Or if you could suggest any better approach ?

    • @JavaHomeCloud
      @JavaHomeCloud  4 года назад

      if you are using java script then call restful api (API Gateway) from java script hosted on S3

  • @u.r.my.addict
    @u.r.my.addict 2 года назад

    for those, who faced issue on passing data to DynamoDB.
    API triggers lambda, data is passed to Lambda,
    ***Lambda needs access to DynamoDB write the data to table***
    so, add policy, "Simple microservice permissions" in the Lambda

  • @omegakiller1495
    @omegakiller1495 5 лет назад +2

    Thank you so much. solved many issues

  • @kashyapsistla3902
    @kashyapsistla3902 4 года назад

    Sir, When I am testing the api with a sample function it is not returning the customer added successfully. What could be the reason ? I have followed everything you mentioned in the video

  • @offensivebias3965
    @offensivebias3965 3 года назад

    Do you have any updated version of these tutorial ? its not working anymore in my case

  • @sureshbabu9484
    @sureshbabu9484 6 лет назад

    Thanks for your Video. You have explained very well.

  • @sadhuvijay
    @sadhuvijay 6 лет назад +1

    Great stuff!
    Make sure AmazonDynamoDBFullAccess Policy has been added to the Role Policy.

    • @kabirnarayanjha
      @kabirnarayanjha 5 лет назад

      i am unable to do this sir can you please help me?

  • @1970raman
    @1970raman 5 лет назад

    Hello,
    When I tried this, I got
    {
    "errorMessage": "Syntax error in module 'lambda_function'"
    }
    Can you help me?

  • @Gogolye
    @Gogolye 5 лет назад

    I am getting the following upon trying to add data to dynamodb from the API gateway.
    {
    "errorMessage": "module initialization error"
    }
    Also, no data is getting added

  • @antoniosorlozano7469
    @antoniosorlozano7469 6 лет назад

    Thanks you so much for your tutorial! It's just what I'd searching.

  • @palme7267
    @palme7267 3 года назад

    i have an error: An error occurred (ValidationException) when calling the PutItem operation: One or more parameter values were invalid: Missing the key CUSTOMER_ID in the item. Can you help me ? Thanks a lot ;) @java Home Cloud

  • @emikoascona1510
    @emikoascona1510 5 лет назад +1

    Great tutorial!!! Thank you so much.

  • @sujalpadhiyar5731
    @sujalpadhiyar5731 4 года назад

    Nice explanation . Thank you :)
    Question: If i am calling my data from external api in lamdba function , then how i can upload that data to s3 bucket ? your help will be appreciated

  • @ManishYadav0719
    @ManishYadav0719 6 лет назад +1

    Really appreciate it very well

  • @abhinav261
    @abhinav261 5 лет назад

    how to use other method like get put and delete in same lambda dunction or do i need make other function for all and if i need to make other methods then how to combine those methods with the function?

  • @009mrreddy
    @009mrreddy 5 лет назад +1

    Thank-you nice tutorial
    Can u plz tell how to resolve "is not authorized to perform" error message

  • @divyatirthadas
    @divyatirthadas 4 года назад +1

    Things keep changing, here is the updated code to point to table object
    dynamodb = boto3.resource('dynamodb')
    table = dynamodb.Table('Parkings')

  • @saptanilchowdhury1851
    @saptanilchowdhury1851 2 года назад

    sir plz show how to get the data from GET method

  • @devswami3159
    @devswami3159 4 года назад

    i m getting this error
    Request: /customer
    Status: 200
    Latency: 580 ms
    Response Body
    {
    "errorMessage": "Parameter validation failed:
    Missing required parameter in input: \"Item\"
    Unknown parameter in input: \"item\", must be one of: TableName, Item, Expected, ReturnValues, ReturnConsumedCapacity, ReturnItemCollectionMetrics, ConditionalOperator, ConditionExpression, ExpressionAttributeNames, ExpressionAttributeValues",
    "errorType": "ParamValidationEr

    • @JavaHomeCloud
      @JavaHomeCloud  4 года назад

      Error clearly says, you are doing a parameter validation and that is causing error.

  • @CLUB2627
    @CLUB2627 4 года назад

    How about Read Data?

  • @LuvxJacqu4li8e
    @LuvxJacqu4li8e Год назад

    Make sure your videos are at least 1080

  • @TheMicahMindset
    @TheMicahMindset 4 года назад

    Proper code using boto3 1.14.51 should be:
    import json
    import boto3
    dynamodb = boto3.resource('dynamodb')
    table = dynamodb.Table('CUSTOMERS')
    def lambda_handler(event, context):
    table.put_item(Item=event)
    return {
    "code": 200,
    "message": "Customer added successfully"
    }

  • @1970raman
    @1970raman 5 лет назад

    import boto3
    dynamodb = boto3.resource('dynamodb')
    table = dynamodb.Table('subscribers_ID')
    def lambda_handler(event, context):
    table.put_item(Item=event)
    return {"code":200,"massage":"OK"}

    • @dsvkarthik3168
      @dsvkarthik3168 3 года назад

      I'm getting a syntax error in line 5

  • @tyronefrielinghaus3467
    @tyronefrielinghaus3467 2 года назад

    Please ...pronounce English properly!