aws_sdk_quicksight/client/delete_folder.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 [`DeleteFolder`](crate::operation::delete_folder::builders::DeleteFolderFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`aws_account_id(impl Into<String>)`](crate::operation::delete_folder::builders::DeleteFolderFluentBuilder::aws_account_id) / [`set_aws_account_id(Option<String>)`](crate::operation::delete_folder::builders::DeleteFolderFluentBuilder::set_aws_account_id):<br>required: **true**<br><p>The ID for the Amazon Web Services account that contains the folder.</p><br>
7 /// - [`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):<br>required: **true**<br><p>The ID of the folder.</p><br>
8 /// - On success, responds with [`DeleteFolderOutput`](crate::operation::delete_folder::DeleteFolderOutput) with field(s):
9 /// - [`status(i32)`](crate::operation::delete_folder::DeleteFolderOutput::status): <p>The HTTP status of the request.</p>
10 /// - [`arn(Option<String>)`](crate::operation::delete_folder::DeleteFolderOutput::arn): <p>The Amazon Resource Name of the deleted folder.</p>
11 /// - [`folder_id(Option<String>)`](crate::operation::delete_folder::DeleteFolderOutput::folder_id): <p>The ID of the folder.</p>
12 /// - [`request_id(Option<String>)`](crate::operation::delete_folder::DeleteFolderOutput::request_id): <p>The Amazon Web Services request ID for this operation.</p>
13 /// - On failure, responds with [`SdkError<DeleteFolderError>`](crate::operation::delete_folder::DeleteFolderError)
14 pub fn delete_folder(&self) -> crate::operation::delete_folder::builders::DeleteFolderFluentBuilder {
15 crate::operation::delete_folder::builders::DeleteFolderFluentBuilder::new(self.handle.clone())
16 }
17}