:doc:`CodeCatalyst <../../codecatalyst>` / Client / get_workflow_run

****************
get_workflow_run
****************



.. py:method:: CodeCatalyst.Client.get_workflow_run(**kwargs)

  

  Returns information about a specified run of a workflow.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/codecatalyst-2022-09-28/GetWorkflowRun>`_  


  **Request Syntax**
  ::

    response = client.get_workflow_run(
        spaceName='string',
        id='string',
        projectName='string'
    )
    
  :type spaceName: string
  :param spaceName: **[REQUIRED]** 

    The name of the space.

    

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

    The ID of the workflow run. To retrieve a list of workflow run IDs, use  ListWorkflowRuns.

    

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

    The name of the project in the space.

    

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

    
    ::

      {
          'spaceName': 'string',
          'projectName': 'string',
          'id': 'string',
          'workflowId': 'string',
          'status': 'SUCCEEDED'|'FAILED'|'STOPPED'|'SUPERSEDED'|'CANCELLED'|'NOT_RUN'|'VALIDATING'|'PROVISIONING'|'IN_PROGRESS'|'STOPPING'|'ABANDONED',
          'statusReasons': [
              {},
          ],
          'startTime': datetime(2015, 1, 1),
          'endTime': datetime(2015, 1, 1),
          'lastUpdatedTime': datetime(2015, 1, 1)
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **spaceName** *(string) --* 

        The name of the space.

        
      

      - **projectName** *(string) --* 

        The name of the project in the space.

        
      

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

        The ID of the workflow run.

        
      

      - **workflowId** *(string) --* 

        The ID of the workflow.

        
      

      - **status** *(string) --* 

        The status of the workflow run.

        
      

      - **statusReasons** *(list) --* 

        Information about the reasons for the status of the workflow run.

        
        

        - *(dict) --* 

          Information about the status of a workflow run.

          
      
    
      

      - **startTime** *(datetime) --* 

        The date and time the workflow run began, in coordinated universal time (UTC) timestamp format as specified in `RFC 3339 <https://www.rfc-editor.org/rfc/rfc3339#section-5.6>`__

        
      

      - **endTime** *(datetime) --* 

        The date and time the workflow run ended, in coordinated universal time (UTC) timestamp format as specified in `RFC 3339 <https://www.rfc-editor.org/rfc/rfc3339#section-5.6>`__.

        
      

      - **lastUpdatedTime** *(datetime) --* 

        The date and time the workflow run status was last updated, in coordinated universal time (UTC) timestamp format as specified in `RFC 3339 <https://www.rfc-editor.org/rfc/rfc3339#section-5.6>`__

        
  
  **Exceptions**
  
  *   :py:class:`CodeCatalyst.Client.exceptions.ThrottlingException`

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

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

  
  *   :py:class:`CodeCatalyst.Client.exceptions.ServiceQuotaExceededException`

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

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

  