create_user_settings
¶
create_user_settings(
copy_allowed: EnabledType,
paste_allowed: EnabledType,
download_allowed: EnabledType,
upload_allowed: EnabledType,
print_allowed: EnabledType,
*,
config_overrides: Optional[WorkSpacesWebClientConfig] = None,
tags: Optional[TagList] = None,
disconnect_timeout_in_minutes: Optional[DisconnectTimeoutInMinutes] = None,
idle_disconnect_timeout_in_minutes: Optional[IdleDisconnectTimeoutInMinutes] = None,
client_token: Optional[ClientToken] = None,
cookie_synchronization_configuration: Optional[
CookieSynchronizationConfiguration
] = None,
customer_managed_key: Optional[keyArn] = None,
additional_encryption_context: Optional[EncryptionContextMap] = None,
deep_link_allowed: Optional[EnabledType] = None,
toolbar_configuration: Optional[ToolbarConfiguration] = None,
branding_configuration_input: Optional[BrandingConfigurationCreateInput] = None,
web_authn_allowed: Optional[EnabledType] = None,
) -> CreateUserSettingsResponse
Creates a user settings resource that can be associated with a web portal. Once associated with a web portal, user settings control how users can transfer data between a streaming session and the their local devices.
Parameters:
-
copy_allowed(EnabledType) –Specifies whether the user can copy text from the streaming session to the local device.
-
paste_allowed(EnabledType) –Specifies whether the user can paste text from the local device to the streaming session.
-
download_allowed(EnabledType) –Specifies whether the user can download files from the streaming session to the local device.
-
upload_allowed(EnabledType) –Specifies whether the user can upload files from the local device to the streaming session.
-
print_allowed(EnabledType) –Specifies whether the user can print to the local device.
-
tags(Optional[TagList], default:None) –The tags to add to the user settings resource. A tag is a key-value pair.
-
disconnect_timeout_in_minutes(Optional[DisconnectTimeoutInMinutes], default:None) –The amount of time that a streaming session remains active after users disconnect.
-
idle_disconnect_timeout_in_minutes(Optional[IdleDisconnectTimeoutInMinutes], default:None) –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(Optional[ClientToken], default:None) –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.
-
cookie_synchronization_configuration(Optional[CookieSynchronizationConfiguration], default:None) –The configuration that specifies which cookies should be synchronized from the end user's local browser to the remote browser.
-
customer_managed_key(Optional[keyArn], default:None) –The customer managed key used to encrypt sensitive information in the user settings.
-
additional_encryption_context(Optional[EncryptionContextMap], default:None) –The additional encryption context of the user settings.
-
deep_link_allowed(Optional[EnabledType], default:None) –Specifies whether the user can use deep links that open automatically when connecting to a session.
-
toolbar_configuration(Optional[ToolbarConfiguration], default:None) –The configuration of the toolbar. This allows administrators to select the toolbar type and visual mode, set maximum display resolution for sessions, and choose which items are visible to end users during their sessions. If administrators do not modify these settings, end users retain control over their toolbar preferences.
-
branding_configuration_input(Optional[BrandingConfigurationCreateInput], default:None) –The branding configuration input that customizes the appearance of the web portal for end users. This includes a custom logo, favicon, localized strings, color theme, and optionally a wallpaper and terms of service.
-
web_authn_allowed(Optional[EnabledType], default:None) –Specifies whether the user can use WebAuthn redirection for passwordless login to websites within the streaming session.
Raises:
-
AccessDeniedException–Access is denied.
-
ConflictException–There is a conflict.
-
InternalServerException–There is an internal server error.
-
ResourceNotFoundException–The resource cannot be found.
-
ServiceQuotaExceededException–The service quota has been exceeded.
-
ThrottlingException–There is a throttling error.
-
ValidationException–There is a validation error.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_workspaces_web/_services/work_spaces_web.py
5197 5198 5199 5200 5201 5202 5203 5204 5205 5206 5207 5208 5209 5210 5211 5212 5213 5214 5215 5216 5217 5218 5219 5220 5221 5222 5223 5224 5225 5226 5227 5228 5229 5230 5231 5232 5233 5234 5235 5236 5237 5238 5239 5240 5241 5242 5243 5244 5245 5246 5247 5248 5249 5250 5251 5252 5253 5254 5255 5256 5257 5258 5259 5260 5261 5262 5263 5264 5265 5266 5267 5268 5269 5270 5271 5272 5273 5274 5275 5276 5277 5278 5279 5280 5281 5282 5283 5284 5285 5286 5287 5288 5289 5290 5291 5292 5293 5294 5295 5296 5297 5298 5299 5300 5301 5302 5303 5304 5305 5306 5307 5308 5309 5310 5311 5312 5313 5314 5315 5316 5317 5318 5319 5320 5321 5322 5323 5324 5325 5326 5327 5328 5329 5330 5331 5332 5333 5334 5335 5336 5337 5338 5339 | |