WorkSpacesWeb / Client / list_user_settings
list_user_settings¶
- WorkSpacesWeb.Client.list_user_settings(**kwargs)¶
Retrieves a list of user settings.
See also: AWS API Documentation
Request Syntax
response = client.list_user_settings( nextToken='string', maxResults=123 )
- Parameters:
nextToken (string) – The pagination token used to retrieve the next page of results for this operation.
maxResults (integer) – The maximum number of results to be included in the next page.
- Return type:
dict
- Returns:
Response Syntax
{ 'userSettings': [ { 'userSettingsArn': 'string', 'copyAllowed': 'Disabled'|'Enabled', 'pasteAllowed': 'Disabled'|'Enabled', 'downloadAllowed': 'Disabled'|'Enabled', 'uploadAllowed': 'Disabled'|'Enabled', 'printAllowed': 'Disabled'|'Enabled', 'disconnectTimeoutInMinutes': 123, 'idleDisconnectTimeoutInMinutes': 123, 'cookieSynchronizationConfiguration': { 'allowlist': [ { 'domain': 'string', 'name': 'string', 'path': 'string' }, ], 'blocklist': [ { 'domain': 'string', 'name': 'string', 'path': 'string' }, ] }, 'deepLinkAllowed': 'Disabled'|'Enabled', 'toolbarConfiguration': { 'toolbarType': 'Floating'|'Docked', 'visualMode': 'Dark'|'Light', 'hiddenToolbarItems': [ 'Windows'|'DualMonitor'|'FullScreen'|'Webcam'|'Microphone', ], 'maxDisplayResolution': 'size4096X2160'|'size3840X2160'|'size3440X1440'|'size2560X1440'|'size1920X1080'|'size1280X720'|'size1024X768'|'size800X600' }, 'brandingConfiguration': { 'logo': { 'mimeType': 'image/png'|'image/jpeg'|'image/x-icon', 'fileExtension': 'string', 'lastUploadTimestamp': datetime(2015, 1, 1) }, 'wallpaper': { 'mimeType': 'image/png'|'image/jpeg'|'image/x-icon', 'fileExtension': 'string', 'lastUploadTimestamp': datetime(2015, 1, 1) }, 'favicon': { 'mimeType': 'image/png'|'image/jpeg'|'image/x-icon', 'fileExtension': 'string', 'lastUploadTimestamp': datetime(2015, 1, 1) }, 'localizedStrings': { 'string': { 'browserTabTitle': 'string', 'welcomeText': 'string', 'loginTitle': 'string', 'loginDescription': 'string', 'loginButtonText': 'string', 'contactLink': 'string', 'contactButtonText': 'string', 'loadingText': 'string' } }, 'colorTheme': 'Light'|'Dark', 'termsOfService': 'string' } }, ], 'nextToken': 'string' }
Response Structure
(dict) –
userSettings (list) –
The user settings.
(dict) –
The summary of user settings.
userSettingsArn (string) –
The ARN of the user settings.
copyAllowed (string) –
Specifies whether the user can copy text from the streaming session to the local device.
pasteAllowed (string) –
Specifies whether the user can paste text from the local device to the streaming session.
downloadAllowed (string) –
Specifies whether the user can download files from the streaming session to the local device.
uploadAllowed (string) –
Specifies whether the user can upload files from the local device to the streaming session.
printAllowed (string) –
Specifies whether the user can print to the local device.
disconnectTimeoutInMinutes (integer) –
The amount of time that a streaming session remains active after users disconnect.
idleDisconnectTimeoutInMinutes (integer) –
The amount of time that users can be idle (inactive) before they are disconnected from their streaming session and the disconnect timeout interval begins.
cookieSynchronizationConfiguration (dict) –
The configuration that specifies which cookies should be synchronized from the end user’s local browser to the remote browser.
allowlist (list) –
The list of cookie specifications that are allowed to be synchronized to the remote browser.
(dict) –
Specifies a single cookie or set of cookies in an end user’s browser.
domain (string) –
The domain of the cookie.
name (string) –
The name of the cookie.
path (string) –
The path of the cookie.
blocklist (list) –
The list of cookie specifications that are blocked from being synchronized to the remote browser.
(dict) –
Specifies a single cookie or set of cookies in an end user’s browser.
domain (string) –
The domain of the cookie.
name (string) –
The name of the cookie.
path (string) –
The path of the cookie.
deepLinkAllowed (string) –
Specifies whether the user can use deep links that open automatically when connecting to a session.
toolbarConfiguration (dict) –
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.
toolbarType (string) –
The type of toolbar displayed during the session.
visualMode (string) –
The visual mode of the toolbar.
hiddenToolbarItems (list) –
The list of toolbar items to be hidden.
(string) –
maxDisplayResolution (string) –
The maximum display resolution that is allowed for the session.
brandingConfiguration (dict) –
The branding configuration output that customizes the appearance of the web portal for end users.
logo (dict) –
Metadata for the logo image file, including the MIME type, file extension, and upload timestamp.
mimeType (string) –
The MIME type of the image.
fileExtension (string) –
The file extension of the image.
lastUploadTimestamp (datetime) –
The timestamp when the image was last uploaded.
wallpaper (dict) –
Metadata for the wallpaper image file, including the MIME type, file extension, and upload timestamp.
mimeType (string) –
The MIME type of the image.
fileExtension (string) –
The file extension of the image.
lastUploadTimestamp (datetime) –
The timestamp when the image was last uploaded.
favicon (dict) –
Metadata for the favicon image file, including the MIME type, file extension, and upload timestamp.
mimeType (string) –
The MIME type of the image.
fileExtension (string) –
The file extension of the image.
lastUploadTimestamp (datetime) –
The timestamp when the image was last uploaded.
localizedStrings (dict) –
A map of localized text strings for different languages, allowing the portal to display content in the user’s preferred language.
(string) –
(dict) –
Localized text strings for a specific language that customize the web portal.
browserTabTitle (string) –
The text displayed in the browser tab title.
welcomeText (string) –
The welcome text displayed on the sign-in page.
loginTitle (string) –
The title text for the login section. This field is optional and defaults to “Sign In”.
loginDescription (string) –
The description text for the login section. This field is optional and defaults to “Sign in to your session”.
loginButtonText (string) –
The text displayed on the login button. This field is optional and defaults to “Sign In”.
contactLink (string) –
A contact link URL. The URL must start with
https://ormailto:. If not provided, the contact button will be hidden from the web portal screen.contactButtonText (string) –
The text displayed on the contact button. This field is optional and defaults to “Contact us”.
loadingText (string) –
The text displayed during session loading. This field is optional and defaults to “Loading your session”.
colorTheme (string) –
The color theme for components on the web portal.
termsOfService (string) –
The terms of service text in Markdown format that users must accept before accessing the portal.
nextToken (string) –
The pagination token used to retrieve the next page of results for this operation.
Exceptions
WorkSpacesWeb.Client.exceptions.InternalServerExceptionWorkSpacesWeb.Client.exceptions.AccessDeniedExceptionWorkSpacesWeb.Client.exceptions.ThrottlingExceptionWorkSpacesWeb.Client.exceptions.ValidationException