Skip to main content
00:00/00:00
Lecture 22 of 201

Path parameter

Download Course (Free)

Course Content

0 / 201 completed
Section 1: Introduction to REST API4 videos

What is an API

4m

REST API Resources & URIs

5m

API Operations and HTTP methods

3m

Introduction to REST API

3m
Section 2: Introduction2 videos

Welcome from the instructor

3m

Introduction

1m
Section 3: Introduction to AWS Serverless3 videos

The multi-tier architecture and Microservices

6m

AWS Serverless services overview

19m

AWS Serverless architecture example

7m
Section 4: AWS API Gateway7 videos

Import from Swagger or Open API 3

17m

Method execution flow overview

7m

Method request overview

4m

Integration request overview

3m

Integration response overview

2m

Trying how it works

4m

Method response overview

3m
Section 5: Creating Mock API Endpoints10 videos

Creating a new API

2m

Creating a new Resource

3m

Creating HTTP Method

4m

Query String Parameters

1m

Returning Mock Data

4m

Path parameter

4mNow Playing

Reading Query String Parameter in a Mapping template

6m

Deploying Mock API

7m

Documenting API

9m

Reading the path parameter

5m
Section 6: Exporting API3 videos

Export API with Gateway Extensions

6m

Export API and Test with Postman

4m

Export API and Test with Swagger

9m
Section 7: Validating HTTP Request4 videos

Validating Request Parameters & Headers

6m

Associate Model with HTTP Request

2m

Validating Request Body - Creating a Model

7m

Validating Request Body - Trying how it works

3m
Section 8: Introduction to Lambda6 videos

Function as a Service(SaaS)

1m

Lambda function & other Services

4m

Anatomy of a Java Lambda function handler

2m

Lambda Execution Environment

3m

Cold start, warm start & provisioned concurrency

2m

Pricing

4m
Section 9: Create Java Lambda using Maven and IDE10 videos

Adding Maven dependencies

4m

Creating new Maven project

2m

Creating Lambda function

3m

Maven Shade Plugin

4m

Creating function in AWS Console

3m

Deploying Lambda function

8m

Reading Request returning Response

8m

Create new API project

1m

Testing Lambda function with Input Template

7m

Assigning Lambda function to API Endpoint

13m
Section 10: AWS SAM - Tools to create & deploy Lambda functions17 videos

Creating a new IAM User

6m

Installing AWS CLI

16m

Configure AWS Credentials on your computer

5m

Installing AWS SAM

17m

Refactor project to use a different name

13m

[Updated] Creating a new project with SAM

8m

Read User Details JSON and return HTTP Response

12m

SAM template - Resources

9m

The event.json file

4m

SAM template file overview

15m

Invoke Remote Lambda function from local computer

3m

SAM template - Outputs

15m

Invoke public API Endpoint

6m

Debug Lambda function locally

5m

Delete AWS SAM application

7m

Viewing logs

16m

Deploy Lambda function to AWS

12m
Section 11: Data Transformations11 videos

Deploying application to AWS

3m

Creating a new Response Model

2m

Java Map instead of APIGatewayProxy Event objects

4m

Creating a new Request Model

3m

Reading New Request Model

2m

Transforming HTTP Request Payload

12m

Configure Method Response

2m

Trying how it works

7m

Trying how the Response Mapping

4m

Response Mapping Template

11m

Reading with Query String Parameters & Headers

7m
Section 12: Error Responses10 videos

Deploy project

3m

Trying how it works

5m

Proxy Integration. Handle Exception and return custom JSON

3m

Proxy Integration. Causing a 500 Server Error

8m

Deploy and disable Proxy Integration

8m

Response code & Lambda Error Regex for 500 status code

9m

Lambda Error Regex for Different Error

9m

Customize the Default API Gateway Error Response

34m

Mapping template for 500 status code

8m

Handle multiple exceptions

10m
Section 13: Lambda Function Versions4 videos

Deploying new code

5m

Publishing a new version

6m

Assign new version to API endpoint

8m

Publish version #2

6m
Section 14: Lambda Function Aliases5 videos

Lambda Aliases - Introduction

1m

Using Alias in API Gateway

3m

Creating an Alias

5m

Trying how the Lambda Alias works

9m

Shift traffic between two lambda versions

4m
Section 15: Canary Release Deployment4 videos

Create Canary

5m

Deploy changes to Canary

5m

Trying how it works

3m

Promoting and Deleting Canary

3m
Section 16: AWS Lambda Environment Variables8 videos

Reading Environment Variables

3m

Creating Environment Variables in AWS SAM

6m

Creating Lambda environment variables in AWS Web Console

2m

Environment variables encryption options

2m

Encrypting environment variables with AWS KMS key

4m

Creating new encryption key

