Backup / Client / update_region_settings
update_region_settings#
- Backup.Client.update_region_settings(**kwargs)#
Updates the current service opt-in settings for the Region.
Use the
DescribeRegionSettings
API to determine the resource types that are supported.See also: AWS API Documentation
Request Syntax
response = client.update_region_settings( ResourceTypeOptInPreference={ 'string': True|False }, ResourceTypeManagementPreference={ 'string': True|False } )
- Parameters:
ResourceTypeOptInPreference (dict) –
Updates the list of services along with the opt-in preferences for the Region.
If resource assignments are only based on tags, then service opt-in settings are applied. If a resource type is explicitly assigned to a backup plan, such as Amazon S3, Amazon EC2, or Amazon RDS, it will be included in the backup even if the opt-in is not enabled for that particular service. If both a resource type and tags are specified in a resource assignment, the resource type specified in the backup plan takes priority over the tag condition. Service opt-in settings are disregarded in this situation.
(string) –
(boolean) –
ResourceTypeManagementPreference (dict) –
Enables or disables full Backup management of backups for a resource type. To enable full Backup management for DynamoDB along with Backup’s advanced DynamoDB backup features, follow the procedure to enable advanced DynamoDB backup programmatically.
(string) –
(boolean) –
- Returns:
None
Exceptions
Backup.Client.exceptions.ServiceUnavailableException
Backup.Client.exceptions.MissingParameterValueException
Backup.Client.exceptions.InvalidParameterValueException