update_audit_suppression
¶
update_audit_suppression(
check_name: AuditCheckName,
resource_identifier: ResourceIdentifier,
*,
config_overrides: Optional[IoTClientConfig] = None,
expiration_date: Optional[Timestamp] = None,
suppress_indefinitely: Optional[SuppressIndefinitely] = None,
description: Optional[AuditDescription] = None,
) -> UpdateAuditSuppressionResponse
Updates a Device Defender audit suppression.
Parameters:
-
expiration_date(Optional[Timestamp], default:None) –The expiration date (epoch timestamp in seconds) that you want the suppression to adhere to.
-
suppress_indefinitely(Optional[SuppressIndefinitely], default:None) –Indicates whether a suppression should exist indefinitely or not.
-
description(Optional[AuditDescription], default:None) –The description of the audit suppression.
Raises:
-
InternalFailureException–An unexpected error has occurred.
-
InvalidRequestException–The request is not valid.
-
ResourceNotFoundException–The specified resource does not exist.
-
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
16805 16806 16807 16808 16809 16810 16811 16812 16813 16814 16815 16816 16817 16818 16819 16820 16821 16822 16823 16824 16825 16826 16827 16828 16829 16830 16831 16832 16833 16834 16835 16836 16837 16838 16839 16840 16841 16842 16843 16844 16845 16846 16847 16848 16849 16850 16851 16852 16853 16854 16855 16856 16857 16858 16859 16860 16861 16862 16863 16864 16865 16866 16867 16868 | |