update_directory_config
¶
update_directory_config(
*,
config_overrides: Optional[AppStreamClientConfig] = None,
directory_name: Optional[DirectoryName] = None,
organizational_unit_distinguished_names: Optional[
OrganizationalUnitDistinguishedNamesList
] = None,
service_account_credentials: Optional[ServiceAccountCredentials] = None,
certificate_based_auth_properties: Optional[CertificateBasedAuthProperties] = None,
) -> UpdateDirectoryConfigResult
Updates the specified Directory Config object in WorkSpaces Applications. This object includes the configuration information required to join fleets and image builders to Microsoft Active Directory domains.
Parameters:
-
directory_name(Optional[DirectoryName], default:None) –The name of the Directory Config object.
-
organizational_unit_distinguished_names(Optional[OrganizationalUnitDistinguishedNamesList], default:None) –The distinguished names of the organizational units for computer accounts.
-
service_account_credentials(Optional[ServiceAccountCredentials], default:None) –The credentials for the service account used by the fleet or image builder to connect to the directory.
-
certificate_based_auth_properties(Optional[CertificateBasedAuthProperties], default:None) –The certificate-based authentication properties used to authenticate SAML 2.0 Identity Provider (IdP) user identities to Active Directory domain-joined streaming instances. Fallback is turned on by default when certificate-based authentication is Enabled . Fallback allows users to log in using their AD domain password if certificate-based authentication is unsuccessful, or to unlock a desktop lock screen. Enabled_no_directory_login_fallback enables certificate-based authentication, but does not allow users to log in using their AD domain password. Users will be disconnected to re-authenticate using certificates.
Raises:
-
ConcurrentModificationException–An API error occurred. Wait a few minutes and try again.
-
IncompatibleImageException–The image can't be updated because it's not compatible for updates.
-
InvalidRoleException–The specified role is invalid.
-
OperationNotPermittedException–The attempted operation is not permitted.
-
ResourceInUseException–The specified resource is in use.
-
ResourceNotFoundException–The specified resource was not found.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_appstream/_services/app_stream.py
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 6685 6686 6687 6688 6689 6690 6691 6692 6693 6694 6695 6696 6697 6698 6699 6700 6701 6702 6703 6704 6705 6706 6707 6708 6709 6710 6711 6712 6713 6714 6715 6716 6717 6718 6719 6720 6721 6722 6723 6724 6725 6726 6727 6728 6729 6730 | |