aws_sdk_workdocs/client/
describe_root_folders.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`DescribeRootFolders`](crate::operation::describe_root_folders::builders::DescribeRootFoldersFluentBuilder) operation.
    /// This operation supports pagination; See [`into_paginator()`](crate::operation::describe_root_folders::builders::DescribeRootFoldersFluentBuilder::into_paginator).
    ///
    /// - The fluent builder is configurable:
    ///   - [`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>
    ///   - [`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>
    ///   - [`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>
    /// - On success, responds with [`DescribeRootFoldersOutput`](crate::operation::describe_root_folders::DescribeRootFoldersOutput) with field(s):
    ///   - [`folders(Option<Vec::<FolderMetadata>>)`](crate::operation::describe_root_folders::DescribeRootFoldersOutput::folders): <p>The user's special folders.</p>
    ///   - [`marker(Option<String>)`](crate::operation::describe_root_folders::DescribeRootFoldersOutput::marker): <p>The marker for the next set of results.</p>
    /// - On failure, responds with [`SdkError<DescribeRootFoldersError>`](crate::operation::describe_root_folders::DescribeRootFoldersError)
    pub fn describe_root_folders(&self) -> crate::operation::describe_root_folders::builders::DescribeRootFoldersFluentBuilder {
        crate::operation::describe_root_folders::builders::DescribeRootFoldersFluentBuilder::new(self.handle.clone())
    }
}