aws_sdk_workspacesweb/client/create_data_protection_settings.rs
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`CreateDataProtectionSettings`](crate::operation::create_data_protection_settings::builders::CreateDataProtectionSettingsFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`display_name(impl Into<String>)`](crate::operation::create_data_protection_settings::builders::CreateDataProtectionSettingsFluentBuilder::display_name) / [`set_display_name(Option<String>)`](crate::operation::create_data_protection_settings::builders::CreateDataProtectionSettingsFluentBuilder::set_display_name):<br>required: **false**<br><p>The display name of the data protection settings.</p><br>
/// - [`description(impl Into<String>)`](crate::operation::create_data_protection_settings::builders::CreateDataProtectionSettingsFluentBuilder::description) / [`set_description(Option<String>)`](crate::operation::create_data_protection_settings::builders::CreateDataProtectionSettingsFluentBuilder::set_description):<br>required: **false**<br><p>The description of the data protection settings.</p><br>
/// - [`tags(Tag)`](crate::operation::create_data_protection_settings::builders::CreateDataProtectionSettingsFluentBuilder::tags) / [`set_tags(Option<Vec::<Tag>>)`](crate::operation::create_data_protection_settings::builders::CreateDataProtectionSettingsFluentBuilder::set_tags):<br>required: **false**<br><p>The tags to add to the data protection settings resource. A tag is a key-value pair.</p><br>
/// - [`customer_managed_key(impl Into<String>)`](crate::operation::create_data_protection_settings::builders::CreateDataProtectionSettingsFluentBuilder::customer_managed_key) / [`set_customer_managed_key(Option<String>)`](crate::operation::create_data_protection_settings::builders::CreateDataProtectionSettingsFluentBuilder::set_customer_managed_key):<br>required: **false**<br><p>The custom managed key of the data protection settings.</p><br>
/// - [`additional_encryption_context(impl Into<String>, impl Into<String>)`](crate::operation::create_data_protection_settings::builders::CreateDataProtectionSettingsFluentBuilder::additional_encryption_context) / [`set_additional_encryption_context(Option<HashMap::<String, String>>)`](crate::operation::create_data_protection_settings::builders::CreateDataProtectionSettingsFluentBuilder::set_additional_encryption_context):<br>required: **false**<br><p>Additional encryption context of the data protection settings.</p><br>
/// - [`inline_redaction_configuration(InlineRedactionConfiguration)`](crate::operation::create_data_protection_settings::builders::CreateDataProtectionSettingsFluentBuilder::inline_redaction_configuration) / [`set_inline_redaction_configuration(Option<InlineRedactionConfiguration>)`](crate::operation::create_data_protection_settings::builders::CreateDataProtectionSettingsFluentBuilder::set_inline_redaction_configuration):<br>required: **false**<br><p>The inline redaction configuration of the data protection settings that will be applied to all sessions.</p><br>
/// - [`client_token(impl Into<String>)`](crate::operation::create_data_protection_settings::builders::CreateDataProtectionSettingsFluentBuilder::client_token) / [`set_client_token(Option<String>)`](crate::operation::create_data_protection_settings::builders::CreateDataProtectionSettingsFluentBuilder::set_client_token):<br>required: **false**<br><p>A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. Idempotency ensures that an API request completes only once. With an idempotent request, if the original request completes successfully, subsequent retries with the same client token returns the result from the original successful request.</p> <p>If you do not specify a client token, one is automatically generated by the Amazon Web Services SDK.</p><br>
/// - On success, responds with [`CreateDataProtectionSettingsOutput`](crate::operation::create_data_protection_settings::CreateDataProtectionSettingsOutput) with field(s):
/// - [`data_protection_settings_arn(String)`](crate::operation::create_data_protection_settings::CreateDataProtectionSettingsOutput::data_protection_settings_arn): <p>The ARN of the data protection settings resource.</p>
/// - On failure, responds with [`SdkError<CreateDataProtectionSettingsError>`](crate::operation::create_data_protection_settings::CreateDataProtectionSettingsError)
pub fn create_data_protection_settings(
&self,
) -> crate::operation::create_data_protection_settings::builders::CreateDataProtectionSettingsFluentBuilder {
crate::operation::create_data_protection_settings::builders::CreateDataProtectionSettingsFluentBuilder::new(self.handle.clone())
}
}