Skip to content

cw-ozaki/aws4s

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

aws4s

Gitter

Build Status Maven Central Scaladoc Reference Status

AWS4S is the AWS SDK wrapper for Scala.

  • aws4s-core
  • aws4s-dynamodb
  • aws4s-sqs
  • aws4s-s3
  • aws4s-cfn
  • aws4s-sts

Installation

Add the following to your sbt build (Scala 2.10.x, and Scala 2.11.x):

Release Version

resolvers += "Sonatype OSS Release Repository" at "https://oss.sonatype.org/content/repositories/releases/"

libraryDependencies += "org.sisioh" %% "aws4s" % "1.0.13"

Snapshot Version

resolvers += "Sonatype OSS Snapshot Repository" at "https://oss.sonatype.org/content/repositories/snapshots/"

libraryDependencies += "org.sisioh" %% "aws4s" % "1.0.14-SNAPSHOT"

Usage

val client = AmazonS3ClientFactory.create()

val request = GetObjectRequestFactory.create("bucket", "key")

client.getObjectAsTry(getObjectRequest).map{ result =>
  result.objectMetadata.rawMetadata // as scala.collection.Map[String, AnyRef]
}.foreach(println)

About

AWS4S is the AWS SDK wrapper for Scala.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Scala 100.0%