IoT.Client.
update_account_audit_configuration
(**kwargs)¶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.
See also: AWS API Documentation
Request Syntax
response = client.update_account_audit_configuration(
roleArn='string',
auditNotificationTargetConfigurations={
'string': {
'targetArn': 'string',
'roleArn': 'string',
'enabled': True|False
}
},
auditCheckConfigurations={
'string': {
'enabled': True|False
}
}
)
Information about the targets to which audit notifications are sent.
Information about the targets to which audit notifications are sent.
The ARN of the target (SNS topic) to which audit notifications are sent.
The ARN of the role that grants permission to send notifications to the target.
True if notifications to the target are enabled.
Specifies which audit checks are enabled and disabled for this account. Use DescribeAccountAuditConfiguration
to 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.
An audit check name. Checks must be enabled for your account. (Use DescribeAccountAuditConfiguration
to see the list of all checks, including those that are enabled or use UpdateAccountAuditConfiguration
to select which checks are enabled.)
Which audit checks are enabled and disabled for this account.
True if this audit check is enabled for this account.
dict
Response Syntax
{}
Response Structure
Exceptions
IoT.Client.exceptions.InvalidRequestException
IoT.Client.exceptions.ThrottlingException
IoT.Client.exceptions.InternalFailureException