Default S3Client
class DefaultS3Client(context: Context, sudoUserClient: SudoUserClient, val region: String, val bucket: String, logger: Logger) : S3Client
Default S3 client implementation.
Parameters
context
Android app context.
sudo User Client
SudoUserClient used for authenticating to AWS S3.
Constructors
Link copied to clipboard
constructor(context: Context, sudoUserClient: SudoUserClient, region: String, bucket: String, logger: Logger)
Properties
Functions
Link copied to clipboard
Deletes a RFC822 data from AWS S3.
Link copied to clipboard
Downloads a RFC822 data from AWS S3.
Link copied to clipboard
open suspend override fun getObjectMetadata(key: String, options: S3Client.KeyOptions): ObjectMetadata
Returns the metadata associated with the object with the given key.
Link copied to clipboard
open suspend override fun list(prefix: String, limit: Int?, nextToken: String?, options: S3Client.KeyOptions): S3ClientListResult
Returns a list of objects from AWS S3
Link copied to clipboard
open suspend override fun updateObjectMetadata(key: String, metadata: Map<String, String>, options: S3Client.KeyOptions)
Updates the metadata associated with the object with the given key.