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

**********
list_nodes
**********



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

  

  Returns a list of nodes.

  

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


  **Request Syntax**
  ::

    response = client.list_nodes(
        Category='BUSINESS_LOGIC'|'ML_MODEL'|'MEDIA_SOURCE'|'MEDIA_SINK',
        MaxResults=123,
        NextToken='string',
        OwnerAccount='string',
        PackageName='string',
        PackageVersion='string',
        PatchVersion='string'
    )
    
  :type Category: string
  :param Category: 

    Search for nodes by category.

    

  
  :type MaxResults: integer
  :param MaxResults: 

    The maximum number of nodes 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.

    

  
  :type OwnerAccount: string
  :param OwnerAccount: 

    Search for nodes by the account ID of the nodes' owner.

    

  
  :type PackageName: string
  :param PackageName: 

    Search for nodes by name.

    

  
  :type PackageVersion: string
  :param PackageVersion: 

    Search for nodes by version.

    

  
  :type PatchVersion: string
  :param PatchVersion: 

    Search for nodes by patch version.

    

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

    
    ::

      {
          'NextToken': 'string',
          'Nodes': [
              {
                  'Category': 'BUSINESS_LOGIC'|'ML_MODEL'|'MEDIA_SOURCE'|'MEDIA_SINK',
                  'CreatedTime': datetime(2015, 1, 1),
                  'Description': 'string',
                  'Name': 'string',
                  'NodeId': 'string',
                  'OwnerAccount': 'string',
                  'PackageArn': 'string',
                  'PackageId': 'string',
                  'PackageName': 'string',
                  'PackageVersion': 'string',
                  'PatchVersion': 'string'
              },
          ]
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

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

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

        
      

      - **Nodes** *(list) --* 

        A list of nodes.

        
        

        - *(dict) --* 

          An application node that represents a camera stream, a model, code, or output.

          
          

          - **Category** *(string) --* 

            The node's category.

            
          

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

            When the node was created.

            
          

          - **Description** *(string) --* 

            The node's description.

            
          

          - **Name** *(string) --* 

            The node's name.

            
          

          - **NodeId** *(string) --* 

            The node's ID.

            
          

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

            The account ID of the node's owner.

            
          

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

            The node's ARN.

            
          

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

            The node's package ID.

            
          

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

            The node's package name.

            
          

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

            The node's package version.

            
          

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

            The node's patch version.

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

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

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

  