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 [`DeleteFolder`](crate::operation::delete_folder::builders::DeleteFolderFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`authentication_token(impl Into<String>)`](crate::operation::delete_folder::builders::DeleteFolderFluentBuilder::authentication_token) / [`set_authentication_token(Option<String>)`](crate::operation::delete_folder::builders::DeleteFolderFluentBuilder::set_authentication_token): <p>Amazon WorkDocs authentication token. Not required when using AWS administrator credentials to access the API.</p>
/// - [`folder_id(impl Into<String>)`](crate::operation::delete_folder::builders::DeleteFolderFluentBuilder::folder_id) / [`set_folder_id(Option<String>)`](crate::operation::delete_folder::builders::DeleteFolderFluentBuilder::set_folder_id): <p>The ID of the folder.</p>
/// - On success, responds with [`DeleteFolderOutput`](crate::operation::delete_folder::DeleteFolderOutput)
/// - On failure, responds with [`SdkError<DeleteFolderError>`](crate::operation::delete_folder::DeleteFolderError)
pub fn delete_folder(
&self,
) -> crate::operation::delete_folder::builders::DeleteFolderFluentBuilder {
crate::operation::delete_folder::builders::DeleteFolderFluentBuilder::new(
self.handle.clone(),
)
}
}