import_client_branding
¶
import_client_branding(
resource_id: DirectoryId,
*,
config_overrides: Optional[WorkSpacesClientConfig] = 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/work_spaces.py
3656 3657 3658 3659 3660 3661 3662 3663 3664 3665 3666 3667 3668 3669 3670 3671 3672 3673 3674 3675 3676 3677 3678 3679 3680 3681 3682 3683 3684 3685 3686 3687 3688 3689 3690 3691 3692 3693 3694 3695 3696 3697 3698 3699 3700 3701 3702 3703 3704 3705 3706 3707 3708 3709 3710 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 | |