describe_cache_subnet_groups
¶
describe_cache_subnet_groups(
*,
config_overrides: Optional[ElastiCacheClientConfig] = 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/elasti_cache.py
3282 3283 3284 3285 3286 3287 3288 3289 3290 3291 3292 3293 3294 3295 3296 3297 3298 3299 3300 3301 3302 3303 3304 3305 3306 3307 3308 3309 3310 3311 3312 3313 3314 3315 3316 3317 3318 3319 3320 3321 3322 3323 3324 3325 3326 3327 3328 3329 3330 3331 3332 3333 3334 3335 3336 3337 3338 3339 3340 3341 3342 3343 | |