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:
    ///   - [`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>
    ///   - [`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>
    /// - On success, responds with [`DeleteFolderOutput`](crate::operation::delete_folder::DeleteFolderOutput) with field(s):
    ///   - [`status(i32)`](crate::operation::delete_folder::DeleteFolderOutput::status): <p>The HTTP status of the request.</p>
    ///   - [`arn(Option<String>)`](crate::operation::delete_folder::DeleteFolderOutput::arn): <p>The Amazon Resource Name of the deleted folder.</p>
    ///   - [`folder_id(Option<String>)`](crate::operation::delete_folder::DeleteFolderOutput::folder_id): <p>The ID of the folder.</p>
    ///   - [`request_id(Option<String>)`](crate::operation::delete_folder::DeleteFolderOutput::request_id): <p>The Amazon Web Services request ID for this operation.</p>
    /// - 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())
    }
}