describe_groups
async
¶
describe_groups(
search_query: SearchQueryType,
*,
config_overrides: Optional[AsyncWorkDocsClientConfig] = None,
authentication_token: Optional[AuthenticationHeaderType] = None,
organization_id: Optional[IdType] = None,
marker: Optional[MarkerType] = None,
limit: Optional[PositiveIntegerType] = None,
) -> DescribeGroupsResponse
Describes the groups specified by the query. Groups are defined by the underlying Active Directory.
Parameters:
-
authentication_token(Optional[AuthenticationHeaderType], default:None) –Amazon WorkDocs authentication token. Not required when using Amazon Web Services administrator credentials to access the API.
-
search_query(SearchQueryType) –A query to describe groups by group name.
-
organization_id(Optional[IdType], default:None) –The ID of the organization.
-
marker(Optional[MarkerType], default:None) –The marker for the next set of results. (You received this marker from a previous call.)
-
limit(Optional[PositiveIntegerType], default:None) –The maximum number of items to return with this call.
Raises:
-
FailedDependencyException–The Directory Service cannot reach an on-premises instance. Or a dependency under the control of the organization is failing, such as a connected Active Directory.
-
ServiceUnavailableException–One or more of the dependencies is unavailable.
-
UnauthorizedOperationException–The operation is not permitted.
-
UnauthorizedResourceAccessException–The caller does not have access to perform the action on the resource.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_workdocs/_services/async_work_docs.py
2241 2242 2243 2244 2245 2246 2247 2248 2249 2250 2251 2252 2253 2254 2255 2256 2257 2258 2259 2260 2261 2262 2263 2264 2265 2266 2267 2268 2269 2270 2271 2272 2273 2274 2275 2276 2277 2278 2279 2280 2281 2282 2283 2284 2285 2286 2287 2288 2289 2290 2291 2292 2293 2294 2295 2296 2297 2298 2299 2300 2301 2302 2303 2304 2305 2306 2307 2308 2309 2310 2311 2312 2313 2314 2315 2316 | |