:doc:`IoTThingsGraph <../../iotthingsgraph>` / Client / search_flow_executions

**********************
search_flow_executions
**********************



.. py:method:: IoTThingsGraph.Client.search_flow_executions(**kwargs)

  

  Searches for AWS IoT Things Graph workflow execution instances.

  

  .. danger::

        This operation is deprecated and may not function as expected. This operation should not be used going forward and is only kept for the purpose of backwards compatiblity.


  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/iotthingsgraph-2018-09-06/SearchFlowExecutions>`_  


  **Request Syntax**
  ::

    response = client.search_flow_executions(
        systemInstanceId='string',
        flowExecutionId='string',
        startTime=datetime(2015, 1, 1),
        endTime=datetime(2015, 1, 1),
        nextToken='string',
        maxResults=123
    )
    
  :type systemInstanceId: string
  :param systemInstanceId: **[REQUIRED]** 

    The ID of the system instance that contains the flow.

    

  
  :type flowExecutionId: string
  :param flowExecutionId: 

    The ID of a flow execution.

    

  
  :type startTime: datetime
  :param startTime: 

    The date and time of the earliest flow execution to return.

    

  
  :type endTime: datetime
  :param endTime: 

    The date and time of the latest flow execution to return.

    

  
  :type nextToken: string
  :param nextToken: 

    The string that specifies the next page of results. Use this when you're paginating results.

    

  
  :type maxResults: integer
  :param maxResults: 

    The maximum number of results to return in the response.

    

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

    
    ::

      {
          'summaries': [
              {
                  'flowExecutionId': 'string',
                  'status': 'RUNNING'|'ABORTED'|'SUCCEEDED'|'FAILED',
                  'systemInstanceId': 'string',
                  'flowTemplateId': 'string',
                  'createdAt': datetime(2015, 1, 1),
                  'updatedAt': datetime(2015, 1, 1)
              },
          ],
          'nextToken': 'string'
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **summaries** *(list) --* 

        An array of objects that contain summary information about each workflow execution in the result set.

        
        

        - *(dict) --* 

          An object that contains summary information about a flow execution.

          
          

          - **flowExecutionId** *(string) --* 

            The ID of the flow execution.

            
          

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

            The current status of the flow execution.

            
          

          - **systemInstanceId** *(string) --* 

            The ID of the system instance that contains the flow.

            
          

          - **flowTemplateId** *(string) --* 

            The ID of the flow.

            
          

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

            The date and time when the flow execution summary was created.

            
          

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

            The date and time when the flow execution summary was last updated.

            
      
    
      

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

        The string to specify as ``nextToken`` when you request the next page of results.

        
  
  **Exceptions**
  
  *   :py:class:`IoTThingsGraph.Client.exceptions.InvalidRequestException`

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

  
  *   :py:class:`IoTThingsGraph.Client.exceptions.InternalFailureException`

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

  