import_client_branding
async
¶
import_client_branding(
resource_id: DirectoryId,
*,
config_overrides: Optional[AsyncWorkSpacesClientConfig] = None,
device_type_windows: Optional[DefaultImportClientBrandingAttributes] = None,
device_type_osx: Optional[DefaultImportClientBrandingAttributes] = None,
device_type_android: Optional[DefaultImportClientBrandingAttributes] = None,
device_type_ios: Optional[IosImportClientBrandingAttributes] = None,
device_type_linux: Optional[DefaultImportClientBrandingAttributes] = None,
device_type_web: Optional[DefaultImportClientBrandingAttributes] = None,
) -> ImportClientBrandingResult
Imports client branding. Client branding allows you to customize your WorkSpace's client login portal. You can tailor your login portal company logo, the support email address, support link, link to reset password, and a custom message for users trying to sign in.
After you import client branding, the default branding experience for the specified platform type is replaced with the imported experience
-
You must specify at least one platform type when importing client branding.
-
You can import up to 6 MB of data with each request. If your request exceeds this limit, you can import client branding for different platform types using separate requests.
-
In each platform type, the
SupportEmailandSupportLinkparameters are mutually exclusive. You can specify only one parameter for each platform type, but not both. -
Imported data can take up to a minute to appear in the WorkSpaces client.
Parameters:
-
resource_id(DirectoryId) –The directory identifier of the WorkSpace for which you want to import client branding.
-
device_type_windows(Optional[DefaultImportClientBrandingAttributes], default:None) –The branding information to import for Windows devices.
-
device_type_osx(Optional[DefaultImportClientBrandingAttributes], default:None) –The branding information to import for macOS devices.
-
device_type_android(Optional[DefaultImportClientBrandingAttributes], default:None) –The branding information to import for Android devices.
-
device_type_ios(Optional[IosImportClientBrandingAttributes], default:None) –The branding information to import for iOS devices.
-
device_type_linux(Optional[DefaultImportClientBrandingAttributes], default:None) –The branding information to import for Linux devices.
-
device_type_web(Optional[DefaultImportClientBrandingAttributes], default:None) –The branding information to import for web access.
Raises:
-
AccessDeniedException–The user is not authorized to access a resource.
-
InvalidParameterValuesException–One or more parameter values are not valid.
-
ResourceLimitExceededException–Your resource limits have been exceeded.
-
ResourceNotFoundException–The resource could not be found.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_workspaces/_services/async_work_spaces.py
6587 6588 6589 6590 6591 6592 6593 6594 6595 6596 6597 6598 6599 6600 6601 6602 6603 6604 6605 6606 6607 6608 6609 6610 6611 6612 6613 6614 6615 6616 6617 6618 6619 6620 6621 6622 6623 6624 6625 6626 6627 6628 6629 6630 6631 6632 6633 6634 6635 6636 6637 6638 6639 6640 6641 6642 6643 6644 6645 6646 6647 6648 6649 6650 6651 6652 6653 6654 6655 6656 6657 6658 6659 6660 6661 6662 6663 6664 6665 6666 6667 6668 6669 6670 6671 6672 6673 6674 6675 6676 6677 6678 6679 6680 6681 6682 6683 6684 | |