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
3711 3712 3713 3714 3715 3716 3717 3718 3719 3720 3721 3722 3723 3724 3725 3726 3727 3728 3729 3730 3731 3732 3733 3734 3735 3736 3737 3738 3739 3740 3741 3742 3743 3744 3745 3746 3747 3748 3749 3750 3751 3752 3753 3754 3755 3756 3757 3758 3759 3760 3761 3762 3763 3764 3765 3766 3767 3768 3769 3770 3771 3772 3773 3774 3775 3776 3777 3778 3779 3780 3781 3782 3783 3784 3785 3786 3787 3788 3789 3790 3791 3792 3793 3794 3795 3796 | |