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

*******************************
put_sol_network_package_content
*******************************



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

  

  Uploads the contents 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.

  

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


  **Request Syntax**
  ::

    response = client.put_sol_network_package_content(
        contentType='application/zip',
        file=b'bytes'|file,
        nsdInfoId='string'
    )
    
  :type contentType: string
  :param contentType: 

    Network package content type.

    

  
  :type file: bytes or seekable file-like object
  :param file: **[REQUIRED]** 

    Network package file.

    

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

    Network service descriptor info ID.

    

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

    
    ::

      {
          'arn': 'string',
          'id': 'string',
          'metadata': {
              'nsd': {
                  'overrides': [
                      {
                          'defaultValue': 'string',
                          'name': 'string'
                      },
                  ]
              }
          },
          'nsdId': 'string',
          'nsdName': 'string',
          'nsdVersion': 'string',
          'vnfPkgIds': [
              'string',
          ]
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **arn** *(string) --* 

        Network package ARN.

        
      

      - **id** *(string) --* 

        Network package ID.

        
      

      - **metadata** *(dict) --* 

        Network package metadata.

        
        

        - **nsd** *(dict) --* 

          Metadata for network package artifacts.

           

          Artifacts are the contents of the package descriptor file and the state of the package.

          
          

          - **overrides** *(list) --* 

            Lists network package overrides.

            
            

            - *(dict) --* 

              Overrides of the TOSCA node.

              
              

              - **defaultValue** *(string) --* 

                Default value for the override.

                
              

              - **name** *(string) --* 

                Name of the TOSCA override.

                
          
        
      
    
      

      - **nsdId** *(string) --* 

        Network service descriptor ID.

        
      

      - **nsdName** *(string) --* 

        Network service descriptor name.

        
      

      - **nsdVersion** *(string) --* 

        Network service descriptor version.

        
      

      - **vnfPkgIds** *(list) --* 

        Function package IDs.

        
        

        - *(string) --* 
    
  
  **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`

  