:doc:`TelcoNetworkBuilder <../../tnb>` / Client / delete_sol_network_instance

***************************
delete_sol_network_instance
***************************



.. py:method:: TelcoNetworkBuilder.Client.delete_sol_network_instance(**kwargs)

  

  Deletes a network instance.

   

  A network instance is a single network created in Amazon Web Services TNB that can be deployed and on which life-cycle operations (like terminate, update, and delete) can be performed.

   

  To delete a network instance, the instance must be in a stopped or terminated state. To terminate a network instance, see `TerminateSolNetworkInstance <https://docs.aws.amazon.com/tnb/latest/APIReference/API_TerminateSolNetworkInstance.html>`__.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/tnb-2008-10-21/DeleteSolNetworkInstance>`_  


  **Request Syntax**
  ::

    response = client.delete_sol_network_instance(
        nsInstanceId='string'
    )
    
  :type nsInstanceId: string
  :param nsInstanceId: **[REQUIRED]** 

    Network instance ID.

    

  
  
  :returns: None
  **Exceptions**
  
  *   :py:class:`TelcoNetworkBuilder.Client.exceptions.InternalServerException`

  
  *   :py:class:`TelcoNetworkBuilder.Client.exceptions.ThrottlingException`

  
  *   :py:class:`TelcoNetworkBuilder.Client.exceptions.ValidationException`

  
  *   :py:class:`TelcoNetworkBuilder.Client.exceptions.ResourceNotFoundException`

  
  *   :py:class:`TelcoNetworkBuilder.Client.exceptions.AccessDeniedException`

  