update_region_settings
async
¶
update_region_settings(
*,
config_overrides: Optional[AsyncBackupClientConfig] = 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/async_backup.py
8147 8148 8149 8150 8151 8152 8153 8154 8155 8156 8157 8158 8159 8160 8161 8162 8163 8164 8165 8166 8167 8168 8169 8170 8171 8172 8173 8174 8175 8176 8177 8178 8179 8180 8181 8182 8183 8184 8185 8186 8187 8188 8189 8190 8191 8192 8193 8194 8195 8196 8197 8198 8199 8200 8201 8202 8203 8204 8205 8206 8207 8208 8209 | |