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

*******************************
list_data_source_run_activities
*******************************



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

  

  Lists data source run activities.

  

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


  **Request Syntax**
  ::

    response = client.list_data_source_run_activities(
        domainIdentifier='string',
        identifier='string',
        status='FAILED'|'PUBLISHING_FAILED'|'SUCCEEDED_CREATED'|'SUCCEEDED_UPDATED'|'SKIPPED_ALREADY_IMPORTED'|'SKIPPED_ARCHIVED'|'SKIPPED_NO_ACCESS'|'UNCHANGED',
        nextToken='string',
        maxResults=123
    )
    
  :type domainIdentifier: string
  :param domainIdentifier: **[REQUIRED]** 

    The identifier of the Amazon DataZone domain in which to list data source run activities.

    

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

    The identifier of the data source run.

    

  
  :type status: string
  :param status: 

    The status of the data source run.

    

  
  :type nextToken: string
  :param nextToken: 

    When the number of activities 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 activities, the response includes a pagination token named ``NextToken``. You can specify this ``NextToken`` value in a subsequent call to ``ListDataSourceRunActivities`` to list the next set of activities.

    

  
  :type maxResults: integer
  :param maxResults: 

    The maximum number of activities to return in a single call to ``ListDataSourceRunActivities``. When the number of activities 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 ``ListDataSourceRunActivities`` to list the next set of activities.

    

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

    
    ::

      {
          'items': [
              {
                  'database': 'string',
                  'dataSourceRunId': 'string',
                  'technicalName': 'string',
                  'dataAssetStatus': 'FAILED'|'PUBLISHING_FAILED'|'SUCCEEDED_CREATED'|'SUCCEEDED_UPDATED'|'SKIPPED_ALREADY_IMPORTED'|'SKIPPED_ARCHIVED'|'SKIPPED_NO_ACCESS'|'UNCHANGED',
                  'projectId': 'string',
                  'dataAssetId': 'string',
                  'technicalDescription': 'string',
                  'errorMessage': {
                      'errorType': 'ACCESS_DENIED_EXCEPTION'|'CONFLICT_EXCEPTION'|'INTERNAL_SERVER_EXCEPTION'|'RESOURCE_NOT_FOUND_EXCEPTION'|'SERVICE_QUOTA_EXCEEDED_EXCEPTION'|'THROTTLING_EXCEPTION'|'VALIDATION_EXCEPTION',
                      'errorDetail': 'string'
                  },
                  'lineageSummary': {
                      'eventId': 'string',
                      'eventStatus': 'REQUESTED'|'PROCESSING'|'SUCCESS'|'FAILED',
                      'errorMessage': 'string'
                  },
                  'createdAt': datetime(2015, 1, 1),
                  'updatedAt': datetime(2015, 1, 1)
              },
          ],
          'nextToken': 'string'
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

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

        The results of the ``ListDataSourceRunActivities`` action.

        
        

        - *(dict) --* 

          The activity details of the data source run.

          
          

          - **database** *(string) --* 

            The database included in the data source run activity.

            
          

          - **dataSourceRunId** *(string) --* 

            The identifier of the data source for the data source run activity.

            
          

          - **technicalName** *(string) --* 

            The technical name included in the data source run activity.

            
          

          - **dataAssetStatus** *(string) --* 

            The status of the asset included in the data source run activity.

            
          

          - **projectId** *(string) --* 

            The project ID included in the data source run activity.

            
          

          - **dataAssetId** *(string) --* 

            The identifier of the asset included in the data source run activity.

            
          

          - **technicalDescription** *(string) --* 

            The technical description included in the data source run activity.

            
          

          - **errorMessage** *(dict) --* 

            The details of the error message that is returned if the operation cannot be successfully completed.

            
            

            - **errorType** *(string) --* 

              The type of the error message that is returned if the operation cannot be successfully completed.

              
            

            - **errorDetail** *(string) --* 

              The details of the error message that is returned if the operation cannot be successfully completed.

              
        
          

          - **lineageSummary** *(dict) --* 

            The data lineage summary.

            
            

            - **eventId** *(string) --* 

              The data lineage event ID.

              
            

            - **eventStatus** *(string) --* 

              The data lineage event status.

              
            

            - **errorMessage** *(string) --* 

              The data lineage error message.

              
        
          

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

            The timestamp of when data source run activity was created.

            
          

          - **updatedAt** *(datetime) --* 

            The timestamp of when data source run activity was updated.

            
      
    
      

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

        When the number of activities 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 activities, the response includes a pagination token named ``NextToken``. You can specify this ``NextToken`` value in a subsequent call to ``ListDataSourceRunActivities`` to list the next set of activities.

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

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

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

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

  