ElastiCache / Client / delete_cache_subnet_group
delete_cache_subnet_group#
- ElastiCache.Client.delete_cache_subnet_group(**kwargs)#
Deletes a cache subnet group.
Note
You cannot delete a default cache subnet group or one that is associated with any clusters.
See also: AWS API Documentation
Request Syntax
response = client.delete_cache_subnet_group( CacheSubnetGroupName='string' )
- Parameters:
CacheSubnetGroupName (string) –
[REQUIRED]
The name of the cache subnet group to delete.
Constraints: Must contain no more than 255 alphanumeric characters or hyphens.
- Returns:
None
Exceptions
Examples
Deletes the Amazon ElastiCache subnet group my-subnet-group.
response = client.delete_cache_subnet_group( CacheSubnetGroupName='my-subnet-group', ) print(response)
Expected Output:
{ 'ResponseMetadata': { '...': '...', }, }