Package-level declarations

Types

Link copied to clipboard
object ConditionalCheckFailedAdapterFactory : JsonAdapter.Factory

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.

Link copied to clipboard
interface DynamoDb

Docs: https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_Operations.html

Link copied to clipboard
abstract class DynamoDbAction<R : Any>(clazz: KClass<R>, autoMarshalling: AutoMarshalling = DynamoDbMoshi) : AwsJsonAction<R>
Link copied to clipboard
@KotshiJsonAdapterFactory
object DynamoDbJsonAdapterFactory : JsonAdapter.Factory
Link copied to clipboard

Functions

Link copied to clipboard
fun DynamoDb.Companion.Http(env: Map<String, String> = System.getenv(), http: HttpHandler = JavaHttpClient(), clock: Clock = Clock.systemUTC(), credentialsProvider: CredentialsProvider = CredentialsProvider.Environment(env), overrideEndpoint: Uri? = null): DynamoDb

Convenience function to create a DynamoDb from a System environment

fun DynamoDb.Companion.Http(env: Environment, http: HttpHandler = JavaHttpClient(), clock: Clock = Clock.systemUTC(), credentialsProvider: CredentialsProvider = CredentialsProvider.Environment(env), overrideEndpoint: Uri? = null): DynamoDb

Convenience function to create a DynamoDb from an http4k Environment

fun DynamoDb.Companion.Http(region: Region, credentialsProvider: CredentialsProvider, http: HttpHandler = JavaHttpClient(), clock: Clock = Clock.systemUTC(), overrideEndpoint: Uri? = null): DynamoDb

Standard HTTP implementation of DynamoDb