Package-level declarations

Types

Link copied to clipboard
@JsonSerializable
data class ArchivalSummary(val ArchivalBackupArn: ARN? = null, val ArchivalDateTime: Timestamp? = null, val ArchivalReason: String? = null)
Link copied to clipboard
class Attribute<FINAL>(val dataType: DynamoDataType, meta: Meta, get: (Item) -> FINAL, lensSet: (FINAL, Item) -> Item, ignoreNull: Boolean = false) : Lens<Item, FINAL> , LensInjector<FINAL, Item>

Constructs typesafe Lenses for the various Item/Key attributes. The lenses can be used to inject values with Item(attr of "123") or extract with attr(item).

Link copied to clipboard
@JsonSerializable
data class AttributeDefinition(val AttributeName: AttributeName, val AttributeType: DynamoDataType)
Link copied to clipboard
class AttributeName : AbstractValue<String> , Comparable<AttributeName>
Link copied to clipboard
@JsonSerializable
data class AttributeValue : Comparable<AttributeValue>

Represents the on-the-wire format of an Attribute Value with it's requisite type. Only one of these fields is ever populated at once in an entry. So you can get { "S": "hello" } or { "BOOL": true } or { "NS": "123" }

Link copied to clipboard
@JsonSerializable
data class BatchItemFailure(val itemIdentifier: String)
Link copied to clipboard
@JsonSerializable
data class BatchStatementError(val Code: ErrorCode? = null, val Message: String? = null)
Link copied to clipboard
@JsonSerializable
enum BillingMode : Enum<BillingMode>
Link copied to clipboard
@JsonSerializable
data class BillingModeSummary(val BillingMode: BillingMode? = null, val LastUpdateToPayPerRequestDateTime: Timestamp? = null)
Link copied to clipboard
@JsonSerializable
data class Capacity(val CapacityUnits: Long? = null, val ReadCapacityUnits: Long? = null, val WriteCapacityUnits: Long? = null)
Link copied to clipboard
class ClientToken : AbstractComparableValue<ClientToken, String>
Link copied to clipboard
@JsonSerializable
data class ConsumedCapacity(val TableName: TableName? = null, val CapacityUnits: Double? = null, val GlobalSecondaryIndexes: Map<String, Capacity>? = null, val LocalSecondaryIndexes: Map<String, Capacity>? = null, val ReadCapacityUnits: Double? = null, val Table: Capacity? = null, val WriteCapacityUnits: Double? = null)
Link copied to clipboard
@JsonSerializable
data class CsvOptions(val Delimiter: Char? = null, val HeaderList: List<String>? = null)
Link copied to clipboard
@JsonSerializable
enum DynamoDataType : Enum<DynamoDataType>
Link copied to clipboard
@JsonSerializable
enum ErrorCode : Enum<ErrorCode>
Link copied to clipboard
@JsonSerializable
data class Get(val TableName: TableName, val Key: Key, val ProjectionExpression: String? = null, val ExpressionAttributeNames: TokensToNames? = null)
Link copied to clipboard
@JsonSerializable
data class GetItemsResponseItem(val Item: ItemResult? = null)
Link copied to clipboard
@JsonSerializable
data class GlobalSecondaryIndex(val IndexName: IndexName, val KeySchema: List<KeySchema>, val Projection: Projection, val ProvisionedThroughput: ProvisionedThroughput? = null)
Link copied to clipboard
@JsonSerializable
data class GlobalSecondaryIndexCreate(val IndexName: IndexName? = null, val KeySchema: List<KeySchema>? = null, val Projection: Projection? = null, val ProvisionedThroughput: ProvisionedThroughput? = null)
Link copied to clipboard
@JsonSerializable
data class GlobalSecondaryIndexDelete(val IndexName: IndexName? = null)
Link copied to clipboard
@JsonSerializable
data class GlobalSecondaryIndexesUpdate(val IndexName: IndexName? = null, val ProvisionedThroughputOverride: ProvisionedThroughputOverride? = null)
Link copied to clipboard
@JsonSerializable
data class GlobalSecondaryIndexReplica(val IndexName: IndexName? = null, val ProvisionedThroughputOverride: ProvisionedThroughputOverride? = null)
Link copied to clipboard
@JsonSerializable
data class GlobalSecondaryIndexResponse(val Backfilling: Boolean? = null, val IndexArn: ARN? = null, val IndexName: String? = null, val IndexSizeBytes: Long? = null, val IndexStatus: IndexStatus? = null, val ItemCount: Long? = null, val KeySchema: List<KeySchema>? = null, val Projection: Projection? = null, val ProvisionedThroughput: ProvisionedThroughputResponse? = null)
Link copied to clipboard
@JsonSerializable
data class GlobalSecondaryIndexUpdate(val IndexName: IndexName? = null, val ProvisionedThroughput: ProvisionedThroughput? = null)
Link copied to clipboard
@JsonSerializable
data class GlobalSecondaryIndexUpdates(val Create: GlobalSecondaryIndexCreate? = null, val Delete: GlobalSecondaryIndexDelete? = null, val Update: GlobalSecondaryIndexUpdate? = null)
Link copied to clipboard
@JsonSerializable
enum ImportStatus : Enum<ImportStatus>
Link copied to clipboard
@JsonSerializable
data class ImportSummary(val CloudWatchLogGroupArn: ARN? = null, val EndTime: Timestamp? = null, val ImportArn: ARN? = null, val ImportStatus: ImportStatus? = null, val InputFormat: InputFormat? = null, val S3BucketSource: S3BucketSource? = null, val StartTime: Timestamp? = null, val TableArn: ARN? = null)
Link copied to clipboard
@JsonSerializable
data class ImportTableDescription(val ClientToken: ClientToken? = null, val CloudWatchLogGroupArn: ARN? = null, val EndTime: Timestamp? = null, val ErrorCount: Long? = null, val FailureCode: String? = null, val FailureMessage: String? = null, val ImportArn: ARN? = null, val ImportedItemCount: Long? = null, val ImportStatus: ImportStatus? = null, val InputCompressionType: InputCompressionType? = null, val InputFormat: InputFormat? = null, val InputFormatOptions: InputFormatOptions? = null, val ProcessedItemCount: Long? = null, val ProcessedSizeBytes: Long? = null, val S3BucketSource: S3BucketSource? = null, val StartTime: Timestamp? = null, val TableArn: ARN? = null, val TableCreationParameters: TableCreationParameters? = null, val TableId: String? = null)
Link copied to clipboard
class IndexName : AbstractValue<String>
Link copied to clipboard
@JsonSerializable
enum IndexStatus : Enum<IndexStatus>
Link copied to clipboard
Link copied to clipboard
@JsonSerializable
enum InputFormat : Enum<InputFormat>
Link copied to clipboard
@JsonSerializable
data class InputFormatOptions(val Csv: CsvOptions?)
Link copied to clipboard
Link copied to clipboard
@JsonSerializable
data class ItemCollectionMetrics(val ItemCollectionKey: Key? = null, val SizeEstimateRangeGB: List<Long>? = null)
Link copied to clipboard
typealias ItemResult = Map<String, Map<String, Any>>
Link copied to clipboard
typealias Key = Item
Link copied to clipboard
@JsonSerializable
data class KeySchema(val AttributeName: AttributeName, val KeyType: KeyType)
Link copied to clipboard
@JsonSerializable
enum KeyType : Enum<KeyType>
Link copied to clipboard
@JsonSerializable
data class LocalSecondaryIndex(val IndexName: IndexName, val KeySchema: List<KeySchema>, val Projection: Projection)
Link copied to clipboard
@JsonSerializable
data class LocalSecondaryIndexResponse(val IndexArn: ARN? = null, val IndexName: String? = null, val IndexSizeBytes: Long? = null, val ItemCount: Long? = null, val KeySchema: List<KeySchema>? = null, val Projection: Projection? = null)
Link copied to clipboard
class NextToken : AbstractComparableValue<NextToken, String>
Link copied to clipboard
@JsonSerializable
data class ParameterizedStatement(val Statement: String, val parameters: List<AttributeValue>? = null)
Link copied to clipboard
@JsonSerializable
data class Projection(val NonKeyAttributes: List<AttributeName>? = null, val ProjectionType: ProjectionType? = null)
Link copied to clipboard
@JsonSerializable
enum ProjectionType : Enum<ProjectionType>
Link copied to clipboard
@JsonSerializable
data class ProvisionedThroughput(val ReadCapacityUnits: Long, val WriteCapacityUnits: Long)
Link copied to clipboard
@JsonSerializable
data class ProvisionedThroughputOverride(val ReadCapacityUnits: Long? = null)
Link copied to clipboard
@JsonSerializable
data class ProvisionedThroughputResponse(val LastDecreaseDateTime: Timestamp? = null, val LastIncreaseDateTime: Timestamp? = null, val NumberOfDecreasesToday: Long? = null, val ReadCapacityUnits: Long? = null, val WriteCapacityUnits: Long? = null)
Link copied to clipboard
@JsonSerializable
data class Replica(val GlobalSecondaryIndexes: List<GlobalSecondaryIndexReplica>? = null, val KMSMasterKeyId: KMSKeyId? = null, val ProvisionedThroughputOverride: ProvisionedThroughputOverride? = null, val RegionName: String? = null, val ReplicaInaccessibleDateTime: Timestamp? = null, val ReplicaStatus: ReplicaStatus? = null, val ReplicaStatusDescription: String? = null, val ReplicaStatusPercentProgress: String? = null)
Link copied to clipboard
@JsonSerializable
data class ReplicaCreate(val GlobalSecondaryIndexes: List<GlobalSecondaryIndexesUpdate>? = null, val KMSMasterKeyId: KMSKeyId? = null, val ProvisionedThroughputOverride: ProvisionedThroughputOverride? = null, val RegionName: Region? = null)
Link copied to clipboard
@JsonSerializable
data class ReplicaDelete(val RegionName: Region?)
Link copied to clipboard
@JsonSerializable
enum ReplicaStatus : Enum<ReplicaStatus>
Link copied to clipboard
@JsonSerializable
data class ReplicaUpdate(val GlobalSecondaryIndexes: List<GlobalSecondaryIndexesUpdate>? = null, val KMSMasterKeyId: KMSKeyId? = null, val ProvisionedThroughputOverride: ProvisionedThroughputOverride? = null, val RegionName: String? = null)
Link copied to clipboard
@JsonSerializable
data class ReplicaUpdates(val Create: ReplicaCreate? = null, val Delete: ReplicaDelete? = null, val Update: ReplicaUpdate? = null)
Link copied to clipboard
@JsonSerializable
data class ReqGetItem
Link copied to clipboard
@JsonSerializable
data class ReqStatement(val Statement: String, val ConsistentRead: Boolean? = null, val Parameters: List<AttributeValue>? = null)
Link copied to clipboard
@JsonSerializable
data class ReqWriteItem
Link copied to clipboard
@JsonSerializable
data class RestoreSummary(val RestoreDateTime: Timestamp? = null, val RestoreInProgress: Boolean? = null, val SourceBackupArn: ARN? = null, val SourceTableArn: ARN? = null)
Link copied to clipboard
Link copied to clipboard
@JsonSerializable
enum ReturnValues : Enum<ReturnValues>
Link copied to clipboard
@JsonSerializable
data class S3BucketSource(val S3Bucket: String, val S3BucketOwner: String? = null, val S3KeyPrefix: String? = null)
Link copied to clipboard
@JsonSerializable
enum Select : Enum<Select>
Link copied to clipboard
@JsonSerializable
data class SSEDescription(val InaccessibleEncryptionDateTime: Timestamp? = null, val KMSMasterKeyArn: ARN? = null, val SSEType: SSEType? = null, val Status: String? = null)
Link copied to clipboard
@JsonSerializable
data class SSESpecification(val Enabled: Boolean, val KMSMasterKeyId: KMSKeyId? = null, val SSEType: SSEType? = null)
Link copied to clipboard
@JsonSerializable
enum SSEType : Enum<SSEType>
Link copied to clipboard
@JsonSerializable
data class StatementResponse(val TableName: TableName? = null, val Error: BatchStatementError? = null, Item: ItemResult? = null)
Link copied to clipboard
@JsonSerializable
data class StreamsEventResponse(val batchItemFailures: List<BatchItemFailure>)
Link copied to clipboard
@JsonSerializable
data class StreamSpecification(val StreamEnabled: Boolean, val StreamViewType: StreamViewType? = null)
Link copied to clipboard
@JsonSerializable
enum StreamViewType : Enum<StreamViewType>
Link copied to clipboard
@JsonSerializable
data class TableCreationParameters(val AttributeDefinitions: List<AttributeDefinition>, val KeySchema: List<KeySchema>, val TableName: TableName, val BillingMode: BillingMode? = null, val GlobalSecondaryIndexes: List<GlobalSecondaryIndex>? = null, val ProvisionedThroughput: ProvisionedThroughput? = null, val SSESpecification: SSESpecification? = null)
Link copied to clipboard
@JsonSerializable
data class TableDescription(val ArchivalSummary: ArchivalSummary? = null, val AttributeDefinitions: List<AttributeDefinition>? = null, val BillingModeSummary: BillingModeSummary? = null, val CreationDateTime: Timestamp? = null, val GlobalSecondaryIndexes: List<GlobalSecondaryIndexResponse>? = null, val GlobalTableVersion: String? = null, val ItemCount: Long? = null, val KeySchema: List<KeySchema>? = null, val LatestStreamArn: ARN? = null, val LatestStreamLabel: String? = null, val LocalSecondaryIndexes: List<LocalSecondaryIndexResponse>? = null, val ProvisionedThroughput: ProvisionedThroughputResponse? = null, val Replicas: List<Replica>? = null, val RestoreSummary: RestoreSummary? = null, val SSEDescription: SSEDescription? = null, val StreamSpecification: StreamSpecification? = null, val TableArn: ARN? = null, val TableId: String? = null, val TableName: TableName? = null, val TableSizeBytes: Long? = null, val TableStatus: TableStatus? = null)
Link copied to clipboard
Link copied to clipboard
@JsonSerializable
enum TableStatus : Enum<TableStatus>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
@JsonSerializable
data class TransactGetItem
Link copied to clipboard
@JsonSerializable
data class TransactWriteItem

