IoT / Client / get_behavior_model_training_summaries
get_behavior_model_training_summaries¶
- IoT.Client.get_behavior_model_training_summaries(**kwargs)¶
Note
The IoT Device Defender detect feature will no longer be available to new customers starting August 31, 2026. If you would like to use the detect feature, sign up prior to August 31, 2026. To learn about alternatives to IoT Device Defender detect, see IoT Device Defender detect feature availability change in the IoT Device Defender Developer Guide. There is no change to IoT Device Defender audit availability.
Returns a Device Defender’s ML Detect Security Profile training model’s status.
Requires permission to access the GetBehaviorModelTrainingSummaries action.
See also: AWS API Documentation
Request Syntax
response = client.get_behavior_model_training_summaries( securityProfileName='string', maxResults=123, nextToken='string' )
- Parameters:
securityProfileName (string) – The name of the security profile.
maxResults (integer) – The maximum number of results to return at one time. The default is 10.
nextToken (string) – The token for the next set of results.
- Return type:
dict
- Returns:
Response Syntax
{ 'summaries': [ { 'securityProfileName': 'string', 'behaviorName': 'string', 'trainingDataCollectionStartDate': datetime(2015, 1, 1), 'modelStatus': 'PENDING_BUILD'|'ACTIVE'|'EXPIRED', 'datapointsCollectionPercentage': 123.0, 'lastModelRefreshDate': datetime(2015, 1, 1) }, ], 'nextToken': 'string' }
Response Structure
(dict) –
summaries (list) –
A list of all ML Detect behaviors and their model status for a given Security Profile.
(dict) –
The summary of an ML Detect behavior model.
securityProfileName (string) –
The name of the security profile.
behaviorName (string) –
The name of the behavior.
trainingDataCollectionStartDate (datetime) –
The date a training model started collecting data.
modelStatus (string) –
The status of the behavior model.
datapointsCollectionPercentage (float) –
The percentage of datapoints collected.
lastModelRefreshDate (datetime) –
The date the model was last refreshed.
nextToken (string) –
A token that can be used to retrieve the next set of results, or
nullif there are no additional results.
Exceptions
IoT.Client.exceptions.InvalidRequestExceptionIoT.Client.exceptions.ThrottlingExceptionIoT.Client.exceptions.InternalFailureExceptionIoT.Client.exceptions.ResourceNotFoundException