aws_sdk_workspacesweb/client/
get_data_protection_settings.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`GetDataProtectionSettings`](crate::operation::get_data_protection_settings::builders::GetDataProtectionSettingsFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`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>
    /// - On success, responds with [`GetDataProtectionSettingsOutput`](crate::operation::get_data_protection_settings::GetDataProtectionSettingsOutput) with field(s):
    ///   - [`data_protection_settings(Option<DataProtectionSettings>)`](crate::operation::get_data_protection_settings::GetDataProtectionSettingsOutput::data_protection_settings): <p>The data protection settings.</p>
    /// - On failure, responds with [`SdkError<GetDataProtectionSettingsError>`](crate::operation::get_data_protection_settings::GetDataProtectionSettingsError)
    pub fn get_data_protection_settings(&self) -> crate::operation::get_data_protection_settings::builders::GetDataProtectionSettingsFluentBuilder {
        crate::operation::get_data_protection_settings::builders::GetDataProtectionSettingsFluentBuilder::new(self.handle.clone())
    }
}