ConditionalCheckFailedAdapterFactory

object ConditionalCheckFailedAdapterFactory : JsonAdapter.Factory(source)

DynamoDB names the error text message, but DynamoDB Local names it Message. The AWS SDKs accept either, so reads here do too - otherwise a failed conditional write cannot be parsed at all against one of the two. Writes always use DynamoDB's own spelling.

Functions

Link copied to clipboard
open override fun create(type: Type, annotations: Set<Annotation>, moshi: Moshi): JsonAdapter<*>?