describe_domain_controllers
async
¶
describe_domain_controllers(
directory_id: DirectoryId,
*,
config_overrides: Optional[AsyncDirectoryServiceClientConfig] = None,
domain_controller_ids: Optional[DomainControllerIds] = None,
next_token: Optional[NextToken] = None,
limit: Optional[Limit] = None,
) -> DescribeDomainControllersResult
Provides information about any domain controllers in your directory.
Parameters:
-
directory_id(DirectoryId) –Identifier of the directory for which to retrieve the domain controller information.
-
domain_controller_ids(Optional[DomainControllerIds], default:None) –A list of identifiers for the domain controllers whose information will be provided.
-
next_token(Optional[NextToken], default:None) –The DescribeDomainControllers.NextToken value from a previous call to DescribeDomainControllers. Pass null if this is the first call.
-
limit(Optional[Limit], default:None) –The maximum number of items to return.
Raises:
-
ClientException–A client exception has occurred.
-
EntityDoesNotExistException–The specified entity could not be found.
-
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/async_directory_service.py
2793 2794 2795 2796 2797 2798 2799 2800 2801 2802 2803 2804 2805 2806 2807 2808 2809 2810 2811 2812 2813 2814 2815 2816 2817 2818 2819 2820 2821 2822 2823 2824 2825 2826 2827 2828 2829 2830 2831 2832 2833 2834 2835 2836 2837 2838 2839 2840 2841 2842 2843 2844 2845 2846 2847 2848 2849 2850 2851 2852 2853 2854 2855 2856 2857 2858 2859 2860 2861 2862 2863 2864 2865 2866 2867 2868 2869 2870 | |