DynamoValue

dynosaur.DynamoValue
See theDynamoValue companion object
case class DynamoValue(value: AttributeValue)

Attributes

Companion
object
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

def fold[A](s: String => A, n: Number => A, bool: Boolean => A, l: List[DynamoValue] => A, m: Map[String, DynamoValue] => A, nul: Unit => A, b: ByteVector => A, bs: NonEmptySet[ByteVector] => A, ns: NonEmptySet[Number] => A, ss: NonEmptySet[String] => A): A
def toDoc: Doc
override def toString: String

Returns a string representation of the object.

Returns a string representation of the object.

The default representation is platform dependent.

Attributes

Returns

a string representation of the object.

Definition Classes
Any

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product

Concrete fields

lazy val attributeMap: Option[Map[String, AttributeValue]]

Converts a DynamoValue to an AWS SDK-compatible attribute map, e.g. for a PutItem operation. Returns None if the value isn't backed by a map.

Converts a DynamoValue to an AWS SDK-compatible attribute map, e.g. for a PutItem operation. Returns None if the value isn't backed by a map.

Attributes

lazy val b: Option[ByteVector]
lazy val bool: Option[Boolean]
lazy val bs: Option[NonEmptySet[ByteVector]]
lazy val l: Option[List[DynamoValue]]
lazy val m: Option[Map[String, DynamoValue]]
lazy val n: Option[Number]
lazy val ns: Option[NonEmptySet[Number]]
lazy val nul: Option[Unit]
lazy val s: Option[String]
lazy val ss: Option[NonEmptySet[String]]