aws_sdk_workdocs/client/
describe_root_folders.rs

1// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
2impl super::Client {
3    /// Constructs a fluent builder for the [`DescribeRootFolders`](crate::operation::describe_root_folders::builders::DescribeRootFoldersFluentBuilder) operation.
4    /// This operation supports pagination; See [`into_paginator()`](crate::operation::describe_root_folders::builders::DescribeRootFoldersFluentBuilder::into_paginator).
5    ///
6    /// - The fluent builder is configurable:
7    ///   - [`authentication_token(impl Into<String>)`](crate::operation::describe_root_folders::builders::DescribeRootFoldersFluentBuilder::authentication_token) / [`set_authentication_token(Option<String>)`](crate::operation::describe_root_folders::builders::DescribeRootFoldersFluentBuilder::set_authentication_token):<br>required: **true**<br><p>Amazon WorkDocs authentication token.</p><br>
8    ///   - [`limit(i32)`](crate::operation::describe_root_folders::builders::DescribeRootFoldersFluentBuilder::limit) / [`set_limit(Option<i32>)`](crate::operation::describe_root_folders::builders::DescribeRootFoldersFluentBuilder::set_limit):<br>required: **false**<br><p>The maximum number of items to return.</p><br>
9    ///   - [`marker(impl Into<String>)`](crate::operation::describe_root_folders::builders::DescribeRootFoldersFluentBuilder::marker) / [`set_marker(Option<String>)`](crate::operation::describe_root_folders::builders::DescribeRootFoldersFluentBuilder::set_marker):<br>required: **false**<br><p>The marker for the next set of results. (You received this marker from a previous call.)</p><br>
10    /// - On success, responds with [`DescribeRootFoldersOutput`](crate::operation::describe_root_folders::DescribeRootFoldersOutput) with field(s):
11    ///   - [`folders(Option<Vec::<FolderMetadata>>)`](crate::operation::describe_root_folders::DescribeRootFoldersOutput::folders): <p>The user's special folders.</p>
12    ///   - [`marker(Option<String>)`](crate::operation::describe_root_folders::DescribeRootFoldersOutput::marker): <p>The marker for the next set of results.</p>
13    /// - On failure, responds with [`SdkError<DescribeRootFoldersError>`](crate::operation::describe_root_folders::DescribeRootFoldersError)
14    pub fn describe_root_folders(&self) -> crate::operation::describe_root_folders::builders::DescribeRootFoldersFluentBuilder {
15        crate::operation::describe_root_folders::builders::DescribeRootFoldersFluentBuilder::new(self.handle.clone())
16    }
17}