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

****************
describe_package
****************



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

  

  Returns information about a package.

  

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


  **Request Syntax**
  ::

    response = client.describe_package(
        PackageId='string'
    )
    
  :type PackageId: string
  :param PackageId: **[REQUIRED]** 

    The package's ID.

    

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

    
    ::

      {
          'Arn': 'string',
          'CreatedTime': datetime(2015, 1, 1),
          'PackageId': 'string',
          'PackageName': 'string',
          'ReadAccessPrincipalArns': [
              'string',
          ],
          'StorageLocation': {
              'BinaryPrefixLocation': 'string',
              'Bucket': 'string',
              'GeneratedPrefixLocation': 'string',
              'ManifestPrefixLocation': 'string',
              'RepoPrefixLocation': 'string'
          },
          'Tags': {
              'string': 'string'
          },
          'WriteAccessPrincipalArns': [
              'string',
          ]
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **Arn** *(string) --* 

        The package's ARN.

        
      

      - **CreatedTime** *(datetime) --* 

        When the package was created.

        
      

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

        The package's ID.

        
      

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

        The package's name.

        
      

      - **ReadAccessPrincipalArns** *(list) --* 

        ARNs of accounts that have read access to the package.

        
        

        - *(string) --* 
    
      

      - **StorageLocation** *(dict) --* 

        The package's storage location.

        
        

        - **BinaryPrefixLocation** *(string) --* 

          The location's binary prefix.

          
        

        - **Bucket** *(string) --* 

          The location's bucket.

          
        

        - **GeneratedPrefixLocation** *(string) --* 

          The location's generated prefix.

          
        

        - **ManifestPrefixLocation** *(string) --* 

          The location's manifest prefix.

          
        

        - **RepoPrefixLocation** *(string) --* 

          The location's repo prefix.

          
    
      

      - **Tags** *(dict) --* 

        The package's tags.

        
        

        - *(string) --* 
          

          - *(string) --* 
    
  
      

      - **WriteAccessPrincipalArns** *(list) --* 

        ARNs of accounts that have write access to the package.

        
        

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

  