aws_sdk_workdocs/client/
delete_folder_contents.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`DeleteFolderContents`](crate::operation::delete_folder_contents::builders::DeleteFolderContentsFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`authentication_token(impl Into<String>)`](crate::operation::delete_folder_contents::builders::DeleteFolderContentsFluentBuilder::authentication_token) / [`set_authentication_token(Option<String>)`](crate::operation::delete_folder_contents::builders::DeleteFolderContentsFluentBuilder::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::delete_folder_contents::builders::DeleteFolderContentsFluentBuilder::folder_id) / [`set_folder_id(Option<String>)`](crate::operation::delete_folder_contents::builders::DeleteFolderContentsFluentBuilder::set_folder_id):<br>required: **true**<br><p>The ID of the folder.</p><br>
    /// - On success, responds with [`DeleteFolderContentsOutput`](crate::operation::delete_folder_contents::DeleteFolderContentsOutput)
    /// - On failure, responds with [`SdkError<DeleteFolderContentsError>`](crate::operation::delete_folder_contents::DeleteFolderContentsError)
    pub fn delete_folder_contents(&self) -> crate::operation::delete_folder_contents::builders::DeleteFolderContentsFluentBuilder {
        crate::operation::delete_folder_contents::builders::DeleteFolderContentsFluentBuilder::new(self.handle.clone())
    }
}