IoTEvents / Client / list_detector_models

list_detector_models#

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

Request Syntax

response = client.list_detector_models(
    nextToken='string',
    maxResults=123
)
Parameters:
  • nextToken (string) – The token that you can use to return the next set of results.

  • maxResults (integer) – The maximum number of results to be returned per request.

Return type:

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

  • IoTEvents.Client.exceptions.InvalidRequestException

  • IoTEvents.Client.exceptions.ThrottlingException

  • IoTEvents.Client.exceptions.InternalFailureException

  • IoTEvents.Client.exceptions.ServiceUnavailableException