#[non_exhaustive]pub struct UpdateUserSettingsInput { /* private fields */ }
Implementations§
source§impl UpdateUserSettingsInput
impl UpdateUserSettingsInput
sourcepub async fn make_operation(
self,
_config: &Config
) -> Result<Operation<UpdateUserSettings, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
self,
_config: &Config
) -> Result<Operation<UpdateUserSettings, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<UpdateUserSettings
>
Examples found in repository?
4838 4839 4840 4841 4842 4843 4844 4845 4846 4847 4848 4849 4850 4851 4852 4853 4854 4855 4856 4857 4858 4859 4860 4861 4862 4863 4864 4865 4866 4867 4868 4869 4870 4871 4872 4873 4874 4875 4876 4877 4878 4879 4880
pub async fn customize(
self,
) -> std::result::Result<
crate::operation::customize::CustomizableOperation<
crate::operation::UpdateUserSettings,
aws_http::retry::AwsResponseRetryClassifier,
>,
aws_smithy_http::result::SdkError<crate::error::UpdateUserSettingsError>,
> {
let handle = self.handle.clone();
let operation = self
.inner
.build()
.map_err(aws_smithy_http::result::SdkError::construction_failure)?
.make_operation(&handle.conf)
.await
.map_err(aws_smithy_http::result::SdkError::construction_failure)?;
Ok(crate::operation::customize::CustomizableOperation { handle, operation })
}
/// 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](aws_smithy_types::retry::RetryConfig), which can be
/// set when configuring the client.
pub async fn send(
self,
) -> std::result::Result<
crate::output::UpdateUserSettingsOutput,
aws_smithy_http::result::SdkError<crate::error::UpdateUserSettingsError>,
> {
let op = self
.inner
.build()
.map_err(aws_smithy_http::result::SdkError::construction_failure)?
.make_operation(&self.handle.conf)
.await
.map_err(aws_smithy_http::result::SdkError::construction_failure)?;
self.handle.client.call(op).await
}
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture UpdateUserSettingsInput
.
source§impl UpdateUserSettingsInput
impl UpdateUserSettingsInput
sourcepub fn user_settings_arn(&self) -> Option<&str>
pub fn user_settings_arn(&self) -> Option<&str>
The ARN of the user settings.
sourcepub fn copy_allowed(&self) -> Option<&EnabledType>
pub fn copy_allowed(&self) -> Option<&EnabledType>
Specifies whether the user can copy text from the streaming session to the local device.
sourcepub fn paste_allowed(&self) -> Option<&EnabledType>
pub fn paste_allowed(&self) -> Option<&EnabledType>
Specifies whether the user can paste text from the local device to the streaming session.
sourcepub fn download_allowed(&self) -> Option<&EnabledType>
pub fn download_allowed(&self) -> Option<&EnabledType>
Specifies whether the user can download files from the streaming session to the local device.
sourcepub fn upload_allowed(&self) -> Option<&EnabledType>
pub fn upload_allowed(&self) -> Option<&EnabledType>
Specifies whether the user can upload files from the local device to the streaming session.
sourcepub fn print_allowed(&self) -> Option<&EnabledType>
pub fn print_allowed(&self) -> Option<&EnabledType>
Specifies whether the user can print to the local device.
sourcepub fn disconnect_timeout_in_minutes(&self) -> Option<i32>
pub fn disconnect_timeout_in_minutes(&self) -> Option<i32>
The amount of time that a streaming session remains active after users disconnect.
sourcepub fn idle_disconnect_timeout_in_minutes(&self) -> Option<i32>
pub fn idle_disconnect_timeout_in_minutes(&self) -> Option<i32>
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) -> Option<&str>
pub fn client_token(&self) -> Option<&str>
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 UpdateUserSettingsInput
impl Clone for UpdateUserSettingsInput
source§fn clone(&self) -> UpdateUserSettingsInput
fn clone(&self) -> UpdateUserSettingsInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more