IoT / Client / put_verification_state_on_violation
put_verification_state_on_violation¶
- IoT.Client.put_verification_state_on_violation(**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.
Set a verification state and provide a description of that verification state on a violation (detect alarm).
See also: AWS API Documentation
Request Syntax
response = client.put_verification_state_on_violation( violationId='string', verificationState='FALSE_POSITIVE'|'BENIGN_POSITIVE'|'TRUE_POSITIVE'|'UNKNOWN', verificationStateDescription='string' )
- Parameters:
violationId (string) –
[REQUIRED]
The violation ID.
verificationState (string) –
[REQUIRED]
The verification state of the violation.
verificationStateDescription (string) – The description of the verification state of the violation (detect alarm).
- Return type:
dict
- Returns:
Response Syntax
{}Response Structure
(dict) –
Exceptions
IoT.Client.exceptions.InvalidRequestExceptionIoT.Client.exceptions.ThrottlingExceptionIoT.Client.exceptions.InternalFailureException