#[non_exhaustive]pub struct CreateUserSettingsInput { /* private fields */ }
Implementations§
source§impl CreateUserSettingsInput
impl CreateUserSettingsInput
sourcepub async fn make_operation(
self,
_config: &Config
) -> Result<Operation<CreateUserSettings, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
self,
_config: &Config
) -> Result<Operation<CreateUserSettings, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<CreateUserSettings
>
Examples found in repository?
1732 1733 1734 1735 1736 1737 1738 1739 1740 1741 1742 1743 1744 1745 1746 1747 1748 1749 1750 1751 1752 1753 1754 1755 1756 1757 1758 1759 1760 1761 1762 1763 1764 1765 1766 1767 1768 1769 1770 1771 1772 1773 1774
pub async fn customize(
self,
) -> std::result::Result<
crate::operation::customize::CustomizableOperation<
crate::operation::CreateUserSettings,
aws_http::retry::AwsResponseRetryClassifier,
>,
aws_smithy_http::result::SdkError<crate::error::CreateUserSettingsError>,
> {
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::CreateUserSettingsOutput,
aws_smithy_http::result::SdkError<crate::error::CreateUserSettingsError>,
> {
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 CreateUserSettingsInput
.
source§impl CreateUserSettingsInput
impl CreateUserSettingsInput
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.
The tags to add to the user settings resource. A tag is a key-value pair.
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 returns 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 CreateUserSettingsInput
impl Clone for CreateUserSettingsInput
source§fn clone(&self) -> CreateUserSettingsInput
fn clone(&self) -> CreateUserSettingsInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more