object S3

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. S3
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

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. def DefaultObjectMetadata: ObjectMetadata
  5. val MultipartChunkSize: Int
  6. def ServerSideEncryption: ObjectMetadata
  7. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  8. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  9. def copy(from: ContentLocation, to: ContentLocation, meta: Option[ObjectMetadata] = None, createFolders: Boolean = true, overwrite: aws.OverwriteMode = OverwriteMode.Overwrite): S3Action[Option[CopyObjectResult]]

    Copy contents at the oldBucket and oldKey to a newBucket and newKey.

    Copy contents at the oldBucket and oldKey to a newBucket and newKey.

    from

    The source bucket and key

    to

    The destination bucket and key

    meta

    The function will copy the existing metadata of the source object unless you specify newMetaData which will be used instead.

    createFolders

    Set to true if you want to create any folders referenced in the ContentLocation as part of the copy process.

    overwrite

    Set to Overwrite if you want to overwrite whatever is in the destination location. Set to NoOverwrite to return without overwriting the destination location.

    returns

    S3Action with CopyResult (either Copied if it was copied, or NotCopied if the destination location already has content and NoOverwrite was specified).

  10. def createFolder(bucket: s3.Bucket, folder: String, metaData: ObjectMetadata = DefaultObjectMetadata): S3Action[PutObjectResult]

    Creates a folder in an S3 bucket.

    Creates a folder in an S3 bucket. A folder is just an empty 'file' with a / on the end of the name. However, if you want to create a folder in a bucket that enforces encryption, you need to create it using the appropriate metadata, which this function can do.

    bucket

    Bucket name

    folder

    Folder name (without trailing slash)

    metaData

    Folder metadata (default enforces encryption)

    returns

    S3Action with no return result (Unit)

  11. def createFoldersFor(location: ContentLocation): S3Action[List[PutObjectResult]]
  12. def delete(location: ContentLocation): S3Action[Unit]
  13. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  14. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  15. def exists(bucket: s3.Bucket): S3Action[Boolean]
  16. def exists(location: ContentLocation): S3Action[Boolean]
  17. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  18. def get(location: ContentLocation, range: Range = Range.All): S3Action[S3Object]
  19. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
  20. def hashCode(): Int
    Definition Classes
    AnyRef → Any
  21. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  22. def listKeys(bucket: s3.Bucket, prefix: String): S3Action[ObjectListing]
  23. def metaData(location: ContentLocation): S3Action[ObjectMetadata]
  24. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  25. def nextBatchOfKeys(lastListing: ObjectListing): S3Action[ObjectListing]
  26. final def notify(): Unit
    Definition Classes
    AnyRef
  27. final def notifyAll(): Unit
    Definition Classes
    AnyRef
  28. def putFile(location: ContentLocation, file: File, metaData: ObjectMetadata = DefaultObjectMetadata, createFolders: Boolean = true): S3Action[PutObjectResult]
  29. def putStream(location: ContentLocation, stream: InputStream, length: Option[Long] = None, metaData: ObjectMetadata = DefaultObjectMetadata, createFolders: Boolean = true): S3Action[PutObjectResult]
  30. def putStreamWithMultipart(location: ContentLocation, stream: InputStream, length: Option[Long] = None, metaData: ObjectMetadata = DefaultObjectMetadata, createFolders: Boolean = true): S3Action[s3.ContentLength]

    Uploads stream of data to S3 using multi-part uploads if the length is not known.

    Uploads stream of data to S3 using multi-part uploads if the length is not known.

    returns

    length of content that was uploaded

  31. def regionFor(bucket: s3.Bucket): S3Action[Region]
  32. def safeGet(location: ContentLocation, range: Range = Range.All): S3Action[Option[S3Object]]
  33. def safeMetaData(location: ContentLocation): S3Action[Option[ObjectMetadata]]
  34. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  35. def toString(): String
    Definition Classes
    AnyRef → Any
  36. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  37. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  38. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped