update_user_settings
async
¶
update_user_settings(
user_settings_arn: ARN,
*,
config_overrides: Optional[AsyncWorkSpacesWebClientConfig] = 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/async_work_spaces_web.py
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 5558 5559 5560 5561 5562 5563 5564 5565 5566 5567 5568 5569 5570 5571 5572 5573 5574 5575 5576 5577 5578 5579 5580 5581 5582 5583 5584 5585 5586 5587 5588 5589 5590 5591 5592 5593 5594 5595 5596 5597 5598 5599 5600 5601 5602 5603 5604 5605 5606 5607 5608 5609 5610 5611 5612 5613 5614 5615 5616 5617 5618 5619 5620 5621 5622 5623 5624 5625 5626 5627 5628 5629 5630 | |