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

***************************
delete_sol_function_package
***************************



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

  

  Deletes a function package.

   

  A function package is a .zip file in CSAR (Cloud Service Archive) format that contains a network function (an ETSI standard telecommunication application) and function package descriptor that uses the TOSCA standard to describe how the network functions should run on your network.

   

  To delete a function package, the package must be in a disabled state. To disable a function package, see `UpdateSolFunctionPackage <https://docs.aws.amazon.com/tnb/latest/APIReference/API_UpdateSolFunctionPackage.html>`__.

  

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


  **Request Syntax**
  ::

    response = client.delete_sol_function_package(
        vnfPkgId='string'
    )
    
  :type vnfPkgId: string
  :param vnfPkgId: **[REQUIRED]** 

    ID of the function package.

    

  
  
  :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`

  