Packages

implicit class RichBucket extends AnyRef

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

Instance Constructors

  1. new RichBucket(bucket: Bucket)(implicit s3: S3)

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 allObjectData(prefix: String): List[S3ObjectSummary]
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. val bucket: Bucket
  7. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate() @throws( ... )
  8. def create(): Bucket
  9. def createPolicyText(key: String, contentLength: Long, acl: AclEnum = privateAcl, expiryDuration: Duration = Duration.standardHours(1)): String
  10. def delete(): Unit
    Annotations
    @throws( classOf[AmazonClientException] )
  11. def deleteObject(key: String): Unit
  12. def deletePrefix(prefix: String): Unit
  13. def disableWebsite(): Unit
  14. def distributions(implicit cf: CloudFront): List[DistributionSummary]
  15. def downloadAsStream(key: String): InputStream
  16. def downloadAsString(key: String): String
  17. def empty(): Unit
    Annotations
    @throws( classOf[AmazonClientException] )
  18. def enableAllDistributions(newStatus: Boolean = true)(implicit cf: CloudFront): List[UpdateDistributionResult]
  19. def enableCors(): Unit
  20. def enableLastDistribution(newStatus: Boolean = true)(implicit cf: CloudFront): Option[UpdateDistributionResult]
  21. def enableWebsite(errorPage: String): Unit
  22. def enableWebsite(): Unit
  23. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  24. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  25. def exists: Boolean
  26. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate()
  27. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate()
  28. def invalidate(assetPath: String)(implicit cf: CloudFront): Int

    Invalidate asset in all bucket distributions where it is present.

    Invalidate asset in all bucket distributions where it is present.

    assetPath

    The path of the objects to invalidate, relative to the distribution and must begin with a slash (/). If the path is a directory, all assets within in are invalidated

    returns

    number of asset invalidations

  29. def invalidateMany(assetPaths: List[String])(implicit cf: CloudFront): Int

    Invalidate asset in all bucket distributions where it is present.

    Invalidate asset in all bucket distributions where it is present.

    assetPaths

    The path of the objects to invalidate, relative to the distribution and must begin with a slash (/). If the path is a directory, all assets within in are invalidated

    returns

    number of asset invalidations

  30. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  31. def isWebsiteEnabled: Boolean
  32. def listObjectsByPrefix(prefix: String, suffix: String = "", showSize: Boolean = false): List[String]

    suffix

    optional secondary filter

  33. def location: String
  34. def move(oldKey: String, newBucketName: String, newKey: String): Unit
  35. def move(oldKey: String, newKey: String): Unit
  36. def name: String
  37. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  38. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  39. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  40. def oneObjectData(prefix: String): Option[S3ObjectSummary]
  41. def policy: BucketPolicy
  42. def policyAsJson: String
  43. def policyEncoder(policyText: String, contentLength: Long, expiryDuration: Duration = Duration.standardHours(1)): String
  44. def policy_=(statements: List[Statement]): Bucket
  45. def policy_=(policyJson: String): Bucket
  46. def removeDistribution()(implicit cf: CloudFront): Boolean
  47. def resourceUrl(key: String): String

    cached The cache must be cleared or the app must be restarted if a bucket is created or a a CloudFront distribution alias is created (by assigning a CNAME) after this method is first called, or the bucket will never be found

  48. implicit val s3: S3
  49. def safeNames: (String, String)
  50. def signAndEncodePolicy(key: String, contentLength: Long, acl: AclEnum = privateAcl, expiryDuration: Duration = Duration.standardHours(1)): SignAndEncodePolicy
  51. def signPolicy(policyText: String, contentLength: Long, expiryDuration: Duration = Duration.standardHours(1)): String
  52. def signUrl(url: URL, minutesValid: Int = 60): URL
  53. def signUrlStr(key: String, minutesValid: Int = 0): URL
  54. def staticResourceUrl(key: String)(implicit maybeAlias: Option[StaticCFAlias]): String

    cached The cache must be cleared or the app must be restarted if a bucket is created or a a CloudFront distribution alias is created (by assigning a CNAME) after this method is first called, or the bucket will never be found

  55. def streamingResourceUrl(key: String)(implicit maybeAlias: Option[StreamingCFAlias]): String

    cached The cache must be cleared or the app must be restarted if a bucket is created or a a CloudFront distribution alias is created (by assigning a CNAME) after this method is first called, or the bucket will never be found

  56. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  57. def toString(): String
    Definition Classes
    AnyRef → Any
  58. def uploadFile(key: String, file: File): PutObjectResult
  59. def uploadFileOrDirectory(dest: String, file: File): Unit
  60. def uploadStream(key: String, stream: InputStream, length: Int): Unit
  61. def uploadString(key: String, contents: String): PutObjectResult
  62. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  63. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  64. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @Deprecated @deprecated @throws( classOf[java.lang.Throwable] )
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

Inherited from AnyRef

Inherited from Any

Ungrouped