class CloudFront extends CFImplicits with S3Implicits

Source
CloudFront.scala
Linear Supertypes
S3Implicits, CFImplicits, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. CloudFront
  2. S3Implicits
  3. CFImplicits
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new CloudFront()

Type Members

  1. implicit class RichDistributionSummary extends AnyRef
    Definition Classes
    CFImplicits
  2. implicit class RichBucket extends AnyRef
    Definition Classes
    S3Implicits
  3. implicit class RichBucketIAM extends AnyRef
    Definition Classes
    S3Implicits

Value Members

  1. object RichDistribution
    Definition Classes
    CFImplicits
  2. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  3. final def ##(): Int
    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  5. val _bucketNamesWithDistributions: Memoizer0[List[String]]
    Attributes
    protected
  6. val _bucketsWithDistributions: Memoizer[S3, List[Bucket]]
    Attributes
    protected
  7. val _distributions: Memoizer0[List[DistributionSummary]]
    Attributes
    protected
  8. val _distributionsFor: Memoizer2[Bucket, S3, List[DistributionSummary]]

    returns

    List of CloudFront distributions for the specified bucket

    Attributes
    protected
  9. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  10. val bucketNamesWithDistributions: List[String]

    returns

    List of bucket names that have CloudFront distributions for this AWS account

  11. def bucketsWithDistributions(implicit s3: S3): List[Bucket]
  12. val cacheIsDirty: AtomicBoolean
  13. implicit val cf: CloudFront
  14. implicit val cfClient: AmazonCloudFront
  15. def clearCaches(): Unit
  16. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate() @throws( ... )
  17. val distributions: List[DistributionSummary]
  18. def distributionsFor(bucket: Bucket)(implicit s3: S3): List[DistributionSummary]
  19. def enableAllDistributions(bucket: Bucket, newStatus: Boolean = true)(implicit s3: S3): List[UpdateDistributionResult]

    Enable/disable all distributions for the given bucketName

    Enable/disable all distributions for the given bucketName

    returns

    list of UpdateDistributionResult for distributions that were enabled

  20. def enableLastDistribution(bucket: Bucket, newStatus: Boolean = true)(implicit s3: S3): Option[UpdateDistributionResult]

    Enable/disable the most recently created distribution for the given bucketName

    Enable/disable the most recently created distribution for the given bucketName

    returns

    Some(UpdateDistributionResult) if distributions was enabled, else None

  21. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  22. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  23. def findDistributionById(id: String): Try[Distribution]
  24. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate()
  25. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate()
  26. def invalidate(bucket: Bucket, assetPath: String)(implicit s3: S3): 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

  27. def invalidateMany(bucket: Bucket, assetPaths: List[String])(implicit s3: S3): 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

    See also

    http://docs.aws.amazon.com/AWSJavaSDK/latest/javadoc/com/amazonaws/services/cloudfront/model/InvalidationBatch.html#InvalidationBatch(com.amazonaws.services.cloudfront.model.Paths,%20java.lang.String)

  28. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  29. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  30. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  31. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  32. def removeDistribution(bucket: Bucket)(implicit s3: S3): Boolean

    Remove the most recently created distribution for the given bucketName.

    Remove the most recently created distribution for the given bucketName. Can take 15 minutes to an hour to return.

  33. def removeOrigin(distSummary: DistributionSummary, distConfigResult: GetDistributionConfigResult, origin: Origin): Try[Boolean]
  34. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  35. def toString(): String
    Definition Classes
    AnyRef → Any
  36. def tryConfig(id: String): Try[DistributionConfig]
  37. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  38. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  39. 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 S3Implicits

Inherited from CFImplicits

Inherited from AnyRef

Inherited from Any

Ungrouped