WorkSpacesWeb / Client / update_browser_settings

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 Amazon Web Services SDK.

    This field is autopopulated if not provided.

Return type:

dict

Returns:

Response Syntax

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

Response Structure

  • (dict) –

    • browserSettings (dict) –

      The browser settings.

      • additionalEncryptionContext (dict) –

        The additional encryption context of the browser settings.

        • (string) –

          • (string) –

      • 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.

      • customerManagedKey (string) –

        The customer managed key used to encrypt sensitive information in the browser settings.

Exceptions

  • WorkSpacesWeb.Client.exceptions.InternalServerException

  • WorkSpacesWeb.Client.exceptions.ResourceNotFoundException

  • WorkSpacesWeb.Client.exceptions.AccessDeniedException

  • WorkSpacesWeb.Client.exceptions.ThrottlingException

  • WorkSpacesWeb.Client.exceptions.ValidationException