Functions

Link copied to clipboard

Used for creating tables

Link copied to clipboard

Used for creating tables

Link copied to clipboard
fun <OUT> Attribute<OUT?>.asRequired(description: String? = null, metadata: Map<String, Any> = emptyMap()): Attribute<OUT>
Link copied to clipboard
@JvmName(name = "valueSetBigDecimal")
fun <VALUE : Value<BigDecimal>> Attribute.Companion.bigDecimals(vf: ValueFactory<VALUE, BigDecimal>): Attribute.AttrLensSpec<Set<VALUE>>
Link copied to clipboard
@JvmName(name = "valueSetBigInteger")
fun <VALUE : Value<BigInteger>> Attribute.Companion.bigIntegers(vf: ValueFactory<VALUE, BigInteger>): Attribute.AttrLensSpec<Set<VALUE>>
Link copied to clipboard
Link copied to clipboard
@JvmName(name = "valueSetDouble")
fun <VALUE : Value<Double>> Attribute.Companion.doubles(vf: ValueFactory<VALUE, Double>): Attribute.AttrLensSpec<Set<VALUE>>
Link copied to clipboard
@JvmName(name = "valueSetFloat")
fun <VALUE : Value<Float>> Attribute.Companion.floats(vf: ValueFactory<VALUE, Float>): Attribute.AttrLensSpec<Set<VALUE>>
Link copied to clipboard
@JvmName(name = "valueSetInt")
fun <VALUE : Value<Int>> Attribute.Companion.ints(vf: ValueFactory<VALUE, Int>): Attribute.AttrLensSpec<Set<VALUE>>
Link copied to clipboard
fun Item(vararg modifiers: (Item) -> Item): Item

