enable_ldaps
¶
enable_ldaps(
directory_id: DirectoryId,
type: LDAPSType,
*,
config_overrides: Optional[DirectoryServiceClientConfig] = None,
) -> EnableLDAPSResult
Activates the switch for the specific directory to always use LDAP secure calls.
Parameters:
-
directory_id(DirectoryId) –The identifier of the directory.
-
type(LDAPSType) –The type of LDAP security to enable. Currently only the value
Clientis supported.
Raises:
-
ClientException–A client exception has occurred.
-
DirectoryDoesNotExistException–The specified directory does not exist in the system.
-
DirectoryUnavailableException–The specified directory is unavailable.
-
InvalidLDAPSStatusException–The LDAP activities could not be performed because they are limited by the LDAPS status.
-
InvalidParameterException–One or more parameters are not valid.
-
NoAvailableCertificateException–Client authentication setup could not be completed because at least one valid certificate must be registered in the system.
-
ServiceException–An exception has occurred in Directory Service.
-
UnsupportedOperationException–The operation is not supported.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_directory_service/_services/directory_service.py
4306 4307 4308 4309 4310 4311 4312 4313 4314 4315 4316 4317 4318 4319 4320 4321 4322 4323 4324 4325 4326 4327 4328 4329 4330 4331 4332 4333 4334 4335 4336 4337 4338 4339 4340 4341 4342 4343 4344 4345 4346 4347 4348 4349 4350 4351 4352 4353 4354 4355 4356 4357 4358 4359 4360 4361 4362 4363 4364 4365 4366 4367 4368 4369 4370 | |