:doc:`DataZone <../../datazone>` / Client / list_data_product_revisions

***************************
list_data_product_revisions
***************************



.. py:method:: DataZone.Client.list_data_product_revisions(**kwargs)

  

  Lists data product revisions.

   

  Prerequisites:

   

  
  * The data product ID must exist within the domain.
   
  * User must have view permissions on the data product.
   
  * The domain must be in a valid and accessible state.
  

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/datazone-2018-05-10/ListDataProductRevisions>`_  


  **Request Syntax**
  ::

    response = client.list_data_product_revisions(
        domainIdentifier='string',
        identifier='string',
        maxResults=123,
        nextToken='string'
    )
    
  :type domainIdentifier: string
  :param domainIdentifier: **[REQUIRED]** 

    The ID of the domain of the data product revisions that you want to list.

    

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

    The ID of the data product revision.

    

  
  :type maxResults: integer
  :param maxResults: 

    The maximum number of asset filters to return in a single call to ``ListDataProductRevisions``. When the number of data product revisions to be listed is greater than the value of ``MaxResults``, the response contains a ``NextToken`` value that you can use in a subsequent call to ``ListDataProductRevisions`` to list the next set of data product revisions.

    

  
  :type nextToken: string
  :param nextToken: 

    When the number of data product revisions is greater than the default value for the ``MaxResults`` parameter, or if you explicitly specify a value for ``MaxResults`` that is less than the number of data product revisions, the response includes a pagination token named ``NextToken``. You can specify this ``NextToken`` value in a subsequent call to ``ListDataProductRevisions`` to list the next set of data product revisions.

    

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

    
    ::

      {
          'items': [
              {
                  'domainId': 'string',
                  'id': 'string',
                  'revision': 'string',
                  'createdAt': datetime(2015, 1, 1),
                  'createdBy': 'string'
              },
          ],
          'nextToken': 'string'
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **items** *(list) --* 

        The results of the ``ListDataProductRevisions`` action.

        
        

        - *(dict) --* 

          The data product revision.

          
          

          - **domainId** *(string) --* 

            The ID of the domain where the data product revision lives.

            
          

          - **id** *(string) --* 

            The ID of the data product revision.

            
          

          - **revision** *(string) --* 

            The data product revision.

            
          

          - **createdAt** *(datetime) --* 

            The timestamp at which the data product revision was created.

            
          

          - **createdBy** *(string) --* 

            The user who created the data product revision.

            
      
    
      

      - **nextToken** *(string) --* 

        When the number of data product revisions is greater than the default value for the ``MaxResults`` parameter, or if you explicitly specify a value for ``MaxResults`` that is less than the number of data product revisions, the response includes a pagination token named ``NextToken``. You can specify this ``NextToken`` value in a subsequent call to ``ListDataProductRevisions`` to list the next set of data product revisions.

        
  
  **Exceptions**
  
  *   :py:class:`DataZone.Client.exceptions.InternalServerException`

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

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

  
  *   :py:class:`DataZone.Client.exceptions.ThrottlingException`

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

  
  *   :py:class:`DataZone.Client.exceptions.UnauthorizedException`

  