update_region_settings
¶
update_region_settings(
*,
config_overrides: Optional[BackupClientConfig] = None,
resource_type_opt_in_preference: Optional[ResourceTypeOptInPreference] = None,
resource_type_management_preference: Optional[
ResourceTypeManagementPreference
] = None,
) -> None
Updates the current service opt-in settings for the Region.
Use the DescribeRegionSettings API to determine the resource types that are supported.
Parameters:
-
resource_type_opt_in_preference(Optional[ResourceTypeOptInPreference], default:None) –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.
-
resource_type_management_preference(Optional[ResourceTypeManagementPreference], default:None) –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.
Raises:
-
InvalidParameterValueException–Indicates that something is wrong with a parameter's value. For example, the value is out of range.
-
MissingParameterValueException–Indicates that a required parameter is missing.
-
ServiceUnavailableException–The request failed due to a temporary failure of the server.
-
UnknownServiceError–The service returned an error code this client does not model.