MediaStoreDataClient

An AWS Elemental MediaStore asset is an object, similar to an object in the Amazon S3 service. Objects are the fundamental entities that are stored in AWS Elemental MediaStore.

Properties

Link copied to clipboard
abstract override val config: MediaStoreDataClient.Config

MediaStoreDataClient's configuration

Functions

Link copied to clipboard

Deletes an object at the specified path.

Link copied to clipboard

Gets the headers for an object at the specified path.

Link copied to clipboard
abstract suspend fun <T> getObject(input: GetObjectRequest, block: suspend (GetObjectResponse) -> T): T

Downloads the object at the specified path. If the object’s upload availability is set to streaming, AWS Elemental MediaStore downloads the object even if it’s still uploading the object.

Link copied to clipboard
abstract suspend fun listItems(input: ListItemsRequest = ListItemsRequest { }): ListItemsResponse

Provides a list of metadata entries about folders and objects in the specified folder.

Link copied to clipboard
abstract suspend fun putObject(input: PutObjectRequest): PutObjectResponse

Uploads an object to the specified path. Object sizes are limited to 25 MB for standard upload availability and 10 MB for streaming upload availability.

Inherited functions

Link copied to clipboard
expect abstract fun close()
Link copied to clipboard

Deletes an object at the specified path.

Link copied to clipboard

Gets the headers for an object at the specified path.

Link copied to clipboard
inline suspend fun MediaStoreDataClient.listItems(crossinline block: ListItemsRequest.Builder.() -> Unit): ListItemsResponse

Provides a list of metadata entries about folders and objects in the specified folder.

Link copied to clipboard
Link copied to clipboard
inline suspend fun MediaStoreDataClient.putObject(crossinline block: PutObjectRequest.Builder.() -> Unit): PutObjectResponse

Uploads an object to the specified path. Object sizes are limited to 25 MB for standard upload availability and 10 MB for streaming upload availability.

Link copied to clipboard

Create a copy of the client with one or more configuration values overridden. This method allows the caller to perform scoped config overrides for one or more client operations.