:doc:`IoTEvents <../../iotevents>` / Client / list_detector_models

********************
list_detector_models
********************



.. py:method:: IoTEvents.Client.list_detector_models(**kwargs)

  

  Lists the detector models you have created. Only the metadata associated with each detector model is returned.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/iotevents-2018-07-27/ListDetectorModels>`_  


  **Request Syntax**
  ::

    response = client.list_detector_models(
        nextToken='string',
        maxResults=123
    )
    
  :type nextToken: string
  :param nextToken: 

    The token that you can use to return the next set of results.

    

  
  :type maxResults: integer
  :param maxResults: 

    The maximum number of results to be returned per request.

    

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

    
    ::

      {
          'detectorModelSummaries': [
              {
                  'detectorModelName': 'string',
                  'detectorModelDescription': 'string',
                  'creationTime': datetime(2015, 1, 1)
              },
          ],
          'nextToken': 'string'
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **detectorModelSummaries** *(list) --* 

        Summary information about the detector models.

        
        

        - *(dict) --* 

          Information about the detector model.

          
          

          - **detectorModelName** *(string) --* 

            The name of the detector model.

            
          

          - **detectorModelDescription** *(string) --* 

            A brief description of the detector model.

            
          

          - **creationTime** *(datetime) --* 

            The time the detector model was created.

            
      
    
      

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

        The token that you can use to return the next set of results, or ``null`` if there are no more results.

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

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

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

  
  *   :py:class:`IoTEvents.Client.exceptions.ServiceUnavailableException`

  