update_account_audit_configuration
¶
update_account_audit_configuration(
*,
config_overrides: Optional[IoTClientConfig] = None,
role_arn: Optional[RoleArn] = None,
audit_notification_target_configurations: Optional[
AuditNotificationTargetConfigurations
] = None,
audit_check_configurations: Optional[AuditCheckConfigurations] = None,
) -> UpdateAccountAuditConfigurationResponse
Configures or reconfigures the Device Defender audit settings for this account. Settings include how audit notifications are sent and which audit checks are enabled or disabled.
Requires permission to access the UpdateAccountAuditConfiguration action.
Parameters:
-
role_arn(Optional[RoleArn], default:None) –The Amazon Resource Name (ARN) of the role that grants permission to IoT to access information about your devices, policies, certificates, and other items as required when performing an audit.
-
audit_notification_target_configurations(Optional[AuditNotificationTargetConfigurations], default:None) –Information about the targets to which audit notifications are sent.
-
audit_check_configurations(Optional[AuditCheckConfigurations], default:None) –Specifies which audit checks are enabled and disabled for this account. Use
DescribeAccountAuditConfigurationto see the list of all checks, including those that are currently enabled.Some data collection might start immediately when certain checks are enabled. When a check is disabled, any data collected so far in relation to the check is deleted.
You cannot disable a check if it's used by any scheduled audit. You must first delete the check from the scheduled audit or delete the scheduled audit itself.
On the first call to
UpdateAccountAuditConfiguration, this parameter is required and must specify at least one enabled check.
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
16744 16745 16746 16747 16748 16749 16750 16751 16752 16753 16754 16755 16756 16757 16758 16759 16760 16761 16762 16763 16764 16765 16766 16767 16768 16769 16770 16771 16772 16773 16774 16775 16776 16777 16778 16779 16780 16781 16782 16783 16784 16785 16786 16787 16788 16789 16790 16791 16792 16793 16794 16795 16796 16797 16798 16799 16800 16801 16802 16803 | |