object UploadPostV2 extends S3Implicits with CFImplicits

The implicit AmazonIdentityManagementClient instance determines the AIM user based on the AWS access key ID in the implicit AWSCredentials instance in scope.

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

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 Logger: Logger
  6. def apply(file: File, bucket: Bucket, key: String, acl: AclEnum, expiryDuration: Duration = Duration.standardHours(1))(implicit s3: S3, cf: CloudFront): Try[Boolean]

    file

    File to upload

    bucket

    Bucket to deliver the upload to; must have CORS set for POST and the bucket policy must grant the user referenced in the implicit AmazonIdentityManagementClient instance the privilege to upload

    acl

    Access Control List for the uploaded item

    expiryDuration

    specifies the maximum Duration the upload has to complete before AWS terminates it with an error

  7. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  8. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate() @throws( ... )
  9. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  10. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  11. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate()
  12. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate()
  13. def invalidateDistributions(bucket: Bucket, key: String)(implicit s3: S3, cf: CloudFront): Try[Boolean]
  14. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  15. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  16. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  17. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  18. def params(file: File, bucket: Bucket, key: String, acl: AclEnum, expiryDuration: Duration, awsCredentials: AWSCredentials): Map[String, String]
    Attributes
    protected[com.micronautics.aws]
  19. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  20. def toString(): String
    Definition Classes
    AnyRef → Any
  21. def uploadPost(file: File, uploadUrl: URL, params: Map[String, String]): Try[Boolean]

    There are two versions of upload via POST to S3; this method uses [v2](http://docs.aws.amazon.com/AmazonS3/latest/dev/UsingHTTPPOST.html), not [v4](http://docs.aws.amazon.com/AmazonS3/latest/API/sigv4-authentication-HTTPPOST.html)

    There are two versions of upload via POST to S3; this method uses [v2](http://docs.aws.amazon.com/AmazonS3/latest/dev/UsingHTTPPOST.html), not [v4](http://docs.aws.amazon.com/AmazonS3/latest/API/sigv4-authentication-HTTPPOST.html)

    Attributes
    protected[com.micronautics.aws]
  22. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  23. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  24. 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 CFImplicits

Inherited from S3Implicits

Inherited from AnyRef

Inherited from Any

Ungrouped