update_user_settings
¶
update_user_settings(
user_settings_arn: ARN,
*,
config_overrides: Optional[WorkSpacesWebClientConfig] = None,
copy_allowed: Optional[EnabledType] = None,
paste_allowed: Optional[EnabledType] = None,
download_allowed: Optional[EnabledType] = None,
upload_allowed: Optional[EnabledType] = None,
print_allowed: Optional[EnabledType] = 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,
deep_link_allowed: Optional[EnabledType] = None,
toolbar_configuration: Optional[ToolbarConfiguration] = None,
branding_configuration_input: Optional[BrandingConfigurationUpdateInput] = None,
web_authn_allowed: Optional[EnabledType] = None,
) -> UpdateUserSettingsResponse
Updates the user settings.
Parameters:
-
user_settings_arn(ARN) –The ARN of the user settings.
-
copy_allowed(Optional[EnabledType], default:None) –Specifies whether the user can copy text from the streaming session to the local device.
-
paste_allowed(Optional[EnabledType], default:None) –Specifies whether the user can paste text from the local device to the streaming session.
-
download_allowed(Optional[EnabledType], default:None) –Specifies whether the user can download files from the streaming session to the local device.
-
upload_allowed(Optional[EnabledType], default:None) –Specifies whether the user can upload files from the local device to the streaming session.
-
print_allowed(Optional[EnabledType], default:None) –Specifies whether the user can print to the local device.
-
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 return 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.
If the allowlist and blocklist are empty, the configuration becomes null.
-
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[BrandingConfigurationUpdateInput], default:None) –The branding configuration that customizes the appearance of the web portal for end users. When updating user settings without an existing branding configuration, all fields (logo, favicon, localized strings, and color theme) are required except for wallpaper and terms of service. When updating user settings with an existing branding configuration, all fields are optional.
-
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.
-
InternalServerException–There is an internal server error.
-
ResourceNotFoundException–The resource cannot be found.
-
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
5402 5403 5404 5405 5406 5407 5408 5409 5410 5411 5412 5413 5414 5415 5416 5417 5418 5419 5420 5421 5422 5423 5424 5425 5426 5427 5428 5429 5430 5431 5432 5433 5434 5435 5436 5437 5438 5439 5440 5441 5442 5443 5444 5445 5446 5447 5448 5449 5450 5451 5452 5453 5454 5455 5456 5457 5458 5459 5460 5461 5462 5463 5464 5465 5466 5467 5468 5469 5470 5471 5472 5473 5474 5475 5476 5477 5478 5479 5480 5481 5482 5483 5484 5485 5486 5487 5488 5489 5490 5491 5492 5493 5494 5495 5496 5497 5498 5499 5500 5501 5502 5503 5504 5505 5506 5507 5508 5509 5510 5511 5512 5513 5514 5515 5516 5517 5518 5519 5520 5521 5522 5523 5524 5525 5526 5527 5528 5529 5530 5531 5532 5533 5534 5535 5536 5537 5538 5539 5540 5541 5542 5543 5544 5545 5546 5547 5548 5549 5550 5551 5552 5553 5554 5555 5556 5557 | |