describe_shared_directories
async
¶
describe_shared_directories(
owner_directory_id: DirectoryId,
*,
config_overrides: Optional[AsyncDirectoryServiceClientConfig] = None,
shared_directory_ids: Optional[DirectoryIds] = None,
next_token: Optional[NextToken] = None,
limit: Optional[Limit] = None,
) -> DescribeSharedDirectoriesResult
Returns the shared directories in your account.
Parameters:
-
owner_directory_id(DirectoryId) –Returns the identifier of the directory in the directory owner account.
-
shared_directory_ids(Optional[DirectoryIds], default:None) –A list of identifiers of all shared directories in your account.
-
next_token(Optional[NextToken], default:None) –The
DescribeSharedDirectoriesResult.NextTokenvalue from a previous call to DescribeSharedDirectories. Pass null if this is the first call. -
limit(Optional[Limit], default:None) –The number of shared directories to return in the response object.
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
2881 2882 2883 2884 2885 2886 2887 2888 2889 2890 2891 2892 2893 2894 2895 2896 2897 2898 2899 2900 2901 2902 2903 2904 2905 2906 2907 2908 2909 2910 2911 2912 2913 2914 2915 2916 2917 2918 2919 2920 2921 2922 2923 2924 2925 2926 2927 2928 2929 2930 2931 2932 2933 2934 2935 2936 2937 2938 2939 2940 2941 2942 2943 2944 2945 2946 2947 2948 2949 2950 2951 2952 2953 2954 2955 2956 | |