Create a lambda function and its underlying handler method

Assignment Help Other Subject
Reference no: EM132995236

Assignment Overview

The assignment has three parts - Part A (Lambda function), Part B (REST API), and Part C (Report). In Part A, you need to create a Lambda function and its underlying handler method. In Part B, you need to create a REST API that will integrate the Lambda function you have created in Part A. In Part C, you will need to write a reflection report discussing what you have learnt and issues and challenges you have faced and how you have resolved them.

Part A - Lambda Function

Overview: The REST API will be invoked with a query parameter, id. You Lambda function should receive this request and retrieve a DynamoDB item corresponding to this id. Following this, the handler method should return the retrieved item back as response. You need to use the DynamoDB table, Car that you had created during Assignment 2. The schema of the DynamoDB table is given below.

Car (Id, Model, Make, Year, Colour); Model, Make, Colour: String, Id, Year: Number

Details: You Lambda function and handler method must have the following functionalities.
• Name your Lambda function as yourSCUusername-a3-function.
• Receives a query parameter id from the REST API.
• Retrieves a corresponding item from the DynamoDB table, Car using the value of the id. You need to implement the DynamoDB read functionality (refer to week 8 workshop) for this particular functionality.
• Returns a string message including the value of all table fields - Id, Make, Model, Year, and Colour. If the id not found in the table, then returns a message "no item found with id = [value of the id], try another id".
• Use appropriate exception handling and detailed comments.
• You need to make necessary changes in the execution role to allow API Gateway to access your Lambda function.

Part B - REST API
Overview: You need to create a REST API and integrate the Lambda function (from Part A). The API must be invoked with a car identifier and return the details of the car.
Details:
• Create a REST API named youSCUusername-rest-api.
• Add necessary integration with the Lambda function (from Part A).
• The REST API should integrate a HTTP ANY method.
• Make necessary changes to "Method Request" and "Integration Request".
• Deploy the API with a stage named yourSCUusername-stage.
• Record the Invoke URL.

• Upon invocation with the car identified (i.e., id), the API must returns a message either with the car details, or with a warning.

Part C - Report

Overview: You need to write a 500 words report (named yourSCUusername_a3_report.docx) on what you have learnt, what issues you have faced and how you have resolved that.
Details: With your 400-word report you need to discuss/describe the followings.
• Changes you have made to your handler method. Issues/challenges/errors you have faced while doing this changes and how you resolved them (e.g., forum, tutor, and trial-error).
• Any issues/challenges/errors you faced while creating the REST API. How those issues were resolved.
• Add the RESR API Invoke URL you recorded in Part B in this report.

Attachment:- Assignment.rar

Reference no: EM132995236

Questions Cloud

What is an agency conflict and why it arises : What is an agency conflict and why it arises? Speak about only one of these mechanisms that can be used to reduce the agency conflicts in a company
What are some of the implications of allowing the group : What are some of the implications of allowing the group to have two options in accounting for goodwill on consolidation
Determine the book value per share of common stock : The preferred stock was noncumulative and non-callable. Use this information to determine the book value per share of Common Stock as of end of the FY 2018
What is the balance of allowance for doubtful accounts : It estimates that 2% of Accounts Receivable is uncollectible. What is the balance of Allowance for Doubtful Accounts at the end of the year
Create a lambda function and its underlying handler method : Create a Lambda function and its underlying handler method - create a REST API and integrate the Lambda function (from Part A). The API must be invoked
What is the balance of allowance for doubtful accounts : A company has an opening balance of $1,500 in Allowance for Doubtful Accounts. What is the balance of Allowance for Doubtful Accounts
Define terms capital expenditure and revenue expenditure : Define the following terms with relevant examples: a) Capital Expenditure b) Revenue Expenditure. Discuss briefly whether you agree with the statement
What is the maximum amount Candy should pay : If the current interest rates for a similar investment are 4% per annum (compounding annually), what is the maximum amount Candy should pay
How much is the net proceeds from the discounting : Kielvj Company discounted a 6-month P1,500,000 customer note at 11% with a bank on a with recourse basis. How much is the net proceeds from the discounting

Reviews

Write a Review

Other Subject Questions & Answers

  Cross-cultural opportunities and conflicts in canada

Short Paper on Cross-cultural Opportunities and Conflicts in Canada.

  Sociology theory questions

Sociology are very fundamental in nature. Role strain and role constraint speak about the duties and responsibilities of the roles of people in society or in a group. A short theory about Darwin and Moths is also answered.

  A book review on unfaithful angels

This review will help the reader understand the social work profession through different concepts giving the glimpse of why the social work profession might have drifted away from its original purpose of serving the poor.

  Disorder paper: schizophrenia

Schizophrenia does not really have just one single cause. It is a possibility that this disorder could be inherited but not all doctors are sure.

  Individual assignment: two models handout and rubric

Individual Assignment : Two Models Handout and Rubric,    This paper will allow you to understand and evaluate two vastly different organizational models and to effectively communicate their differences.

  Developing strategic intent for toyota

The following report includes the description about the organization, its strategies, industry analysis in which it operates and its position in the industry.

  Gasoline powered passenger vehicles

In this study, we examine how gasoline price volatility and income of the consumers impacts consumer's demand for gasoline.

  An aspect of poverty in canada

Economics thesis undergrad 4th year paper to write. it should be about 22 pages in length, literature review, economic analysis and then data or cost benefit analysis.

  Ngn customer satisfaction qos indicator for 3g services

The paper aims to highlight the global trends in countries and regions where 3G has already been introduced and propose an implementation plan to the telecom operators of developing countries.

  Prepare a power point presentation

Prepare the power point presentation for the case: Santa Fe Independent School District

  Information literacy is important in this environment

Information literacy is critically important in this contemporary environment

  Associative property of multiplication

Write a definition for associative property of multiplication.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd