:doc:`LookoutEquipment <../../lookoutequipment>` / Client / list_inference_events

*********************
list_inference_events
*********************



.. py:method:: LookoutEquipment.Client.list_inference_events(**kwargs)

  

  Lists all inference events that have been found for the specified inference scheduler.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/lookoutequipment-2020-12-15/ListInferenceEvents>`_  


  **Request Syntax**
  ::

    response = client.list_inference_events(
        NextToken='string',
        MaxResults=123,
        InferenceSchedulerName='string',
        IntervalStartTime=datetime(2015, 1, 1),
        IntervalEndTime=datetime(2015, 1, 1)
    )
    
  :type NextToken: string
  :param NextToken: 

    An opaque pagination token indicating where to continue the listing of inference events.

    

  
  :type MaxResults: integer
  :param MaxResults: 

    Specifies the maximum number of inference events to list.

    

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

    The name of the inference scheduler for the inference events listed.

    

  
  :type IntervalStartTime: datetime
  :param IntervalStartTime: **[REQUIRED]** 

    Lookout for Equipment will return all the inference events with an end time equal to or greater than the start time given.

    

  
  :type IntervalEndTime: datetime
  :param IntervalEndTime: **[REQUIRED]** 

    Returns all the inference events with an end start time equal to or greater than less than the end time given.

    

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

    
    ::

      {
          'NextToken': 'string',
          'InferenceEventSummaries': [
              {
                  'InferenceSchedulerArn': 'string',
                  'InferenceSchedulerName': 'string',
                  'EventStartTime': datetime(2015, 1, 1),
                  'EventEndTime': datetime(2015, 1, 1),
                  'Diagnostics': 'string',
                  'EventDurationInSeconds': 123
              },
          ]
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

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

        An opaque pagination token indicating where to continue the listing of inference executions.

        
      

      - **InferenceEventSummaries** *(list) --* 

        Provides an array of information about the individual inference events returned from the ``ListInferenceEvents`` operation, including scheduler used, event start time, event end time, diagnostics, and so on.

        
        

        - *(dict) --* 

          Contains information about the specific inference event, including start and end time, diagnostics information, event duration and so on.

          
          

          - **InferenceSchedulerArn** *(string) --* 

            The Amazon Resource Name (ARN) of the inference scheduler being used for the inference event.

            
          

          - **InferenceSchedulerName** *(string) --* 

            The name of the inference scheduler being used for the inference events.

            
          

          - **EventStartTime** *(datetime) --* 

            Indicates the starting time of an inference event.

            
          

          - **EventEndTime** *(datetime) --* 

            Indicates the ending time of an inference event.

            
          

          - **Diagnostics** *(string) --* 

            An array which specifies the names and values of all sensors contributing to an inference event.

            
          

          - **EventDurationInSeconds** *(integer) --* 

            Indicates the size of an inference event in seconds.

            
      
    
  
  **Exceptions**
  
  *   :py:class:`LookoutEquipment.Client.exceptions.ValidationException`

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

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

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

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

  