describeSnapshots
abstract suspend fun describeSnapshots(input: DescribeSnapshotsRequest = DescribeSnapshotsRequest { }): DescribeSnapshotsResponse
Returns information about cluster or replication group snapshots. By default, DescribeSnapshots
lists all of your snapshots; it can optionally describe a single snapshot, or just the snapshots associated with a particular cache cluster.
This operation is valid for Valkey or Redis OSS only.
Samples
fun main() {
//sampleStart
// Returns information about the snapshot mysnapshot. By default.
val resp = elastiCacheClient.describeSnapshots {
snapshotName = "snapshot-20161212"
}
//sampleEnd
}