describeCacheSubnetGroups
abstract suspend fun describeCacheSubnetGroups(input: DescribeCacheSubnetGroupsRequest = DescribeCacheSubnetGroupsRequest { }): DescribeCacheSubnetGroupsResponse
Returns a list of cache subnet group descriptions. If a subnet group name is specified, the list contains only the description of that group. This is applicable only when you have ElastiCache in VPC setup. All ElastiCache clusters now launch in VPC by default.
Samples
fun main() {
//sampleStart
// Describes up to 25 cache subnet groups.
val resp = elastiCacheClient.describeCacheSubnetGroups {
maxRecords = 25
}
//sampleEnd
}