Susan Harkins (399) [Avatar] Offline
#1
Please post errors in the published version of AWS Lambda in Action here. We'll publish a comprehensive list for everyone's convenience. Thank you!

Susan Harkins
Errata Editor
Manning Publications
443453 (1) [Avatar] Offline
#2
About this book

AUTHOR ONLINE
www.manning.com/aws-lambda-in-action should be www.manning.com/books/aws-lambda-in-action
Joseph Knecht (1) [Avatar] Offline
#3
page 54: 'curl https://<your endpoint>/prod/users/JohnDoe123/greet'

The API Gateway URL should be for 'user' instead of 'users', because the name of the resource readers were instructed to create was 'User'.
270304 (3) [Avatar] Offline
#4
Author Online:

The link to the forum currently is www.manning.com/aws-lambda-in-action

it should be www.manning.com/forums/aws-lambda-in-action
257722 (2) [Avatar] Offline
#5
Typo in 3rd paragraph chapter 1-it's the first full paragraph on page 4 of the pdf

The last sentence in the paragraph reads 'Even if you use a container-based approach in building the environment,
with tools such as Docker, you’re still in change of managing versioning and
updates of the containers you use.'

change should be changed to charge
529583 (3) [Avatar] Offline
#6
1. Ch 5.2.2, Listing 5.1, pg 89:

var dstKey = "thumbs/" + srcKey);


Has an extra ')' on the end that should not be there.

2. Ch 5.2.2, Listing 5.1, pg 89:

Bad indentation on these lines:

var imageType = getImageType(srcKey, callback);


and

s3.getObject({
    Bucket: srcBucket,
    Key: srcKey
  },
  next);
},


3. Ch 5.2.2, Listing 5.1, pg 89:

Function name type in:

function tranformImage(response, next) { 


Should be

function transformImage(response, next) {
516719 (1) [Avatar] Offline
#7
Chapter 9, Page 185:

'name' should be bolded in both function definitions to reflect that they have been added.

1) function storeUser(email, *name*, password, salt, fn)

2) function sendVerificationEmail(email, *name*, token, fn)

472618 (13) [Avatar] Offline
#8
ch9 page 174, last resource in Policy_Cognito_Unauthenticated_Role should be

"arn:aws:lambda:<REGION>:<ACCOUNT>:function:sampleAuthLogin"

not

"arn:aws:lambda:<REGION>:<ACCOUNT>:function:login"


likewise, ch10 page 207, the first bullet after Policy_Cognito_Authenticated_Role should be

The sampleAuthLogin function, to authenticate the user

not

The login function, to authenticate the user
472618 (13) [Avatar] Offline
#9
ch10 page 211 and 212 when calling computeHash, it should be called as

cyrptoUtils.computeHash(...
Susan Harkins (399) [Avatar] Offline
#10
An updated errata list for AWS Lambda in Action is available at https://manning-content.s3.amazonaws.com/download/1/59d523d-e522-4641-90cb-d7cd6f11a12f/Poccia_AWSLambdainAction_Err3.html. Corrections have been made to the pbook, and we're in the process of updating mobile and livebook versions. Thank you for participating in the collection process. Your contributions are a great help to us and other readers.