getAccountActivity
abstract suspend fun getAccountActivity(input: GetAccountActivityRequest): GetAccountActivityResponse
Returns a specific activity record that is available to the customer.
Samples
import aws.sdk.kotlin.services.freetier.model.LanguageCode
fun main() {
//sampleStart
// Fetching an Account activity by id
val resp = freeTierClient.getAccountActivity {
activityId = "d622f48bf4014286a2686ab10cacfb2e"
languageCode = LanguageCode.fromValue("en-US")
}
//sampleEnd
}