Convenience Method to create an Item from a set of Bindings.

Link copied to clipboard
fun Key(vararg modifiers: (Item) -> Item): Item

Convenience Method to create an Item Key from a set of Bindings.

Link copied to clipboard
fun <T : Any, VALUE : Value<T>> Attribute.Companion.list(vf: ValueFactory<VALUE, T>): Attribute.AttrLensSpec<List<VALUE>>

Map a list of value types to an attribute

@JvmName(name = "valueListBigDecimal")
fun <VALUE : Value<BigDecimal>> Attribute.Companion.list(vf: ValueFactory<VALUE, BigDecimal>): Attribute.AttrLensSpec<List<VALUE>>
@JvmName(name = "valueListBigInteger")
fun <VALUE : Value<BigInteger>> Attribute.Companion.list(vf: ValueFactory<VALUE, BigInteger>): Attribute.AttrLensSpec<List<VALUE>>
@JvmName(name = "valueListBoolean")
fun <VALUE : Value<Boolean>> Attribute.Companion.list(vf: ValueFactory<VALUE, Boolean>): Attribute.AttrLensSpec<List<VALUE>>
@JvmName(name = "valueListDouble")
fun <VALUE : Value<Double>> Attribute.Companion.list(vf: ValueFactory<VALUE, Double>): Attribute.AttrLensSpec<List<VALUE>>
@JvmName(name = "valueListFloat")
fun <VALUE : Value<Float>> Attribute.Companion.list(vf: ValueFactory<VALUE, Float>): Attribute.AttrLensSpec<List<VALUE>>
@JvmName(name = "valueListInt")
fun <VALUE : Value<Int>> Attribute.Companion.list(vf: ValueFactory<VALUE, Int>): Attribute.AttrLensSpec<List<VALUE>>
@JvmName(name = "valueListLong")
fun <VALUE : Value<Long>> Attribute.Companion.list(vf: ValueFactory<VALUE, Long>): Attribute.AttrLensSpec<List<VALUE>>

