aws_sdk_workspacesweb/client/update_user_settings.rs
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`UpdateUserSettings`](crate::operation::update_user_settings::builders::UpdateUserSettingsFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`user_settings_arn(impl Into<String>)`](crate::operation::update_user_settings::builders::UpdateUserSettingsFluentBuilder::user_settings_arn) / [`set_user_settings_arn(Option<String>)`](crate::operation::update_user_settings::builders::UpdateUserSettingsFluentBuilder::set_user_settings_arn):<br>required: **true**<br><p>The ARN of the user settings.</p><br>
/// - [`copy_allowed(EnabledType)`](crate::operation::update_user_settings::builders::UpdateUserSettingsFluentBuilder::copy_allowed) / [`set_copy_allowed(Option<EnabledType>)`](crate::operation::update_user_settings::builders::UpdateUserSettingsFluentBuilder::set_copy_allowed):<br>required: **false**<br><p>Specifies whether the user can copy text from the streaming session to the local device.</p><br>
/// - [`paste_allowed(EnabledType)`](crate::operation::update_user_settings::builders::UpdateUserSettingsFluentBuilder::paste_allowed) / [`set_paste_allowed(Option<EnabledType>)`](crate::operation::update_user_settings::builders::UpdateUserSettingsFluentBuilder::set_paste_allowed):<br>required: **false**<br><p>Specifies whether the user can paste text from the local device to the streaming session.</p><br>
/// - [`download_allowed(EnabledType)`](crate::operation::update_user_settings::builders::UpdateUserSettingsFluentBuilder::download_allowed) / [`set_download_allowed(Option<EnabledType>)`](crate::operation::update_user_settings::builders::UpdateUserSettingsFluentBuilder::set_download_allowed):<br>required: **false**<br><p>Specifies whether the user can download files from the streaming session to the local device.</p><br>
/// - [`upload_allowed(EnabledType)`](crate::operation::update_user_settings::builders::UpdateUserSettingsFluentBuilder::upload_allowed) / [`set_upload_allowed(Option<EnabledType>)`](crate::operation::update_user_settings::builders::UpdateUserSettingsFluentBuilder::set_upload_allowed):<br>required: **false**<br><p>Specifies whether the user can upload files from the local device to the streaming session.</p><br>
/// - [`print_allowed(EnabledType)`](crate::operation::update_user_settings::builders::UpdateUserSettingsFluentBuilder::print_allowed) / [`set_print_allowed(Option<EnabledType>)`](crate::operation::update_user_settings::builders::UpdateUserSettingsFluentBuilder::set_print_allowed):<br>required: **false**<br><p>Specifies whether the user can print to the local device.</p><br>
/// - [`disconnect_timeout_in_minutes(i32)`](crate::operation::update_user_settings::builders::UpdateUserSettingsFluentBuilder::disconnect_timeout_in_minutes) / [`set_disconnect_timeout_in_minutes(Option<i32>)`](crate::operation::update_user_settings::builders::UpdateUserSettingsFluentBuilder::set_disconnect_timeout_in_minutes):<br>required: **false**<br><p>The amount of time that a streaming session remains active after users disconnect.</p><br>
/// - [`idle_disconnect_timeout_in_minutes(i32)`](crate::operation::update_user_settings::builders::UpdateUserSettingsFluentBuilder::idle_disconnect_timeout_in_minutes) / [`set_idle_disconnect_timeout_in_minutes(Option<i32>)`](crate::operation::update_user_settings::builders::UpdateUserSettingsFluentBuilder::set_idle_disconnect_timeout_in_minutes):<br>required: **false**<br><p>The amount of time that users can be idle (inactive) before they are disconnected from their streaming session and the disconnect timeout interval begins.</p><br>
/// - [`client_token(impl Into<String>)`](crate::operation::update_user_settings::builders::UpdateUserSettingsFluentBuilder::client_token) / [`set_client_token(Option<String>)`](crate::operation::update_user_settings::builders::UpdateUserSettingsFluentBuilder::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 return 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>
/// - [`cookie_synchronization_configuration(CookieSynchronizationConfiguration)`](crate::operation::update_user_settings::builders::UpdateUserSettingsFluentBuilder::cookie_synchronization_configuration) / [`set_cookie_synchronization_configuration(Option<CookieSynchronizationConfiguration>)`](crate::operation::update_user_settings::builders::UpdateUserSettingsFluentBuilder::set_cookie_synchronization_configuration):<br>required: **false**<br><p>The configuration that specifies which cookies should be synchronized from the end user's local browser to the remote browser.</p> <p>If the allowlist and blocklist are empty, the configuration becomes null.</p><br>
/// - [`deep_link_allowed(EnabledType)`](crate::operation::update_user_settings::builders::UpdateUserSettingsFluentBuilder::deep_link_allowed) / [`set_deep_link_allowed(Option<EnabledType>)`](crate::operation::update_user_settings::builders::UpdateUserSettingsFluentBuilder::set_deep_link_allowed):<br>required: **false**<br><p>Specifies whether the user can use deep links that open automatically when connecting to a session.</p><br>
/// - On success, responds with [`UpdateUserSettingsOutput`](crate::operation::update_user_settings::UpdateUserSettingsOutput) with field(s):
/// - [`user_settings(Option<UserSettings>)`](crate::operation::update_user_settings::UpdateUserSettingsOutput::user_settings): <p>The user settings.</p>
/// - On failure, responds with [`SdkError<UpdateUserSettingsError>`](crate::operation::update_user_settings::UpdateUserSettingsError)
pub fn update_user_settings(&self) -> crate::operation::update_user_settings::builders::UpdateUserSettingsFluentBuilder {
crate::operation::update_user_settings::builders::UpdateUserSettingsFluentBuilder::new(self.handle.clone())
}
}