Skip to content

Update User Settings

workspacesweb_update_user_settings R Documentation

Updates the user settings

Description

Updates the user settings.

Usage

workspacesweb_update_user_settings(userSettingsArn, copyAllowed,
  pasteAllowed, downloadAllowed, uploadAllowed, printAllowed,
  disconnectTimeoutInMinutes, idleDisconnectTimeoutInMinutes, clientToken,
  cookieSynchronizationConfiguration, deepLinkAllowed,
  toolbarConfiguration, brandingConfigurationInput, webAuthnAllowed)

Arguments

userSettingsArn

[required] The ARN of the user settings.

copyAllowed

Specifies whether the user can copy text from the streaming session to the local device.

pasteAllowed

Specifies whether the user can paste text from the local device to the streaming session.

downloadAllowed

Specifies whether the user can download files from the streaming session to the local device.

uploadAllowed

Specifies whether the user can upload files from the local device to the streaming session.

printAllowed

Specifies whether the user can print to the local device.

disconnectTimeoutInMinutes

The amount of time that a streaming session remains active after users disconnect.

idleDisconnectTimeoutInMinutes

The amount of time that users can be idle (inactive) before they are disconnected from their streaming session and the disconnect timeout interval begins.

clientToken

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.

cookieSynchronizationConfiguration

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.

deepLinkAllowed

Specifies whether the user can use deep links that open automatically when connecting to a session.

toolbarConfiguration

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.

brandingConfigurationInput

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.

webAuthnAllowed

Specifies whether the user can use WebAuthn redirection for passwordless login to websites within the streaming session.

Value

A list with the following syntax:

list(
  userSettings = list(
    userSettingsArn = "string",
    associatedPortalArns = list(
      "string"
    ),
    copyAllowed = "Disabled"|"Enabled",
    pasteAllowed = "Disabled"|"Enabled",
    downloadAllowed = "Disabled"|"Enabled",
    uploadAllowed = "Disabled"|"Enabled",
    printAllowed = "Disabled"|"Enabled",
    disconnectTimeoutInMinutes = 123,
    idleDisconnectTimeoutInMinutes = 123,
    cookieSynchronizationConfiguration = list(
      allowlist = list(
        list(
          domain = "string",
          name = "string",
          path = "string"
        )
      ),
      blocklist = list(
        list(
          domain = "string",
          name = "string",
          path = "string"
        )
      )
    ),
    customerManagedKey = "string",
    additionalEncryptionContext = list(
      "string"
    ),
    deepLinkAllowed = "Disabled"|"Enabled",
    toolbarConfiguration = list(
      toolbarType = "Floating"|"Docked",
      visualMode = "Dark"|"Light",
      hiddenToolbarItems = list(
        "Windows"|"DualMonitor"|"FullScreen"|"Webcam"|"Microphone"
      ),
      maxDisplayResolution = "size4096X2160"|"size3840X2160"|"size3440X1440"|"size2560X1440"|"size1920X1080"|"size1280X720"|"size1024X768"|"size800X600"
    ),
    brandingConfiguration = list(
      logo = list(
        mimeType = "image/png"|"image/jpeg"|"image/x-icon",
        fileExtension = "string",
        lastUploadTimestamp = as.POSIXct(
          "2015-01-01"
        )
      ),
      wallpaper = list(
        mimeType = "image/png"|"image/jpeg"|"image/x-icon",
        fileExtension = "string",
        lastUploadTimestamp = as.POSIXct(
          "2015-01-01"
        )
      ),
      favicon = list(
        mimeType = "image/png"|"image/jpeg"|"image/x-icon",
        fileExtension = "string",
        lastUploadTimestamp = as.POSIXct(
          "2015-01-01"
        )
      ),
      localizedStrings = list(
        list(
          browserTabTitle = "string",
          welcomeText = "string",
          loginTitle = "string",
          loginDescription = "string",
          loginButtonText = "string",
          contactLink = "string",
          contactButtonText = "string",
          loadingText = "string"
        )
      ),
      colorTheme = "Light"|"Dark",
      termsOfService = "string"
    ),
    webAuthnAllowed = "Disabled"|"Enabled"
  )
)

Request syntax

svc$update_user_settings(
  userSettingsArn = "string",
  copyAllowed = "Disabled"|"Enabled",
  pasteAllowed = "Disabled"|"Enabled",
  downloadAllowed = "Disabled"|"Enabled",
  uploadAllowed = "Disabled"|"Enabled",
  printAllowed = "Disabled"|"Enabled",
  disconnectTimeoutInMinutes = 123,
  idleDisconnectTimeoutInMinutes = 123,
  clientToken = "string",
  cookieSynchronizationConfiguration = list(
    allowlist = list(
      list(
        domain = "string",
        name = "string",
        path = "string"
      )
    ),
    blocklist = list(
      list(
        domain = "string",
        name = "string",
        path = "string"
      )
    )
  ),
  deepLinkAllowed = "Disabled"|"Enabled",
  toolbarConfiguration = list(
    toolbarType = "Floating"|"Docked",
    visualMode = "Dark"|"Light",
    hiddenToolbarItems = list(
      "Windows"|"DualMonitor"|"FullScreen"|"Webcam"|"Microphone"
    ),
    maxDisplayResolution = "size4096X2160"|"size3840X2160"|"size3440X1440"|"size2560X1440"|"size1920X1080"|"size1280X720"|"size1024X768"|"size800X600"
  ),
  brandingConfigurationInput = list(
    logo = list(
      blob = raw,
      s3Uri = "string"
    ),
    wallpaper = list(
      blob = raw,
      s3Uri = "string"
    ),
    favicon = list(
      blob = raw,
      s3Uri = "string"
    ),
    localizedStrings = list(
      list(
        browserTabTitle = "string",
        welcomeText = "string",
        loginTitle = "string",
        loginDescription = "string",
        loginButtonText = "string",
        contactLink = "string",
        contactButtonText = "string",
        loadingText = "string"
      )
    ),
    colorTheme = "Light"|"Dark",
    termsOfService = "string"
  ),
  webAuthnAllowed = "Disabled"|"Enabled"
)