Map items out of a collection

Link copied to clipboard
@JvmName(name = "valueSetLong")
fun <VALUE : Value<Long>> Attribute.Companion.longs(vf: ValueFactory<VALUE, Long>): Attribute.AttrLensSpec<Set<VALUE>>
Link copied to clipboard
Link copied to clipboard
fun <T : Any, VALUE : Value<T>> Attribute.Companion.set(vf: ValueFactory<VALUE, T>): Attribute.AttrLensSpec<Set<VALUE>>

Map a set of value types to an attribute

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun <P : Any, VALUE : Value<P>> Attribute.AttrLensSpec<P>.value(vf: ValueFactory<VALUE, P>): Attribute.AttrLensSpec<VALUE>

Map a single value type to an attribute

@JvmName(name = "valueBigDecimal")
fun <VALUE : Value<BigDecimal>> Attribute.Companion.value(vf: ValueFactory<VALUE, BigDecimal>): Attribute.AttrLensSpec<VALUE>
@JvmName(name = "valueBigInteger")
fun <VALUE : Value<BigInteger>> Attribute.Companion.value(vf: ValueFactory<VALUE, BigInteger>): Attribute.AttrLensSpec<VALUE>
@JvmName(name = "valueDuration")
fun <VALUE : Value<Duration>> Attribute.Companion.value(vf: ValueFactory<VALUE, Duration>): Attribute.AttrLensSpec<VALUE>
@JvmName(name = "valueInstant")
fun <VALUE : Value<Instant>> Attribute.Companion.value(vf: ValueFactory<VALUE, Instant>): Attribute.AttrLensSpec<VALUE>
@JvmName(name = "valueLocalDateTime")
fun <VALUE : Value<LocalDateTime>> Attribute.Companion.value(vf: ValueFactory<VALUE, LocalDateTime>): Attribute.AttrLensSpec<VALUE>
@JvmName(name = "valueLocalDate")
fun <VALUE : Value<LocalDate>> Attribute.Companion.value(vf: ValueFactory<VALUE, LocalDate>): Attribute.AttrLensSpec<VALUE>
@JvmName(name = "valueLocalTime")
fun <VALUE : Value<LocalTime>> Attribute.Companion.value(vf: ValueFactory<VALUE, LocalTime>): Attribute.AttrLensSpec<VALUE>
@JvmName(name = "valueOffsetDateTime")
fun <VALUE : Value<OffsetDateTime>> Attribute.Companion.value(vf: ValueFactory<VALUE, OffsetDateTime>): Attribute.AttrLensSpec<VALUE>
@JvmName(name = "valueOffsetTime")
fun <VALUE : Value<OffsetTime>> Attribute.Companion.value(vf: ValueFactory<VALUE, OffsetTime>): Attribute.AttrLensSpec<VALUE>
@JvmName(name = "valueZonedDateTime")
fun <VALUE : Value<ZonedDateTime>> Attribute.Companion.value(vf: ValueFactory<VALUE, ZonedDateTime>): Attribute.AttrLensSpec<VALUE>
@JvmName(name = "valueUUID")
fun <VALUE : Value<UUID>> Attribute.Companion.value(vf: ValueFactory<VALUE, UUID>): Attribute.AttrLensSpec<VALUE>
@JvmName(name = "valueBoolean")
fun <VALUE : Value<Boolean>> Attribute.Companion.value(vf: ValueFactory<VALUE, Boolean>): Attribute.AttrLensSpec<VALUE>
@JvmName(name = "valueDouble")
fun <VALUE : Value<Double>> Attribute.Companion.value(vf: ValueFactory<VALUE, Double>): Attribute.AttrLensSpec<VALUE>
@JvmName(name = "valueFloat")
fun <VALUE : Value<Float>> Attribute.Companion.value(vf: ValueFactory<VALUE, Float>): Attribute.AttrLensSpec<VALUE>
@JvmName(name = "valueInt")
fun <VALUE : Value<Int>> Attribute.Companion.value(vf: ValueFactory<VALUE, Int>): Attribute.AttrLensSpec<VALUE>
@JvmName(name = "valueLong")
fun <VALUE : Value<Long>> Attribute.Companion.value(vf: ValueFactory<VALUE, Long>): Attribute.AttrLensSpec<VALUE>
@JvmName(name = "valueString")
fun <VALUE : Value<String>> Attribute.Companion.value(vf: ValueFactory<VALUE, String>): Attribute.AttrLensSpec<VALUE>
@JvmName(name = "valueTimestamp")
fun <VALUE : Value<Timestamp>> Attribute.Companion.value(vf: ValueFactory<VALUE, Timestamp>): Attribute.AttrLensSpec<VALUE>
@JvmName(name = "valueUri")
fun <VALUE : Value<Uri>> Attribute.Companion.value(vf: ValueFactory<VALUE, Uri>): Attribute.AttrLensSpec<VALUE>
Link copied to clipboard
fun Item.with(vararg modifiers: (Item) -> Item): Item
Link copied to clipboard
fun Item.without(vararg attributes: Attribute<*>): Item