aws_sdk_backup/client/update_region_settings.rs
1// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
2impl super::Client {
3 /// Constructs a fluent builder for the [`UpdateRegionSettings`](crate::operation::update_region_settings::builders::UpdateRegionSettingsFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`resource_type_opt_in_preference(impl Into<String>, bool)`](crate::operation::update_region_settings::builders::UpdateRegionSettingsFluentBuilder::resource_type_opt_in_preference) / [`set_resource_type_opt_in_preference(Option<HashMap::<String, bool>>)`](crate::operation::update_region_settings::builders::UpdateRegionSettingsFluentBuilder::set_resource_type_opt_in_preference):<br>required: **false**<br><p>Updates the list of services along with the opt-in preferences for the Region.</p> <p>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.</p><br>
7 /// - [`resource_type_management_preference(impl Into<String>, bool)`](crate::operation::update_region_settings::builders::UpdateRegionSettingsFluentBuilder::resource_type_management_preference) / [`set_resource_type_management_preference(Option<HashMap::<String, bool>>)`](crate::operation::update_region_settings::builders::UpdateRegionSettingsFluentBuilder::set_resource_type_management_preference):<br>required: **false**<br><p>Enables or disables full Backup management of backups for a resource type. To enable full Backup management for DynamoDB along with <a href="https://docs.aws.amazon.com/aws-backup/latest/devguide/advanced-ddb-backup.html"> Backup's advanced DynamoDB backup features</a>, follow the procedure to <a href="https://docs.aws.amazon.com/aws-backup/latest/devguide/advanced-ddb-backup.html#advanced-ddb-backup-enable-cli"> enable advanced DynamoDB backup programmatically</a>.</p><br>
8 /// - On success, responds with [`UpdateRegionSettingsOutput`](crate::operation::update_region_settings::UpdateRegionSettingsOutput)
9 /// - On failure, responds with [`SdkError<UpdateRegionSettingsError>`](crate::operation::update_region_settings::UpdateRegionSettingsError)
10 pub fn update_region_settings(&self) -> crate::operation::update_region_settings::builders::UpdateRegionSettingsFluentBuilder {
11 crate::operation::update_region_settings::builders::UpdateRegionSettingsFluentBuilder::new(self.handle.clone())
12 }
13}