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
6421 6422 6423 6424 6425 6426 6427 6428 6429 6430 6431 6432 6433 6434 6435 6436 6437 6438 6439 6440 6441 6442 6443 6444 6445 6446 6447 6448 6449 6450 6451 6452 6453 6454 6455 6456 6457 6458 6459 6460 6461 6462 6463 6464 6465 6466 6467 6468 6469 6470 6471 6472 6473 6474 6475 6476 6477 6478 6479 6480 6481 6482 6483 6484 6485 6486 6487 6488 6489 6490 6491 6492 6493 6494 6495 6496 6497 6498 6499 6500 6501 6502 6503 6504 6505 6506 6507 6508 6509 6510 6511 6512 6513 6514 6515 6516 | |