describe_root_folders
¶
describe_root_folders(
authentication_token: AuthenticationHeaderType,
*,
config_overrides: Optional[WorkDocsClientConfig] = None,
limit: Optional[LimitType] = None,
marker: Optional[PageMarkerType] = None,
) -> DescribeRootFoldersResponse
Describes the current user's special folders; the RootFolder and the RecycleBin. RootFolder is the root of user's files and folders and RecycleBin is the root of recycled items. This is not a valid action for SigV4 (administrative API) clients.
This action requires an authentication token. To get an authentication token, register an application with Amazon WorkDocs. For more information, see Authentication and Access Control for User Applications in the Amazon WorkDocs Developer Guide.
Parameters:
-
authentication_token(AuthenticationHeaderType) –Amazon WorkDocs authentication token.
-
limit(Optional[LimitType], default:None) –The maximum number of items to return.
-
marker(Optional[PageMarkerType], default:None) –The marker for the next set of results. (You received this marker from a previous 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.
-
InvalidArgumentException–The pagination marker or limit fields are not valid.
-
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/work_docs.py
2509 2510 2511 2512 2513 2514 2515 2516 2517 2518 2519 2520 2521 2522 2523 2524 2525 2526 2527 2528 2529 2530 2531 2532 2533 2534 2535 2536 2537 2538 2539 2540 2541 2542 2543 2544 2545 2546 2547 2548 2549 2550 2551 2552 2553 2554 2555 2556 2557 2558 2559 2560 2561 2562 2563 2564 2565 2566 2567 2568 2569 2570 2571 2572 2573 2574 2575 2576 2577 2578 2579 2580 2581 2582 2583 2584 2585 2586 2587 2588 2589 | |