com.pellucid.wrap.s3

AmazonS3ScalaClient

Related Doc: package s3

class AmazonS3ScalaClient extends AnyRef

A lightweight wrapper for AmazonS3Client

The AWS Java SDK does not provide an asynchronous S3 client, so this class follows the approach of the asynchronous clients that are provided by the SDK. Namely, to make the synchronous calls within an executor service. The methods in this class all return Scala futures.

Source
s3.scala
See also

java.util.concurrent.ExecutorService

ClientConfiguration

AWSCredentialsProvider

AmazonS3Client

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. AmazonS3ScalaClient
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new AmazonS3ScalaClient()

    make a client from a default credentials provider, a default config, and a default executor service.

  2. new AmazonS3ScalaClient(clientConfiguration: ClientConfiguration)

    make a client from a default credentials provider, a config, and a default executor service.

    make a client from a default credentials provider, a config, and a default executor service.

    clientConfiguration

    a client configuration.

  3. new AmazonS3ScalaClient(awsCredentials: AWSCredentials)

    make a client from credentials, a default config, and a default executor service.

    make a client from credentials, a default config, and a default executor service.

    awsCredentials

    AWS credentials.

  4. new AmazonS3ScalaClient(awsCredentials: AWSCredentials, executorService: ExecutorService)

    make a client from credentials, a default config, and an executor service.

    make a client from credentials, a default config, and an executor service.

    awsCredentials

    AWS credentials.

    executorService

    an executor service for synchronous calls to the underlying AmazonS3Client.

  5. new AmazonS3ScalaClient(awsCredentials: AWSCredentials, clientConfiguration: ClientConfiguration, executorService: ExecutorService)

    make a client from credentials, a config, and an executor service.

    make a client from credentials, a config, and an executor service.

    awsCredentials

    AWS credentials.

    clientConfiguration

    a client configuration.

    executorService

    an executor service for synchronous calls to the underlying AmazonS3Client.

  6. new AmazonS3ScalaClient(awsCredentialsProvider: AWSCredentialsProvider)

    make a client from a credentials provider, a default config, and a default executor service.

    make a client from a credentials provider, a default config, and a default executor service.

    awsCredentialsProvider

    a provider of AWS credentials.

  7. new AmazonS3ScalaClient(awsCredentialsProvider: AWSCredentialsProvider, executorService: ExecutorService)

    make a client from a credentials provider, a default config, and an executor service.

    make a client from a credentials provider, a default config, and an executor service.

    awsCredentialsProvider

    a provider of AWS credentials.

    executorService

    an executor service for synchronous calls to the underlying AmazonS3Client.

  8. new AmazonS3ScalaClient(awsCredentialsProvider: AWSCredentialsProvider, clientConfiguration: ClientConfiguration)

    make a client from a credentials provider, a config, and a default executor service.

    make a client from a credentials provider, a config, and a default executor service.

    awsCredentialsProvider

    a provider of AWS credentials.

    clientConfiguration

    a client configuration.

  9. new AmazonS3ScalaClient(awsCredentialsProvider: AWSCredentialsProvider, clientConfiguration: ClientConfiguration, executorService: ExecutorService)

    make a client from a credentials provider, a config, and an executor service.

    make a client from a credentials provider, a config, and an executor service.

    awsCredentialsProvider

    a provider of AWS credentials.

    clientConfiguration

    a client configuration.

    executorService

    an executor service for synchronous calls to the underlying AmazonS3Client.

Value Members

  1. final def !=(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  5. val client: AmazonS3Client

    The underlying S3 client.

    The underlying S3 client.

    See also

    AmazonS3Client

  6. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. def copyObject(sourceBucketName: String, sourceKey: String, destinationBucketName: String, destinationKey: String): Future[CopyObjectResult]

    See also

    AWS Java SDK

  8. def copyObject(copyObjectRequest: CopyObjectRequest): Future[CopyObjectResult]

    See also

    AWS Java SDK

  9. def createBucket(bucketName: String, region: String): Future[Bucket]

    See also

    AWS Java SDK

  10. def createBucket(bucketName: String, region: Region): Future[Bucket]

    See also

    AWS Java SDK

  11. def createBucket(bucketName: String): Future[Bucket]

    See also

    AWS Java SDK

  12. def createBucket(createBucketRequest: CreateBucketRequest): Future[Bucket]

    See also

    AWS Java SDK

  13. def deleteBucket(bucketName: String): Future[Unit]

    See also

    AWS Java SDK

  14. def deleteBucket(deleteBucketRequest: DeleteBucketRequest): Future[Unit]

    See also

    AWS Java SDK

  15. def deleteObject(bucketName: String, key: String): Future[Unit]

    See also

    AWS Java SDK

  16. def deleteObject(deleteObjectRequest: DeleteObjectRequest): Future[Unit]

    See also

    AWS Java SDK

  17. def deleteObjects(deleteObjectsRequest: DeleteObjectsRequest): Future[Seq[DeletedObject]]

    See also

    AWS Java SDK

  18. def deleteVersion(bucketName: String, key: String, versionId: String): Future[Unit]

    See also

    AWS Java SDK

  19. def deleteVersion(deleteVersionRequest: DeleteVersionRequest): Future[Unit]

    See also

    AWS Java SDK

  20. def doesBucketExist(bucketName: String): Future[Boolean]

    See also

    AWS Java SDK

  21. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  22. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  23. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  24. def getBucketLocation(bucketName: String): Future[String]

    See also

    AWS Java SDK

  25. def getBucketLocation(getBucketLocationRequest: GetBucketLocationRequest): Future[String]

    See also

    AWS Java SDK

  26. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  27. def getExecutorsService(): ExecutorService

    Return the underlying executor service, through which all client API calls are made.

    Return the underlying executor service, through which all client API calls are made.

    returns

    the underlying executor service

  28. def getObjectMetadata(bucketName: String, key: String): Future[ObjectMetadata]

    See also

    AWS Java SDK

  29. def getObjectMetadata(getObjectMetadataRequest: GetObjectMetadataRequest): Future[ObjectMetadata]

    See also

    AWS Java SDK

  30. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  31. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  32. def listBuckets(): Future[Seq[Bucket]]

    See also

    AWS Java SDK

  33. def listBuckets(listBucketsRequest: ListBucketsRequest): Future[Seq[Bucket]]

    See also

    AWS Java SDK

  34. def listObjects(bucketName: String, prefix: String): Future[ObjectListing]

    See also

    AWS Java SDK

  35. def listObjects(bucketName: String): Future[ObjectListing]

    See also

    AWS Java SDK

  36. def listObjects(listObjectsRequest: ListObjectsRequest): Future[ObjectListing]

    See also

    AWS Java SDK

  37. def listVersions(bucketName: String, prefix: String, keyMarker: String, versionIdMarker: String, delimiter: String, maxKeys: Int): Future[VersionListing]

    See also

    AWS Java SDK

  38. def listVersions(bucketName: String, prefix: String): Future[VersionListing]

    See also

    AWS Java SDK

  39. def listVersions(listVersionsRequest: ListVersionsRequest): Future[VersionListing]

    See also

    AWS Java SDK

  40. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  41. final def notify(): Unit

    Definition Classes
    AnyRef
  42. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  43. def shutdown(): Unit

    Shutdown the executor service.

    Shutdown the executor service.

    See also

    AmazonWebServiceClient.shutdown()

  44. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  45. def toString(): String

    Definition Classes
    AnyRef → Any
  46. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  47. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  48. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped