aws_sdk_workdocs/client/
get_folder_path.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 [`GetFolderPath`](crate::operation::get_folder_path::builders::GetFolderPathFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`authentication_token(impl Into<String>)`](crate::operation::get_folder_path::builders::GetFolderPathFluentBuilder::authentication_token) / [`set_authentication_token(Option<String>)`](crate::operation::get_folder_path::builders::GetFolderPathFluentBuilder::set_authentication_token):<br>required: **false**<br><p>Amazon WorkDocs authentication token. Not required when using Amazon Web Services administrator credentials to access the API.</p><br>
    ///   - [`folder_id(impl Into<String>)`](crate::operation::get_folder_path::builders::GetFolderPathFluentBuilder::folder_id) / [`set_folder_id(Option<String>)`](crate::operation::get_folder_path::builders::GetFolderPathFluentBuilder::set_folder_id):<br>required: **true**<br><p>The ID of the folder.</p><br>
    ///   - [`limit(i32)`](crate::operation::get_folder_path::builders::GetFolderPathFluentBuilder::limit) / [`set_limit(Option<i32>)`](crate::operation::get_folder_path::builders::GetFolderPathFluentBuilder::set_limit):<br>required: **false**<br><p>The maximum number of levels in the hierarchy to return.</p><br>
    ///   - [`fields(impl Into<String>)`](crate::operation::get_folder_path::builders::GetFolderPathFluentBuilder::fields) / [`set_fields(Option<String>)`](crate::operation::get_folder_path::builders::GetFolderPathFluentBuilder::set_fields):<br>required: **false**<br><p>A comma-separated list of values. Specify "NAME" to include the names of the parent folders.</p><br>
    ///   - [`marker(impl Into<String>)`](crate::operation::get_folder_path::builders::GetFolderPathFluentBuilder::marker) / [`set_marker(Option<String>)`](crate::operation::get_folder_path::builders::GetFolderPathFluentBuilder::set_marker):<br>required: **false**<br><p>This value is not supported.</p><br>
    /// - On success, responds with [`GetFolderPathOutput`](crate::operation::get_folder_path::GetFolderPathOutput) with field(s):
    ///   - [`path(Option<ResourcePath>)`](crate::operation::get_folder_path::GetFolderPathOutput::path): <p>The path information.</p>
    /// - On failure, responds with [`SdkError<GetFolderPathError>`](crate::operation::get_folder_path::GetFolderPathError)
    pub fn get_folder_path(&self) -> crate::operation::get_folder_path::builders::GetFolderPathFluentBuilder {
        crate::operation::get_folder_path::builders::GetFolderPathFluentBuilder::new(self.handle.clone())
    }
}