update_automated_discovery_configuration
async
¶
update_automated_discovery_configuration(
*,
config_overrides: Optional[AsyncMacie2ClientConfig] = None,
auto_enable_organization_members: Optional[AutoEnableMode] = None,
status: Optional[AutomatedDiscoveryStatus] = None,
) -> UpdateAutomatedDiscoveryConfigurationResponse
Changes the configuration settings and status of automated sensitive data discovery for an organization or standalone account.
Parameters:
-
auto_enable_organization_members(Optional[AutoEnableMode], default:None) –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(Optional[AutomatedDiscoveryStatus], default:None) –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.
Raises:
-
AccessDeniedException–Provides information about an error that occurred due to insufficient access to a specified resource.
-
InternalServerException–Provides information about an error that occurred due to an unknown internal server error, exception, or failure.
-
ThrottlingException–Provides information about an error that occurred because too many requests were sent during a certain amount of time.
-
ValidationException–Provides information about an error that occurred due to a syntax error in a request.
-
UnknownServiceError–The service returned an error code this client does not model.