AWS

AppSync: how to error on DynamoDB conditional check failures

TL;DR To make an AppSync DynamoDB resolver throw exceptions on conditional check errors, we need to check $context.error in the response mapping template ourselves. Like this: #if ( $ctx.error ) #if ( $ctx.error.type.equals(“DynamoDB:ConditionalCheckFailedException”) ) $util.error(“your error message”) #else $util.error($ctx.error.message, $ctx.error.type) #end #end $utils.toJson($context.result) And now, the longer version. The problem AppSync lets us perform DynamoDB …

AppSync: how to error on DynamoDB conditional check failures Read More »

Skill up your serverless game with my new instructor-led online workshop

Have you been wondering about serverless but just don’t know how and where to start? Maybe you’re already building stuff with serverless, but don’t know if you’re doing it right? Are you unsure about the best practices for testing, monitoring and how to choose between similar services like SNS and EventBridge?   I have just …

Skill up your serverless game with my new instructor-led online workshop Read More »

Real-World Serverless: fully-serverless insurance company with Joe Emison

In this two-part conversation on Real-World Serverless, I spoke with Joe Emison about his experience with serverless and his latest venture, Branch, a home and auto insurance company that is built fully-serverlessly by a small team. Joe is easily one of the smartest people working with serverless technologies today and I’m very grateful that he …

Real-World Serverless: fully-serverless insurance company with Joe Emison Read More »

Real-World Serverless: state of serverless adoption at Zoopla

In the first-ever episode of Real-World Serverless, I spoke with Ricardo Espirito Santo about the state of serverless adoption at Zoopla – how they’re using serverless, their experience with it so far, and the challenges they have faced. Zoopla is a UK company in the real estate industry. They were founded in 2008 and their …

Real-World Serverless: state of serverless adoption at Zoopla Read More »

Announcing the new Real-World Serverless podcast

I’m excited to announce that my new podcast Real-World Serverless is LIVE! It’s a brand new podcast where I discuss real-world use cases and challenges with serverless technologies with engineers who are building stuff with them and get their stories from the trenches. The first episode is already live, where I spoke with Ricardo Espirito …

Announcing the new Real-World Serverless podcast Read More »

By continuing to use the site, you agree to the use of cookies. more information

The cookie settings on this website are set to "allow cookies" to give you the best browsing experience possible. If you continue to use this website without changing your cookie settings or you click "Accept" below then you are consenting to this.

Close