describe_cache_subnet_groups
async
¶
describe_cache_subnet_groups(
*,
config_overrides: Optional[AsyncElastiCacheClientConfig] = None,
cache_subnet_group_name: Optional[String] = None,
max_records: Optional[IntegerOptional] = None,
marker: Optional[String] = None,
) -> CacheSubnetGroupMessage
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.
Parameters:
-
cache_subnet_group_name(Optional[String], default:None) –The name of the cache subnet group to return details for.
-
max_records(Optional[IntegerOptional], default:None) –The maximum number of records to include in the response. If more records exist than the specified
MaxRecordsvalue, a marker is included in the response so that the remaining results can be retrieved.Default: 100
Constraints: minimum 20; maximum 100.
-
marker(Optional[String], default:None) –An optional marker returned from a prior request. Use this marker for pagination of results from this operation. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by
MaxRecords.
Raises:
-
CacheSubnetGroupNotFoundFault–The requested cache subnet group name does not refer to an existing cache subnet group.
-
UnknownServiceError–The service returned an error code this client does not model.
Examples:
DescribeCacheSubnetGroups Describes up to 25 cache subnet groups.
Source code in docs_src/capo_elasticache/_services/async_elasti_cache.py
3322 3323 3324 3325 3326 3327 3328 3329 3330 3331 3332 3333 3334 3335 3336 3337 3338 3339 3340 3341 3342 3343 3344 3345 3346 3347 3348 3349 3350 3351 3352 3353 3354 3355 3356 3357 3358 3359 3360 3361 3362 3363 3364 3365 3366 3367 3368 3369 3370 3371 3372 3373 3374 3375 3376 3377 3378 3379 3380 3381 3382 3383 3384 | |