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

org.sisioh.aws4s.dynamodb.document.RichGetItemOutcome.scala Maven / Gradle / Ivy

There is a newer version: 1.0.16
Show newest version
package org.sisioh.aws4s.dynamodb.document

import com.amazonaws.services.dynamodbv2.document.{ GetItemOutcome, Item }
import com.amazonaws.services.dynamodbv2.model.GetItemResult
import org.sisioh.aws4s.PimpedType

object GetItemOutcomeFactory {

  def apply(result: GetItemResult): GetItemOutcome =
    new GetItemOutcome(result)

}

class RichGetItemOutcome(val underlying: GetItemOutcome) extends AnyVal with PimpedType[GetItemOutcome] {

  def item: Item = underlying.getItem

  def getItemResult: GetItemResult = underlying.getGetItemResult

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy