awscala.dynamodbv2.KeySchema.scala Maven / Gradle / Ivy
The newest version!
package awscala.dynamodbv2
import com.amazonaws.services.{ dynamodbv2 => aws }
object KeySchema {
def apply(k: aws.model.KeySchemaElement): KeySchema = new KeySchema(
attributeName = k.getAttributeName,
keyType = aws.model.KeyType.fromValue(k.getKeyType))
}
case class KeySchema(attributeName: String, keyType: KeyType) extends aws.model.KeySchemaElement {
setAttributeName(attributeName)
setKeyType(keyType)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy