aws_sdk_workspacesweb/client/get_data_protection_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 [`GetDataProtectionSettings`](crate::operation::get_data_protection_settings::builders::GetDataProtectionSettingsFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`data_protection_settings_arn(impl Into<String>)`](crate::operation::get_data_protection_settings::builders::GetDataProtectionSettingsFluentBuilder::data_protection_settings_arn) / [`set_data_protection_settings_arn(Option<String>)`](crate::operation::get_data_protection_settings::builders::GetDataProtectionSettingsFluentBuilder::set_data_protection_settings_arn):<br>required: **true**<br><p>The ARN of the data protection settings.</p><br>
7 /// - On success, responds with [`GetDataProtectionSettingsOutput`](crate::operation::get_data_protection_settings::GetDataProtectionSettingsOutput) with field(s):
8 /// - [`data_protection_settings(Option<DataProtectionSettings>)`](crate::operation::get_data_protection_settings::GetDataProtectionSettingsOutput::data_protection_settings): <p>The data protection settings.</p>
9 /// - On failure, responds with [`SdkError<GetDataProtectionSettingsError>`](crate::operation::get_data_protection_settings::GetDataProtectionSettingsError)
10 pub fn get_data_protection_settings(&self) -> crate::operation::get_data_protection_settings::builders::GetDataProtectionSettingsFluentBuilder {
11 crate::operation::get_data_protection_settings::builders::GetDataProtectionSettingsFluentBuilder::new(self.handle.clone())
12 }
13}