describeEvents

Returns events related to clusters, cache security groups, and cache parameter groups. You can obtain events specific to a particular cluster, cache security group, or cache parameter group by providing the name as a parameter.

By default, only the events occurring within the last hour are returned; however, you can retrieve up to 14 days' worth of events if necessary.

Samples


fun main() { 
   //sampleStart 
   // Describes all the cache cluster events for the past 120 minutes.
val resp = elastiCacheClient.describeEvents {
    sourceType = SourceType.fromValue("cache-cluster")
    duration = 360
} 
   //sampleEnd
}