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,
resource_type_opt_in_incremental: Optional[ResourceTypeOptInIncremental] = 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.
-
resource_type_opt_in_incremental(Optional[ResourceTypeOptInIncremental], default:None) –Specifies whether you opt in to incremental backups for each resource type in the Region. Opt in when you want to reduce backup storage and backup time for large resources that change infrequently. Incremental backup opt-in is currently available for Amazon DynamoDB.
To view your current incremental backup settings, use the
DescribeRegionSettingsAPI. For the resource types that each Backup feature supports, see the Feature availability by resource table.
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.
Source code in docs_src/capo_backup/_services/backup.py
8031 8032 8033 8034 8035 8036 8037 8038 8039 8040 8041 8042 8043 8044 8045 8046 8047 8048 8049 8050 8051 8052 8053 8054 8055 8056 8057 8058 8059 8060 8061 8062 8063 8064 8065 8066 8067 8068 8069 8070 8071 8072 8073 8074 8075 8076 8077 8078 8079 8080 8081 8082 8083 8084 8085 8086 8087 8088 8089 8090 8091 8092 | |