org.http4k.connect.amazon.s3.s3Extensions.kt Maven / Gradle / Ivy
package org.http4k.connect.amazon.s3
import org.http4k.connect.amazon.core.model.Region
import org.http4k.connect.amazon.s3.action.CreateBucket
import org.http4k.connect.amazon.s3.action.ListBuckets
import org.http4k.connect.amazon.s3.model.BucketName
/**
* @see org.http4k.connect.amazon.s3.action.CreateBucket
*/
public fun S3.createBucket(bucketName: BucketName, region: Region) = invoke(CreateBucket(bucketName,
region))
/**
* @see org.http4k.connect.amazon.s3.action.ListBuckets
*/
public fun S3.listBuckets() = invoke(ListBuckets())
© 2015 - 2025 Weber Informatics LLC | Privacy Policy