Macie2 / Client / update_automated_discovery_configuration

update_automated_discovery_configuration#

Macie2.Client.update_automated_discovery_configuration(**kwargs)#

Enables or disables automated sensitive data discovery for an account.

See also: AWS API Documentation

Request Syntax

response = client.update_automated_discovery_configuration(
    status='ENABLED'|'DISABLED'
)
Parameters:

status (string) –

[REQUIRED]

The new status of automated sensitive data discovery for the account. Valid values are: ENABLED, start or resume automated sensitive data discovery activities for the account; and, DISABLED, stop performing automated sensitive data discovery activities for the account.

When you enable automated sensitive data discovery for the first time, Amazon Macie uses default configuration settings to determine which data sources to analyze and which managed data identifiers to use. To change these settings, use the UpdateClassificationScope and UpdateSensitivityInspectionTemplate operations, respectively. If you change the settings and subsequently disable the configuration, Amazon Macie retains your changes.

Return type:

dict

Returns:

Response Syntax

{}

Response Structure

  • (dict) –

    The request succeeded. The status of the automated sensitive data discovery configuration for the account was updated and there isn’t any content to include in the body of the response (No Content).

Exceptions