AppConfig / Client / update_account_settings
update_account_settings¶
- AppConfig.Client.update_account_settings(**kwargs)¶
- Updates the value of the - DeletionProtectionparameter.- See also: AWS API Documentation - Request Syntax- response = client.update_account_settings( DeletionProtection={ 'Enabled': True|False, 'ProtectionPeriodInMinutes': 123 } ) - Parameters:
- DeletionProtection (dict) – - A parameter to configure deletion protection. Deletion protection prevents a user from deleting a configuration profile or an environment if AppConfig has called either GetLatestConfiguration or for the configuration profile or from the environment during the specified interval. The default interval for - ProtectionPeriodInMinutesis 60.- Enabled (boolean) – - A parameter that indicates if deletion protection is enabled or not. 
- ProtectionPeriodInMinutes (integer) – - The time interval during which AppConfig monitors for calls to GetLatestConfiguration or for a configuration profile or from an environment. AppConfig returns an error if a user calls or for the designated configuration profile or environment. To bypass the error and delete a configuration profile or an environment, specify - BYPASSfor the- DeletionProtectionCheckparameter for either or .
 
- Return type:
- dict 
- Returns:
- Response Syntax- { 'DeletionProtection': { 'Enabled': True|False, 'ProtectionPeriodInMinutes': 123 } } - Response Structure- (dict) – - DeletionProtection (dict) – - A parameter to configure deletion protection. Deletion protection prevents a user from deleting a configuration profile or an environment if AppConfig has called either GetLatestConfiguration or for the configuration profile or from the environment during the specified interval. The default interval for - ProtectionPeriodInMinutesis 60.- Enabled (boolean) – - A parameter that indicates if deletion protection is enabled or not. 
- ProtectionPeriodInMinutes (integer) – - The time interval during which AppConfig monitors for calls to GetLatestConfiguration or for a configuration profile or from an environment. AppConfig returns an error if a user calls or for the designated configuration profile or environment. To bypass the error and delete a configuration profile or an environment, specify - BYPASSfor the- DeletionProtectionCheckparameter for either or .
 
 
 
 - Exceptions