pub struct UpdateUserSettings { /* private fields */ }
Expand description
Fluent builder constructing a request to UpdateUserSettings
.
Updates the user settings.
Implementations§
source§impl UpdateUserSettings
impl UpdateUserSettings
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<UpdateUserSettings, AwsResponseRetryClassifier>, SdkError<UpdateUserSettingsError>>
pub async fn customize(
self
) -> Result<CustomizableOperation<UpdateUserSettings, AwsResponseRetryClassifier>, SdkError<UpdateUserSettingsError>>
Consume this builder, creating a customizable operation that can be modified before being sent. The operation’s inner http::Request can be modified as well.
sourcepub async fn send(
self
) -> Result<UpdateUserSettingsOutput, SdkError<UpdateUserSettingsError>>
pub async fn send(
self
) -> Result<UpdateUserSettingsOutput, SdkError<UpdateUserSettingsError>>
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub fn user_settings_arn(self, input: impl Into<String>) -> Self
pub fn user_settings_arn(self, input: impl Into<String>) -> Self
The ARN of the user settings.
sourcepub fn set_user_settings_arn(self, input: Option<String>) -> Self
pub fn set_user_settings_arn(self, input: Option<String>) -> Self
The ARN of the user settings.
sourcepub fn copy_allowed(self, input: EnabledType) -> Self
pub fn copy_allowed(self, input: EnabledType) -> Self
Specifies whether the user can copy text from the streaming session to the local device.
sourcepub fn set_copy_allowed(self, input: Option<EnabledType>) -> Self
pub fn set_copy_allowed(self, input: Option<EnabledType>) -> Self
Specifies whether the user can copy text from the streaming session to the local device.
sourcepub fn paste_allowed(self, input: EnabledType) -> Self
pub fn paste_allowed(self, input: EnabledType) -> Self
Specifies whether the user can paste text from the local device to the streaming session.
sourcepub fn set_paste_allowed(self, input: Option<EnabledType>) -> Self
pub fn set_paste_allowed(self, input: Option<EnabledType>) -> Self
Specifies whether the user can paste text from the local device to the streaming session.
sourcepub fn download_allowed(self, input: EnabledType) -> Self
pub fn download_allowed(self, input: EnabledType) -> Self
Specifies whether the user can download files from the streaming session to the local device.
sourcepub fn set_download_allowed(self, input: Option<EnabledType>) -> Self
pub fn set_download_allowed(self, input: Option<EnabledType>) -> Self
Specifies whether the user can download files from the streaming session to the local device.
sourcepub fn upload_allowed(self, input: EnabledType) -> Self
pub fn upload_allowed(self, input: EnabledType) -> Self
Specifies whether the user can upload files from the local device to the streaming session.
sourcepub fn set_upload_allowed(self, input: Option<EnabledType>) -> Self
pub fn set_upload_allowed(self, input: Option<EnabledType>) -> Self
Specifies whether the user can upload files from the local device to the streaming session.
sourcepub fn print_allowed(self, input: EnabledType) -> Self
pub fn print_allowed(self, input: EnabledType) -> Self
Specifies whether the user can print to the local device.
sourcepub fn set_print_allowed(self, input: Option<EnabledType>) -> Self
pub fn set_print_allowed(self, input: Option<EnabledType>) -> Self
Specifies whether the user can print to the local device.
sourcepub fn disconnect_timeout_in_minutes(self, input: i32) -> Self
pub fn disconnect_timeout_in_minutes(self, input: i32) -> Self
The amount of time that a streaming session remains active after users disconnect.
sourcepub fn set_disconnect_timeout_in_minutes(self, input: Option<i32>) -> Self
pub fn set_disconnect_timeout_in_minutes(self, input: Option<i32>) -> Self
The amount of time that a streaming session remains active after users disconnect.
sourcepub fn idle_disconnect_timeout_in_minutes(self, input: i32) -> Self
pub fn idle_disconnect_timeout_in_minutes(self, input: i32) -> Self
The amount of time that users can be idle (inactive) before they are disconnected from their streaming session and the disconnect timeout interval begins.
sourcepub fn set_idle_disconnect_timeout_in_minutes(self, input: Option<i32>) -> Self
pub fn set_idle_disconnect_timeout_in_minutes(self, input: Option<i32>) -> Self
The amount of time that users can be idle (inactive) before they are disconnected from their streaming session and the disconnect timeout interval begins.
sourcepub fn client_token(self, input: impl Into<String>) -> Self
pub fn client_token(self, input: impl Into<String>) -> Self
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.
If you do not specify a client token, one is automatically generated by the AWS SDK.
sourcepub fn set_client_token(self, input: Option<String>) -> Self
pub fn set_client_token(self, input: Option<String>) -> Self
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.
If you do not specify a client token, one is automatically generated by the AWS SDK.
Trait Implementations§
source§impl Clone for UpdateUserSettings
impl Clone for UpdateUserSettings
source§fn clone(&self) -> UpdateUserSettings
fn clone(&self) -> UpdateUserSettings
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more