Programming AWS Lambda

Errata for Programming AWS Lambda

Submit your own errata for this product.


The errata list is a list of errors and their corrections that were found after the product was released. If the error was corrected in a later version or reprint the date of the correction will be displayed in the column titled "Date Corrected".

The following errata were submitted by our customers and approved as valid errors by the author or editor.

Color Key: Serious Technical Mistake Minor Technical Mistake Language or formatting error Typo Question Note Update



Version Location Description Submitted By Date Submitted Date Corrected
Printed, PDF, ePub, Mobi, Safari Books Online, Other Digital Version
Page 44
First code example

AWS have made a breaking change to their "AWS CLI" tool in 'major version' AWS CLI V2. If you are using AWS CLI V2, and calling the "aws lambda invoke" command with an inline payload (as we do in the example on this page) you must also add the argument "--cli-binary-format raw-in-base64-out" . If you don't do this you will see an error like: 'Invalid base64: ""world""'

Mike Roberts
 
May 05, 2020 
Printed
Page 128
Example 5-13

The line: Events: s3:ObjectCreated: should be: Events: s3:ObjectCreated:* (Errata supplied by Github user "asunar" via book's Github repository)

Mike Roberts
 
Jul 09, 2020