create_user_settings
async
¶
create_user_settings(
copy_allowed: EnabledType,
paste_allowed: EnabledType,
download_allowed: EnabledType,
upload_allowed: EnabledType,
print_allowed: EnabledType,
*,
config_overrides: Optional[AsyncWorkSpacesWebClientConfig] = 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/async_work_spaces_web.py
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 5340 5341 5342 5343 5344 5345 5346 5347 5348 5349 5350 5351 5352 5353 5354 5355 5356 5357 5358 5359 5360 5361 5362 5363 5364 5365 5366 5367 5368 5369 5370 5371 5372 5373 5374 5375 5376 5377 5378 5379 5380 5381 5382 5383 5384 5385 5386 5387 5388 5389 5390 5391 5392 5393 5394 5395 5396 5397 5398 5399 5400 5401 5402 5403 5404 5405 5406 5407 5408 5409 5410 | |