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

*************
list_packages
*************



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

  

  Returns a list of packages.

  

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


  **Request Syntax**
  ::

    response = client.list_packages(
        MaxResults=123,
        NextToken='string'
    )
    
  :type MaxResults: integer
  :param MaxResults: 

    The maximum number of packages to return in one page of results.

    

  
  :type NextToken: string
  :param NextToken: 

    Specify the pagination token from a previous request to retrieve the next page of results.

    

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

    
    ::

      {
          'NextToken': 'string',
          'Packages': [
              {
                  'Arn': 'string',
                  'CreatedTime': datetime(2015, 1, 1),
                  'PackageId': 'string',
                  'PackageName': 'string',
                  'Tags': {
                      'string': 'string'
                  }
              },
          ]
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **NextToken** *(string) --* 

        A pagination token that's included if more results are available.

        
      

      - **Packages** *(list) --* 

        A list of packages.

        
        

        - *(dict) --* 

          A package summary.

          
          

          - **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.

            
          

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

            The package's tags.

            
            

            - *(string) --* 
              

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

  