7m

Trying how it works

4m

Decrypting Environment Variables

15m
Section 17: Cognito user pools - Implementing User Sign-up13 videos

[Updated] Cognito User Pool Configure Sign-in Experience

12m

[Updated] Cognito User Pool Security Requirements

9m

[Updated] Cognito User Pool Sign-up Experience

11m

Create User - Reading Request Body

3m

[Updated] Cognito User Pool Message Delivery

4m

Adding AWS SDK Cognito Dependencies

15m

Creating CognitoUserService and CreateUser function

2m

[Updated] Cognito User Pool Integrate App

23m

Working on Cognito SignUpRequest

7m

Generating Secret Hash value

14m

Creating and using the CognitoIdentityProviderClient

6m

User Sign-up. Trying how it works

9m

Calling the createUser() function

20m
Section 18: Amazon Cognito- Implementing Confirm User Account7 videos

Creating the Confirm User Lambda function

2m

Implementing Confirm User Signup function

10m

Define Confirm User Signup function in AWS SAM template

6m

Updating Encryption & Decryption KMS Key

3m

Encrypting environment variables

22m

Calling the Confirm User method

11m

Decrypting Environment Variables in Java code

9m
Section 19: Amazon Cognito - User Authentication5 videos

Creating LoginUserHandler

3m

Define LoginUserHandle in AWS SAM template

7m

Calling User Login method

8m

Implementing User Login method in the service class

14m

Error message as jSON rather than plain text

23m
Section 20: Amazon Cognito - Add User to a Group6 videos

Implementing AddUserToGroup() method

6m

Creating a User Group

15m

Calling the AddUserToGroup() method

10m

Encrypting Environment Variable

6m

Define AddUserToGroup function in AWS SAM template

24m

Trying how the Add User To Group function works

17m
Section 21: Cognito Authorizer. Using JWT Access Tokens9 videos

Secure API endpoint with Cognito Authorizer

7m

Creating GetUserHandler Lambda function

3m

Define GetUserHandler function in AWS SAM template

10m

Using ID token with Cognito Authorizer

7m

Trying how it works

4m

Calling the Get User method

4m

Implementing Get User Details method

10m

Validating required HTTP header

6m

Import Open API definition into SAM template

28m
Section 22: Lambda Authorizer - Creating custom Authorizer13 videos

Creating Lambda Authorizer in API Gateway

7m

Starter project overview & source code

9m

Lambda authorizer Output

8m

Import Open-API configuration into AWS SAM template

11m

Generating Policy Document

31m

Adding JWT validation dependencies

9m

Implement the JWT validation function

9m

Trying how JWT validation works

5m

Validating the JWT

8m

Implementing the GetUserByUsername function

9m

Add Policy to allow the AWS SAM template file

4m

Trying how it works

4m

Calling getUserByUsername() from handleRequest() method

7m
Section 23: API Keys and Usage Plans3 videos

Create a new API Key

2m

Create a Usage Plan

3m

Secure API Endpoint with API Key

3m
Section 24: JUnit Testing AWS Lambda16 videos

Testing Pyramid

2m

F.I.R.S.T principle

2m

Arrange, Act, Assert

5m

Naming a Unit Test Method

4m

Unit Test Lifecycle methods

4m

Adding JUnit Test Dependencies

13m

Running and failing a test case

8m

Mocking APIGatewayProxyRequestEvent

6m

Creating Mock Objects

9m

Mocking Context object

6m

Invoke function under test

5m

Mocking CognitoUserService class

6m

Assertions for the CreateUserHandler Unit Test

13m

Centralize property names

6m

Test if function returns error message if request body is empty

12m

Test if function returns error message when AwsServiceException takes place

20m
Section 25: Developer Tools. AWS CICD - AWS CodeCommit11 videos

Introduction to AWS CodeCommit

2m

Git Branches

1m

Creating Local Git Repository

4m

Git Ignore file

4m

Creating Remote Git Repository

2m

Commit files to main branch

3m

Push New Updates to a Remote Git Branch

7m

Creating User Credentials

12m

Creating a Pull Request

4m

Approving and Merging Pull Request

5m

Push Initial Commit to a Remote Git Branch

7m
Section 26: Developer Tools. AWS CICD - AWS CodeBuild6 videos

Creating a new S3 bucket

6m

Fixing a Unit Test method

3m

Commit BuildSpec file to main branch

2m

Creating a BuildSpec file

17m

Creating a new CodeBuild project

11m

Running Code Build

11m
Section 27: Developer Tools. AWS CICD - AWS CodePipeline4 videos

CloudFormation Role

10m

Execute a Change Set

6m

Making code change that triggers pipeline

3m

Creating CodePipeline to Deploy AWS Lambda

11m