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
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 3385 3386 3387 3388 3389 3390 3391 3392 3393 3394 3395 3396 3397 3398 3399 3400 3401 3402 3403 3404 3405 3406 3407 3408 3409 3410 3411 3412 3413 3414 3415 3416 3417 3418 3419 | |