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

************************
describe_package_version
************************



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

  

  Returns information about a package version.

  

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


  **Request Syntax**
  ::

    response = client.describe_package_version(
        OwnerAccount='string',
        PackageId='string',
        PackageVersion='string',
        PatchVersion='string'
    )
    
  :type OwnerAccount: string
  :param OwnerAccount: 

    The version's owner account.

    

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

    The version's ID.

    

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

    The version's version.

    

  
  :type PatchVersion: string
  :param PatchVersion: 

    The version's patch version.

    

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

    
    ::

      {
          'IsLatestPatch': True|False,
          'OwnerAccount': 'string',
          'PackageArn': 'string',
          'PackageId': 'string',
          'PackageName': 'string',
          'PackageVersion': 'string',
          'PatchVersion': 'string',
          'RegisteredTime': datetime(2015, 1, 1),
          'Status': 'REGISTER_PENDING'|'REGISTER_COMPLETED'|'FAILED'|'DELETING',
          'StatusDescription': 'string'
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **IsLatestPatch** *(boolean) --* 

        Whether the version is the latest available.

        
      

      - **OwnerAccount** *(string) --* 

        The account ID of the version's owner.

        
      

      - **PackageArn** *(string) --* 

        The ARN of the package.

        
      

      - **PackageId** *(string) --* 

        The version's ID.

        
      

      - **PackageName** *(string) --* 

        The version's name.

        
      

      - **PackageVersion** *(string) --* 

        The version's version.

        
      

      - **PatchVersion** *(string) --* 

        The version's patch version.

        
      

      - **RegisteredTime** *(datetime) --* 

        The version's registered time.

        
      

      - **Status** *(string) --* 

        The version's status.

        
      

      - **StatusDescription** *(string) --* 

        The version's status description.

        
  
  **Exceptions**
  
  *   :py:class:`Panorama.Client.exceptions.ConflictException`

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

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

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

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

  