update_account_audit_configuration
async
¶
update_account_audit_configuration(
*,
config_overrides: Optional[AsyncIoTClientConfig] = 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/async_io_t.py
16996 16997 16998 16999 17000 17001 17002 17003 17004 17005 17006 17007 17008 17009 17010 17011 17012 17013 17014 17015 17016 17017 17018 17019 17020 17021 17022 17023 17024 17025 17026 17027 17028 17029 17030 17031 17032 17033 17034 17035 17036 17037 17038 17039 17040 17041 17042 17043 17044 17045 17046 17047 17048 17049 17050 17051 17052 17053 17054 17055 17056 | |