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

**************************
update_sol_network_package
**************************



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

  

  Updates the operational state of a network package.

   

  A network package is a .zip file in CSAR (Cloud Service Archive) format defines the function packages you want to deploy and the Amazon Web Services infrastructure you want to deploy them on.

   

  A network service descriptor is a .yaml file in a network package that uses the TOSCA standard to describe the network functions you want to deploy and the Amazon Web Services infrastructure you want to deploy the network functions on.

  

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


  **Request Syntax**
  ::

    response = client.update_sol_network_package(
        nsdInfoId='string',
        nsdOperationalState='ENABLED'|'DISABLED'
    )
    
  :type nsdInfoId: string
  :param nsdInfoId: **[REQUIRED]** 

    ID of the network service descriptor in the network package.

    

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

    Operational state of the network service descriptor in the network package.

    

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

    
    ::

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

    

    - *(dict) --* 
      

      - **nsdOperationalState** *(string) --* 

        Operational state of the network service descriptor in the network 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`

  