update_browser_settings

WorkSpacesWeb.Client.update_browser_settings(**kwargs)

Updates browser settings.

See also: AWS API Documentation

Request Syntax

response = client.update_browser_settings(
    browserPolicy='string',
    browserSettingsArn='string',
    clientToken='string'
)
Parameters
  • browserPolicy (string) -- A JSON string containing Chrome Enterprise policies that will be applied to all streaming sessions.
  • browserSettingsArn (string) --

    [REQUIRED]

    The ARN of the browser settings.

  • clientToken (string) --

    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 AWS SDK.

    This field is autopopulated if not provided.

Return type

dict

Returns

Response Syntax

{
    'browserSettings': {
        'associatedPortalArns': [
            'string',
        ],
        'browserPolicy': 'string',
        'browserSettingsArn': 'string'
    }
}

Response Structure

  • (dict) --

    • browserSettings (dict) --

      The browser settings.

      • associatedPortalArns (list) --

        A list of web portal ARNs that this browser settings is associated with.

        • (string) --
      • browserPolicy (string) --

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

      • browserSettingsArn (string) --

        The ARN of the browser settings.

Exceptions

  • WorkSpacesWeb.Client.exceptions.InternalServerException
  • WorkSpacesWeb.Client.exceptions.ResourceNotFoundException
  • WorkSpacesWeb.Client.exceptions.AccessDeniedException
  • WorkSpacesWeb.Client.exceptions.ThrottlingException
  • WorkSpacesWeb.Client.exceptions.ValidationException