Skip to content

Update Browser Settings

workspacesweb_update_browser_settings R Documentation

Updates browser settings

Description

Updates browser settings.

Usage

workspacesweb_update_browser_settings(browserSettingsArn, browserPolicy,
  clientToken, webContentFilteringPolicy)

Arguments

browserSettingsArn

[required] The ARN of the browser settings.

browserPolicy

A JSON string containing Chrome Enterprise policies that will be applied to all streaming sessions.

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.

webContentFilteringPolicy

The policy that specifies which URLs end users are allowed to access or which URLs or domain categories they are restricted from accessing for enhanced security.

Value

A list with the following syntax:

list(
  browserSettings = list(
    browserSettingsArn = "string",
    associatedPortalArns = list(
      "string"
    ),
    browserPolicy = "string",
    customerManagedKey = "string",
    additionalEncryptionContext = list(
      "string"
    ),
    webContentFilteringPolicy = list(
      blockedCategories = list(
        "Cults"|"Gambling"|"Nudity"|"Pornography"|"SexEducation"|"Tasteless"|"Violence"|"DownloadSites"|"ImageSharing"|"PeerToPeer"|"StreamingMediaAndDownloads"|"GenerativeAI"|"CriminalActivity"|"Hacking"|"HateAndIntolerance"|"IllegalDrug"|"IllegalSoftware"|"SchoolCheating"|"SelfHarm"|"Weapons"|"Chat"|"Games"|"InstantMessaging"|"ProfessionalNetwork"|"SocialNetworking"|"WebBasedEmail"|"ParkedDomains"
      ),
      allowedUrls = list(
        "string"
      ),
      blockedUrls = list(
        "string"
      )
    )
  )
)

Request syntax

svc$update_browser_settings(
  browserSettingsArn = "string",
  browserPolicy = "string",
  clientToken = "string",
  webContentFilteringPolicy = list(
    blockedCategories = list(
      "Cults"|"Gambling"|"Nudity"|"Pornography"|"SexEducation"|"Tasteless"|"Violence"|"DownloadSites"|"ImageSharing"|"PeerToPeer"|"StreamingMediaAndDownloads"|"GenerativeAI"|"CriminalActivity"|"Hacking"|"HateAndIntolerance"|"IllegalDrug"|"IllegalSoftware"|"SchoolCheating"|"SelfHarm"|"Weapons"|"Chat"|"Games"|"InstantMessaging"|"ProfessionalNetwork"|"SocialNetworking"|"WebBasedEmail"|"ParkedDomains"
    ),
    allowedUrls = list(
      "string"
    ),
    blockedUrls = list(
      "string"
    )
  )
)