list_certificates
¶
list_certificates(
directory_id: DirectoryId,
*,
config_overrides: Optional[DirectoryServiceClientConfig] = None,
next_token: Optional[NextToken] = None,
limit: Optional[PageLimit] = None,
) -> ListCertificatesResult
For the specified directory, lists all the certificates registered for a secure LDAP or client certificate authentication.
Parameters:
-
directory_id(DirectoryId) –The identifier of the directory.
-
next_token(Optional[NextToken], default:None) –A token for requesting another page of certificates if the
NextTokenresponse element indicates that more certificates are available. Use the value of the returnedNextTokenelement in your request until the token comes back asnull. Passnullif this is the first call. -
limit(Optional[PageLimit], default:None) –The number of items that should show up on one page
Raises:
-
ClientException–A client exception has occurred.
-
DirectoryDoesNotExistException–The specified directory does not exist in the system.
-
InvalidNextTokenException–The
NextTokenvalue is not valid. -
InvalidParameterException–One or more parameters are not valid.
-
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
4759 4760 4761 4762 4763 4764 4765 4766 4767 4768 4769 4770 4771 4772 4773 4774 4775 4776 4777 4778 4779 4780 4781 4782 4783 4784 4785 4786 4787 4788 4789 4790 4791 4792 4793 4794 4795 4796 4797 4798 4799 4800 4801 4802 4803 4804 4805 4806 4807 4808 4809 4810 4811 4812 4813 4814 4815 4816 4817 4818 4819 4820 4821 4822 4823 4824 4825 4826 4827 4828 | |