list_violation_events
async
¶
list_violation_events(
start_time: Timestamp,
end_time: Timestamp,
*,
config_overrides: Optional[AsyncIoTClientConfig] = None,
thing_name: Optional[DeviceDefenderThingName] = None,
security_profile_name: Optional[SecurityProfileName] = None,
behavior_criteria_type: Optional[BehaviorCriteriaType] = None,
list_suppressed_alerts: Optional[ListSuppressedAlerts] = None,
verification_state: Optional[VerificationState] = None,
next_token: Optional[NextToken] = None,
max_results: Optional[MaxResults] = None,
) -> ListViolationEventsResponse
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.
Lists the Device Defender security profile violations discovered during the given time period. You can use filters to limit the results to those alerts issued for a particular security profile, behavior, or thing (device).
Requires permission to access the ListViolationEvents action.
Parameters:
-
start_time(Timestamp) –The start time for the alerts to be listed.
-
end_time(Timestamp) –The end time for the alerts to be listed.
-
thing_name(Optional[DeviceDefenderThingName], default:None) –A filter to limit results to those alerts caused by the specified thing.
-
security_profile_name(Optional[SecurityProfileName], default:None) –A filter to limit results to those alerts generated by the specified security profile.
-
behavior_criteria_type(Optional[BehaviorCriteriaType], default:None) –The criteria for a behavior.
-
list_suppressed_alerts(Optional[ListSuppressedAlerts], default:None) –A list of all suppressed alerts.
-
verification_state(Optional[VerificationState], default:None) –The verification state of the violation (detect alarm).
-
next_token(Optional[NextToken], default:None) –The token for the next set of results.
-
max_results(Optional[MaxResults], default:None) –The maximum number of results to return at one time.
Raises:
-
InternalFailureException–An unexpected error has occurred.
-
InvalidRequestException–The request is not valid.
-
ThrottlingException–The rate exceeds the limit.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_iot/_services/async_io_t.py
15353 15354 15355 15356 15357 15358 15359 15360 15361 15362 15363 15364 15365 15366 15367 15368 15369 15370 15371 15372 15373 15374 15375 15376 15377 15378 15379 15380 15381 15382 15383 15384 15385 15386 15387 15388 15389 15390 15391 15392 15393 15394 15395 15396 15397 15398 15399 15400 15401 15402 15403 15404 15405 15406 15407 15408 15409 15410 15411 15412 15413 15414 15415 15416 15417 15418 15419 15420 15421 15422 15423 15424 15425 15426 15427 15428 15429 15430 15431 15432 15433 15434 15435 15436 15437 15438 15439 15440 | |