1
2
3
4
5
6
7
8
9
10
11
12
13
14
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`DeleteFileShare`](crate::operation::delete_file_share::builders::DeleteFileShareFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`file_share_arn(impl Into<String>)`](crate::operation::delete_file_share::builders::DeleteFileShareFluentBuilder::file_share_arn) / [`set_file_share_arn(Option<String>)`](crate::operation::delete_file_share::builders::DeleteFileShareFluentBuilder::set_file_share_arn):<br>required: **true**<br><p>The Amazon Resource Name (ARN) of the file share to be deleted.</p><br>
    ///   - [`force_delete(bool)`](crate::operation::delete_file_share::builders::DeleteFileShareFluentBuilder::force_delete) / [`set_force_delete(Option<bool>)`](crate::operation::delete_file_share::builders::DeleteFileShareFluentBuilder::set_force_delete):<br>required: **false**<br><p>If this value is set to <code>true</code>, the operation deletes a file share immediately and aborts all data uploads to Amazon Web Services. Otherwise, the file share is not deleted until all data is uploaded to Amazon Web Services. This process aborts the data upload process, and the file share enters the <code>FORCE_DELETING</code> status.</p> <p>Valid Values: <code>true</code> | <code>false</code></p><br>
    /// - On success, responds with [`DeleteFileShareOutput`](crate::operation::delete_file_share::DeleteFileShareOutput) with field(s):
    ///   - [`file_share_arn(Option<String>)`](crate::operation::delete_file_share::DeleteFileShareOutput::file_share_arn): <p>The Amazon Resource Name (ARN) of the deleted file share.</p>
    /// - On failure, responds with [`SdkError<DeleteFileShareError>`](crate::operation::delete_file_share::DeleteFileShareError)
    pub fn delete_file_share(&self) -> crate::operation::delete_file_share::builders::DeleteFileShareFluentBuilder {
        crate::operation::delete_file_share::builders::DeleteFileShareFluentBuilder::new(self.handle.clone())
    }
}