list_violation_events
¶
list_violation_events(
start_time: Timestamp,
end_time: Timestamp,
*,
config_overrides: Optional[IoTClientConfig] = 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/io_t.py
15127 15128 15129 15130 15131 15132 15133 15134 15135 15136 15137 15138 15139 15140 15141 15142 15143 15144 15145 15146 15147 15148 15149 15150 15151 15152 15153 15154 15155 15156 15157 15158 15159 15160 15161 15162 15163 15164 15165 15166 15167 15168 15169 15170 15171 15172 15173 15174 15175 15176 15177 15178 15179 15180 15181 15182 15183 15184 15185 15186 15187 15188 15189 15190 15191 15192 15193 15194 15195 15196 15197 15198 15199 15200 15201 15202 15203 15204 15205 15206 15207 15208 15209 15210 15211 15212 15213 | |