class S3 extends AnyRef
- Alphabetic
- By Inheritance
- S3
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def abortMultipartUpload(bucketName: String, uploadTicket: BucketFileUploadTicket)(implicit executionContext: ExecutionContext): Future[WSResponse]
Lowlevel method to abort a multipart upload
Lowlevel method to abort a multipart upload
- bucketName
The name of the bucket
- uploadTicket
The ticket acquired from initiateMultipartUpload
- See also
initiateMultipartUpload
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- val client: S3Client
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- def completeMultipartUpload(bucketName: String, uploadTicket: BucketFileUploadTicket, partUploadTickets: Seq[BucketFilePartUploadTicket])(implicit executionContext: ExecutionContext): Future[WSResponse]
Lowlevel method to complete a multipart upload
Lowlevel method to complete a multipart upload
- bucketName
The name of the bucket
- uploadTicket
The ticket acquired from initiateMultipartUpload
- partUploadTickets
The tickets acquired from uploadPart
- See also
initiateMultipartUpload
uploadPart
- def delete(bucketName: String, path: String)(implicit executionContext: ExecutionContext): Future[WSResponse]
Lowlevel method to call delete on a bucket in order to delete a file
Lowlevel method to call delete on a bucket in order to delete a file
- bucketName
The name of the bucket
- path
The path of the file you want to delete
- See also
Bucket.remove
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- def get(bucketName: String, path: Option[String], prefix: Option[String], delimiter: Option[String], marker: Option[String])(implicit executionContext: ExecutionContext): Future[WSResponse]
Lowlevel method to call get on a bucket or a specific file
Lowlevel method to call get on a bucket or a specific file
- bucketName
The name of the bucket
- path
The path that you want to call the get on, default is "" (empty string). This is mostly used to retrieve single files
- prefix
A prefix that is most commonly used to list the contents of a 'directory'
- delimiter
A delimiter that is used to distinguish 'directories'
- marker
A marker of the last item retrieved from a subsequent request. Used to get a bucket that has more than 1000 items, as this is the max Amazon will return per request. The returns are in lexicographic (alphabetical) order. See the following: http://docs.aws.amazon.com/AmazonS3/latest/API/RESTBucketGET.html
- See also
Bucket.get
Bucket.list
- def getAcl(bucketName: String, sourcePath: String)(implicit executionContext: ExecutionContext): Future[WSResponse]
- def getBucket(bucketName: String, delimiter: String): Bucket
Utility method to create a bucket.
Utility method to create a bucket.
- See also
Bucket
- def getBucket(bucketName: String): Bucket
Utility method to create a bucket.
Utility method to create a bucket.
- See also
Bucket
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def head(bucketName: String, path: String)(implicit executionContext: ExecutionContext): Future[WSResponse]
Lowlevel method to call head on a specific file
Lowlevel method to call head on a specific file
- bucketName
The name of the bucket
- path
The path that you want to call the get on
- See also
Bucket.getHeadersOf
- def initiateMultipartUpload(bucketName: String, bucketFile: BucketFile)(implicit executionContext: ExecutionContext): Future[WSResponse]
Lowlevel method to initiate multipart upload
Lowlevel method to initiate multipart upload
- bucketName
The name of the bucket
- bucketFile
The file that you want to store, if it's acl is None, it's set to PUBLIC_READ
- See also
Bucket.add
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def put(bucketName: String, bucketFile: BucketFile)(implicit executionContext: ExecutionContext): Future[WSResponse]
Lowlevel method to call put on a bucket in order to store a file
Lowlevel method to call put on a bucket in order to store a file
- bucketName
The name of the bucket
- bucketFile
The file that you want to store, if it's acl is None, it's set to PUBLIC_READ
- See also
Bucket.add
- def putAcl(bucketName: String, sourcePath: String, acl: ACL)(implicit executionContext: ExecutionContext): Future[WSResponse]
- def putCopy(sourceBucketName: String, sourcePath: String, destinationBucketName: String, destinationPath: String, acl: ACL, headers: Map[String, String] = Map.empty)(implicit executionContext: ExecutionContext): Future[WSResponse]
Lowlevel method to copy a file on S3
Lowlevel method to copy a file on S3
- sourceBucketName
The name of the source bucket
- sourcePath
The path of the file you want to copy
- destinationBucketName
The name of the destination bucket
- destinationPath
The new path of the file you want to copy
- acl
The ACL of the new file
- See also
Bucket.rename
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- def uploadPart(bucketName: String, uploadTicket: BucketFileUploadTicket, bucketFilePart: BucketFilePart)(implicit executionContext: ExecutionContext): Future[WSResponse]
Lowlevel method to upload a part
Lowlevel method to upload a part
- bucketName
The name of the bucket
- uploadTicket
The ticket acquired from initiateMultipartUpload
- bucketFilePart
The part of the file that is uploaded
- See also
initiateMultipartUpload
- def url(bucketName: String, path: String): String
creates an unsigned url to the specified file and bucket
creates an unsigned url to the specified file and bucket
- bucketName
the name of the bucket
- path
the path of the file we want to create a url for
- def url(bucketName: String, path: String, expires: Int, method: String = "GET"): String
Lowlevel method to create an authenticated url to a specific file
Lowlevel method to create an authenticated url to a specific file
- bucketName
The name of the bucket
- path
The path of the file you want to delete
- expires
Time in seconds since epoch
- See also
Bucket.url
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()