Class

com.github.dwhjames.awswrap.s3

AmazonS3ScalaClient

Related Doc: package s3

Permalink

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
Visibility
  1. Public
  2. All

Instance Constructors

  1. new AmazonS3ScalaClient()

    Permalink

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

  2. new AmazonS3ScalaClient(clientConfiguration: ClientConfiguration)

    Permalink

    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)

    Permalink

    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)

    Permalink

    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)

    Permalink

    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)

    Permalink

    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)

    Permalink

    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)

    Permalink

    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)

    Permalink

    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

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

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

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

    Permalink
    Definition Classes
    Any
  5. val client: AmazonS3Client

    Permalink

    The underlying S3 client.

    The underlying S3 client.

    See also

    AmazonS3Client

  6. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. def completeMultipartUpload(completeMultipartUploadRequest: CompleteMultipartUploadRequest): Future[CompleteMultipartUploadResult]

    Permalink

    See also

    AWS Java SDK

  8. def copyObject(sourceBucketName: String, sourceKey: String, destinationBucketName: String, destinationKey: String): Future[CopyObjectResult]

    Permalink

    See also

    AWS Java SDK

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

    Permalink

    See also

    AWS Java SDK

  10. def copyPart(copyPartRequest: CopyPartRequest): Future[CopyPartResult]

    Permalink

    See also

    AWS Java SDK

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

    Permalink

    See also

    AWS Java SDK

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

    Permalink

    See also

    AWS Java SDK

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

    Permalink

    See also

    AWS Java SDK

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

    Permalink

    See also

    AWS Java SDK

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

    Permalink

    See also

    AWS Java SDK

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

    Permalink

    See also

    AWS Java SDK

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

    Permalink

    See also

    AWS Java SDK

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

    Permalink

    See also

    AWS Java SDK

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

    Permalink

    See also

    AWS Java SDK

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

    Permalink

    See also

    AWS Java SDK

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

    Permalink

    See also

    AWS Java SDK

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

    Permalink

    See also

    AWS Java SDK

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

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

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  26. def generatePresignedUrlRequest(generatePresignedUrlRequest: GeneratePresignedUrlRequest): Future[URL]

    Permalink

    See also

    AWS Java SDK

  27. def getBucketLocation(bucketName: String): Future[String]

    Permalink

    See also

    AWS Java SDK

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

    Permalink

    See also

    AWS Java SDK

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

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

    Permalink

    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

  31. def getObject(getObjectRequest: GetObjectRequest, destinationFile: File): Future[ObjectMetadata]

    Permalink

    See also

    AWS Java SDK

  32. def getObject(bucketName: String, key: String): Future[S3Object]

    Permalink

    See also

    AWS Java SDK

  33. def getObject(getObjectRequest: GetObjectRequest): Future[S3Object]

    Permalink

    See also

    AWS Java SDK

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

    Permalink

    See also

    AWS Java SDK

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

    Permalink

    See also

    AWS Java SDK

  36. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  37. def initiateMultipartUpload(initiateMultipartUploadRequest: InitiateMultipartUploadRequest): Future[InitiateMultipartUploadResult]

    Permalink

    See also

    AWS Java SDK

  38. final def isInstanceOf[T0]: Boolean

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

    Permalink

    See also

    AWS Java SDK

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

    Permalink

    See also

    AWS Java SDK

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

    Permalink

    See also

    AWS Java SDK

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

    Permalink

    See also

    AWS Java SDK

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

    Permalink

    See also

    AWS Java SDK

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

    Permalink

    See also

    AWS Java SDK

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

    Permalink

    See also

    AWS Java SDK

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

    Permalink

    See also

    AWS Java SDK

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

    Permalink
    Definition Classes
    AnyRef
  48. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  49. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  50. def putObject(bucketName: String, key: String, input: InputStream, metadata: ObjectMetadata): Future[PutObjectResult]

    Permalink

    See also

    AWS Java SDK

  51. def putObject(bucketName: String, key: String, file: File): Future[PutObjectResult]

    Permalink

    See also

    AWS Java SDK

  52. def putObject(putObjectRequest: PutObjectRequest): Future[PutObjectResult]

    Permalink

    See also

    AWS Java SDK

  53. def shutdown(): Unit

    Permalink

    Shutdown the executor service.

    Shutdown the executor service.

    See also

    AmazonWebServiceClient.shutdown()

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

    Permalink
    Definition Classes
    AnyRef
  55. def toString(): String

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

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped