create_browser_settings
¶
create_browser_settings(
*,
config_overrides: Optional[WorkSpacesWebClientConfig] = None,
tags: Optional[TagList] = None,
customer_managed_key: Optional[keyArn] = None,
additional_encryption_context: Optional[EncryptionContextMap] = None,
browser_policy: Optional[BrowserPolicy] = None,
client_token: Optional[ClientToken] = None,
web_content_filtering_policy: Optional[WebContentFilteringPolicy] = None,
) -> CreateBrowserSettingsResponse
Creates a browser settings resource that can be associated with a web portal. Once associated with a web portal, browser settings control how the browser will behave once a user starts a streaming session for the web portal.
Parameters:
-
tags(Optional[TagList], default:None) –The tags to add to the browser settings resource. A tag is a key-value pair.
-
customer_managed_key(Optional[keyArn], default:None) –The custom managed key of the browser settings.
-
additional_encryption_context(Optional[EncryptionContextMap], default:None) –Additional encryption context of the browser settings.
-
browser_policy(Optional[BrowserPolicy], default:None) –A JSON string containing Chrome Enterprise policies that will be applied to all streaming sessions.
-
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 returns 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.
-
web_content_filtering_policy(Optional[WebContentFilteringPolicy], default:None) –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.
Raises:
-
AccessDeniedException–Access is denied.
-
ConflictException–There is a conflict.
-
InternalServerException–There is an internal server error.
-
ResourceNotFoundException–The resource cannot be found.
-
ServiceQuotaExceededException–The service quota has been exceeded.
-
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/work_spaces_web.py
834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 | |