Macie2 / Client / update_automated_discovery_configuration
update_automated_discovery_configuration#
- Macie2.Client.update_automated_discovery_configuration(**kwargs)#
Changes the configuration settings and status of automated sensitive data discovery for an organization or standalone account.
See also: AWS API Documentation
Request Syntax
response = client.update_automated_discovery_configuration( autoEnableOrganizationMembers='ALL'|'NEW'|'NONE', status='ENABLED'|'DISABLED' )
- Parameters:
autoEnableOrganizationMembers (string) –
Specifies whether to automatically enable automated sensitive data discovery for accounts in the organization. Valid values are: ALL (default), enable it for all existing accounts and new member accounts; NEW, enable it only for new member accounts; and, NONE, don’t enable it for any accounts.
If you specify NEW or NONE, automated sensitive data discovery continues to be enabled for any existing accounts that it’s currently enabled for. To enable or disable it for individual member accounts, specify NEW or NONE, and then enable or disable it for each account by using the BatchUpdateAutomatedDiscoveryAccounts operation.
status (string) –
[REQUIRED]
The new status of automated sensitive data discovery for the organization or account. Valid values are: ENABLED, start or resume all automated sensitive data discovery activities; and, DISABLED, stop performing all automated sensitive data discovery activities.
If you specify DISABLED for an administrator account, you also disable automated sensitive data discovery for all member accounts in the organization.
- Return type:
dict
- Returns:
Response Syntax
{}
Response Structure
(dict) –
The request succeeded. The status was updated and there isn’t any content to include in the body of the response (No Content).
Exceptions
Macie2.Client.exceptions.ThrottlingException
Macie2.Client.exceptions.ValidationException
Macie2.Client.exceptions.InternalServerException
Macie2.Client.exceptions.AccessDeniedException