org.sisioh.aws4s.dynamodb.document.RichGetItemOutcome.scala Maven / Gradle / Ivy
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