:doc:`Panorama <../../panorama>` / Client / register_package_version

************************
register_package_version
************************



.. py:method:: Panorama.Client.register_package_version(**kwargs)

  

  Registers a package version.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/panorama-2019-07-24/RegisterPackageVersion>`_  


  **Request Syntax**
  ::

    response = client.register_package_version(
        MarkLatest=True|False,
        OwnerAccount='string',
        PackageId='string',
        PackageVersion='string',
        PatchVersion='string'
    )
    
  :type MarkLatest: boolean
  :param MarkLatest: 

    Whether to mark the new version as the latest version.

    

  
  :type OwnerAccount: string
  :param OwnerAccount: 

    An owner account.

    

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

    A package ID.

    

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

    A package version.

    

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

    A patch version.

    

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

    
    ::

      {}
      
    **Response Structure**

    

    - *(dict) --* 
  
  **Exceptions**
  
  *   :py:class:`Panorama.Client.exceptions.ConflictException`

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

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

  
  *   :py:class:`Panorama.Client.exceptions.InternalServerException`

  