download

abstract suspend fun download(key: String, options: S3Client.KeyOptions = KeyOptions()): ByteArray

Downloads a RFC822 data from AWS S3.

Return

The downloaded RFC822 data as a ByteArray.

Parameters

key

String AWS S3 key representing the location of the RFC822 data.

options

KeyOptions Optional options to configure key handling behaviour.