delete_subnet_group

delete_subnet_group(**kwargs)

Deletes a subnet group.

Note

You cannot delete a subnet group if it is associated with any DAX 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
{
    'DeletionMessage': 'string'
}

Response Structure

  • (dict) --
    • DeletionMessage (string) --

      A user-specified message for this action (i.e., a reason for deleting the subnet group).

Exceptions

  • DAX.Client.exceptions.SubnetGroupInUseFault
  • DAX.Client.exceptions.SubnetGroupNotFoundFault
  • DAX.Client.exceptions.ServiceLinkedRoleNotFoundFault