MemoryDB / Client / delete_subnet_group
delete_subnet_group¶
- MemoryDB.Client.delete_subnet_group(**kwargs)¶
Deletes a subnet group. You cannot delete a default subnet group or one that is associated with any clusters.
See also: AWS API Documentation
Request Syntax
response = client.delete_subnet_group( SubnetGroupName='string' )
- Parameters:
SubnetGroupName (string) –
[REQUIRED]
The name of the subnet group to delete.
- Return type:
dict
- Returns:
Response Syntax
{ 'SubnetGroup': { 'Name': 'string', 'Description': 'string', 'VpcId': 'string', 'Subnets': [ { 'Identifier': 'string', 'AvailabilityZone': { 'Name': 'string' }, 'SupportedNetworkTypes': [ 'ipv4'|'ipv6'|'dual_stack', ] }, ], 'ARN': 'string', 'SupportedNetworkTypes': [ 'ipv4'|'ipv6'|'dual_stack', ] } }
Response Structure
(dict) –
SubnetGroup (dict) –
The subnet group object that has been deleted.
Name (string) –
The name of the subnet group
Description (string) –
A description of the subnet group
VpcId (string) –
The Amazon Virtual Private Cloud identifier (VPC ID) of the subnet group.
Subnets (list) –
A list of subnets associated with the subnet group.
(dict) –
Represents the subnet associated with a cluster. This parameter refers to subnets defined in Amazon Virtual Private Cloud (Amazon VPC) and used with MemoryDB.
Identifier (string) –
The unique identifier for the subnet.
AvailabilityZone (dict) –
The Availability Zone where the subnet resides
Name (string) –
The name of the Availability Zone.
SupportedNetworkTypes (list) –
The network types supported by this subnet. Returns an array of strings that can include ‘ipv4’, ‘ipv6’, or both, indicating whether the subnet supports IPv4 only, IPv6 only, or dual-stack deployments.
(string) –
ARN (string) –
The ARN (Amazon Resource Name) of the subnet group.
SupportedNetworkTypes (list) –
The network types supported by this subnet group. Returns an array of strings that can include ‘ipv4’, ‘ipv6’, or both, indicating the IP address types that can be used for clusters deployed in this subnet group.
(string) –
Exceptions