implicit class RichBucket extends AnyRef
- Source
- S3.scala
- Alphabetic
- By Inheritance
- RichBucket
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
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 allObjectData(prefix: String): List[S3ObjectSummary]
- 
      
      
      
        
      
    
      
        final 
        def
      
      
        asInstanceOf[T0]: T0
      
      
      - Definition Classes
- Any
 
-  val bucket: Bucket
- 
      
      
      
        
      
    
      
        
        def
      
      
        clone(): AnyRef
      
      
      - Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @HotSpotIntrinsicCandidate() @throws( ... )
 
-  def create(): Bucket
-  def createPolicyText(key: String, contentLength: Long, acl: AclEnum = privateAcl, expiryDuration: Duration = Duration.standardHours(1)): String
- 
      
      
      
        
      
    
      
        
        def
      
      
        delete(): Unit
      
      
      - Annotations
- @throws( classOf[AmazonClientException] )
 
-  def deleteObject(key: String): Unit
-  def deletePrefix(prefix: String): Unit
-  def disableWebsite(): Unit
-  def distributions(implicit cf: CloudFront): List[DistributionSummary]
-  def downloadAsStream(key: String): InputStream
-  def downloadAsString(key: String): String
- 
      
      
      
        
      
    
      
        
        def
      
      
        empty(): Unit
      
      
      - Annotations
- @throws( classOf[AmazonClientException] )
 
-  def enableAllDistributions(newStatus: Boolean = true)(implicit cf: CloudFront): List[UpdateDistributionResult]
-  def enableCors(): Unit
-  def enableLastDistribution(newStatus: Boolean = true)(implicit cf: CloudFront): Option[UpdateDistributionResult]
-  def enableWebsite(errorPage: String): Unit
-  def enableWebsite(): Unit
- 
      
      
      
        
      
    
      
        final 
        def
      
      
        eq(arg0: AnyRef): Boolean
      
      
      - Definition Classes
- AnyRef
 
- 
      
      
      
        
      
    
      
        
        def
      
      
        equals(arg0: Any): Boolean
      
      
      - Definition Classes
- AnyRef → Any
 
-  def exists: Boolean
- 
      
      
      
        
      
    
      
        final 
        def
      
      
        getClass(): Class[_]
      
      
      - Definition Classes
- AnyRef → Any
- Annotations
- @HotSpotIntrinsicCandidate()
 
- 
      
      
      
        
      
    
      
        
        def
      
      
        hashCode(): Int
      
      
      - Definition Classes
- AnyRef → Any
- Annotations
- @HotSpotIntrinsicCandidate()
 
- 
      
      
      
        
      
    
      
        
        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 
 
- 
      
      
      
        
      
    
      
        
        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 
 
- 
      
      
      
        
      
    
      
        final 
        def
      
      
        isInstanceOf[T0]: Boolean
      
      
      - Definition Classes
- Any
 
-  def isWebsiteEnabled: Boolean
- 
      
      
      
        
      
    
      
        
        def
      
      
        listObjectsByPrefix(prefix: String, suffix: String = "", showSize: Boolean = false): List[String]
      
      
      - suffix
- optional secondary filter 
 
-  def location: String
-  def move(oldKey: String, newBucketName: String, newKey: String): Unit
-  def move(oldKey: String, newKey: String): Unit
-  def name: String
- 
      
      
      
        
      
    
      
        final 
        def
      
      
        ne(arg0: AnyRef): Boolean
      
      
      - Definition Classes
- AnyRef
 
- 
      
      
      
        
      
    
      
        final 
        def
      
      
        notify(): Unit
      
      
      - Definition Classes
- AnyRef
- Annotations
- @HotSpotIntrinsicCandidate()
 
- 
      
      
      
        
      
    
      
        final 
        def
      
      
        notifyAll(): Unit
      
      
      - Definition Classes
- AnyRef
- Annotations
- @HotSpotIntrinsicCandidate()
 
-  def oneObjectData(prefix: String): Option[S3ObjectSummary]
-  def policy: BucketPolicy
-  def policyAsJson: String
-  def policyEncoder(policyText: String, contentLength: Long, expiryDuration: Duration = Duration.standardHours(1)): String
-  def policy_=(statements: List[Statement]): Bucket
-  def policy_=(policyJson: String): Bucket
-  def removeDistribution()(implicit cf: CloudFront): Boolean
- 
      
      
      
        
      
    
      
        
        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 
-  implicit val s3: S3
-  def safeNames: (String, String)
-  def signAndEncodePolicy(key: String, contentLength: Long, acl: AclEnum = privateAcl, expiryDuration: Duration = Duration.standardHours(1)): SignAndEncodePolicy
-  def signPolicy(policyText: String, contentLength: Long, expiryDuration: Duration = Duration.standardHours(1)): String
-  def signUrl(url: URL, minutesValid: Int = 60): URL
-  def signUrlStr(key: String, minutesValid: Int = 0): URL
- 
      
      
      
        
      
    
      
        
        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 
- 
      
      
      
        
      
    
      
        
        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 
- 
      
      
      
        
      
    
      
        final 
        def
      
      
        synchronized[T0](arg0: ⇒ T0): T0
      
      
      - Definition Classes
- AnyRef
 
- 
      
      
      
        
      
    
      
        
        def
      
      
        toString(): String
      
      
      - Definition Classes
- AnyRef → Any
 
-  def uploadFile(key: String, file: File): PutObjectResult
-  def uploadFileOrDirectory(dest: String, file: File): Unit
-  def uploadStream(key: String, stream: InputStream, length: Int): Unit
-  def uploadString(key: String, contents: String): PutObjectResult
- 
      
      
      
        
      
    
      
        final 
        def
      
      
        wait(): Unit
      
      
      - Definition Classes
- AnyRef
- Annotations
- @throws( ... )
 
- 
      
      
      
        
      
    
      
        final 
        def
      
      
        wait(arg0: Long, arg1: Int): Unit
      
      
      - Definition Classes
- AnyRef
- Annotations
- @throws( ... )
 
- 
      
      
      
        
      
    
      
        final 
        def
      
      
        wait(arg0: Long): Unit
      
      
      - Definition Classes
- AnyRef
- Annotations
- @throws( ... )