All Downloads are FREE. Search and download functionalities are using the official Maven repository.

awscala.dynamodbv2.Item.scala Maven / Gradle / Ivy

There is a newer version: 0.8.3
Show newest version
package awscala.dynamodbv2

import scala.collection.JavaConverters._
import com.amazonaws.services.{ dynamodbv2 => aws }

object Item {
  def apply(table: Table, attributes: java.util.Map[String, aws.model.AttributeValue]): Item = new Item(
    table = table,
    attributes = attributes.asScala.toSeq.map { case (k, v) => Attribute(k, AttributeValue(v)) }
  )
}
case class Item(table: Table, attributes: Seq[Attribute])





© 2015 - 2025 Weber Informatics LLC | Privacy Policy