IoTEvents.Client.
list_detector_model_versions
(**kwargs)¶Lists all the versions of a detector model. Only the metadata associated with each detector model version is returned.
See also: AWS API Documentation
Request Syntax
response = client.list_detector_model_versions(
detectorModelName='string',
nextToken='string',
maxResults=123
)
[REQUIRED]
The name of the detector model whose versions are returned.
dict
Response Syntax
{
'detectorModelVersionSummaries': [
{
'detectorModelName': 'string',
'detectorModelVersion': 'string',
'detectorModelArn': 'string',
'roleArn': 'string',
'creationTime': datetime(2015, 1, 1),
'lastUpdateTime': datetime(2015, 1, 1),
'status': 'ACTIVE'|'ACTIVATING'|'INACTIVE'|'DEPRECATED'|'DRAFT'|'PAUSED'|'FAILED',
'evaluationMethod': 'BATCH'|'SERIAL'
},
],
'nextToken': 'string'
}
Response Structure
(dict) --
detectorModelVersionSummaries (list) --
Summary information about the detector model versions.
(dict) --
Information about the detector model version.
detectorModelName (string) --
The name of the detector model.
detectorModelVersion (string) --
The ID of the detector model version.
detectorModelArn (string) --
The ARN of the detector model version.
roleArn (string) --
The ARN of the role that grants the detector model permission to perform its tasks.
creationTime (datetime) --
The time the detector model version was created.
lastUpdateTime (datetime) --
The last time the detector model version was updated.
status (string) --
The status of the detector model version.
evaluationMethod (string) --
Information about the order in which events are evaluated and how actions are executed.
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.ResourceNotFoundException
IoTEvents.Client.exceptions.ThrottlingException
IoTEvents.Client.exceptions.InternalFailureException
IoTEvents.Client.exceptions.ServiceUnavailableException