code: def delete_subnet(subnet_id=None, subnet_name=None, region=None, key=None,
                    keyid=None, profile=None):
      '''
      Given a subnet ID or name, delete the subnet.
  
      Returns True if the subnet was deleted and returns False if the subnet was not deleted.
  
      .. versionchanged:: 2015.8.0
          Added subnet_name argument
  
      CLI Example:
  
      .. code-block:: bash
  
          salt myminion boto_vpc.delete_subnet 'subnet-6a1fe403'
  
      '''
  
      return _delete_resource(resource='subnet', name=subnet_name,
                              resource_id=subnet_id, region=region, key=key,
                              keyid=keyid, profile=profilef delete_subnet(subnet_id=None, subnet_name=None, region=None, key=None,
                    keyid=None, profile=None):
      '''
      Given a subnet ID or name, delete the subnet.
  
      Returns True if the subnet was deleted and returns False if the subnet was not deleted.
  
      .. versionchanged:: 2015.8.0
          Added subnet_name argument
  
      CLI Example:
  
      .. code-block:: bash
  
          salt myminion boto_vpc.delete_subnet 'subnet-6a1fe403'
  
      '''
  
      return _delete_resource(resource='subnet', name=subnet_name,
                              resource_id=subnet_id, region=region, key=key,
                              keyid=keyid, profile=profile)
docs: Given a subnet ID or name, delete the subnet.
  
      Returns True if the subnet was deleted and returns False if the subnet was not deleted.
  
      .. versionchanged:: 2015.8.0
          Added subnet_name argument
  
      CLI Example:
  
      .. code-block:: bash
  
          salt myminion boto_vpc.delete_subnet 'subnet-6a1fe403'