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

***************************
update_sol_function_package
***************************



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

  

  Updates the operational state of 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.

  

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


  **Request Syntax**
  ::

    response = client.update_sol_function_package(
        operationalState='ENABLED'|'DISABLED',
        vnfPkgId='string'
    )
    
  :type operationalState: string
  :param operationalState: **[REQUIRED]** 

    Operational state of the function package.

    

  
  :type vnfPkgId: string
  :param vnfPkgId: **[REQUIRED]** 

    ID of the function package.

    

  
  
  :rtype: dict
  :returns: 
    
    **Response Syntax**

    
    ::

      {
          'operationalState': 'ENABLED'|'DISABLED'
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **operationalState** *(string) --* 

        Operational state of the function package.

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

  