#[non_exhaustive]pub struct CreateUserSettingsInput {
pub copy_allowed: Option<EnabledType>,
pub paste_allowed: Option<EnabledType>,
pub download_allowed: Option<EnabledType>,
pub upload_allowed: Option<EnabledType>,
pub print_allowed: Option<EnabledType>,
pub tags: Option<Vec<Tag>>,
pub disconnect_timeout_in_minutes: Option<i32>,
pub idle_disconnect_timeout_in_minutes: Option<i32>,
pub client_token: Option<String>,
pub cookie_synchronization_configuration: Option<CookieSynchronizationConfiguration>,
pub customer_managed_key: Option<String>,
pub additional_encryption_context: Option<HashMap<String, String>>,
}
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.copy_allowed: Option<EnabledType>
Specifies whether the user can copy text from the streaming session to the local device.
paste_allowed: Option<EnabledType>
Specifies whether the user can paste text from the local device to the streaming session.
download_allowed: Option<EnabledType>
Specifies whether the user can download files from the streaming session to the local device.
upload_allowed: Option<EnabledType>
Specifies whether the user can upload files from the local device to the streaming session.
print_allowed: 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.
disconnect_timeout_in_minutes: Option<i32>
The amount of time that a streaming session remains active after users disconnect.
idle_disconnect_timeout_in_minutes: 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.
client_token: Option<String>
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 Amazon Web Services SDK.
The configuration that specifies which cookies should be synchronized from the end user's local browser to the remote browser.
customer_managed_key: Option<String>
The customer managed key used to encrypt sensitive information in the user settings.
additional_encryption_context: Option<HashMap<String, String>>
The additional encryption context of the user settings.
Implementations§
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.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .tags.is_none()
.
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 Amazon Web Services SDK.
The configuration that specifies which cookies should be synchronized from the end user's local browser to the remote browser.
sourcepub fn customer_managed_key(&self) -> Option<&str>
pub fn customer_managed_key(&self) -> Option<&str>
The customer managed key used to encrypt sensitive information in the user settings.
source§impl CreateUserSettingsInput
impl CreateUserSettingsInput
sourcepub fn builder() -> CreateUserSettingsInputBuilder
pub fn builder() -> CreateUserSettingsInputBuilder
Creates a new builder-style object to manufacture CreateUserSettingsInput
.
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 moresource§impl Debug for CreateUserSettingsInput
impl Debug for CreateUserSettingsInput
source§impl PartialEq for CreateUserSettingsInput
impl PartialEq for CreateUserSettingsInput
source§fn eq(&self, other: &CreateUserSettingsInput) -> bool
fn eq(&self, other: &CreateUserSettingsInput) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CreateUserSettingsInput
Auto Trait Implementations§
impl Freeze for CreateUserSettingsInput
impl RefUnwindSafe for CreateUserSettingsInput
impl Send for CreateUserSettingsInput
impl Sync for CreateUserSettingsInput
impl Unpin for CreateUserSettingsInput
impl UnwindSafe for CreateUserSettingsInput
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more